From 67b5d82545de76ebd40faccd8c564f05da79d65e Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 4 Sep 2024 11:38:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8E=9F=E6=96=99=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E6=97=B6=E5=A4=87=E6=B3=A8=E4=B8=BA=E4=BF=9D=E5=AD=98=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mioitem_check.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue index 534a1ed2..1613fca0 100644 --- a/src/views/inm/mioitem_check.vue +++ b/src/views/inm/mioitem_check.vue @@ -1019,15 +1019,10 @@ export default { that.weight_kgs.forEach((item) => { arr.push(item.value); }); - let obj = {}; - obj.test_date = that.form.test_date; - obj.test_user = that.form.test_user; - obj.count_bag = that.form.count_bag; - obj.weight_kgs = arr; - obj.is_testok = that.form.is_testok; - console.log(obj); + that.form.weight_kgs = arr; + console.log('that.form',that.form); that.$API.inm.mioitem.testpurin - .req(that.mioitemId, obj) + .req(that.mioitemId, that.form) .then((res) => { that.isSaveing = false; that.$emit("success");