From 5f1b3d281c98780dc1b5e1a95f4b128c393989a4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 09 十一月 2023 20:36:19 +0800 Subject: [PATCH] 2023-11-09 --- src/tabviews/custom/popview/index.jsx | 4 ++++ src/tabviews/basetable/index.jsx | 2 +- src/tabviews/custom/index.jsx | 4 ++++ src/menu/components/form/step-form/index.jsx | 2 +- src/menu/components/form/tab-form/index.jsx | 2 +- 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/menu/components/form/step-form/index.jsx b/src/menu/components/form/step-form/index.jsx index 654f627..7520ab5 100644 --- a/src/menu/components/form/step-form/index.jsx +++ b/src/menu/components/form/step-form/index.jsx @@ -218,7 +218,7 @@ style: {}, fields: [], prevButton: {label: '涓婁竴姝�', type: 'prev', enable: 'false', style: {marginRight: '15px', paddingTop: '5px', paddingBottom: '5px'}}, - subButton: {label: '鎻愪氦', type: 'submit', intertype: 'system', reload: 'false', sqlType: 'update', sql: '', Ot: 'notRequired', enable: 'true', style: {backgroundColor: '#1890ff', color: '#ffffff', paddingLeft: '25px', paddingRight: '25px', paddingTop: '5px', paddingBottom: '5px'}}, + subButton: {label: '鎻愪氦', type: 'submit', intertype: 'system', reload: 'false', sqlType: 'update', sql: '', Ot: 'notRequired', execSuccess: 'never', enable: 'true', style: {backgroundColor: '#1890ff', color: '#ffffff', paddingLeft: '25px', paddingRight: '25px', paddingTop: '5px', paddingBottom: '5px'}}, nextButton: {label: '璺宠繃', type: 'next', enable: 'false', style: {paddingTop: '5px', paddingBottom: '5px'}} } diff --git a/src/menu/components/form/tab-form/index.jsx b/src/menu/components/form/tab-form/index.jsx index 86c51fb..90a8e4d 100644 --- a/src/menu/components/form/tab-form/index.jsx +++ b/src/menu/components/form/tab-form/index.jsx @@ -229,7 +229,7 @@ sort: card.subcards.length + 1, style: {}, fields: [], - subButton: {label: '鎻愪氦', type: 'submit', intertype: 'system', reload: 'false', sqlType: 'update', sql: '', Ot: 'notRequired', enable: 'true', style: {backgroundColor: '#1890ff', color: '#ffffff', paddingLeft: '25px', paddingRight: '25px', paddingTop: '5px', paddingBottom: '5px'}}, + subButton: {label: '鎻愪氦', type: 'submit', intertype: 'system', reload: 'false', sqlType: 'update', sql: '', Ot: 'notRequired', execSuccess: 'never', enable: 'true', style: {backgroundColor: '#1890ff', color: '#ffffff', paddingLeft: '25px', paddingRight: '25px', paddingTop: '5px', paddingBottom: '5px'}}, } card.subcards.push(newcard) diff --git a/src/tabviews/basetable/index.jsx b/src/tabviews/basetable/index.jsx index 6e8b26f..8665c82 100644 --- a/src/tabviews/basetable/index.jsx +++ b/src/tabviews/basetable/index.jsx @@ -485,7 +485,7 @@ } if (cell.verify && cell.verify.invalid === 'true') { - if (item.wrap && item.wrap.datatype === 'static') { + if (item.setting.maxScript && item.setting.maxScript >= 300) { cell.verify.invalid = 'false' } else if (cell.intertype !== 'system' && cell.procMode !== 'system') { cell.verify.invalid = 'false' diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx index 353ccd8..0bfd2d0 100644 --- a/src/tabviews/custom/index.jsx +++ b/src/tabviews/custom/index.jsx @@ -804,6 +804,8 @@ if (group.subButton.verify && group.subButton.verify.invalid === 'true') { if (item.wrap.datatype === 'static' || item.wrap.datatype === 'public') { group.subButton.verify.invalid = 'false' + } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) { + group.subButton.verify.invalid = 'false' } else if (group.subButton.sqlType === 'insert') { group.subButton.verify.invalid = 'false' } else if (group.subButton.Ot === 'notRequired') { @@ -931,6 +933,8 @@ if (cell.verify && cell.verify.invalid === 'true') { if (item.wrap && (item.wrap.datatype === 'static' || item.wrap.datatype === 'public')) { cell.verify.invalid = 'false' + } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) { + cell.verify.invalid = 'false' } else if (cell.intertype !== 'system' && cell.procMode !== 'system') { cell.verify.invalid = 'false' } else if (cell.sqlType === 'insert') { diff --git a/src/tabviews/custom/popview/index.jsx b/src/tabviews/custom/popview/index.jsx index 41b1473..3bbee80 100644 --- a/src/tabviews/custom/popview/index.jsx +++ b/src/tabviews/custom/popview/index.jsx @@ -527,6 +527,8 @@ if (group.subButton.verify && group.subButton.verify.invalid === 'true') { if (item.wrap.datatype === 'static') { group.subButton.verify.invalid = 'false' + } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) { + group.subButton.verify.invalid = 'false' } else if (group.subButton.intertype !== 'system' && group.subButton.procMode !== 'system') { group.subButton.verify.invalid = 'false' } else if (group.subButton.sqlType === 'insert') { @@ -643,6 +645,8 @@ if (cell.verify && cell.verify.invalid === 'true') { if (item.wrap && item.wrap.datatype === 'static') { cell.verify.invalid = 'false' + } else if (item.setting && item.setting.maxScript && item.setting.maxScript >= 300) { + cell.verify.invalid = 'false' } else if (cell.sqlType === 'insert') { cell.verify.invalid = 'false' } else if (cell.Ot === 'notRequired') { -- Gitblit v1.8.0