Browse Source

Merge branch 'dev' of http://git.ycjcjy.com/estateagents/pc-channel into dev

xujing 5 years ago
parent
commit
f1377a5349

+ 4
- 4
src/pages/fundManagement/RechargeOrder.jsx View File

115
             dataIndex: 'tradingStatus',
115
             dataIndex: 'tradingStatus',
116
             key: 'tradingStatus',
116
             key: 'tradingStatus',
117
             align: 'center',
117
             align: 'center',
118
-            render: (x, row) => <><span>{row.tradingStatus == '0' ? '待支付' : row.tradingStatus == '1' ? '已支付' : '已超时'}</span></>
118
+            render: (x, row) => <><span>{row.tradingStatus == 'processing' ? '待支付' : row.tradingStatus == 'success' ? '已支付' : '已超时'}</span></>
119
         },
119
         },
120
         {
120
         {
121
             title: '支付时间',
121
             title: '支付时间',
194
                     {getFieldDecorator('tradingStatus')(
194
                     {getFieldDecorator('tradingStatus')(
195
                         <Select style={{ width: '180px' }} placeholder="充值状态">
195
                         <Select style={{ width: '180px' }} placeholder="充值状态">
196
                             <Select.Option value="">全部</Select.Option>
196
                             <Select.Option value="">全部</Select.Option>
197
-                            <Select.Option value="0">待支付</Select.Option>
198
-                            <Select.Option value="1">已支付</Select.Option>
199
-                            <Select.Option value="2">已超时</Select.Option>
197
+                            <Select.Option value="processing">待支付</Select.Option>
198
+                            <Select.Option value="success">已支付</Select.Option>
199
+                            <Select.Option value="fail">已超时</Select.Option>
200
                         </Select>,
200
                         </Select>,
201
                     )}
201
                     )}
202
                 </Form.Item>
202
                 </Form.Item>

+ 4
- 4
src/pages/fundManagement/RefundOrder.jsx View File

114
         },
114
         },
115
         {
115
         {
116
             title: '退款状态',
116
             title: '退款状态',
117
-            dataIndex: 'tradingStatus',
118
-            key: 'tradingStatus',
117
+            dataIndex: 'auditStatus',
118
+            key: 'auditStatus',
119
             align: 'center',
119
             align: 'center',
120
-            render: (x, row) => <><span>{row.tradingStatus == 'processing' ? '已申请' : row.tradingStatus == 'success' ? '已退款' : row.tradingStatus == 'fail' ? '已驳回' : ''}</span></>
120
+            render: (x, row) => <><span>{row.auditStatus == 'checking' ? '已申请' : row.auditStatus == 'agree' ? '已退款' : '已驳回'}</span></>
121
         },
121
         },
122
         {
122
         {
123
             title: '驳回原因',
123
             title: '驳回原因',
153
             render: (x, row) => (
153
             render: (x, row) => (
154
                 <>
154
                 <>
155
                     {
155
                     {
156
-                        row.tradingStatus == '0' &&
156
+                        row.auditStatus == 'checking' &&
157
                         <>
157
                         <>
158
                             <span style={{ color: '#FF925C', cursor: 'pointer', marginRight: '16px' }} onClick={() => refund(row)}>
158
                             <span style={{ color: '#FF925C', cursor: 'pointer', marginRight: '16px' }} onClick={() => refund(row)}>
159
                                 退款
159
                                 退款