master
yujw 3 years ago
parent 071f14e64f
commit c024de9c26

@ -120,7 +120,7 @@ export default class returningDom extends BasePage {
materialCode: null, // code materialCode: null, // code
wlName: '', // name wlName: '', // name
wlCode: '', wlCode: '',
totalBackAmount:'1', totalBackAmount: '0',
}; };
prdOrder: any = []; prdOrder: any = [];
wlCode: any = ''; wlCode: any = '';
@ -167,7 +167,7 @@ export default class returningDom extends BasePage {
this.form.prdOrder = this.data.label; this.form.prdOrder = this.data.label;
this.form.wlName = this.data.value; this.form.wlName = this.data.value;
this.form.sendSpot = this.data.sendSpot; this.form.sendSpot = this.data.sendSpot;
this.form.amount = this.data.amount; // this.form.amount = this.data.amount;
} }
if (this.form.prdOrder != null) { if (this.form.prdOrder != null) {
@ -204,9 +204,9 @@ export default class returningDom extends BasePage {
this.form.wlName = v[0].label; this.form.wlName = v[0].label;
this.model.materielList.forEach((item: any) => { this.model.materielList.forEach((item: any) => {
if (this.form.materialCode == item.label) { if (this.form.materialCode == item.label) {
this.form.amount = item.amount; // this.form.amount = item.amount;
this.form.sendSpot = item.sendSpot; this.form.sendSpot = item.sendSpot;
this.form.totalBackAmount = item.totalBackAmount this.form.totalBackAmount = item.totalBackAmount;
// this.form.wkposCode = item.wkposCode; // this.form.wkposCode = item.wkposCode;
} }
}); });

Loading…
Cancel
Save