diff --git a/src/pages/raw/so/rawSo/index.vue b/src/pages/raw/so/rawSo/index.vue index 0683751..522c166 100644 --- a/src/pages/raw/so/rawSo/index.vue +++ b/src/pages/raw/so/rawSo/index.vue @@ -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(); } diff --git a/src/pages/raw/so/rawSo/model.ts b/src/pages/raw/so/rawSo/model.ts index b8a24ba..a07168f 100644 --- a/src/pages/raw/so/rawSo/model.ts +++ b/src/pages/raw/so/rawSo/model.ts @@ -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; } diff --git a/src/pages/raw/so/spSo/index.vue b/src/pages/raw/so/spSo/index.vue index 3ff2c15..edc2691 100644 --- a/src/pages/raw/so/spSo/index.vue +++ b/src/pages/raw/so/spSo/index.vue @@ -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(); } diff --git a/src/pages/raw/so/spSo/model.ts b/src/pages/raw/so/spSo/model.ts index 2d6947a..f7b1503 100644 --- a/src/pages/raw/so/spSo/model.ts +++ b/src/pages/raw/so/spSo/model.ts @@ -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; }