From 612c77e7b76e803b7604e260c41f8843694315b1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 27 三月 2026 15:55:47 +0800
Subject: [PATCH] 军泰伟业 1.已发货数量等于总数量时,状态为已发货。已发货数量小于总数量时,状态建议新增发货中 2.产品清除工艺路线点击确定后,仍然回显绑定的工艺路线
---
src/views/productionManagement/workOrder/index.vue | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 1911e65..f8b0594 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -128,6 +128,10 @@
<span class="info-value">{{ transferCardRowData.completeQuantity }}</span>
</div>
<div class="info-item">
+ <span class="info-label">寰呯敓浜ф暟閲�</span>
+ <span class="info-value">{{ (transferCardRowData.planQuantity || 0) - (transferCardRowData.completeQuantity || 0) }}</span>
+ </div>
+ <div class="info-item">
<span class="info-label">鑹搧鏁伴噺</span>
<span class="info-value">0</span>
</div>
@@ -224,6 +228,7 @@
downProductWorkOrder,
} from "@/api/productionManagement/workOrder.js";
import { getUserProfile, userListNoPageByTenantId } from "@/api/system/user.js";
+
import QRCode from "qrcode";
import { getCurrentInstance, reactive, toRefs } from "vue";
import FilesDia from "./components/filesDia.vue";
@@ -270,6 +275,11 @@
{
label: "瀹屾垚鏁伴噺",
prop: "completeQuantity",
+ width: "140",
+ },
+ {
+ label: "寰呯敓浜ф暟閲�",
+ prop: "pendingQuantity",
width: "140",
},
{
@@ -402,7 +412,10 @@
productWorkOrderPage(params)
.then(res => {
tableLoading.value = false;
- tableData.value = res.data.records;
+ tableData.value = res.data.records.map(item => ({
+ ...item,
+ pendingQuantity: (item.planQuantity || 0) - (item.completeQuantity || 0)
+ }));
page.total = res.data.total;
})
.catch(() => {
@@ -637,6 +650,7 @@
justify-content: flex-start;
}
}
+
</style>
<style lang="scss">
--
Gitblit v1.9.3