Procházet zdrojové kódy

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

xujing před 5 roky
rodič
revize
f1377a5349

+ 4
- 4
src/pages/fundManagement/RechargeOrder.jsx Zobrazit soubor

@@ -115,7 +115,7 @@ function header(props) {
115 115
             dataIndex: 'tradingStatus',
116 116
             key: 'tradingStatus',
117 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 121
             title: '支付时间',
@@ -194,9 +194,9 @@ function header(props) {
194 194
                     {getFieldDecorator('tradingStatus')(
195 195
                         <Select style={{ width: '180px' }} placeholder="充值状态">
196 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 200
                         </Select>,
201 201
                     )}
202 202
                 </Form.Item>

+ 4
- 4
src/pages/fundManagement/RefundOrder.jsx Zobrazit soubor

@@ -114,10 +114,10 @@ function header(props) {
114 114
         },
115 115
         {
116 116
             title: '退款状态',
117
-            dataIndex: 'tradingStatus',
118
-            key: 'tradingStatus',
117
+            dataIndex: 'auditStatus',
118
+            key: 'auditStatus',
119 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 123
             title: '驳回原因',
@@ -153,7 +153,7 @@ function header(props) {
153 153
             render: (x, row) => (
154 154
                 <>
155 155
                     {
156
-                        row.tradingStatus == '0' &&
156
+                        row.auditStatus == 'checking' &&
157 157
                         <>
158 158
                             <span style={{ color: '#FF925C', cursor: 'pointer', marginRight: '16px' }} onClick={() => refund(row)}>
159 159
                                 退款