From 0bd5e995f840cf262894d54baceafec3e15d67f2 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Fri, 14 Oct 2022 18:05:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ProductManage/ZjOutStore.vue | 2 +- utils/getData2.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/ProductManage/ZjOutStore.vue b/pages/ProductManage/ZjOutStore.vue index 1d0db4c..e12529d 100644 --- a/pages/ProductManage/ZjOutStore.vue +++ b/pages/ProductManage/ZjOutStore.vue @@ -123,7 +123,7 @@ return } try { - let res = await outConfirm(this.checkArr) + let res = await outConfirm(this.val1, this.checkArr) uni.showToast({ title: res.desc, icon: 'none' diff --git a/utils/getData2.js b/utils/getData2.js index f8455b7..851794f 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -86,9 +86,10 @@ export const queryMaterialInfo4 = (code, area) => request({ } }) // 1.2子卷出站 -export const outConfirm = (rows) => request({ +export const outConfirm = (code, rows) => request({ url:'api/pda/out/confirm', data: { + point_code: code, cut_rows: rows } }) \ No newline at end of file