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");