Commit a6a77c75 by 展昭

update

parent fc32f494
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
}, },
data() { data() {
return { return {
title: "", title: "资金记录",
accountId: 0, accountId: 0,
mescrollUp: { mescrollUp: {
callback: this.upCallback, // 上拉回调,此处可简写; 相当于 callback: function (page, mescroll) { getListData(page); } callback: this.upCallback, // 上拉回调,此处可简写; 相当于 callback: function (page, mescroll) { getListData(page); }
...@@ -100,14 +100,16 @@ export default { ...@@ -100,14 +100,16 @@ export default {
this.setPageNavState(); this.setPageNavState();
this.globalNavLeftArrowClick(this.navLeftArrowClick); this.globalNavLeftArrowClick(this.navLeftArrowClick);
this.accountId = this.$route.query.accountId; this.accountId = this.$route.query.accountId;
if (this.getBeginDate > "2020-04-30") {
this.title = dayjs(this.getBeginDate).format("M") + "月" + "资金记录"; this.title = dayjs(this.getBeginDate).format("M") + "月" + "资金记录";
} }
}
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.orangeColor{ .orangeColor {
color: #FF8A05; color: #ff8a05;
} }
.container-wrap { .container-wrap {
padding: 0 16px; padding: 0 16px;
......
...@@ -88,23 +88,27 @@ export default { ...@@ -88,23 +88,27 @@ export default {
); );
}, },
makeTitle() { makeTitle() {
let month = dayjs(this.getBeginDate).format("M"); let month = "";
if (this.getBeginDate > "2020-04-30") {
month = dayjs(this.getBeginDate).format("M") + "月";
}
// insurance=社保 // insurance=社保
// accumulation=公积金 // accumulation=公积金
// income=个税 // income=个税
// service=服务费 // service=服务费
switch (this.type) { switch (this.type) {
case "insurance": case "insurance":
this.title = month + "月" + "社保" + "代理"; this.title = month + "社保" + "代理";
break; break;
case "accumulation": case "accumulation":
this.title = month + "月" + "公积金" + "代理"; this.title = month + "公积金" + "代理";
break; break;
case "income": case "income":
this.title = month + "月" + "个税" + "代理"; this.title = month + "个税" + "代理";
break; break;
case "service": case "service":
this.title = month + "月" + "服务费" + "代理"; this.title = month + "服务费" + "代理";
break; break;
} }
}, },
......
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
<i class="title_color">{{hosting.fund.amount|moneyNum}}</i> <i class="title_color">{{hosting.fund.amount|moneyNum}}</i>
</div> </div>
<div class="list_contenter"> <div class="list_contenter">
<div class="list" v-for="(item,index) in hosting.fund.list" :key="index"> <div class="list" v-for="(item,index) in hosting.fund.list" :key="index" @click="openDetail(item.detail)">
<div class="list_title"> <div class="list_title">
<div class="title">{{item.cityName}}</div> <div class="title">{{item.cityName}}</div>
<van-icon name="arrow" class="arrow_right" @click="openDetail(item.detail)" /> <van-icon name="arrow" class="arrow_right" />
</div> </div>
<p> <p>
<span>总备款金额</span> <span>总备款金额</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment