From 6c276b5d5a949bf20a2d1dac64b8b323034da104 Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 21 Dec 2023 10:36:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=B1=95=E7=A4=BA=E6=95=B0=E6=8D=AE=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerreturnRequestMain.data.ts | 1 + .../customerreturn/customerreturnRequestMain/index.vue | 2 +- .../deliver/deliverRequestMain/deliverRequestMain.data.ts | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts index c22b5bcc2..9ca00d4f1 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts @@ -790,6 +790,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive isTableForm: false, isForm: false }, + { label: '从货主代码', field: 'fromOwnerCode', diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue index de6e10bc9..8b55a2efd 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue @@ -125,7 +125,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => setV['customerCode'] = val[0]['customerCode'] setV['customerDockCode'] = val[0]['customerDockCode'] // 获取子表数据 getBomDisassemble - DeliverRecordDetailApi.getDeliverRecordDetailPage(val[0]['id']) + DeliverRecordDetailApi.getDeliverRecordDetailPage({masterId:val[0]['id']}) .then(res => { console.log(555,res) if (res) tableData.value = res.list diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts index 3bb821590..ac0dcc229 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts @@ -509,9 +509,9 @@ export const DeliverRequestMainRules = reactive({ customerCode: [ { required: true, message: '请选择客户代码', trigger: 'change' } ], - // customerDockCode: [ - // { required: true, message: '请选择客户月台代码', trigger: 'change' } - // ], + customerDockCode: [ + { required: true, message: '请选择客户月台代码', trigger: 'change' } + ], // fromWarehouseCode: [ // { required: true, message: '请选择从仓库代码', trigger: 'change' } // ], From 793554e6ff5cf62b6d4cbb8e9bf1476dca50e0e9 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 21 Dec 2023 11:39:10 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home/index.ts | 22 ++ src/views/Home/Index.vue | 12 +- src/views/Home/components/material.vue | 306 ++++++++++++++++++ src/views/Home/components/produce.vue | 305 +++++++++++++++++ src/views/Home/components/product.vue | 284 ++++++++++++++++ .../components/productWarehouseKeeper.vue | 172 ---------- .../Home/components/productionManager.vue | 162 ---------- src/views/Home/components/supplierIndex.vue | 267 +++++++++++---- src/views/Home/components/warehouseKeeper.vue | 192 ----------- 9 files changed, 1122 insertions(+), 600 deletions(-) create mode 100644 src/api/home/index.ts create mode 100644 src/views/Home/components/material.vue create mode 100644 src/views/Home/components/produce.vue create mode 100644 src/views/Home/components/product.vue delete mode 100644 src/views/Home/components/productWarehouseKeeper.vue delete mode 100644 src/views/Home/components/productionManager.vue delete mode 100644 src/views/Home/components/warehouseKeeper.vue diff --git a/src/api/home/index.ts b/src/api/home/index.ts new file mode 100644 index 000000000..aa8cb1388 --- /dev/null +++ b/src/api/home/index.ts @@ -0,0 +1,22 @@ +import request from '@/config/axios' + +// 供应商首页 +export const getSupplierData = async () => { + return await request.get({ url: `/wms/index/indexSupplier` }) +} + +// 原料管理员首页 +export const getMaterialData = async () => { + return await request.get({ url: `/wms/index/indexMaterial` }) +} + +// 生产管理员首页 +export const getProduceData = async () => { + return await request.get({ url: `/wms/index/indexProduce` }) +} + +// 成品管理员首页 +export const getProductData = async () => { + return await request.get({ url: `/wms/index/indexProduct` }) +} + diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 8c6be92e4..1cc81ac3a 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -1,14 +1,14 @@ diff --git a/src/views/Home/components/material.vue b/src/views/Home/components/material.vue new file mode 100644 index 000000000..fd8d5a2bf --- /dev/null +++ b/src/views/Home/components/material.vue @@ -0,0 +1,306 @@ + + + + diff --git a/src/views/Home/components/produce.vue b/src/views/Home/components/produce.vue new file mode 100644 index 000000000..8046930a2 --- /dev/null +++ b/src/views/Home/components/produce.vue @@ -0,0 +1,305 @@ + + + + diff --git a/src/views/Home/components/product.vue b/src/views/Home/components/product.vue new file mode 100644 index 000000000..560e3a990 --- /dev/null +++ b/src/views/Home/components/product.vue @@ -0,0 +1,284 @@ + + + + diff --git a/src/views/Home/components/productWarehouseKeeper.vue b/src/views/Home/components/productWarehouseKeeper.vue deleted file mode 100644 index 2b6938d2c..000000000 --- a/src/views/Home/components/productWarehouseKeeper.vue +++ /dev/null @@ -1,172 +0,0 @@ - - - diff --git a/src/views/Home/components/productionManager.vue b/src/views/Home/components/productionManager.vue deleted file mode 100644 index 13900e6a5..000000000 --- a/src/views/Home/components/productionManager.vue +++ /dev/null @@ -1,162 +0,0 @@ - - - diff --git a/src/views/Home/components/supplierIndex.vue b/src/views/Home/components/supplierIndex.vue index 42687dc19..7bc14a644 100644 --- a/src/views/Home/components/supplierIndex.vue +++ b/src/views/Home/components/supplierIndex.vue @@ -1,3 +1,4 @@ +