From 752f7e709c24bea9bc44c67eaa369b4b8d9f8f29 Mon Sep 17 00:00:00 2001 From: zhangdi <1104545947@qq.com> Date: Tue, 19 May 2026 19:22:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E5=92=8C=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../logisticsDistribution.js | 9 + src/api/storeManagement/otherIssuing.js | 8 + .../otherIssuing/index.vue | 25 +- .../otherIssuing/otherIssuingDailog.vue | 513 ++++++++---------- .../returnReceiving.vue | 492 ++++++----------- .../warehouseTransfer/index.vue | 492 +++++------------ .../logisticsDistribution.vue | 87 +-- 7 files changed, 572 insertions(+), 1054 deletions(-) diff --git a/src/api/logisticsManagement/logisticsDistribution.js b/src/api/logisticsManagement/logisticsDistribution.js index 5192da80..2de95beb 100644 --- a/src/api/logisticsManagement/logisticsDistribution.js +++ b/src/api/logisticsManagement/logisticsDistribution.js @@ -82,4 +82,13 @@ export const taskDetails = (data) => { method: 'post', data: data, }); +}; + +// 关闭任务 order/task-closed +export const taskClosed = (data) => { + return request({ + url: '/blade-desk/order/task-closed', + method: 'post', + data: data, + }); }; \ No newline at end of file diff --git a/src/api/storeManagement/otherIssuing.js b/src/api/storeManagement/otherIssuing.js index 19e85f2d..7eb59c70 100644 --- a/src/api/storeManagement/otherIssuing.js +++ b/src/api/storeManagement/otherIssuing.js @@ -124,4 +124,12 @@ export const getGoodsListByShId = params => url: '/api/blade-wms/combox/config/queryByShId', method: 'get', params + }) + + // 根据扫码物资获取所有库存数据 + export const getStockByStorehouseAndGoods = params => + request({ + url: '/api/blade-wms/combox/config/getStockByStorehouseAndGoods', + method: 'get', + params }) \ No newline at end of file diff --git a/src/views/inboundOutboundManagement/otherIssuing/index.vue b/src/views/inboundOutboundManagement/otherIssuing/index.vue index 209bcd0d..e7fb09c3 100644 --- a/src/views/inboundOutboundManagement/otherIssuing/index.vue +++ b/src/views/inboundOutboundManagement/otherIssuing/index.vue @@ -44,6 +44,7 @@ @@ -165,7 +166,6 @@ export default { { label: '出库仓库', prop: 'shName', - // bind: "stAccBill.coStorehouse.shName", search: true, sortable: true, filter: true, @@ -176,7 +176,6 @@ export default { label: '出库类别', prop: 'outType', type: 'select', - // bind: "stAccBill.billFlagStr", search: false, sortable: true, filter: true, @@ -256,7 +255,6 @@ export default { { label: '制单人', prop: 'createUserName', - // bind: "stAccBill.createMan.userName", search: false, sortable: true, filter: true, @@ -266,7 +264,6 @@ export default { { label: '工装编号', prop: 'toolCode', - // bind: "pjMold.toolingCode", search: false, sortable: true, filter: true, @@ -317,22 +314,10 @@ export default { label: '审批驳回', value: 10, }, - // { - // label: "审批不通过", - // value: 3, - // }, + ], }, - // { - // label: '审批意见', - // prop: 'approvalOpinion', - // search: false, - // sortable: true, - // filter: true, - // span: 12, - // display: false, - // width: 180, - // }, + { label: '审批人', prop: 'approverName', @@ -417,6 +402,7 @@ export default { auditRules: { approvalResult: [{ required: true, message: '请选择是否通过审核', trigger: 'blur' }], }, + openType:'' }; }, created() { @@ -428,10 +414,12 @@ export default { methods: { addView() { this.openShow = true; + this.openType = '新增' }, changeCode(val) { if (this.checkCode == '') return; this.openShow = true; + this.openType = '扫码' }, beforeOpen(done, type) { if (['view'].includes(type)) { @@ -469,6 +457,7 @@ export default { closeDialog(val) { this.openShow = false; this.showDetail = false; + this.checkCode = '' if (val) { this.onLoad(); } diff --git a/src/views/inboundOutboundManagement/otherIssuing/otherIssuingDailog.vue b/src/views/inboundOutboundManagement/otherIssuing/otherIssuingDailog.vue index 72dcb1bb..c09c3afa 100644 --- a/src/views/inboundOutboundManagement/otherIssuing/otherIssuingDailog.vue +++ b/src/views/inboundOutboundManagement/otherIssuing/otherIssuingDailog.vue @@ -25,7 +25,7 @@ - + - -
- 插入一行 - 删除一行 +
+ + + + + + + + + + + + + + + + + + +
- - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +