From 86258b452a7833f66fdf7d138cfef4f0444661c4 Mon Sep 17 00:00:00 2001 From: lichong <18518571399@163.com> Date: Tue, 20 Aug 2024 19:45:38 +0800 Subject: [PATCH] 12 --- api/app/service/dingdan.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/app/service/dingdan.js b/api/app/service/dingdan.js index ea122ba..61fa256 100644 --- a/api/app/service/dingdan.js +++ b/api/app/service/dingdan.js @@ -163,12 +163,12 @@ class DingdanService extends Service { item["xiugaihouxiaoshoushuliang"] = item.xiaoshoushuliang } else if (guigexinghaoArr.length === 3) { let jishu = Number(guigexinghaoArr[2]) - if (item.xiaoshoushuliang > jishu) { - let count = Math.floor(item.xiaoshoushuliang / jishu) - item["xiugaihouxiaoshoushuliang"] = count * jishu - } else { - item["xiugaihouxiaoshoushuliang"] = item.xiaoshoushuliang - } + // if (item.xiaoshoushuliang > jishu) { + let count = Math.floor(item.xiaoshoushuliang / jishu) + item["xiugaihouxiaoshoushuliang"] = count * jishu + // } else { + // item["xiugaihouxiaoshoushuliang"] = item.xiaoshoushuliang + // } } item["xiaoshoujine"] = item.xiaoshoujine item["zuigaocaigoujia"] = _.get(chanpinItemA, [0, "zuigaocaigoujia"], 0)