From 973dd90ad4fb5061fbc8db0b2cb8ade7217328bf Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 04 二月 2020 17:18:37 +0800 Subject: [PATCH] 2020-02-04 --- src/templates/tableshare/verifycard/voucherform/index.jsx | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/templates/tableshare/verifycard/voucherform/index.jsx b/src/templates/tableshare/verifycard/voucherform/index.jsx index 7acdb92..7af62dc 100644 --- a/src/templates/tableshare/verifycard/voucherform/index.jsx +++ b/src/templates/tableshare/verifycard/voucherform/index.jsx @@ -152,7 +152,7 @@ return ( <Form {...formItemLayout} className="verify-form"> <Row gutter={24}> - <Col span={6}> + <Col span={11}> <Form.Item label={'涓荤被鍨�'}> {getFieldDecorator('BVoucherType', { initialValue: voucherobj.BVoucherType || 'MES', @@ -172,7 +172,7 @@ )} </Form.Item> </Col> - <Col span={6}> + <Col span={11}> <Form.Item label={'鍑瘉绫诲瀷'}> {getFieldDecorator('VoucherType', { initialValue: voucherobj.VoucherType || (this.state.voucher[0] && this.state.voucher[0].ID) || '', @@ -189,7 +189,7 @@ onChange={(value) => {this.voucherSChange(value)}} > {this.state.voucher.map(option => - <Select.Option id={option.ID} key={option.ID} value={option.ID}> + <Select.Option title={option.NameNO} id={option.ID} key={option.ID} value={option.ID}> {option.NameNO} </Select.Option> )} @@ -197,7 +197,7 @@ )} </Form.Item> </Col> - <Col span={6}> + <Col span={11}> <Form.Item label={'鍑瘉鏍囪瘑'}> {getFieldDecorator('VoucherTypeOne', { initialValue: voucherobj.VoucherTypeOne || (this.state.voucherDetail[0] && this.state.voucherDetail[0].ModularDetailCode) || '', @@ -214,7 +214,7 @@ onChange={this.contentChange} > {this.state.voucherDetail.map(option => - <Select.Option id={option.ModularDetailCode} key={option.ModularDetailCode} value={option.ModularDetailCode}> + <Select.Option title={option.CodeName} id={option.ModularDetailCode} key={option.ModularDetailCode} value={option.ModularDetailCode}> {option.CodeName} </Select.Option> )} @@ -222,7 +222,7 @@ )} </Form.Item> </Col> - <Col span={6}> + <Col span={11}> <Form.Item label={'鍏宠仈瀛楁'}> {getFieldDecorator('linkField', { initialValue: voucherobj.linkField || (columns[0] && columns[0].field) || '', @@ -239,7 +239,7 @@ onChange={this.contentChange} > {columns.map((option, index) => - <Select.Option id={index + option.uuid} key={index + option.uuid} value={option.field}> + <Select.Option title={option.label} id={index + option.uuid} key={index + option.uuid} value={option.field}> {option.label} </Select.Option> )} @@ -247,7 +247,7 @@ )} </Form.Item> </Col> - <Col span={6}> + <Col span={11}> <Form.Item label={'鏄惁鍚敤'}> <Switch checkedChildren="鍚�" unCheckedChildren="鍋�" checked={voucherobj.enabled} onChange={this.onEnabledChange} /> </Form.Item> -- Gitblit v1.8.0