From 945b8c7ed3f82c7b475dbe1757882a08052d4d37 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 25 三月 2025 16:45:11 +0800
Subject: [PATCH] 标准库-添加,修改型号,树重新拼接

---
 src/views/business/rawMaterialInspection/index.vue |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/views/business/rawMaterialInspection/index.vue b/src/views/business/rawMaterialInspection/index.vue
index f931927..f2b893b 100644
--- a/src/views/business/rawMaterialInspection/index.vue
+++ b/src/views/business/rawMaterialInspection/index.vue
@@ -262,7 +262,16 @@
             }
           }
         },
-        { label: '鎶ユ绫诲瀷', prop: 'inspectionType' },
+        {
+          label: '鎶ユ绫诲瀷', prop: 'inspectionType', dataType: 'tag',
+          formatType: (params) => {
+            if (params == '鍘熻緟鏂�') {
+              return 'success'
+            } else {
+              return 'warning'
+            }
+          }
+        },
         { label: '璁㈠崟鍙�', prop: 'orderNo' },
         { label: '鎶佃揪鐨勯噰璐暟閲�', prop: 'qtyArrived', width: '140px', },
         { label: '鎵瑰彿', prop: 'updateBatchNo' },
@@ -294,6 +303,7 @@
         {
           dataType: 'action',
           label: '鎿嶄綔',
+          fixed: 'right',
           operation: [
             {
               name: '鎶ユ',
@@ -534,6 +544,9 @@
         buyUnitMeas: [
           { required: false, message: '璇峰~鍐欏崟浣�', trigger: 'blur' }
         ],
+        inspectionType: [
+          { required: true, message: '璇峰~鍐欐姤妫�绫诲瀷', trigger: 'change' }
+        ],
       },
       tabList: [
         {

--
Gitblit v1.9.3