fix:DN收货自动化带入

master
zhoulei 4 years ago
parent 6b0d6f2a95
commit ae57268d76

@ -200,6 +200,11 @@ export default class dnReceiptDom extends BasePage {
item.value = item.poNo; item.value = item.poNo;
}); });
this.poList = arr; this.poList = arr;
//
this.poListChoice({
pickerName: this.poList.find(() => true),
});
} }
// //
// list valueKey // list valueKey
@ -233,6 +238,10 @@ export default class dnReceiptDom extends BasePage {
return true; return true;
} }
}); });
//
this.materialChoice({
pickerName: this.materialList.find(() => true),
});
} }
// receiptAmount requestAmount // receiptAmount requestAmount
async materialChoice(e: any) { async materialChoice(e: any) {
@ -240,6 +249,11 @@ export default class dnReceiptDom extends BasePage {
this.every = { ...e.pickerName }; this.every = { ...e.pickerName };
// //
this.Location = await this.initLocation(this.every); this.Location = await this.initLocation(this.every);
//
this.LocationChoice({
pickerName: this.Location.find(() => true),
});
} }
// //
LocationChoice(e: any) { LocationChoice(e: any) {

Loading…
Cancel
Save