diff --git a/manifest.json b/manifest.json index a7bee51..d978be5 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "欧伦", "appid" : "__UNI__DE2F207", "description" : "欧伦WMS手持系统", - "versionName" : "1.0.8", - "versionCode" : 108, + "versionName" : "1.1.0", + "versionCode" : 110, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/entry/mater-group.vue b/pages/entry/mater-group.vue index 0af31a9..e7226a5 100644 --- a/pages/entry/mater-group.vue +++ b/pages/entry/mater-group.vue @@ -12,6 +12,14 @@ + + + 地面站点 + + + + + 物料信息 @@ -60,14 +68,6 @@ - - - 地面站点 - - - - - 源单编码 diff --git a/pages/entry/mater-group2.vue b/pages/entry/mater-group2.vue index 5242cd1..c4a8a60 100644 --- a/pages/entry/mater-group2.vue +++ b/pages/entry/mater-group2.vue @@ -12,6 +12,14 @@ + + + 地面站点 + + + + + 物料信息 @@ -60,14 +68,6 @@ - - - 地面站点 - - - - - 源单编码 diff --git a/pages/outbound/quhuo-confirm.vue b/pages/outbound/quhuo-confirm.vue index 1dc14f6..b2a0d03 100644 --- a/pages/outbound/quhuo-confirm.vue +++ b/pages/outbound/quhuo-confirm.vue @@ -84,7 +84,7 @@ - + @@ -105,7 +105,6 @@ index: '', currentData: {}, disabled: false, - isDiff: false, isChecked: false }; }, @@ -120,7 +119,10 @@ this.isChecked = !this.isChecked }, clearUp () { - this.code = '' + this.val1 = '' + this.currentData = {} + this.isChecked = false + this.index = '' this.disabled = false }, selectChange (e) { @@ -157,11 +159,21 @@ }, async _confirm (type) { this.disabled = true - if (!this.val1 || !this.currentData.group_id) { - this.disabled = false - return - } - if (this.isChecked && !this.index) { + // if (!this.val1 || !this.currentData.group_id) { + // this.disabled = false + // return + // } + // if (!this.isChecked) { + // this.disabled = false + // return + // } + // if(!(!this.isChecked && this.index)) { + // this.disabled = false + // return + // } + if (this.val1 && this.currentData.group_id && (this.isChecked || (!this.isChecked && this.index))) { + // console.log(1) + } else { this.disabled = false return } diff --git a/pages/outbound/shelf-bind.vue b/pages/outbound/shelf-bind.vue index 47370ff..4395f5b 100644 --- a/pages/outbound/shelf-bind.vue +++ b/pages/outbound/shelf-bind.vue @@ -29,8 +29,8 @@ - - + + @@ -63,12 +63,23 @@ this.val2 = '' this.disabled = false }, - async _bindOrUnbind (type) { + toBind () { this.disabled = true if (!this.val1 || !this.val2) { this.disabled = false return } + this._bindOrUnbind('1') + }, + toUnbind () { + this.disabled = true + if (!this.val2) { + this.disabled = false + return + } + this._bindOrUnbind('0') + }, + async _bindOrUnbind (type) { try { let res = await bindOrUnbind(this.val1, this.val2, type) if (res.code === '200') {