Authored by 王水玲

红人

... ... @@ -238,5 +238,9 @@ export default {
.ivu-table-column-center .ivu-tooltip-inner {
white-space: normal !important;
}
.ivu-cascader .ivu-select-dropdown {
right: 0;
}
</style>
 
\ No newline at end of file
... ...
... ... @@ -101,11 +101,15 @@ export default {
key: 'paymentTime',
width: 110,
render: (h, params) => {
let time = moment.unix(params.row.paymentTime);
return (
<div>{time.format('YYYY/MM/DD')}</div>
);
if (!params.row.paymentTime) {
return '暂无';
} else {
let time = moment.unix(params.row.paymentTime);
return (
<div>{time.format('YYYY/MM/DD')}</div>
);
}
},
align: 'center'
}, {
... ... @@ -229,4 +233,8 @@ export default {
</script>
<style lang="scss">
.ivu-date-picker .ivu-select-dropdown {
right: 0;
left: auto !important;
}
</style>
... ...