库存盘点搜索条件参数

This commit is contained in:
zzyuan 2026-01-19 09:13:26 +08:00
parent 2287696d74
commit 2fb5341550
1 changed files with 10 additions and 10 deletions

View File

@ -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){