From 512df454e35d2654883d13d8ab1ea931f110917f Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 15 Aug 2025 16:58:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=B7=A5=E9=80=80=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/zw/manual-returnmater.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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)