src/templates/tableshare/verifycard/billcodeform/index.jsx
@@ -7,6 +7,7 @@ class UniqueForm extends Component { static propTpyes = { floor: PropTypes.any, // 是否为子表 dict: PropTypes.object, // 字典项 fields: PropTypes.array, // 表单 columns: PropTypes.array, // 表单 @@ -44,6 +45,16 @@ } }) if (this.props.floor === 'subtable') { if (!fieldMap.has('BID')) { _billFields.unshift({ uuid: 'BID', field: 'BID', label: 'BID' }) } } this.setState({ modularDetail: _modularDetail, funFields: this.props.fields.filter(field => field.type === 'funcvar'),