|
@@ -101,11 +101,15 @@ export default { |
|
@@ -101,11 +101,15 @@ export default { |
101
|
key: 'paymentTime',
|
101
|
key: 'paymentTime',
|
102
|
width: 110,
|
102
|
width: 110,
|
103
|
render: (h, params) => {
|
103
|
render: (h, params) => {
|
104
|
- let time = moment.unix(params.row.paymentTime);
|
|
|
105
|
-
|
|
|
106
|
- return (
|
|
|
107
|
- <div>{time.format('YYYY/MM/DD')}</div>
|
|
|
108
|
- );
|
104
|
+ if (!params.row.paymentTime) {
|
|
|
105
|
+ return '暂无';
|
|
|
106
|
+ } else {
|
|
|
107
|
+ let time = moment.unix(params.row.paymentTime);
|
|
|
108
|
+
|
|
|
109
|
+ return (
|
|
|
110
|
+ <div>{time.format('YYYY/MM/DD')}</div>
|
|
|
111
|
+ );
|
|
|
112
|
+ }
|
109
|
},
|
113
|
},
|
110
|
align: 'center'
|
114
|
align: 'center'
|
111
|
}, {
|
115
|
}, {
|
|
@@ -229,4 +233,8 @@ export default { |
|
@@ -229,4 +233,8 @@ export default { |
229
|
</script>
|
233
|
</script>
|
230
|
|
234
|
|
231
|
<style lang="scss">
|
235
|
<style lang="scss">
|
|
|
236
|
+.ivu-date-picker .ivu-select-dropdown {
|
|
|
237
|
+ right: 0;
|
|
|
238
|
+ left: auto !important;
|
|
|
239
|
+}
|
232
|
</style> |
240
|
</style> |