From db4f073e1ffdae74ef3c6db61e7934f86f0d8809 Mon Sep 17 00:00:00 2001 From: ZZYQ Date: Mon, 15 Sep 2025 15:06:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/wms/bill.js | 9 + api/wms/palletDetailUnBind.js | 20 + api/wms/sku.js | 9 + pages.json | 19 + pages/work/wms/emptyPalletIn.vue | 574 +++++++++++++++++++ pages/work/wms/mesStockChange.vue | 563 ++++++++++++++++++ pages/work/wms/skuCreatePallet.vue | 67 ++- pages/work/wms/skuCreatePalletByCodeH5.vue | 628 +++++++++++++++++++++ static/json/dynamicRouter.json | 29 +- 9 files changed, 1910 insertions(+), 8 deletions(-) create mode 100644 pages/work/wms/emptyPalletIn.vue create mode 100644 pages/work/wms/mesStockChange.vue create mode 100644 pages/work/wms/skuCreatePalletByCodeH5.vue diff --git a/api/wms/bill.js b/api/wms/bill.js index b869ee0..2c081d9 100644 --- a/api/wms/bill.js +++ b/api/wms/bill.js @@ -14,6 +14,15 @@ const Api = { surplusReturn: '/api/wms/pda/surplusReturn', manualCall: '/api/wms/pda/manualCall', surplusOut: '/api/wms/pda/surplusOut', + callEmptyRackIn: '/api/wms/pda/callEmptyRackIn', +} +/** 空容器入库 */ +export const callEmptyRackIn = data => { + return request({ + url: Api.callEmptyRackIn, + data: data, + method: 'POST' + }) } /** 人工叫料 */ export const manualCall = data => { diff --git a/api/wms/palletDetailUnBind.js b/api/wms/palletDetailUnBind.js index fb7893f..db7802e 100644 --- a/api/wms/palletDetailUnBind.js +++ b/api/wms/palletDetailUnBind.js @@ -5,6 +5,8 @@ const Api = { palletDetailUnBind: '/api/wms/pda/palletDetailUnBind', queryPalletInfo: '/api/wms/pda/queryPalletInfo', unBindRack: '/api/wms/pda/unBindRack', + queryLinePalletInfo: '/api/wms/pda/queryLinePalletInfo', + queryAreaByLocCode: '/api/wms/pda/queryAreaByLocCode', } /** 托盘明细查询 */ @@ -32,4 +34,22 @@ export const unBindRack = data => { data: data, method: 'POST' }) +} + +/** 线边托盘信息查询 */ +export const queryLinePalletInfo = data => { + return request({ + url: Api.queryLinePalletInfo, + params: data, + method: 'GET' + }) +} + +/** 根据入库站台物料类别查询可到的库区 */ +export const queryAreaByLocCode = data => { + return request({ + url: Api.queryAreaByLocCode, + params: data, + method: 'GET' + }) } \ No newline at end of file diff --git a/api/wms/sku.js b/api/wms/sku.js index 96153d0..7813175 100644 --- a/api/wms/sku.js +++ b/api/wms/sku.js @@ -6,6 +6,15 @@ const Api = { lineCodeList: '/api/sys/dict/data/list', skuTypeList: '/api/wms/skuCategory/list', inventoryList: '/api/wms/pda/inventoryList', + getSkuByCode: '/api/wms/pda/getSkuByCode', +} + +//获取获取单个物料 +export async function getSkuByCode(skuCode ){ + return await request({ + url: Api.getSkuByCode + '/' + skuCode, + method: 'GET' + }) } //获取库存列表 diff --git a/pages.json b/pages.json index fa9d451..88dcb25 100644 --- a/pages.json +++ b/pages.json @@ -99,6 +99,13 @@ "navigationBarTitleText": "物料组盘(入库)" } }, + { + "path": "pages/work/wms/skuCreatePalletByCodeH5", + "navigationStyle": "custom", + "style": { + "navigationBarTitleText": "物料组盘(一码通H5)" + } + }, { "path": "pages/work/wms/clearEmptyLoc", "navigationStyle": "custom", @@ -196,6 +203,18 @@ "style": { "navigationBarTitleText": "托盘信息查询" } + }, + { + "path": "pages/work/wms/mesStockChange", + "style": { + "navigationBarTitleText": "Mes工位库库存变更" + } + }, + { + "path": "pages/work/wms/emptyPalletIn", + "style": { + "navigationBarTitleText": "空容器入库" + } } ], "tabBar": { diff --git a/pages/work/wms/emptyPalletIn.vue b/pages/work/wms/emptyPalletIn.vue new file mode 100644 index 0000000..7ea1539 --- /dev/null +++ b/pages/work/wms/emptyPalletIn.vue @@ -0,0 +1,574 @@ + + + + + \ No newline at end of file diff --git a/pages/work/wms/mesStockChange.vue b/pages/work/wms/mesStockChange.vue new file mode 100644 index 0000000..91a33f1 --- /dev/null +++ b/pages/work/wms/mesStockChange.vue @@ -0,0 +1,563 @@ + + + + + \ No newline at end of file diff --git a/static/json/dynamicRouter.json b/static/json/dynamicRouter.json index e3cd7dd..b339d89 100644 --- a/static/json/dynamicRouter.json +++ b/static/json/dynamicRouter.json @@ -10,9 +10,9 @@ "icon": "/static/images/work/组合 1747.png" }, { - "path": "/pages/work/wms/skuCreatePalletByCode", - "name": "skuCreatePalletByCode", - "title": "一码通入库", + "path": "/pages/work/wms/skuCreatePalletByCodeH5", + "name": "skuCreatePalletByCodeH5", + "title": "一码通入库(H5)", "color": "red", "icon": "/static/images/work/组合 1749.png" }, @@ -61,7 +61,28 @@ "name": "surplusOut", "title": "余料出库", "color": "red", - "icon": "/static/images/work/组合 1762.png" + "icon": "cuIcon-forward" + }, + { + "path": "/pages/work/wms/skuCreatePalletByCode", + "name": "skuCreatePalletByCode", + "title": "一码通入库(APP)", + "color": "red", + "icon": "cuIcon-qr_code" + }, + { + "path": "/pages/work/wms/mesStockChange", + "name": "mesStockChange", + "title": "Mes工位库库存变更", + "color": "red", + "icon": "cuIcon-exit" + }, + { + "path": "/pages/work/wms/emptyPalletIn", + "name": "emptyPalletIn", + "title": "空容器入库", + "color": "red", + "icon": "cuIcon-forwardfill" } ], "msg": "成功"