@bchr/bchr-front-lib 0.3.104 → 0.3.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -747,7 +747,7 @@ var FormForModify = /*#__PURE__*/function (_React$Component) {
747
747
  otherFormItemConfig.b_readonly = true;
748
748
  } else if (FormulasValueType.Enabled == formItemValue) {
749
749
  otherFormItemConfig.b_disabled = false;
750
- otherFormItemConfig.b_readonly = true;
750
+ otherFormItemConfig.b_readonly = false;
751
751
  } else if (formItemValue.startsWith(FormulasValueType.Function)) {
752
752
  var formulaFunctionValue;
753
753
 
@@ -830,7 +830,7 @@ var FormForModify = /*#__PURE__*/function (_React$Component) {
830
830
  info_set_fields = _this$props.info_set_fields;
831
831
  var fieldCodeKeyMap = this.state.fieldCodeKeyMap;
832
832
 
833
- if (info_set_fields && info_set_fields.length > 0) {
833
+ if (info_set_fields && info_set_fields.length <= 0) {
834
834
  return;
835
835
  }
836
836
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bchr/bchr-front-lib",
3
- "version": "0.3.104",
3
+ "version": "0.3.105",
4
4
  "description": "bchr front lib",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -45,7 +45,7 @@ class FormForModify extends React.Component{
45
45
  let {data, info_set_fields} = this.props;
46
46
  let {fieldCodeKeyMap} = this.state;
47
47
 
48
- if (info_set_fields && info_set_fields.length > 0) {
48
+ if (info_set_fields && info_set_fields.length <= 0) {
49
49
  return;
50
50
  }
51
51
 
@@ -1084,7 +1084,7 @@ class FormForModify extends React.Component{
1084
1084
  } else if (FormulasValueType.Enabled == formItemValue) {
1085
1085
 
1086
1086
  otherFormItemConfig.b_disabled = false;
1087
- otherFormItemConfig.b_readonly = true;
1087
+ otherFormItemConfig.b_readonly = false;
1088
1088
  } else if (formItemValue.startsWith(FormulasValueType.Function)) {
1089
1089
  let formulaFunctionValue;
1090
1090
  if (formItemValue.search("#value#") !== -1) {