zlisen преди 3 години
родител
ревизия
1fc3d4acf6
променени са 4 файла, в които са добавени 2 реда и са изтрити 23 реда
  1. 1
    1
      src/pages/building/Edit/Basic/index.jsx
  2. 1
    2
      src/pages/building/Edit/Channel.jsx
  3. 0
    13
      src/pages/system/Sellhouse/Edit.jsx
  4. 0
    7
      src/pages/system/Sellhouse/index.jsx

+ 1
- 1
src/pages/building/Edit/Basic/index.jsx Целия файл

@@ -452,7 +452,7 @@ const BuildingBasic = React.forwardRef((props, ref) => {
452 452
         </FormGroupItem>
453 453
         <Form.Item label="品牌开发商">
454 454
           {getFieldDecorator('brandId')(
455
-            <Select style={fullWidth}>
455
+            <Select style={fullWidth} allowClear>
456 456
               {
457 457
                 brands.map((x) => (<Select.Option key={x.brandId} value={x.brandId}>{x.brandName}</Select.Option>))
458 458
               }

+ 1
- 2
src/pages/building/Edit/Channel.jsx Целия файл

@@ -63,7 +63,7 @@ const ChannelForm = React.forwardRef((props, ref) => {
63 63
     <Form {...formItemLayout} onSubmit={handleSubmit}>
64 64
       <Form.Item label="渠道">
65 65
       {getFieldDecorator('channelIdList', {
66
-        rules: [{required: true, message: '请选择渠道'}]
66
+        // rules: [{required: true, message: '请选择渠道'}]
67 67
       })(
68 68
         <Select mode="multiple" style={{ width: '100%' }}>
69 69
           {
@@ -84,7 +84,6 @@ const ChannelForm = React.forwardRef((props, ref) => {
84 84
         <AuthButton name="building.channel.save">
85 85
           <Button style={{marginLeft: '4em'}} loading={loading} type="primary" htmlType="submit">保存</Button>
86 86
         </AuthButton>
87
-        <Button style={{marginLeft: '4em'}} loading={loading} type="primary" htmlType="submit">保存</Button>
88 87
         {/* <Button style={{marginLeft: '2em'}} onClick={props.onCancel}>取消</Button> */}
89 88
       </Form.Item>
90 89
     </Form>

+ 0
- 13
src/pages/system/Sellhouse/Edit.jsx Целия файл

@@ -59,19 +59,6 @@ const Edit = props => {
59 59
         },
60 60
       ],
61 61
     },
62
-    {
63
-      label: '购房须知封面图',
64
-      name: 'policyImg',
65
-      type: FieldTypes.ImageUploader,
66
-      value: policyData.policyImg,
67
-      help: '建议图片尺寸:220*176px,比例5:4,格式:jpg,用于购房须知列表',
68
-      rules: [
69
-        {
70
-          required: true,
71
-          message: '请选择购房须知封面图',
72
-        },
73
-      ],
74
-    },
75 62
     {
76 63
       label: '购房须知标题',
77 64
       name: 'title',

+ 0
- 7
src/pages/system/Sellhouse/index.jsx Целия файл

@@ -47,13 +47,6 @@ const header = props => {
47 47
    * @returns
48 48
    */
49 49
   const columns = [
50
-    {
51
-      title: '购房须知主图',
52
-      dataIndex: 'policyImg',
53
-      key: 'policyImg',
54
-      align: 'center',
55
-      render: (policyImg, row) => <img src={policyImg} width={93} />,
56
-    },
57 50
     {
58 51
       title: '标题',
59 52
       dataIndex: 'title',