From 8f09ac5eeb27bcb2a703b5c5fede452d858d7704 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期三, 25 三月 2026 15:16:24 +0800
Subject: [PATCH] feat(product): 添加产品有效期、备案凭证号和UID码字段

---
 src/views/productionManagement/processRoute/index.vue         |    4 ++
 src/views/basicData/product/index.vue                         |   52 ++++++++++++++++++++++++++
 src/views/productionManagement/workOrder/index.vue            |    4 ++
 src/views/qualityManagement/rawMaterialInspection/index.vue   |    4 ++
 src/views/inventoryManagement/stockManagement/Qualified.vue   |    1 
 src/views/qualityManagement/finalInspection/index.vue         |    4 ++
 src/views/productionManagement/productionReporting/Input.vue  |    4 ++
 src/views/qualityManagement/processInspection/index.vue       |    4 ++
 src/views/productionManagement/productStructure/index.vue     |    5 ++
 src/views/inventoryManagement/dispatchLog/Record.vue          |    3 +
 src/views/productionManagement/productionReporting/index.vue  |    5 ++
 src/views/productionManagement/productionOrder/index.vue      |    5 ++
 src/views/inventoryManagement/stockManagement/Unqualified.vue |    1 
 src/views/inventoryManagement/stockReport/index.vue           |    5 ++
 src/views/qualityManagement/nonconformingManagement/index.vue |    4 ++
 src/views/inventoryManagement/receiptManagement/Record.vue    |    3 +
 16 files changed, 108 insertions(+), 0 deletions(-)

diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue
index 7b2a819..e76691c 100644
--- a/src/views/basicData/product/index.vue
+++ b/src/views/basicData/product/index.vue
@@ -162,6 +162,43 @@
             </el-form-item>
           </el-col>
         </el-row>
+        <el-row>
+          <el-col :span="24">
+            <el-form-item label="鏈夋晥鏈燂紙骞达級锛�" prop="validityPeriod">
+              <el-input-number
+                  :step="0.01"
+                  :min="0"
+                  style="width: 100%"
+                  v-model="modelForm.validityPeriod"
+                  placeholder="璇疯緭鍏ユ湁鏁堟湡"
+              />
+            </el-form-item>
+          </el-col>
+        </el-row>
+        <el-row>
+          <el-col :span="24">
+            <el-form-item label="澶囨鍑瘉鍙凤細" prop="filingCertificateNo">
+              <el-input
+                  v-model="modelForm.filingCertificateNo"
+                  placeholder="璇疯緭鍏ュ妗堝嚟璇佸彿"
+                  clearable
+                  @keydown.enter.prevent
+              />
+            </el-form-item>
+          </el-col>
+        </el-row>
+        <el-row>
+          <el-col :span="24">
+            <el-form-item label="UID鐮侊細" prop="uidNo">
+              <el-input
+                  v-model="modelForm.uidNo"
+                  placeholder="璇疯緭鍏ID鐮�"
+                  clearable
+                  @keydown.enter.prevent
+              />
+            </el-form-item>
+          </el-col>
+        </el-row>
       </el-form>
       <template #footer>
         <div class="dialog-footer">
@@ -210,6 +247,18 @@
     prop: "unit",
   },
   {
+    label: "鏈夋晥鏈燂紙骞达級",
+    prop: "validityPeriod",
+  },
+  {
+    label: "澶囨鍑瘉鍙�",
+    prop: "filingCertificateNo",
+  },
+  {
+    label: "UID鐮�",
+    prop: "uidNo",
+  },
+  {
     dataType: "action",
     label: "鎿嶄綔",
     align: "center",
@@ -246,6 +295,9 @@
   modelForm: {
     model: "",
     unit: "",
+    validityPeriod: undefined,
+    filingCertificateNo: undefined,
+    uidNo: undefined,
   },
   modelRules: {
     model: [{ required: true, message: "璇疯緭鍏�", trigger: "blur" }],
diff --git a/src/views/inventoryManagement/dispatchLog/Record.vue b/src/views/inventoryManagement/dispatchLog/Record.vue
index 1637226..57f1d04 100644
--- a/src/views/inventoryManagement/dispatchLog/Record.vue
+++ b/src/views/inventoryManagement/dispatchLog/Record.vue
@@ -66,6 +66,9 @@
 					prop="model"
 					show-overflow-tooltip
 				/>
+        <el-table-column label="UID鐮�"
+                         prop="uidNO"
+                         show-overflow-tooltip/>
 				<el-table-column
 					label="鍗曚綅"
 					prop="unit"
diff --git a/src/views/inventoryManagement/receiptManagement/Record.vue b/src/views/inventoryManagement/receiptManagement/Record.vue
index 3f90edf..fc35691 100644
--- a/src/views/inventoryManagement/receiptManagement/Record.vue
+++ b/src/views/inventoryManagement/receiptManagement/Record.vue
@@ -67,6 +67,9 @@
         <el-table-column label="瑙勬牸鍨嬪彿"
                          prop="model"
                          show-overflow-tooltip/>
+        <el-table-column label="UID鐮�"
+                         prop="uidNO"
+                         show-overflow-tooltip/>
         <el-table-column label="鍗曚綅"
                          prop="unit"
                          show-overflow-tooltip/>
diff --git a/src/views/inventoryManagement/stockManagement/Qualified.vue b/src/views/inventoryManagement/stockManagement/Qualified.vue
index 8b15db1..e255778 100644
--- a/src/views/inventoryManagement/stockManagement/Qualified.vue
+++ b/src/views/inventoryManagement/stockManagement/Qualified.vue
@@ -25,6 +25,7 @@
         <el-table-column align="center" label="搴忓彿" type="index" width="60" />
         <el-table-column label="浜у搧澶х被" prop="productName" show-overflow-tooltip />
         <el-table-column label="瑙勬牸鍨嬪彿" prop="model" show-overflow-tooltip />
+        <el-table-column label="UID鐮�" prop="uidNo" show-overflow-tooltip />
         <el-table-column label="鍗曚綅" prop="unit" show-overflow-tooltip />
         <el-table-column label="搴撳瓨鏁伴噺" prop="qualitity" show-overflow-tooltip />
         <el-table-column label="鍐荤粨鏁伴噺" prop="lockedQuantity" show-overflow-tooltip />
diff --git a/src/views/inventoryManagement/stockManagement/Unqualified.vue b/src/views/inventoryManagement/stockManagement/Unqualified.vue
index 9b5652d..6214f39 100644
--- a/src/views/inventoryManagement/stockManagement/Unqualified.vue
+++ b/src/views/inventoryManagement/stockManagement/Unqualified.vue
@@ -22,6 +22,7 @@
         <el-table-column align="center" label="搴忓彿" type="index" width="60" />
         <el-table-column label="浜у搧澶х被" prop="productName" show-overflow-tooltip />
         <el-table-column label="瑙勬牸鍨嬪彿" prop="model" show-overflow-tooltip />
+        <el-table-column label="UID鐮�" prop="uidNo" show-overflow-tooltip />
         <el-table-column label="鍗曚綅" prop="unit" show-overflow-tooltip />
         <el-table-column label="搴撳瓨鏁伴噺" prop="qualitity" show-overflow-tooltip />
         <el-table-column label="鍐荤粨鏁伴噺" prop="lockedQuantity" show-overflow-tooltip />
diff --git a/src/views/inventoryManagement/stockReport/index.vue b/src/views/inventoryManagement/stockReport/index.vue
index 89773cf..02689e9 100644
--- a/src/views/inventoryManagement/stockReport/index.vue
+++ b/src/views/inventoryManagement/stockReport/index.vue
@@ -186,6 +186,11 @@
              show-overflow-tooltip
            />
            <el-table-column
+               label="UID鐮�"
+               prop="uid鐮�"
+               show-overflow-tooltip
+           />
+           <el-table-column
              label="鍗曚綅"
              prop="unit"
              show-overflow-tooltip
diff --git a/src/views/productionManagement/processRoute/index.vue b/src/views/productionManagement/processRoute/index.vue
index 41103f9..6672ca0 100644
--- a/src/views/productionManagement/processRoute/index.vue
+++ b/src/views/productionManagement/processRoute/index.vue
@@ -80,6 +80,10 @@
     prop: "model",
   },
   {
+    label: "UID鐮�",
+    prop: "uid鐮�",
+  },
+  {
     label: "BOM缂栧彿",
     prop: "bomNo",
   },
diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index 2c109cd..3962e28 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -88,6 +88,11 @@
     width: 100
   },
   {
+    label: "UID鐮�",
+    prop: "uidNo",
+    width: 100
+  },
+  {
     label: "澶囨敞",
     prop: "remark",
     minWidth: 160
diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 1f4c3f0..c7f97a8 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -135,6 +135,11 @@
       width: '120px',
     },
     {
+      label: "UID鐮�",
+      prop: "uidNo",
+      width: '120px',
+    },
+    {
       label: "宸ヨ壓璺嚎缂栧彿",
       prop: "processRouteCode",
       width: '200px',
diff --git a/src/views/productionManagement/productionReporting/Input.vue b/src/views/productionManagement/productionReporting/Input.vue
index 3ba68f7..eed9624 100644
--- a/src/views/productionManagement/productionReporting/Input.vue
+++ b/src/views/productionManagement/productionReporting/Input.vue
@@ -67,6 +67,10 @@
     prop: 'model',
   },
   {
+    label: 'UID鍚�',
+    prop: 'uid_no',
+  },
+  {
     label: '鎶曞叆鏁伴噺',
     prop: 'quantity',
   },
diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index af06fe5..cbb1bc8 100644
--- a/src/views/productionManagement/productionReporting/index.vue
+++ b/src/views/productionManagement/productionReporting/index.vue
@@ -183,6 +183,11 @@
       width: 120,
     },
     {
+      label: "UID鐮�",
+      prop: "uidNo",
+      width: 120,
+    },
+    {
       label: "浜у嚭鏁伴噺",
       prop: "quantity",
       width: 120,
diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 0e1a793..05f52ed 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -284,6 +284,10 @@
       prop: "model",
     },
     {
+      label: "UID鐮�",
+      prop: "uidNo",
+    },
+    {
       label: "鍗曚綅",
       prop: "unit",
     },
diff --git a/src/views/qualityManagement/finalInspection/index.vue b/src/views/qualityManagement/finalInspection/index.vue
index d2cf3b7..66077da 100644
--- a/src/views/qualityManagement/finalInspection/index.vue
+++ b/src/views/qualityManagement/finalInspection/index.vue
@@ -125,6 +125,10 @@
     prop: "model",
   },
   {
+    label: "UID鐮�",
+    prop: "uidNo",
+  },
+  {
     label: "鍗曚綅",
     prop: "unit",
   },
diff --git a/src/views/qualityManagement/nonconformingManagement/index.vue b/src/views/qualityManagement/nonconformingManagement/index.vue
index 55d2472..8538fa4 100644
--- a/src/views/qualityManagement/nonconformingManagement/index.vue
+++ b/src/views/qualityManagement/nonconformingManagement/index.vue
@@ -144,6 +144,10 @@
     prop: "model",
   },
   {
+    label: "UID鐮�",
+    prop: "uidNo",
+  },
+  {
     label: "鍗曚綅",
     prop: "unit",
   },
diff --git a/src/views/qualityManagement/processInspection/index.vue b/src/views/qualityManagement/processInspection/index.vue
index cbeab71..fb8c69b 100644
--- a/src/views/qualityManagement/processInspection/index.vue
+++ b/src/views/qualityManagement/processInspection/index.vue
@@ -118,6 +118,10 @@
     prop: "model",
   },
   {
+    label: "UID鐮�",
+    prop: "uidNo",
+  },
+  {
     label: "鍗曚綅",
     prop: "unit",
   },
diff --git a/src/views/qualityManagement/rawMaterialInspection/index.vue b/src/views/qualityManagement/rawMaterialInspection/index.vue
index 26504b0..2686371 100644
--- a/src/views/qualityManagement/rawMaterialInspection/index.vue
+++ b/src/views/qualityManagement/rawMaterialInspection/index.vue
@@ -120,6 +120,10 @@
     prop: "model",
   },
   {
+    label: "UID鐮�",
+    prop: "uidNO",
+  },
+  {
     label: "鍗曚綅",
     prop: "unit",
   },

--
Gitblit v1.9.3