From f300fbfbd5aff93c763977bc9a4bd4556fea5ea3 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Wed, 19 Jun 2024 11:53:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=A4=96=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/businesstype/index.ts | 7 +++++- .../unplannedreceiptRequestMain/index.vue | 16 +++++++++++- .../unplannedreceiptRequestMain.data.ts | 25 ++++++++++++------- 3 files changed, 37 insertions(+), 11 deletions(-) diff --git a/src/api/wms/businesstype/index.ts b/src/api/wms/businesstype/index.ts index 09f9dddef..422a82802 100644 --- a/src/api/wms/businesstype/index.ts +++ b/src/api/wms/businesstype/index.ts @@ -62,4 +62,9 @@ export const exportBusinesstype = async (params) => { // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/wms/businesstype/get-import-template' }) -} \ No newline at end of file +} + +// 库存状态 +export const getBusinesstypeCode = async (businessCode: string) => { + return await request.get({ url: `/wms/businesstype/getBusinesstypeCode?businessCode=` + businessCode }) +} diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue index 3f56bbc43..c17161b60 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue @@ -59,7 +59,14 @@ @submitForm="submitForm" @inputNumberChange="inputNumberChange" @tableFormSelectOnBlur="tableFormSelectOnBlur" - /> + > +