From e119dee57b1c7ac208e0d8d40d6798cd55f82cc5 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Thu, 18 Apr 2024 16:40:11 +0800 Subject: [PATCH] =?UTF-8?q?wms=E6=88=90=E5=93=81=E7=9B=98=E7=82=B9?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/systemFinished/systemFinished.js | 3 ++- src/views/wms/systemFinished/index.vue | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/systemFinished/systemFinished.js b/src/api/systemFinished/systemFinished.js index 4fc8420..84c8957 100644 --- a/src/api/systemFinished/systemFinished.js +++ b/src/api/systemFinished/systemFinished.js @@ -14,7 +14,8 @@ export function addOdsProductEmbryoInventory(data) { return request({ url: '/wms/systemFinished/addOdsProductEmbryoInventory', method: 'post', - params: data + data: data, + contentType:'application/json', }); } diff --git a/src/views/wms/systemFinished/index.vue b/src/views/wms/systemFinished/index.vue index 7b1b6d6..2e3377a 100644 --- a/src/views/wms/systemFinished/index.vue +++ b/src/views/wms/systemFinished/index.vue @@ -47,9 +47,9 @@ @keyup.enter.native="handleQuery" /> - + - - + @@ -567,7 +566,7 @@ const formData = Object.assign({}, this.form); // 将addoutorderList数组赋值给formData对象 - formData.addoutorderList = this.addoutorderList; + formData.odsProductEmbryoInventoryCorrelationList = this.addoutorderList; // 打印整合后的数据对象 console.log("Merged Data:", formData);