From 063b983daaf51a7f1e8677bde1e9c0e618866c91 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 二月 2020 10:30:19 +0800 Subject: [PATCH] 2020-02-21 --- src/templates/tableshare/verifycard/billcodeform/index.jsx | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/templates/tableshare/verifycard/billcodeform/index.jsx b/src/templates/tableshare/verifycard/billcodeform/index.jsx index 2df33e0..d140531 100644 --- a/src/templates/tableshare/verifycard/billcodeform/index.jsx +++ b/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'] + '!' } ] })( -- Gitblit v1.8.0