king
2020-02-21 063b983daaf51a7f1e8677bde1e9c0e618866c91
src/templates/tableshare/verifycard/billcodeform/index.jsx
@@ -7,7 +7,6 @@
class UniqueForm extends Component {
  static propTpyes = {
    floor: PropTypes.any,           // 是否为子表
    dict: PropTypes.object,         // 字典项
    fields: PropTypes.array,        // 表单
    billcodes: PropTypes.array,     // 表单
@@ -45,16 +44,6 @@
        fieldMap.set(_field.field, true)
      }
    })
    if (this.props.floor === 'subtable') {
      if (!fieldMap.has('BID')) {
        _billFields.unshift({
          uuid: 'BID',
          field: 'BID',
          label: 'BID'
        })
      }
    }
    let _usedfields = this.props.billcodes.map(item => item.field)
@@ -213,13 +202,13 @@
      <Form {...formItemLayout} className="verify-form">
        <Row gutter={24}>
          <Col span={10}>
            <Form.Item label={'函数变量'}>
            <Form.Item label={this.props.dict['header.form.funcvar']}>
              {getFieldDecorator('field', {
                initialValue: '',
                rules: [
                  {
                    required: true,
                    message: this.props.dict['form.required.input'] + '函数变量!'
                    message: this.props.dict['form.required.input'] + this.props.dict['header.form.funcvar'] + '!'
                  }
                ]
              })(