diff --git a/src/components/Common/CommonTable/index.js b/src/components/Common/CommonTable/index.js index cf9544a..a5fbc82 100644 --- a/src/components/Common/CommonTable/index.js +++ b/src/components/Common/CommonTable/index.js @@ -3374,7 +3374,7 @@ class CommonTableRc extends React.Component { // } // } - // if (!this.props.noVlist && !noVlistController) { + if (!this.props.noVlist && !noVlistController) { if (this.props.slaveInfo || this.useVListNew) { if (!this.uniqueId) { this.uniqueId = this.props.formId @@ -3443,7 +3443,7 @@ class CommonTableRc extends React.Component { } components = { ...this.Vcomponents1, ...components }; } - // } + } if (this.props.config && this.props.config.iFreezeColumn) { tableColumn.forEach((val, index) => { if (tableColumn[index].fixedHelp) { @@ -7722,6 +7722,7 @@ class CommonTableRc extends React.Component { genFooter = () => { const { tableColumn, totalData, totalData1 } = this.state; const { dNetMoney, dNetPrice } = this.props.app.decimals; + console.log('totalData', totalData); const sModelsType = commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.app) @@ -7748,6 +7749,7 @@ class CommonTableRc extends React.Component { } const cells = []; const cells1 = []; + if (totalData.length) { let summaryCellTotal = ""; summaryCellTotal = ( @@ -8160,7 +8162,6 @@ class CommonTableRc extends React.Component { commonUtils.isNotEmptyObject(this.props.tableProps.chooseProcessConfigRow) ) { const iIndex = this.props.tableProps.chooseProcessConfigRow; - console.log("🚀 ~ CommonTableRc ~ this.props.tableProps:", this.props) this.props.onBtnChoose("process", "BtnChooseProcess", iIndex); } }; @@ -11158,7 +11159,6 @@ class CommonTableRc extends React.Component { mesPageChange: true }); } - console.log(tableProps, 'tablePropstableProps'); return ( {
- +