From f07fcb9f65ce2468439452755663870e7afc15c4 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 18 五月 2021 20:25:31 +0800
Subject: [PATCH] 2021-05-18

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

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 40738de..a3fab62 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -1908,6 +1908,7 @@
  * @param {*} subtable        // 鏄惁涓哄瓙琛ㄨ〃鍗�
  */
 export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, subtable = false) {
+  let appType = sessionStorage.getItem('appType')
   let roleList = sessionStorage.getItem('sysRoles')
   if (roleList) {
     try {
@@ -2458,7 +2459,8 @@
       label: '鍚嶇О瀹藉害',
       initVal: card.labelwidth || 33.3,
       tooltip: '鍚嶇О鍗犳嵁琛ㄥ崟瀹藉害鐨勭櫨鍒嗘瘮銆傛敞锛氬瓨鍦ㄥ鍒楄〃鍗曟椂锛屽綋鍓嶈〃鍗曞鏋滄兂瑕佸崰鎹暣琛屽彲鍙傜収浠ヤ笅姣斾緥锛屼袱鍒楋紙16.2锛夈�佷笁鍒楋紙10.5锛夈�佸洓鍒楋紙7.7锛�',
-      required: true
+      required: true,
+      forbid: appType === 'mob'
     },
     {
       type: 'text',
@@ -2521,7 +2523,8 @@
       label: '鎮诞鎻愮ず',
       tooltip: '榧犳爣鎮诞浜庢彁绀烘枃瀛椾笂鏂规椂锛屾樉绀烘彁绀轰俊鎭��',
       initVal: card.tooltip || '',
-      required: false
+      required: false,
+      forbid: appType === 'mob'
     },
     {
       type: 'text',
@@ -2529,7 +2532,8 @@
       label: '搴曢儴鎻愮ず',
       tooltip: '鏄剧ず浜庤〃鍗曞簳閮ㄣ��',
       initVal: card.extra || '',
-      required: false
+      required: false,
+      forbid: appType === 'mob'
     },
     {
       type: 'text',

--
Gitblit v1.8.0