From 2fb5341550b3812e34ea28c3653ef8eca9fb8dde Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 19 Jan 2026 09:13:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E7=9B=98=E7=82=B9=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9D=A1=E4=BB=B6=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stockManage/inventoryCount/edit.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/foodManage/stockManage/inventoryCount/edit.vue b/src/views/foodManage/stockManage/inventoryCount/edit.vue index 0adb357a..915f7d10 100644 --- a/src/views/foodManage/stockManage/inventoryCount/edit.vue +++ b/src/views/foodManage/stockManage/inventoryCount/edit.vue @@ -406,8 +406,8 @@ export default { "pageNum": this.queryParams.pageNum, "checkWay": 1, "warehouseId": this.baseInfo.warehouseId, - // "materialName": this.queryParams.materialName, - // "materialCode": this.queryParams.materialCode, + "materialName": this.queryParams.materialName, + "materialCode": this.queryParams.materialCode, "categoryIds": this.queryParams.materialTypeIds, } getCheckInventoryMaterialPageApi(param).then(response => { @@ -460,15 +460,15 @@ export default { this.noMaterial = false; if(this.materialList.length>0){ this.materialList.forEach(item=>{ - if(item.actualNum==0){ - this.noMaterial = true - }else{ + // if(item.actualNum==0){ + // this.noMaterial = true + // }else{ let obj = Object.assign({}, item) obj.differNum = Number(obj.actualNum)-Number(obj.bookNum) obj.differAmount = (Number(obj.actualNum)-Number(obj.bookNum))*obj.price; obj.actualAmount = Number(obj.actualNum)*(obj.price) param.detailList.push(obj) - } + // } }) } if(this.noMaterial){ @@ -519,15 +519,15 @@ export default { this.noMaterial = false; if(this.materialList.length>0){ this.materialList.forEach(item=>{ - if(item.actualNum==0){ - this.noMaterial = true - }else{ + // if(item.actualNum==0){ + // this.noMaterial = true + // }else{ let obj = Object.assign({}, item) obj.differNum = Number(obj.actualNum)-Number(obj.bookNum) obj.differAmount = (Number(obj.actualNum)-Number(obj.bookNum))*obj.price; obj.actualAmount = Number(obj.actualNum)*(obj.price) param.detailList.push(obj) - } + // } }) } if(this.noMaterial){