|
@@ -27,7 +27,8 @@
|
|
|
<block v-for="item in baseInfo">
|
|
|
<view :key="item.key">
|
|
|
<text class="lable">{{ item.key }}:</text>
|
|
|
- <text :style="{ color: item.color }">{{ item.val }}</text>
|
|
|
+ <text :style="{ color: item.color }" v-if="item.key==='合同期限'">{{showTermHandelr(item)}}</text>
|
|
|
+ <text :style="{ color: item.color }" v-else>{{ item.val }}</text>
|
|
|
<van-tag v-if="item.tag" color="#ECF5FF" text-color="#4A83F1" style="margin-left:5px">
|
|
|
{{ item.tag }}
|
|
|
</van-tag>
|
|
@@ -310,6 +311,7 @@
|
|
|
{
|
|
|
key: "合同期限",
|
|
|
val: `${contractInfo.StartDate}~${contractInfo.EndDate}`.replace(/-/g, '.'),
|
|
|
+ quarter:contractInfo.Quarter ||''
|
|
|
},
|
|
|
{
|
|
|
key: "合同金额",
|
|
@@ -429,6 +431,7 @@
|
|
|
{
|
|
|
key: "合同期限",
|
|
|
val: `${contractInfo.StartDate}~${contractInfo.EndDate}`.replace(/-/g, '.'),
|
|
|
+ quarter:contractInfo.Quarter||''
|
|
|
},
|
|
|
{
|
|
|
key: "合同金额",
|
|
@@ -596,6 +599,11 @@
|
|
|
}
|
|
|
|
|
|
this.varietyInfo = obj
|
|
|
+ },
|
|
|
+ // 合同期限
|
|
|
+ showTermHandelr(item) {
|
|
|
+ let str = item.quarter? `${item.quarter}(${item.val})` : item.val
|
|
|
+ return str
|
|
|
}
|
|
|
},
|
|
|
}
|