From b2039d65644966132f2274b861deb942dd78d5ee Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 24 三月 2026 15:55:42 +0800
Subject: [PATCH] 报工页面增加检品数量
---
src/views/productionManagement/workOrder/index.vue | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 162dd91..d1cec4d 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -196,6 +196,15 @@
placeholder="璇疯緭鍏ユ姤搴熸暟閲�"
@input="handleScrapQtyInput" />
</el-form-item>
+ <el-form-item label="妫�鍝佹暟閲�"
+ prop="inspectedQuantity">
+ <el-input-number v-model.number="reportForm.inspectedQuantity"
+ :min="0"
+ :step="1"
+ style="width: 300px"
+ controls-position="right"
+ placeholder="璇疯緭鍏ユ鍝佹暟閲�"/>
+ </el-form-item>
<el-form-item label="鐝粍淇℃伅">
<el-select v-model="reportForm.userId"
style="width: 300px"
@@ -360,6 +369,7 @@
planQuantity: 0,
quantity: null,
scrapQty: null,
+ inspectedQuantity: null,
userName: "",
workOrderId: "",
reportWork: "",
@@ -603,6 +613,7 @@
reportForm.workOrderId = row.id;
reportForm.reportWork = row.reportWork;
reportForm.productMainId = row.productMainId;
+ reportForm.inspectedQuantity = row.inspectedQuantity;
reportForm.scrapQty =
row.scrapQty !== undefined && row.scrapQty !== null ? row.scrapQty : null;
nextTick(() => {
--
Gitblit v1.9.3