|
|
@ -217,6 +217,10 @@ export default class returningDom extends BasePage {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$form.validate(async (valid: boolean) => {
|
|
|
|
this.$form.validate(async (valid: boolean) => {
|
|
|
|
if (!valid) return;
|
|
|
|
if (!valid) return;
|
|
|
|
|
|
|
|
if (this.form.operator != session.loginName) {
|
|
|
|
|
|
|
|
this.customToast(this.$t('message.returner') as string);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
(this.form.sapFactoryCode as any) = this.model.orderInInfo.sapFactoryCode;
|
|
|
|
(this.form.sapFactoryCode as any) = this.model.orderInInfo.sapFactoryCode;
|
|
|
|
this.form.wlCode = this.wlCode.label;
|
|
|
|
this.form.wlCode = this.wlCode.label;
|
|
|
|
await this.model.tluSubmit(this.form);
|
|
|
|
await this.model.tluSubmit(this.form);
|
|
|
|