Browse Source

修改物料信息补充问题

fix_bug_pro20231227
caoyizhong 1 year ago
parent
commit
ffc0e36739
  1. 18
      src/views/distribution/inventory/distributionStockArticleDetails.vue

18
src/views/distribution/inventory/distributionStockArticleDetails.vue

@ -855,13 +855,17 @@ export default {
// console.log("");
asm.materialId = this.formMaterial.materialCode;
}
if (this.selectionList.length > 0) {
this.selectionList.forEach(i => {
id.push(i.id);
});
console.log('shuju>>>>', this.selectionList.length);
} else {
if(!!this.formMaterial.id){
id.push(this.formMaterial.id);
}else{
if (this.selectionList.length > 0) {
this.selectionList.forEach(i => {
id.push(i.id);
});
console.log('shuju>>>>', this.selectionList.length);
} else {
id.push(this.formMaterial.id);
}
}
asm.ids = id;
console.log('>>>', asm);
@ -1369,7 +1373,7 @@ export default {
} else {
i.conditions = '库存品';
}
if (i.materialId == '' || i.materialId == '-1') {
if (!i.materialId) {
//
this.dataMaterial = true;
}

Loading…
Cancel
Save