diff --git a/crmeb/crmeb/services/printer/storage/FeiEYun.php b/crmeb/crmeb/services/printer/storage/FeiEYun.php index a1858498e..87529924e 100644 --- a/crmeb/crmeb/services/printer/storage/FeiEYun.php +++ b/crmeb/crmeb/services/printer/storage/FeiEYun.php @@ -70,7 +70,7 @@ class FeiEYun extends BasePrinter $this->printerContent .= '名称 单价 数量 金额
'; $this->printerContent .= '--------------------------------
'; 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); diff --git a/crmeb/crmeb/services/printer/storage/YiLianYun.php b/crmeb/crmeb/services/printer/storage/YiLianYun.php index df20b7596..c9d787eb3 100644 --- a/crmeb/crmeb/services/printer/storage/YiLianYun.php +++ b/crmeb/crmeb/services/printer/storage/YiLianYun.php @@ -72,7 +72,7 @@ class YiLianYun extends BasePrinter foreach ($product as $item) { $goodsStr .= ''; $price = bcmul((string)$item['cart_num'], (string)$item['truePrice'], 2); - $goodsStr .= "{$item['productInfo']['store_name']}{$item['cart_num']}{$item['truePrice']}{$price}"; + $goodsStr .= "{$item['productInfo']['store_name']} | {$item['productInfo']['attrInfo']['suk']}{$item['cart_num']}{$item['truePrice']}{$price}"; $goodsStr .= ''; unset($price); }