成品移库 初始化带出目标库位

master
hou 3 years ago
parent 1b12cf2b89
commit eefeb6494d

@ -82,7 +82,7 @@ export default class productCheckReceipt extends BasePage {
@Ref('form') readonly $form!: VForm;
model = model;
form = {
aimWl: {} as OptionType,
aimWl:{} as OptionType,
productCode: '',
};
userDefined4: any = '';
@ -114,11 +114,11 @@ export default class productCheckReceipt extends BasePage {
}
}
//
onReady() {
async onReady() {
this.$form.setRules(this.rules);
this.model.queryLocation();
this.form.aimWl.value = this.model.WlList[0].value;
this.model.empty();
await this.model.queryLocation();
this.form.aimWl = this.model.WlList[0];
this.userDefined4 = JSON.parse(sessionStorage.getItem('userDefined4'));
sessionStorage.removeItem('userDefined4');
}

Loading…
Cancel
Save