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