|
|
|
@ -155,6 +155,7 @@ export default class returningDom extends BasePage {
|
|
|
|
|
this.form.materialCode = this.model.orderInInfo.materialCode;
|
|
|
|
|
// this.form.materialCode = this.model.orderInInfo.materialCode;
|
|
|
|
|
this.form.sendSpot = this.model.orderInInfo.sendSpot;
|
|
|
|
|
this.form.totalBackAmount = this.model.orderInInfo.totalBackAmount;
|
|
|
|
|
}
|
|
|
|
|
LocationChoice(e: any) {
|
|
|
|
|
console.log('e>>>>>>>>>>>>>>>>>>>>>>>>', e);
|
|
|
|
@ -215,6 +216,7 @@ export default class returningDom extends BasePage {
|
|
|
|
|
this.model.materielList.forEach((item: any) => {
|
|
|
|
|
if (this.form.materialCode == item.label) {
|
|
|
|
|
// this.form.amount = item.amount;
|
|
|
|
|
console.log('item', item);
|
|
|
|
|
this.form.sendSpot = item.sendSpot;
|
|
|
|
|
this.form.totalBackAmount = item.totalBackAmount;
|
|
|
|
|
// this.form.wkposCode = item.wkposCode;
|
|
|
|
@ -238,7 +240,6 @@ export default class returningDom extends BasePage {
|
|
|
|
|
(this.form.sapFactoryCode as any) = this.model.orderInInfo.sapFactoryCode;
|
|
|
|
|
// delete this.form.wlName;
|
|
|
|
|
this.form.wlCode = this.wlCode.label;
|
|
|
|
|
console.log('1111111111', this.form);
|
|
|
|
|
await this.model.tluSubmit(this.form);
|
|
|
|
|
// this.$form.resetFields();
|
|
|
|
|
this.operatorName = '';
|
|
|
|
|