Commit a087b3d543ea57fba011a5c980026ffa05846e8f
1 parent
ff9d59ef
1.处理从表的主体内容展示根据sControlName自定义
Showing
1 changed file
with
3 additions
and
1 deletions
src/components/Common/CommonBill/index.js
| ... | ... | @@ -2436,7 +2436,9 @@ const BillComponent = Form.create({ |
| 2436 | 2436 | }, |
| 2437 | 2437 | }; |
| 2438 | 2438 | const uploadPropsSales = props.onUploadPropsSales(); |
| 2439 | - let MainContent = commonFunc.showMessage(app.commonConst, 'MainContent');/* 主体内容 */ | |
| 2439 | + let MainContent = commonUtils.isNotEmptyArr(masterConfig?.gdsconfigformslave.filter(item => item.sControlName === 'MainContent')) | |
| 2440 | + ? masterConfig.gdsconfigformslave.filter(item => item.sControlName === 'MainContent')[0].showName | |
| 2441 | + : commonFunc.showMessage(app.commonConst, 'MainContent'); | |
| 2440 | 2442 | const isGetData = commonFunc.showMessage(app.commonConst, 'isGetData');/* 确认获取库存为零的数据吗 */ |
| 2441 | 2443 | const isFilterGetDataZero = commonFunc.showMessage(app.commonConst, 'isFilterGetDataZero'); |
| 2442 | 2444 | const isAllGetData = commonFunc.showMessage(app.commonConst, 'isAllGetData'); | ... | ... |