From 124f3ca87eb65367d5f0b1dc46276c587db9e935 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 31 Dec 2025 14:32:55 +0800 Subject: [PATCH] wbc --- pages.json | 42 +++++ pages/hdyy/wbc/material.vue | 100 +++++++++++ pages/hdyy/wbc/wbc-enter.vue | 152 +++++++++++++++++ pages/hdyy/wbc/wbc-getuse.vue | 167 ++++++++++++++++++ pages/hdyy/wbc/wbc-return.vue | 259 ++++++++++++++++++++++++++++ pages/hdyy/wbc/wbc-shouhuo.vue | 291 ++++++++++++++++++++++++++++++++ pages/hdyy/wbc/wbc-transfer.vue | 179 ++++++++++++++++++++ pages/home/home.vue | 7 + utils/getData3.js | 93 ++++++++++ 9 files changed, 1290 insertions(+) create mode 100644 pages/hdyy/wbc/material.vue create mode 100644 pages/hdyy/wbc/wbc-enter.vue create mode 100644 pages/hdyy/wbc/wbc-getuse.vue create mode 100644 pages/hdyy/wbc/wbc-return.vue create mode 100644 pages/hdyy/wbc/wbc-shouhuo.vue create mode 100644 pages/hdyy/wbc/wbc-transfer.vue create mode 100644 utils/getData3.js diff --git a/pages.json b/pages.json index 9d89d0e..d7df6f3 100644 --- a/pages.json +++ b/pages.json @@ -202,6 +202,48 @@ } } + ,{ + "path" : "pages/hdyy/wbc/wbc-enter", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/hdyy/wbc/wbc-getuse", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/hdyy/wbc/wbc-return", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/hdyy/wbc/wbc-shouhuo", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/hdyy/wbc/wbc-transfer", + "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/hdyy/wbc/material", + "style" : + { + "navigationStyle": "custom" + } + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/hdyy/wbc/material.vue b/pages/hdyy/wbc/material.vue new file mode 100644 index 0000000..fe3865e --- /dev/null +++ b/pages/hdyy/wbc/material.vue @@ -0,0 +1,100 @@ + + + \ No newline at end of file diff --git a/pages/hdyy/wbc/wbc-enter.vue b/pages/hdyy/wbc/wbc-enter.vue new file mode 100644 index 0000000..2472237 --- /dev/null +++ b/pages/hdyy/wbc/wbc-enter.vue @@ -0,0 +1,152 @@ + + + \ No newline at end of file diff --git a/pages/hdyy/wbc/wbc-getuse.vue b/pages/hdyy/wbc/wbc-getuse.vue new file mode 100644 index 0000000..fe97a62 --- /dev/null +++ b/pages/hdyy/wbc/wbc-getuse.vue @@ -0,0 +1,167 @@ + + + \ No newline at end of file diff --git a/pages/hdyy/wbc/wbc-return.vue b/pages/hdyy/wbc/wbc-return.vue new file mode 100644 index 0000000..2d8620d --- /dev/null +++ b/pages/hdyy/wbc/wbc-return.vue @@ -0,0 +1,259 @@ + + + + diff --git a/pages/hdyy/wbc/wbc-shouhuo.vue b/pages/hdyy/wbc/wbc-shouhuo.vue new file mode 100644 index 0000000..d1ba77f --- /dev/null +++ b/pages/hdyy/wbc/wbc-shouhuo.vue @@ -0,0 +1,291 @@ + + + + diff --git a/pages/hdyy/wbc/wbc-transfer.vue b/pages/hdyy/wbc/wbc-transfer.vue new file mode 100644 index 0000000..a798adb --- /dev/null +++ b/pages/hdyy/wbc/wbc-transfer.vue @@ -0,0 +1,179 @@ + + + \ No newline at end of file diff --git a/pages/home/home.vue b/pages/home/home.vue index e124c84..3e04b39 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -63,6 +63,13 @@ {title: '退库确认', path: '/pages/Material/tuiku-confirm'}, {title: '大料箱移库', path: '/pages/Material/dlx-move-store'}, {title: '大料箱盘库', path: '/pages/Material/dlx-pan-store'} + ]}, + {title: '外包材管理', path: 'RF01', sonTree: [ + {title: '外包材收货', path: '/pages/hdyy/wbc/wbc-shouhuo'}, + {title: '外包材转运', path: '/pages/hdyy/wbc/wbc-transfer'}, + {title: '外包材送入', path: '/pages/hdyy/wbc/wbc-enter'}, + {title: '外包材领用', path: '/pages/hdyy/wbc/wbc-getuse'}, + {title: '外包材还回', path: '/pages/hdyy/wbc/wbc-return'} ]} ], show: false, diff --git a/utils/getData3.js b/utils/getData3.js new file mode 100644 index 0000000..d7fda5d --- /dev/null +++ b/utils/getData3.js @@ -0,0 +1,93 @@ +import request from './request.js' + +// 项目:hdyy + +/** + * 公共分类 + */ +// 物料信息查询 +export const queryMaterInfo = (ccode, mcode) => request({ + url:'api/pda/publicInterface/queryMaterInfo', + data: {class_code: ccode, material_code: mcode} +}) +// 查询区域下拉框 +export const queryRegionDropdown = (rcode) => request({ + url:'api/pda/publicInterface/queryRegionDropdown', + data: {region_code: rcode} +}) + + +/** + * 外包材收货(外包材管理) + */ +// 根据点位编码查询区域下拉框 +export const queryPointRegion = (pcode) => request({ + url:'api/pda/packaging/queryPointRegion', + data: {point_code: pcode} +}) + +// 确认收货 +export const confirmStock = (pcode, rcode, mid, mcode, mname, pcsn, qty, unit, remark) => request({ + url:'api/pda/packaging/confirmStock', + data: {point_code: pcode, region_code: rcode, material_id: mid, material_code: mcode, material_name: mname, pcsn: pcsn, qty: qty, qty_unit_name: unit, remark: remark} +}) + +/** + * 外包材转运(外包材管理) + */ +// 查询列表明细 +export const queryTransferDtl = (opoint) => request({ + url:'api/pda/packaging/queryTransferDtl', + data: {out_point: opoint} +}) + +// 确认转运 +export const confirmTransfer = (opoint, ipoint, rows) => request({ + url:'api/pda/packaging/confirmTransfer', + data: {out_point: opoint, in_point: ipoint, rows: rows} +}) + +/** + * 外包材送货(外包材管理) + */ +// 查询点位库存明细 +export const queryPointInDtl = (pcode) => request({ + url:'api/pda/packaging/queryPointInDtl', + data: {point_code: pcode} +}) + +// 查询目的点位下拉框 +export const queryPointInDownload = () => request({ + url:'api/pda/packaging/queryPointInDownload', + data: {} +}) + +// 送入 +export const packInConfirm = (pcode, icode, qty, rows) => request({ + url:'api/pda/packaging/packInConfirm', + data: {point_code: pcode, in_point_code: icode, total_qty: qty, rows: rows} +}) + +/** + * 外包材领用(外包材管理) + */ +// 查询点位明细 +export const queryPointDrawDtl = (pcode) => request({ + url:'api/pda/packaging/queryPointDrawDtl', + data: {point_code: pcode} +}) + +// 确认取货 +export const queryDrawConfirm = (pcode, qty, rows) => request({ + url:'api/pda/packaging/queryDrawConfirm', + data: {point_code: pcode, total_qty: qty, rows: rows} +}) + +/** + * 外包材还回(外包材管理) + */ +// 确认还回 +export const packConfirmReturn = (pcode, mid, mcode, mname, pcsn, qty, remark) => request({ + url:'api/pda/packaging/packConfirmReturn', + data: {point_code: pcode, material_id: mid, material_code: mcode, material_name: mname, pcsn: pcsn, qty: qty, remark: remark} +})