From cba2b651186684dc478efc9f68331c3384652aef Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 19 Jul 2023 11:08:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=90=8E=E5=85=AD=E4=B8=AA=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/pro/baseFile.js | 44 ++ src/api/wms/bom.js | 44 ++ src/api/wms/customer.js | 44 ++ src/api/wms/machinery.js | 44 ++ src/api/wms/product.js | 44 ++ src/api/wms/productGroups.js | 44 ++ src/api/wms/supplier.js | 44 ++ src/views/mes/pro/baseFile/index.vue | 293 +++++++++++++ src/views/mes/pro/process/content.vue | 4 +- src/views/wms/area/index.vue | 8 +- src/views/wms/bom/index.vue | 342 +++++++++++++++ src/views/wms/customer/index.vue | 444 ++++++++++++++++++++ src/views/wms/factory/index.vue | 6 +- src/views/wms/machinery/index.vue | 355 ++++++++++++++++ src/views/wms/product/index.vue | 489 +++++++++++++++++++++ src/views/wms/productGroups/index.vue | 391 +++++++++++++++++ src/views/wms/shifts/index.vue | 10 +- src/views/wms/supplier/index.vue | 584 ++++++++++++++++++++++++++ src/views/wms/warehouse/index.vue | 6 +- 19 files changed, 3224 insertions(+), 16 deletions(-) create mode 100644 src/api/mes/pro/baseFile.js create mode 100644 src/api/wms/bom.js create mode 100644 src/api/wms/customer.js create mode 100644 src/api/wms/machinery.js create mode 100644 src/api/wms/product.js create mode 100644 src/api/wms/productGroups.js create mode 100644 src/api/wms/supplier.js create mode 100644 src/views/mes/pro/baseFile/index.vue create mode 100644 src/views/wms/bom/index.vue create mode 100644 src/views/wms/customer/index.vue create mode 100644 src/views/wms/machinery/index.vue create mode 100644 src/views/wms/product/index.vue create mode 100644 src/views/wms/productGroups/index.vue create mode 100644 src/views/wms/supplier/index.vue diff --git a/src/api/mes/pro/baseFile.js b/src/api/mes/pro/baseFile.js new file mode 100644 index 0000000..400497b --- /dev/null +++ b/src/api/mes/pro/baseFile.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询工艺附件管理列表 +export function listBaseFile(query) { + return request({ + url: '/mes/pro/baseFile/list', + method: 'get', + params: query + }); +} + +// 查询工艺附件管理详细 +export function getBaseFile(fileId) { + return request({ + url: '/mes/pro/baseFile/' + fileId, + method: 'get' + }); +} + +// 新增工艺附件管理 +export function addBaseFile(data) { + return request({ + url: '/mes/pro/baseFile', + method: 'post', + data: data + }); +} + +// 修改工艺附件管理 +export function updateBaseFile(data) { + return request({ + url: '/mes/pro/baseFile', + method: 'put', + data: data + }); +} + +// 删除工艺附件管理 +export function delBaseFile(fileId) { + return request({ + url: '/mes/pro/baseFile/' + fileId, + method: 'delete' + }); +} diff --git a/src/api/wms/bom.js b/src/api/wms/bom.js new file mode 100644 index 0000000..9486d01 --- /dev/null +++ b/src/api/wms/bom.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询物料BOM管理列表 +export function listBom(query) { + return request({ + url: '/wms/bom/list', + method: 'get', + params: query + }); +} + +// 查询物料BOM管理详细 +export function getBom(bomItemId) { + return request({ + url: '/wms/bom/' + bomItemId, + method: 'get' + }); +} + +// 新增物料BOM管理 +export function addBom(data) { + return request({ + url: '/wms/bom', + method: 'post', + data: data + }); +} + +// 修改物料BOM管理 +export function updateBom(data) { + return request({ + url: '/wms/bom', + method: 'put', + data: data + }); +} + +// 删除物料BOM管理 +export function delBom(bomItemId) { + return request({ + url: '/wms/bom/' + bomItemId, + method: 'delete' + }); +} diff --git a/src/api/wms/customer.js b/src/api/wms/customer.js new file mode 100644 index 0000000..5fcb5b6 --- /dev/null +++ b/src/api/wms/customer.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询客户管理列表 +export function listCustomer(query) { + return request({ + url: '/wms/customer/list', + method: 'get', + params: query + }); +} + +// 查询客户管理详细 +export function getCustomer(clientId) { + return request({ + url: '/wms/customer/' + clientId, + method: 'get' + }); +} + +// 新增客户管理 +export function addCustomer(data) { + return request({ + url: '/wms/customer', + method: 'post', + data: data + }); +} + +// 修改客户管理 +export function updateCustomer(data) { + return request({ + url: '/wms/customer', + method: 'put', + data: data + }); +} + +// 删除客户管理 +export function delCustomer(clientId) { + return request({ + url: '/wms/customer/' + clientId, + method: 'delete' + }); +} diff --git a/src/api/wms/machinery.js b/src/api/wms/machinery.js new file mode 100644 index 0000000..939f61f --- /dev/null +++ b/src/api/wms/machinery.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询机台管理列表 +export function listMachinery(query) { + return request({ + url: '/wms/machinery/list', + method: 'get', + params: query + }); +} + +// 查询机台管理详细 +export function getMachinery(machineryId) { + return request({ + url: '/wms/machinery/' + machineryId, + method: 'get' + }); +} + +// 新增机台管理 +export function addMachinery(data) { + return request({ + url: '/wms/machinery', + method: 'post', + data: data + }); +} + +// 修改机台管理 +export function updateMachinery(data) { + return request({ + url: '/wms/machinery', + method: 'put', + data: data + }); +} + +// 删除机台管理 +export function delMachinery(machineryId) { + return request({ + url: '/wms/machinery/' + machineryId, + method: 'delete' + }); +} diff --git a/src/api/wms/product.js b/src/api/wms/product.js new file mode 100644 index 0000000..7bd9b87 --- /dev/null +++ b/src/api/wms/product.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询物料信息列表 +export function listProduct(query) { + return request({ + url: '/wms/product/list', + method: 'get', + params: query + }); +} + +// 查询物料信息详细 +export function getProduct(productId) { + return request({ + url: '/wms/product/' + productId, + method: 'get' + }); +} + +// 新增物料信息 +export function addProduct(data) { + return request({ + url: '/wms/product', + method: 'post', + data: data + }); +} + +// 修改物料信息 +export function updateProduct(data) { + return request({ + url: '/wms/product', + method: 'put', + data: data + }); +} + +// 删除物料信息 +export function delProduct(productId) { + return request({ + url: '/wms/product/' + productId, + method: 'delete' + }); +} diff --git a/src/api/wms/productGroups.js b/src/api/wms/productGroups.js new file mode 100644 index 0000000..06c2b0f --- /dev/null +++ b/src/api/wms/productGroups.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询物料分组列表 +export function listProductGroups(query) { + return request({ + url: '/wms/productGroups/list', + method: 'get', + params: query + }); +} + +// 查询物料分组详细 +export function getProductGroups(pgId) { + return request({ + url: '/wms/productGroups/' + pgId, + method: 'get' + }); +} + +// 新增物料分组 +export function addProductGroups(data) { + return request({ + url: '/wms/productGroups', + method: 'post', + data: data + }); +} + +// 修改物料分组 +export function updateProductGroups(data) { + return request({ + url: '/wms/productGroups', + method: 'put', + data: data + }); +} + +// 删除物料分组 +export function delProductGroups(pgId) { + return request({ + url: '/wms/productGroups/' + pgId, + method: 'delete' + }); +} diff --git a/src/api/wms/supplier.js b/src/api/wms/supplier.js new file mode 100644 index 0000000..5ac103c --- /dev/null +++ b/src/api/wms/supplier.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询供应商管理列表 +export function listSupplier(query) { + return request({ + url: '/wms/supplier/list', + method: 'get', + params: query + }); +} + +// 查询供应商管理详细 +export function getSupplier(supplierId) { + return request({ + url: '/wms/supplier/' + supplierId, + method: 'get' + }); +} + +// 新增供应商管理 +export function addSupplier(data) { + return request({ + url: '/wms/supplier', + method: 'post', + data: data + }); +} + +// 修改供应商管理 +export function updateSupplier(data) { + return request({ + url: '/wms/supplier', + method: 'put', + data: data + }); +} + +// 删除供应商管理 +export function delSupplier(supplierId) { + return request({ + url: '/wms/supplier/' + supplierId, + method: 'delete' + }); +} diff --git a/src/views/mes/pro/baseFile/index.vue b/src/views/mes/pro/baseFile/index.vue new file mode 100644 index 0000000..92430bd --- /dev/null +++ b/src/views/mes/pro/baseFile/index.vue @@ -0,0 +1,293 @@ + + + diff --git a/src/views/mes/pro/process/content.vue b/src/views/mes/pro/process/content.vue index 9c6ea32..07900ca 100644 --- a/src/views/mes/pro/process/content.vue +++ b/src/views/mes/pro/process/content.vue @@ -48,7 +48,7 @@ - + @@ -72,7 +72,7 @@ - + - - - - + + + + diff --git a/src/views/wms/bom/index.vue b/src/views/wms/bom/index.vue new file mode 100644 index 0000000..1dd9e63 --- /dev/null +++ b/src/views/wms/bom/index.vue @@ -0,0 +1,342 @@ + + + diff --git a/src/views/wms/customer/index.vue b/src/views/wms/customer/index.vue new file mode 100644 index 0000000..3390c51 --- /dev/null +++ b/src/views/wms/customer/index.vue @@ -0,0 +1,444 @@ + + + diff --git a/src/views/wms/factory/index.vue b/src/views/wms/factory/index.vue index 3355bdd..a263580 100644 --- a/src/views/wms/factory/index.vue +++ b/src/views/wms/factory/index.vue @@ -58,7 +58,7 @@ @@ -163,10 +163,10 @@ export default { status: null, }, options: [{ - status: "0", + status: "1", label: '是' }, { - status: "1", + status: "0", label: '否' }], // 表单参数 diff --git a/src/views/wms/machinery/index.vue b/src/views/wms/machinery/index.vue new file mode 100644 index 0000000..9bb1d87 --- /dev/null +++ b/src/views/wms/machinery/index.vue @@ -0,0 +1,355 @@ + + + diff --git a/src/views/wms/product/index.vue b/src/views/wms/product/index.vue new file mode 100644 index 0000000..87ef27c --- /dev/null +++ b/src/views/wms/product/index.vue @@ -0,0 +1,489 @@ + + + diff --git a/src/views/wms/productGroups/index.vue b/src/views/wms/productGroups/index.vue new file mode 100644 index 0000000..d81ed71 --- /dev/null +++ b/src/views/wms/productGroups/index.vue @@ -0,0 +1,391 @@ + + + diff --git a/src/views/wms/shifts/index.vue b/src/views/wms/shifts/index.vue index 39b843b..381db41 100644 --- a/src/views/wms/shifts/index.vue +++ b/src/views/wms/shifts/index.vue @@ -81,6 +81,8 @@ + + @@ -135,7 +137,7 @@ +
+ + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 修改 + + + 删除 + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/src/views/wms/warehouse/index.vue b/src/views/wms/warehouse/index.vue index c867f42..4b84b7b 100644 --- a/src/views/wms/warehouse/index.vue +++ b/src/views/wms/warehouse/index.vue @@ -72,7 +72,7 @@ -