From fb6785654e379d5c1339b48fb4d4594c4167fe00 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 16 Dec 2025 14:02:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=89=E8=8A=AF=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=A3=80=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mioitem_check.vue | 52 ++++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 10 deletions(-) diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue index a082fb55..22cc38d9 100644 --- a/src/views/inm/mioitem_check.vue +++ b/src/views/inm/mioitem_check.vue @@ -605,12 +605,21 @@ - + + + + + @@ -618,7 +627,14 @@ - + + + + - + + + + + { @@ -1325,13 +1355,15 @@ export default { if (valid) { that.isSaveing = true; try { - if (that.type == "pur_in") { + if (that.type == "pur_in"&&that.project_code!="gx") { console.log(that.form); let arr = []; - that.weight_kgs.forEach((item) => { - arr.push(item.value); - }); - that.form.weight_kgs = arr; + if(that.weight_kgs.length>0){ + that.weight_kgs.forEach((item) => { + arr.push(item.value); + }); + that.form.weight_kgs = arr; + } console.log('that.form',that.form); that.$API.inm.mioitem.testpurin .req(that.mioitemId, that.form)