From 02b3d584d201ca7cb8a024fd151fe6eddbf43def Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 01 三月 2024 16:31:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/views/code/code.vue |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue
index fad06a0..28e19f9 100644
--- a/Source/UBCS-WEB/src/views/code/code.vue
+++ b/Source/UBCS-WEB/src/views/code/code.vue
@@ -2,7 +2,7 @@
   <basic-container class="code-total" style=" height: 100%">
     <!-- 缂栫爜瑙勫垯淇℃伅灞曠ず鍖哄煙 -->
     <basic-container class="code-rule-container">
-      <div style="height: 55vh;overflow: auto;">
+      <div style="height: 50vh;overflow: auto;">
         <p
           style="
           margin-top: -5px;
@@ -142,7 +142,6 @@
           </template>
         </avue-crud>
       </div>
-
     </basic-container>
 
     <!-- 楂樼骇鏌ヨ瀵硅瘽妗� -->
@@ -220,7 +219,7 @@
 
     <!-- 鍩虹鐮佹灞曠ず鍖哄煙 -->
     <basic-container class="code-basicsec-container">
-      <div style="height: 23.5vh;overflow: auto">
+      <div style="height: 35vh;overflow: auto">
         <p
           style="margin-top: -5px;
           margin-bottom: 4px;
@@ -897,11 +896,12 @@
               </el-form-item>
               <el-form-item
                 :label-width="rightFormLabelWidth"
-                label="鑷畾涔夌殑娴佹按绠楁硶:"
+                label="鑷畾涔夋祦姘寸畻娉�:"
               >
                   <template>
                       <vciWebRefer
                         ref="refer"
+                        :disabled="basicSecOnlyRead"
                         :display="true"
                         :referConfig="this.referConfig || {}"
                         :serialType="form.serialType"
@@ -910,8 +910,6 @@
                         @setReferValue="setReferValue"
                       ></vciWebRefer>
                   </template>
-
-
               </el-form-item>
             </div>
             <!-- 灞傜骇鐮佹 -->
@@ -1761,7 +1759,9 @@
     //鑷畾涔夋祦姘村け鐒�
     setReferValue(data) {
       if (data.field) {
-        this.form[data.field] = data.value || "";
+        // this.form[data.field] = data.value || "";
+        this.form.customCodeSerialClass = data.rawData[0].id || "";
+        console.log(this.form.customCodeSerialClass);
         this.form[data.showField] = data.text || "";
         this.form.serialType = data.rawData[0].serialType || "";
         this.form.customCodeSerialType = data.rawData[0].serialType || "";
@@ -3494,6 +3494,14 @@
             row != null && row.customCodeSerialClass != ""
               ? row.customCodeSerialClass
               : "", //鑷畾涔夋祦姘寸畻娉�
+          customCodeSerialClassText:
+            row != null && row.customCodeSerialClassText != ""
+              ? row.customCodeSerialClassText
+              : "", //鑷畾涔夋祦姘寸畻娉曟樉绀哄��
+              customCodeSerialType:
+            row != null && row.customCodeSerialType != ""
+              ? row.customCodeSerialType
+              : "", //鑷畾涔夋祦姘寸畻娉曠被鍨�
         });
         this.loadCodeFillType();
         this.loadCodeFillSeparator();

--
Gitblit v1.9.3