liaofei 2 лет назад
Родитель
Сommit
d28606305a

+ 1 - 1
crmeb/crmeb/services/printer/storage/FeiEYun.php

@@ -70,7 +70,7 @@ class FeiEYun extends BasePrinter
         $this->printerContent .= '名称           单价  数量 金额<BR>';
         $this->printerContent .= '--------------------------------<BR>';
         foreach ($product as $item) {
-            $name = $item['productInfo']['store_name'];
+            $name = $item['productInfo']['store_name'] . " | " . $item['productInfo']['attrInfo']['suk'];
             $price = $item['truePrice'];
             $num = $item['cart_num'];
             $prices = bcmul((string)$item['cart_num'], (string)$item['truePrice'], 2);

+ 1 - 1
crmeb/crmeb/services/printer/storage/YiLianYun.php

@@ -72,7 +72,7 @@ class YiLianYun extends BasePrinter
         foreach ($product as $item) {
             $goodsStr .= '<tr>';
             $price = bcmul((string)$item['cart_num'], (string)$item['truePrice'], 2);
-            $goodsStr .= "<td>{$item['productInfo']['store_name']}</td><td>{$item['cart_num']}</td><td>{$item['truePrice']}</td><td>{$price}</td>";
+            $goodsStr .= "<td>{$item['productInfo']['store_name']} | {$item['productInfo']['attrInfo']['suk']}</td><td>{$item['cart_num']}</td><td>{$item['truePrice']}</td><td>{$price}</td>";
             $goodsStr .= '</tr>';
             unset($price);
         }