src/tabviews/zshare/actionList/normalbutton/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/templates/zshare/verifycard/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/utils/utils.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -867,7 +867,7 @@ } // 添加数据中字段,表单值优先(按钮不选行或多行拼接时跳过) if (data && btn.Ot !== 'notRequired' && btn.Ot !== 'requiredOnce' && columns && columns.length > 0) { if (data && btn.Ot !== 'notRequired' && columns && columns.length > 0) { datavars = {...data, ...datavars} const setField = (col) => { src/templates/zshare/verifycard/index.jsx
@@ -924,7 +924,7 @@ _defaultsql = `update ${card.sql} set deleted=1,modifydate=getdate(),modifyuser=@username,modifystaff=@fullname,modifyuserid=@userid@${_voucher} where ${_primaryKey}${card.Ot !== 'requiredOnce' ? '=@ID@' : ' in (select ID from dbo.SplitComma(@ID@))'};` } else if (card.sqlType === 'delete') { let _msg = '' if (columns && columns.length > 0 && card.Ot !== 'notRequired' && card.Ot !== 'requiredOnce') { if (columns && columns.length > 0 && card.Ot !== 'notRequired') { let _index = 0 columns.forEach(col => { if (!col.field || col.Hide === 'true' || _index >= 4) return src/utils/utils.js
@@ -1487,7 +1487,7 @@ } // 添加数据中字段,表单值优先(按钮不选行或多行拼接时跳过) if (data && btn.Ot !== 'notRequired' && btn.Ot !== 'requiredOnce' && columns && columns.length > 0) { if (data && btn.Ot !== 'notRequired' && columns && columns.length > 0) { datavars = {...data, ...datavars} const setField = (col) => { @@ -2046,13 +2046,12 @@ } else if (_actionType === 'delete') { // 物理删除 let _msg = '' if (data && columns && columns.length > 0) { if (data && columns && columns.length > 0 && btn.Ot !== 'notRequired') { let _index = 0 columns.forEach(col => { if (col.Hide !== 'true' && col.type !== 'colspan' && col.type !== 'old_colspan' && _index < 4) { _msg += col.label + '=' + data[col.field] + ',' _index++ } if (!col.field || col.Hide === 'true' || _index >= 4) return _msg += col.label + '=' + data[col.field] + ',' _index++ }) }