成品DN出库修改

master
guoshuang 3 years ago
parent ba93fe0939
commit 43d49494d5

@ -208,7 +208,7 @@ export default class stoOutboundDom extends BasePage {
// } // }
// }); // });
this.model.materielList.forEach((item: any) => { this.model.materielList.forEach((item: any) => {
if (v[0].label == item.rowItem) { if (v[0].value == item.rowItem) {
console.log('item', item); console.log('item', item);
this.form.productCode = item.materialCode; this.form.productCode = item.materialCode;
this.form.productDescZh = item.materialDesc; this.form.productDescZh = item.materialDesc;
@ -386,7 +386,9 @@ export default class stoOutboundDom extends BasePage {
this.form.orderAmount = ''; this.form.orderAmount = '';
this.form.productDescZh = ''; this.form.productDescZh = '';
this.selectMaterielList = []; this.selectMaterielList = [];
(this.form.rowItem = ''), this.$table.onEmpty(); this.form.rowItem = '';
//this.$table.onEmpty();
//debugger;
this.query(); this.query();
} }
// } // }

@ -101,8 +101,8 @@ export class ReturningModule extends VuexModule {
stoAmount += item.orderAmount; stoAmount += item.orderAmount;
}); });
const materielList = result.data.map((item: any) => ({ const materielList = result.data.map((item: any) => ({
label: item.rowItem, value: item.rowItem,
value: item.rowItem + '(' + item.materialCode + ')', label: item.rowItem + '(' + item.materialCode + ')',
...item, ...item,
})); }));
console.log('materielList', materielList); console.log('materielList', materielList);

Loading…
Cancel
Save