From 766669759a8a5c65498ff70b700f247d13811297 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Mon, 12 Dec 2022 10:56:33 +0800 Subject: [PATCH] 真机调试测试出商品的bug问题 --- pages/goods/goodsInfo/goodsInfo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index d1215c1..247dbf6 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -3491,7 +3491,8 @@ Page({ o_plist[kk].CanOutQty = Qty; new_list.push(o_plist[kk]); } - if (th.data.fir_def_store && (g_distr_type == 0 || th.data.fir_def_store.distr_type == 0 || th.data.def_pick_store.distr_type == g_distr_type)) { + if (th.data.fir_def_store && + (g_distr_type == 0 || th.data.fir_def_store.distr_type == 0 || (th.data.def_pick_store && th.data.def_pick_store.distr_type == g_distr_type))) { th.data.fir_def_store.Qty; if (def_pick_store.pickup_id == th.data.fir_def_store.pickup_id) th.setData({def_pick_store: th.data.fir_def_store}) -- libgit2 0.21.4