lilei 5 days ago
parent
commit
a3a6adf0ab

+ 2 - 2
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -425,8 +425,8 @@ export default {
         item.productOrigCode = productOrigCode == ' ' ? '--' : productOrigCode
         item.productOrigUnit = productOrigUnit || '--'
         item.epushedQty = Number(item.pushedQty) - Number(item.pushQty)
-        // 判断是否缺货
-        if (item.unpushedQty && (Number(item.stockQty) < Number(item.unpushedQty))) {
+        // 判断是否缺货,排除累计
+        if (item.unpushedQty && (Number(item.stockQty) < Number(item.unpushedQty)) && item.borrowFlag != 1) {
           str += item.productCode + '、'
           // 参与促销活动产品是否缺货
           if (item.promotionFlag != 0) {