From 349cd527b2fce35834781ad9ed63e6d7e5b68f3e Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 29 Jun 2023 13:45:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=8A=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AE=98=E6=96=B9=E4=BB=B7=E5=92=8C=E5=90=88=E5=90=8C=E4=BB=B7?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tools/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/index.js b/src/tools/index.js index f506f988..4886a9d9 100644 --- a/src/tools/index.js +++ b/src/tools/index.js @@ -46,8 +46,8 @@ export const redPacketsFun = (item) => { table_obj.only = item // 存储就数据 编辑好用 table_obj.product_id = item.goods_id || item.id || item.cash_activity_id // 商品编号 table_obj.product_name = item.batch_goods_name // 商品名 - table_obj.official_price = item.total_contract_price / item.num // 官方价 - table_obj.contract_price = price // 合同价格 + table_obj.official_price = price // 官方价 + table_obj.contract_price = item.total_contract_price / item.num // 合同价格 table_obj.cost_price = "-" //单价 table_obj.quantity = item.num // 库存数量 table_obj.stock = item.stock || item.num // 剩余库存数量