diff --git a/pages/zw/manual-returnmater.vue b/pages/zw/manual-returnmater.vue index edbe31a..c066015 100644 --- a/pages/zw/manual-returnmater.vue +++ b/pages/zw/manual-returnmater.vue @@ -78,7 +78,8 @@ - + + @@ -134,9 +135,16 @@ }, async _checkoutbillBackMaterial () { this.disabled = true - if (!this.val1 || !this.val2 || !this.index4 || !this.val3 || !this.currentData.material_code) { - this.disabled = false - return + if (this.index4 === '1') { + if (!this.val1 || !this.val2 || !this.index4 || !this.val3 || !this.currentData.material_code) { + this.disabled = false + return + } + } else { + if (!this.val1 || !this.val2 || !this.index4) { + this.disabled = false + return + } } try { let res = await checkoutbillBackMaterial(this.val1, this.val2, this.index4, this.val3, this.currentData.material_code)