|
@@ -99,10 +99,10 @@ export default function() { |
|
@@ -99,10 +99,10 @@ export default function() { |
99
|
},
|
99
|
},
|
100
|
{
|
100
|
{
|
101
|
title: '结算时间',
|
101
|
title: '结算时间',
|
102
|
- key: 'createTime',
|
102
|
+ key: 'clearingTime',
|
103
|
align: 'center',
|
103
|
align: 'center',
|
104
|
render(h, params) {
|
104
|
render(h, params) {
|
105
|
- const time = moment.unix(params.row.createTime);
|
105
|
+ const time = moment.unix(params.row.clearingTime);
|
106
|
return (
|
106
|
return (
|
107
|
<div>
|
107
|
<div>
|
108
|
<div>{time.format('YYYY/MM/DD')}</div>
|
108
|
<div>{time.format('YYYY/MM/DD')}</div>
|
|
@@ -125,7 +125,7 @@ export default function() { |
|
@@ -125,7 +125,7 @@ export default function() { |
125
|
},
|
125
|
},
|
126
|
{
|
126
|
{
|
127
|
title: '商家实收(元)',
|
127
|
title: '商家实收(元)',
|
128
|
- key: 'amount',
|
128
|
+ key: 'realIncome',
|
129
|
},
|
129
|
},
|
130
|
{
|
130
|
{
|
131
|
title: '提现状态',
|
131
|
title: '提现状态',
|
|
@@ -142,51 +142,57 @@ export default function() { |
|
@@ -142,51 +142,57 @@ export default function() { |
142
|
},
|
142
|
},
|
143
|
{
|
143
|
{
|
144
|
title: '提现申请日期',
|
144
|
title: '提现申请日期',
|
145
|
- key: 'applyTime',
|
145
|
+ key: 'withdrawTime',
|
146
|
align: 'center',
|
146
|
align: 'center',
|
147
|
render(h, params) {
|
147
|
render(h, params) {
|
148
|
- const applyTime = moment.unix(params.row.applyTime);
|
148
|
+ if (!params.row.withdrawTime){
|
|
|
149
|
+ return ""
|
|
|
150
|
+ }
|
|
|
151
|
+ const withdrawTime = moment.unix(params.row.withdrawTime);
|
149
|
return (
|
152
|
return (
|
150
|
<div>
|
153
|
<div>
|
151
|
- <div>{applyTime.format('YYYY/MM/DD')}</div>
|
|
|
152
|
- <div>{applyTime.format('HH:mm:ss')}</div>
|
154
|
+ <div>{withdrawTime.format('YYYY/MM/DD')}</div>
|
|
|
155
|
+ <div>{withdrawTime.format('HH:mm:ss')}</div>
|
153
|
</div>
|
156
|
</div>
|
154
|
);
|
157
|
);
|
155
|
},
|
158
|
},
|
156
|
},
|
159
|
},
|
157
|
{
|
160
|
{
|
158
|
title: '提现成功日期',
|
161
|
title: '提现成功日期',
|
159
|
- key: 'applySuccessTime',
|
162
|
+ key: 'withdrawSuccessTime',
|
160
|
align: 'center',
|
163
|
align: 'center',
|
161
|
render(h, params) {
|
164
|
render(h, params) {
|
162
|
- const appSuTime = moment.unix(params.row.applySuccessTime);
|
165
|
+ if (!params.row.withdrawSuccessTime){
|
|
|
166
|
+ return ""
|
|
|
167
|
+ }
|
|
|
168
|
+ const withdrawSuccessTime = moment.unix(params.row.withdrawSuccessTime);
|
163
|
return (
|
169
|
return (
|
164
|
<div>
|
170
|
<div>
|
165
|
- <div>{appSuTime.format('YYYY/MM/DD')}</div>
|
|
|
166
|
- <div>{appSuTime.format('HH:mm:ss')}</div>
|
171
|
+ <div>{withdrawSuccessTime.format('YYYY/MM/DD')}</div>
|
|
|
172
|
+ <div>{withdrawSuccessTime.format('HH:mm:ss')}</div>
|
167
|
</div>
|
173
|
</div>
|
168
|
);
|
174
|
);
|
169
|
},
|
175
|
},
|
170
|
},
|
176
|
},
|
171
|
- {
|
|
|
172
|
- title: '操作',
|
|
|
173
|
- key: 'action',
|
|
|
174
|
- width: 180,
|
|
|
175
|
- align: 'center',
|
|
|
176
|
- render: (h, params) => {
|
|
|
177
|
- const row = params.row;
|
|
|
178
|
- return (
|
|
|
179
|
- <div>
|
|
|
180
|
- <div class="cell-action-row">
|
|
|
181
|
- <i-button type="primary" size="small" onClick={() => this.getDetailById(row.id)}>
|
|
|
182
|
- 查看明细
|
|
|
183
|
- </i-button>
|
|
|
184
|
- </div>
|
|
|
185
|
- </div>
|
|
|
186
|
- );
|
|
|
187
|
- },
|
|
|
188
|
- className: 'action-column',
|
|
|
189
|
- },
|
177
|
+ // {
|
|
|
178
|
+ // title: '操作',
|
|
|
179
|
+ // key: 'action',
|
|
|
180
|
+ // width: 180,
|
|
|
181
|
+ // align: 'center',
|
|
|
182
|
+ // render: (h, params) => {
|
|
|
183
|
+ // const row = params.row;
|
|
|
184
|
+ // return (
|
|
|
185
|
+ // <div>
|
|
|
186
|
+ // <div class="cell-action-row">
|
|
|
187
|
+ // <i-button type="primary" size="small" onClick={() => this.getDetailById(row.id)}>
|
|
|
188
|
+ // 查看明细
|
|
|
189
|
+ // </i-button>
|
|
|
190
|
+ // </div>
|
|
|
191
|
+ // </div>
|
|
|
192
|
+ // );
|
|
|
193
|
+ // },
|
|
|
194
|
+ // className: 'action-column',
|
|
|
195
|
+ // },
|
190
|
],
|
196
|
],
|
191
|
tableData: [],
|
197
|
tableData: [],
|
192
|
pageData: {
|
198
|
pageData: {
|