From ecbe0dc46ce2b8f607b9afd063104adeb7f10fe8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 30 三月 2021 15:19:31 +0800
Subject: [PATCH] 2021-03-30

---
 src/templates/sharecomponent/actioncomponent/verifyexcelout/columnform/index.jsx |   43 +++----------------------------------------
 1 files changed, 3 insertions(+), 40 deletions(-)

diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/columnform/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/columnform/index.jsx
index b20a6f2..01ec3e6 100644
--- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/columnform/index.jsx
+++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/columnform/index.jsx
@@ -1,48 +1,23 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
-import { Form, Row, Col, Button, Input, InputNumber, Radio } from 'antd'
+import { Form, Row, Col, Button, Input, InputNumber } from 'antd'
 import './index.scss'
 
 class ExcelOutColumn extends Component {
   static propTpyes = {
     dict: PropTypes.object,         // 瀛楀吀椤�
-    columns: PropTypes.array,       // 鍒楀悕闆嗗悎
     columnChange: PropTypes.func    // 淇敼鍑芥暟
   }
-
-  state = {
-    editItem: null // 缂栬緫鍏冪礌
-  }
-
-  edit = (record) => {
-    this.setState({
-      editItem: record
-    })
-
-    this.props.form.setFieldsValue({
-      Column: record.Column,
-      Text: record.Text,
-      Width: record.Width,
-      export: record.export || 'true'
-    })
-  }
-
 
   handleConfirm = () => {
     // 琛ㄥ崟鎻愪氦鏃舵鏌ヨ緭鍏ュ�兼槸鍚︽纭�
     this.props.form.validateFieldsAndScroll((err, values) => {
       if (!err) {
-        values.uuid = this.state.editItem ? this.state.editItem.uuid : ''
-
         this.props.columnChange(values)
-        this.setState({
-          editItem: null
-        })
         this.props.form.setFieldsValue({
           Column: '',
           Text: '',
-          Width: 20,
-          export: 'true'
+          Width: 20
         })
       }
     })
@@ -106,20 +81,8 @@
           </Col>
           <Col span={3} className="add">
             <Button onClick={this.handleConfirm} type="primary" className="mk-green">
-              淇濆瓨
+              娣诲姞
             </Button>
-          </Col>
-          <Col span={7}>
-            <Form.Item label={dict['model.export']}>
-              {getFieldDecorator('export', {
-                initialValue: 'true'
-              })(
-                <Radio.Group>
-                  <Radio value="true">{dict['model.true']}</Radio>
-                  <Radio value="false">{dict['model.false']}</Radio>
-                </Radio.Group>
-              )}
-            </Form.Item>
           </Col>
         </Row>
       </Form>

--
Gitblit v1.8.0