From c7e0b8b1049f422e87e3c0d0ed252784aa69eb29 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 09 三月 2023 23:28:45 +0800
Subject: [PATCH] 2023-03-09

---
 src/templates/zshare/formconfig.jsx |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 3b38af4..c462ad6 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, columns = []) {
+export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, allFields = [], columns = []) {
   let appType = sessionStorage.getItem('appType')
   let roleList = sessionStorage.getItem('sysRoles')
   if (roleList) {
@@ -2442,6 +2442,10 @@
   })
 
   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
   })
@@ -3481,6 +3485,15 @@
       }]
     },
     {
+      type: 'select',
+      key: 'splitctrl',
+      label: '鏄剧ず鎺у埗',
+      initVal: card.splitctrl || '',
+      tooltip: '鍒嗗壊绾夸笌璇ヨ〃鍗曞悓姝ユ樉绀烘垨闅愯棌銆�',
+      allowClear: true,
+      options: allFields
+    },
+    {
       type: 'radio',
       key: 'place',
       label: '鎺掑垪',

--
Gitblit v1.8.0