|
|
@@ -61,13 +61,13 @@
|
|
|
<span slot="endDate" slot-scope="text, record">
|
|
|
<template v-if="record.isAutoRenew === 0 && text">
|
|
|
<template v-if="record.contractStatus == 1">
|
|
|
- <span style="color: #FF7312">{{text.substring(0,10)}}(即将到期)</span>
|
|
|
+ <span style="color: #FF7312">{{text.length > 10 ? text.substring(0,10) : text}}(即将到期)</span>
|
|
|
</template>
|
|
|
<template v-else-if="record.contractStatus == 2">
|
|
|
- <span style="color: #F01B1B">{{text.substring(0,10)}}(已到期)</span>
|
|
|
+ <span style="color: #F01B1B">{{text.length > 10 ? text.substring(0,10) : text}}(已到期)</span>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- {{text.substring(0,10)}}
|
|
|
+ {{text.length > 10 ? text.substring(0,10) : text}}
|
|
|
</template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
@@ -77,7 +77,7 @@
|
|
|
|
|
|
<span slot="isPayment" slot-scope="text, record">
|
|
|
<template v-if="record.isPayment">
|
|
|
- 已走款:{{record.minPaymentTime.substring(0,10)}}~{{record.maxPaymentTime.substring(0,10)}}
|
|
|
+ 已走款:{{record.minPaymentTime.length > 10 ? record.minPaymentTime.substring(0,10) : record.minPaymentTime}}~{{record.maxPaymentTime.length > 10 ? record.maxPaymentTime.substring(0,10) : record.maxPaymentTime}}
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
未走款
|