Commit 74bf4ff2c3ac66d82c6be205cabdf727363057f3

Authored by chenxt
1 parent 4f7b8073

pad端需要离开事件

src/mobile/common/CommobilePadBill/index.js
@@ -3687,7 +3687,7 @@ const CommonNewBillComponent = (baseProps) => { @@ -3687,7 +3687,7 @@ const CommonNewBillComponent = (baseProps) => {
3687 buttonConfig={[item]} 3687 buttonConfig={[item]}
3688 /> 3688 />
3689 ); 3689 );
3690 - }else { 3690 + } else {
3691 return <div> 3691 return <div>
3692 <Button 3692 <Button
3693 type="primary" 3693 type="primary"
@@ -3717,14 +3717,19 @@ const CommonNewBillComponent = (baseProps) =&gt; { @@ -3717,14 +3717,19 @@ const CommonNewBillComponent = (baseProps) =&gt; {
3717 // 表单 3717 // 表单
3718 const FormComponent = props => { 3718 const FormComponent = props => {
3719 const { masterConfig, masterData = {} } = props; 3719 const { masterConfig, masterData = {} } = props;
  3720 + // const viewConfigs = masterConfig.gdsconfigformslave.filter(
  3721 + // item =>
  3722 + // item.sName &&
  3723 + // item.bVisible &&
  3724 + // item.sControlName.indexOf("Btn") === -1 &&
  3725 + // item.sControlName.indexOf("_") === -1
  3726 + // );
  3727 + // 2026-4-20需要有下拉离开事件
3720 const viewConfigs = masterConfig.gdsconfigformslave.filter( 3728 const viewConfigs = masterConfig.gdsconfigformslave.filter(
3721 item => 3729 item =>
3722 item.sName && 3730 item.sName &&
3723 - item.bVisible &&  
3724 - item.sControlName.indexOf("Btn") === -1 &&  
3725 - item.sControlName.indexOf("_") === -1 3731 + item.bVisible
3726 ); 3732 );
3727 -  
3728 const viewProps = { 3733 const viewProps = {
3729 ...props, 3734 ...props,
3730 viewConfigs, 3735 viewConfigs,
@@ -3734,7 +3739,6 @@ const FormComponent = props =&gt; { @@ -3734,7 +3739,6 @@ const FormComponent = props =&gt; {
3734 tableName: "master", 3739 tableName: "master",
3735 onDataChange: props.onChange, 3740 onDataChange: props.onChange,
3736 }; 3741 };
3737 -  
3738 return <CommonViewTable {...viewProps} />; 3742 return <CommonViewTable {...viewProps} />;
3739 }; 3743 };
3740 3744