zlisen 3 years ago
parent
commit
1fc3d4acf6

+ 1
- 1
src/pages/building/Edit/Basic/index.jsx View File

452
         </FormGroupItem>
452
         </FormGroupItem>
453
         <Form.Item label="品牌开发商">
453
         <Form.Item label="品牌开发商">
454
           {getFieldDecorator('brandId')(
454
           {getFieldDecorator('brandId')(
455
-            <Select style={fullWidth}>
455
+            <Select style={fullWidth} allowClear>
456
               {
456
               {
457
                 brands.map((x) => (<Select.Option key={x.brandId} value={x.brandId}>{x.brandName}</Select.Option>))
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 View File

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

+ 0
- 13
src/pages/system/Sellhouse/Edit.jsx View File

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
       label: '购房须知标题',
63
       label: '购房须知标题',
77
       name: 'title',
64
       name: 'title',

+ 0
- 7
src/pages/system/Sellhouse/index.jsx View File

47
    * @returns
47
    * @returns
48
    */
48
    */
49
   const columns = [
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
       title: '标题',
51
       title: '标题',
59
       dataIndex: 'title',
52
       dataIndex: 'title',