From 883e861c530c561ffc9abfb4b41b1727e82e0fcb Mon Sep 17 00:00:00 2001 From: shenzhouyu Date: Sun, 28 Sep 2025 22:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=87=BA=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/production/production-return.js | 2 + .../production-issue/directIssueDetail.vue | 8 +- .../modules/production-issue/production.vue | 2 +- .../productionReturnPDAIssueList.vue | 1011 ++++++++--------- .../productionReturnPDAList.vue | 2 +- .../productionReturnPickingDetail.vue | 4 +- 6 files changed, 504 insertions(+), 525 deletions(-) diff --git a/src/api/production/production-return.js b/src/api/production/production-return.js index fc4ab04..c814c8d 100644 --- a/src/api/production/production-return.js +++ b/src/api/production/production-return.js @@ -23,3 +23,5 @@ export const getUnissueNotifyHeaderOrderMaterialList = data => createAPI(`/pda/ export const getUnissueMatericalForShopOrder = data => createAPI(`/pda/production/return/getUnissueMatericalForShopOrder`,'post',data) export const scanMaterialLabel = data => createAPI(`/pda/production/return/scanMaterialLabel`,'post',data) export const productionReturnUnissueConfirm = data => createAPI(`/pda/production/return/productionReturnUnissueConfirm`,'post',data) + +export const printLabelInfo = data => createAPI('/label/setting/printLabel','post',data) \ No newline at end of file diff --git a/src/views/modules/production-issue/directIssueDetail.vue b/src/views/modules/production-issue/directIssueDetail.vue index 85f8b22..0b4b957 100644 --- a/src/views/modules/production-issue/directIssueDetail.vue +++ b/src/views/modules/production-issue/directIssueDetail.vue @@ -85,9 +85,9 @@
- + @@ -118,6 +118,7 @@ export default { requiredQty: 0, issuedQty: 0, itemNo: '', + loading: false, } }, computed: { @@ -227,6 +228,7 @@ export default { materialCode: l.materialCode, })), } + this.loading = true confirmDirectIssue(params) .then(({ data }) => { if (data && data.code === 0) { @@ -238,6 +240,8 @@ export default { }) .catch(() => { this.$message.error('发料失败') + }).finally(()=>{ + this.loading = false }) }, initFromRoute() { diff --git a/src/views/modules/production-issue/production.vue b/src/views/modules/production-issue/production.vue index c4fef07..93dc057 100644 --- a/src/views/modules/production-issue/production.vue +++ b/src/views/modules/production-issue/production.vue @@ -43,7 +43,7 @@ export default { label: "申请单领料", iconClass: "qualified", to: "productionPicking", - disabled: false, + disabled: true, }, { icon: "records", diff --git a/src/views/modules/production-return/productionReturnPDAIssueList.vue b/src/views/modules/production-return/productionReturnPDAIssueList.vue index c8ddc03..94db630 100644 --- a/src/views/modules/production-return/productionReturnPDAIssueList.vue +++ b/src/views/modules/production-return/productionReturnPDAIssueList.vue @@ -11,22 +11,10 @@
- +
- + {{ "移除" }} {{ "添加" }} @@ -37,19 +25,16 @@
- {{ + {{ orderInfo.type === "workOrder" ? "工单号" : "退料申请单号" }}:{{ orderInfo.orderNo }}     批次号:{{ batchNo }}
- {{ orderInfo.type === "workOrder" ? "关联单号" : "关联工单" }}:{{ + {{ orderInfo.type === "workOrder" ? "关联单号" : "关联工单" }}:{{ orderInfo.transactionId - }} + }}  申请单退量:{{unissureQty}}
{{ orderInfo.partNo }} @@ -60,8 +45,8 @@
-
所需退量
-
{{ unissureQty }}
+
已退数量
+
{{ qtyReversed }}
领料数量
@@ -81,36 +66,32 @@ 退料信息确认
-
+
NO.
-
物料标签
+
物料标签
库位
退料数量
-
+
{{ index+1 }}
-
{{ label.labelCode }}
+
{{ label.labelCode }}
{{ label.locationId }}
-
- {{ label.quantity }} - -
+
+ {{ label.quantity }} + +
@@ -138,19 +119,11 @@
- + -
@@ -158,10 +131,10 @@
-