From 7937779ea037d8623bb235651f4da392f18ca9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Fri, 25 Oct 2024 15:46:19 +0800 Subject: [PATCH] no message --- pages/management/in-storage_new.vue | 2 +- utils/getData2.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/management/in-storage_new.vue b/pages/management/in-storage_new.vue index 7d7a335..407c223 100644 --- a/pages/management/in-storage_new.vue +++ b/pages/management/in-storage_new.vue @@ -460,7 +460,7 @@ // 库存提交-确认接口 async _inWarehouseCommit () { try { - let res = await inWarehouseCommit(this.subCheckData) + let res = await inWarehouseCommit(this.subCheckData, , this.crType) if (res.code === 1) { this._easOutInBillPage() } diff --git a/utils/getData2.js b/utils/getData2.js index da07f22..2f0dc87 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -197,7 +197,7 @@ export const addAssignDtl = (arr) => request({ data: arr }) // 库存提交 -export const inWarehouseCommit = (arr) => request({ +export const inWarehouseCommit = (arr, type) => request({ url:'api/easOutInBillDetail/inWarehouseCommit', - data: arr + data: {details: arr, type: type} }) \ No newline at end of file