diff --git a/pages/zw/manual-returnmater.vue b/pages/zw/manual-returnmater.vue index 4fb1288..1f9e4b5 100644 --- a/pages/zw/manual-returnmater.vue +++ b/pages/zw/manual-returnmater.vue @@ -109,8 +109,8 @@ - - + + @@ -183,7 +183,6 @@ let res = await getMaterialSuppByVehicleCode(this.val2) if (res.code === '200') { this.currentData = res.data - this.val3 = this.currentData.qty } else { uni.showToast({ title: res.message, @@ -196,12 +195,12 @@ async _checkoutbillBackMaterial () { this.disabled = true if (this.index4 === '1') { - if (!this.val1 || !this.val2 || !this.index4 || !this.index5 || !this.val3 || !this.currentData.material_code) { + if (!this.val1 || !this.val2 || !this.index4 || !this.index5 || !this.currentData.material_code) { this.disabled = false return } } else { - if (!this.val1 || !this.val2 || !this.index4 || !this.index5) { + if (!this.val1 || !this.val2 || !this.index4) { this.disabled = false return }