From ee520c9fe0da797bcfd40fc79ca43c69f692c305 Mon Sep 17 00:00:00 2001 From: mabaoyan Date: Wed, 26 Apr 2023 09:08:30 +0800 Subject: [PATCH] =?UTF-8?q?Hdsmesin-48=20=20feat=20=20=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/raw/so/rawSo/index.vue | 4 ++-- src/pages/raw/so/rawSo/model.ts | 4 ++-- src/pages/raw/so/spSo/index.vue | 4 ++-- src/pages/raw/so/spSo/model.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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; }