Hdsmesin-48 feat 重复请求问题解决

master
mabaoyan 2 years ago
parent a368b00d5a
commit ee520c9fe0

@ -165,7 +165,7 @@ export default class RawSo extends BasePage {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
let res = await this.model.queryOutsourcing(this.form.documentNo);
let res = await this.model.queryOutsourcingRaw(this.form.documentNo);
this.material = res.data;
this.materialList = [];
this.Loc = [];
@ -329,7 +329,7 @@ export default class RawSo extends BasePage {
this.customToast(this.$t('message.Pi_NoData') as any);
return;
}
await this.model.submitOutsourcing(this.list);
await this.model.submitOutsourcingRaw(this.list);
this.empty();
await this.query();
}

@ -172,7 +172,7 @@ export class ReturningModule extends VuexModule {
return { LocList };
}
@Action
async queryOutsourcing(nxOutCode: any) {
async queryOutsourcingRaw(nxOutCode: any) {
const res = await http.post(url.so.soOutbound.findInfoByDN, {
nxOutCode,
proOutType: 'raw',
@ -183,7 +183,7 @@ export class ReturningModule extends VuexModule {
}
@Action
async submitOutsourcing(upload: any) {
async submitOutsourcingRaw(upload: any) {
const res = await http.post(url.so.soOutbound.confirm, upload);
return res;
}

@ -165,7 +165,7 @@ export default class SpSo extends BasePage {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
let res = await this.model.queryOutsourcing(this.form.documentNo);
let res = await this.model.queryOutsourcingSp(this.form.documentNo);
this.material = res.data;
this.materialList = [];
this.Loc = [];
@ -325,7 +325,7 @@ export default class SpSo extends BasePage {
this.customToast(this.$t('message.Pi_NoData') as any);
return;
}
await this.model.submitOutsourcing(this.list);
await this.model.submitOutsourcingSp(this.list);
this.empty();
await this.query();
}

@ -172,7 +172,7 @@ export class ReturningModule extends VuexModule {
return { LocList };
}
@Action
async queryOutsourcing(nxOutCode: any) {
async queryOutsourcingSp(nxOutCode: any) {
const res = await http.post(url.so.soOutbound.findInfoByDN, {
nxOutCode,
proOutType: 'sp',
@ -183,7 +183,7 @@ export class ReturningModule extends VuexModule {
}
@Action
async submitOutsourcing(upload: any) {
async submitOutsourcingSp(upload: any) {
const res = await http.post(url.so.soOutbound.confirm, upload);
return res;
}

Loading…
Cancel
Save