From d28606305a554eac19fc51c4f838e4aa3c76a175 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Sun, 25 Jun 2023 14:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A5=A8=E5=A2=9E=E5=8A=A0=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/crmeb/services/printer/storage/FeiEYun.php | 2 +- crmeb/crmeb/services/printer/storage/YiLianYun.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }