From a087b3d543ea57fba011a5c980026ffa05846e8f Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Mon, 2 Feb 2026 16:34:09 +0800 Subject: [PATCH] 1.处理从表的主体内容展示根据sControlName自定义 --- src/components/Common/CommonBill/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Common/CommonBill/index.js b/src/components/Common/CommonBill/index.js index a6d9164..46797ca 100644 --- a/src/components/Common/CommonBill/index.js +++ b/src/components/Common/CommonBill/index.js @@ -2436,7 +2436,9 @@ const BillComponent = Form.create({ }, }; const uploadPropsSales = props.onUploadPropsSales(); - let MainContent = commonFunc.showMessage(app.commonConst, 'MainContent');/* 主体内容 */ + let MainContent = commonUtils.isNotEmptyArr(masterConfig?.gdsconfigformslave.filter(item => item.sControlName === 'MainContent')) + ? masterConfig.gdsconfigformslave.filter(item => item.sControlName === 'MainContent')[0].showName + : commonFunc.showMessage(app.commonConst, 'MainContent'); const isGetData = commonFunc.showMessage(app.commonConst, 'isGetData');/* 确认获取库存为零的数据吗 */ const isFilterGetDataZero = commonFunc.showMessage(app.commonConst, 'isFilterGetDataZero'); const isAllGetData = commonFunc.showMessage(app.commonConst, 'isAllGetData'); -- libgit2 0.22.2