From cec96a86ed6b3fba6a10d6d46818e9755ac3b5ca Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 10 三月 2023 11:13:51 +0800
Subject: [PATCH] 2023-03-10

---
 src/templates/zshare/formconfig.jsx |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index c462ad6..635f5a6 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -2388,7 +2388,7 @@
  * @param {*} linkableFields  // 鍙叧鑱旇〃鍗�
  * @param {*} linksupFields   // 涓婄骇琛ㄥ崟
  */
-export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, allFields = [], columns = []) {
+export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, columns = []) {
   let appType = sessionStorage.getItem('appType')
   let roleList = sessionStorage.getItem('sysRoles')
   if (roleList) {
@@ -2442,10 +2442,6 @@
   })
 
   linksupFields = linksupFields.map((item, index) => {
-    item.label = `${index + 1}銆�${item.field || ''}锛�${item.label}锛塦
-    return item
-  })
-  allFields = allFields.map((item, index) => {
     item.label = `${index + 1}銆�${item.field || ''}锛�${item.label}锛塦
     return item
   })
@@ -3485,13 +3481,13 @@
       }]
     },
     {
-      type: 'select',
+      type: 'text',
       key: 'splitctrl',
-      label: '鏄剧ず鎺у埗',
+      label: '鎺у埗瀛楁',
       initVal: card.splitctrl || '',
-      tooltip: '鍒嗗壊绾夸笌璇ヨ〃鍗曞悓姝ユ樉绀烘垨闅愯棌銆�',
-      allowClear: true,
-      options: allFields
+      tooltip: '閫夎涓旇涓搴斿瓧娈靛�间负绌烘椂闅愯棌銆�',
+      required: false,
+      options: columns
     },
     {
       type: 'radio',

--
Gitblit v1.8.0