zlisen il y a 3 ans
Parent
révision
de4b86bb79
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 9
    0
      src/pages/channel/Channel/Edit/index.jsx

+ 9
- 0
src/pages/channel/Channel/Edit/index.jsx Voir le fichier

@@ -3,6 +3,7 @@ import { Input, Menu, Dropdown, Button, Icon, message, Table, Divider, Card, Sel
3 3
 import router from 'umi/router';
4 4
 import apis from '@/services/apis';
5 5
 import request from '@/utils/request'
6
+import InstitutionSelect from '@/components/SelectButton/InstitutionSelect'
6 7
 
7 8
 const { TextArea } = Input;
8 9
 const { Option } = Select;
@@ -68,6 +69,14 @@ const header = props => {
68 69
   return (
69 70
     <Card>
70 71
       <Form labelCol={{ span: 6 }} wrapperCol={{ span: 12 }} onSubmit={handleSubmit}>
72
+
73
+        <Form.Item label="城市公司">
74
+          {getFieldDecorator('institutionId',{
75
+            rules: [{ required: true, message: '请选择城市公司' }],
76
+          })(
77
+            <InstitutionSelect />
78
+          )}
79
+        </Form.Item>
71 80
         <Form.Item label="渠道名称">
72 81
           {getFieldDecorator('channelName', {
73 82
             rules: [{ required: true, message: '请输入渠道名称' }],