From cda8ec9ca97755c187199c7df602d9e19279886f Mon Sep 17 00:00:00 2001 From: guoshuang Date: Thu, 31 Oct 2024 17:44:02 +0800 Subject: [PATCH] =?UTF-8?q?srm=E5=88=B0=E8=B4=A7=E7=99=BB=E8=AE=B0?= =?UTF-8?q?=E4=B8=80=E9=94=AE=E6=8A=A5=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/login/index.vue | 2 +- .../wms/Raw/ArrivalRegistration/index.vue | 30 ++++++++++++++++--- .../wms/Raw/ArrivalRegistration/model.ts | 12 ++++++++ src/utils/url.ts | 1 + 4 files changed, 40 insertions(+), 5 deletions(-) diff --git a/src/pages/login/login/index.vue b/src/pages/login/login/index.vue index f087471..34899e5 100644 --- a/src/pages/login/login/index.vue +++ b/src/pages/login/login/index.vue @@ -142,7 +142,7 @@ export default class LoginPage extends BasePage { // console.log('Version////', this.Version); } ///********版本号修改区域********** - version = '0.0.124'; //正式版本号 + version = '0.0.125'; //正式版本号 //version = '0.0.14'; //测试版本号 //***************标志修改区域:是否是测试标志: false 正式版本; true 测试版本**************** //isTest = true; diff --git a/src/pages/wms/Raw/ArrivalRegistration/index.vue b/src/pages/wms/Raw/ArrivalRegistration/index.vue index a1f58d9..422c6fc 100644 --- a/src/pages/wms/Raw/ArrivalRegistration/index.vue +++ b/src/pages/wms/Raw/ArrivalRegistration/index.vue @@ -57,13 +57,13 @@ - + 到货登记 - + + 整张送货单一键报检 + @@ -419,6 +419,28 @@ export default class ArrivalRegistration extends BasePage { this.nopoupsing(); } } + //一键报检 + async onSubmit() { + if (this.userDefined5 == '' || this.userDefined5.length == 0) { + (this.$refs.uToast as any).show({ + title: '请输入送货单', + type: 'default', + }); + return; + } + let params = { + userDefined5: this.userDefined5, + factoryCode: session.FactoryCode, + lastUpdateBy: session.loginName, + }; + await this.model.ArrivalRegistrationSH(params); + if (this.model.Arrivalcodesh == 200) { + (this.$refs.uToast as any).show({ + title: model.Arrivalmsgsh, + duration: 4000, + }); + } + } }