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