库存盘点搜索条件参数
This commit is contained in:
parent
2287696d74
commit
2fb5341550
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue