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)