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, + }); + } + } }