Commit 2048bf3f by cocomilk2012

update

parent e5897e3d
...@@ -7,23 +7,27 @@ ...@@ -7,23 +7,27 @@
<div class="header"> <div class="header">
<div class="content_left"> <div class="content_left">
<div class="title_info">应付总额</div> <div class="title_info">应付总额</div>
<div class="title_money">{{data.payment|moneyNum}}</div> <div class="title_money">{{ data.payment | moneyNum }}</div>
</div> </div>
<div class="content_right"> <div class="content_right">
<div class="title_info">待付金额</div> <div class="title_info">待付金额</div>
<div class="title_money">{{data.waitPayment|moneyNum}}</div> <div class="title_money">{{ data.waitPayment | moneyNum }}</div>
</div> </div>
</div> </div>
<div class="box mt0" v-for="(item,index) in data.list" :key="index">
<label class="label_time">截止扣费日期 {{item.dueDate|transDate}}</label> <div class="box mt0" v-for="(item, index) in data.list" :key="index">
<div class="list" v-for="(ele,index) in item.list" :key="index"> <div class="space"></div>
<label class="label_time"
>截止扣费日期 {{ item.dueDate | transDate }}</label
>
<div class="list" v-for="(ele, index) in item.list" :key="index">
<div class="list_title"> <div class="list_title">
<div class="title">{{ele.employeeName}}</div> <div class="title">{{ ele.employeeName }}</div>
<div class="list_title_money">{{ele.dueAmount|moneyNum}}</div> <div class="list_title_money">{{ ele.dueAmount | moneyNum }}</div>
</div> </div>
<p> <p>
<span>{{ele.cityName}}</span> <span>{{ ele.cityName }}</span>
<i class="no_bill">{{ele.statusDesc}}</i> <i class="no_bill">{{ ele.statusDesc }}</i>
</p> </p>
</div> </div>
</div> </div>
...@@ -78,6 +82,7 @@ export default { ...@@ -78,6 +82,7 @@ export default {
) { ) {
this.data = this.getReceiptDetail.list[index]; this.data = this.getReceiptDetail.list[index];
this.title = this.data.groupName; this.title = this.data.groupName;
console.log(this.data);
} }
}, },
navLeftArrowClick() { navLeftArrowClick() {
...@@ -88,6 +93,102 @@ export default { ...@@ -88,6 +93,102 @@ export default {
this.setPageNavState(); this.setPageNavState();
this.globalNavLeftArrowClick(this.navLeftArrowClick); this.globalNavLeftArrowClick(this.navLeftArrowClick);
this.getData(); this.getData();
// this.data = {
// groupName: "社保代理",
// payment: 5513.44,
// waitPayment: 4321.9,
// list: [
// {
// dueDate: "2020-07-01 00:00:00",
// statusDesc: "已扣费",
// list: [
// {
// cityName: "江苏省 -- 连云港市",
// dueAmount: 1191.54,
// dueDate: "2020-07-01 00:00:00",
// employeeName: "黄莹",
// statusDesc: "已扣费",
// bizName: "",
// bizType: 0,
// chargeType: "合并收费",
// identityCard: null,
// employeeId: 0,
// executionMonth: "0001-01-01 00:00:00"
// }
// ]
// },
// {
// dueDate: "2020-07-17 00:00:00",
// statusDesc: "未扣费",
// list: [
// {
// cityName: "上海市 -- 上海市",
// dueAmount: 1108.9,
// dueDate: "2020-07-17 00:00:00",
// employeeName: "常志海",
// statusDesc: "未扣费",
// bizName: "",
// bizType: 0,
// chargeType: "合并收费",
// identityCard: null,
// employeeId: 0,
// executionMonth: "0001-01-01 00:00:00"
// }
// ]
// },
// {
// dueDate: "2020-07-28 00:00:00",
// statusDesc: "未扣费",
// list: [
// {
// cityName: "北京市 -- 北京市",
// dueAmount: 1010.73,
// dueDate: "2020-07-28 00:00:00",
// employeeName: "阎曙光",
// statusDesc: "未扣费",
// bizName: "",
// bizType: 0,
// chargeType: "合并收费",
// identityCard: null,
// employeeId: 0,
// executionMonth: "0001-01-01 00:00:00"
// },
// {
// cityName: "北京市 -- 北京市",
// dueAmount: 1010.73,
// dueDate: "2020-07-28 00:00:00",
// employeeName: "张倩",
// statusDesc: "未扣费",
// bizName: "",
// bizType: 0,
// chargeType: "合并收费",
// identityCard: null,
// employeeId: 0,
// executionMonth: "0001-01-01 00:00:00"
// }
// ]
// },
// {
// dueDate: "2020-07-31 00:00:00",
// statusDesc: "未扣费",
// list: [
// {
// cityName: "江苏省 -- 连云港市",
// dueAmount: 1191.54,
// dueDate: "2020-07-31 00:00:00",
// employeeName: "黄莹",
// statusDesc: "未扣费",
// bizName: "",
// bizType: 0,
// chargeType: "合并收费",
// identityCard: null,
// employeeId: 0,
// executionMonth: "0001-01-01 00:00:00"
// }
// ]
// }
// ]
// };
} }
}; };
</script> </script>
...@@ -123,9 +224,14 @@ export default { ...@@ -123,9 +224,14 @@ export default {
margin-top: 8px; margin-top: 8px;
} }
} }
.space {
width: 100%;
height: 5px;
background: #f2f2f2;
}
.box { .box {
margin-top: 16px; margin-top: 0px;
padding: 0 16px; padding: 0 0px;
background: white; background: white;
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;
...@@ -135,14 +241,14 @@ export default { ...@@ -135,14 +241,14 @@ export default {
font-size: 14px; font-size: 14px;
color: rgba(61, 64, 71, 1); color: rgba(61, 64, 71, 1);
line-height: 20px; line-height: 20px;
padding: 16px 0; padding: 16px;
display: block; display: block;
border-bottom: 1px solid #ececee; border-bottom: 1px solid #ececee;
} }
.list { .list {
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
border-bottom: 1px solid #ececee; border-bottom: 1px solid #ececee;
padding: 16px 0; padding: 10px 16px;
&:last-child { &:last-child {
border-bottom: 0; border-bottom: 0;
} }
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
data => { data => {
this.summary = data; this.summary = data;
console.log("this.summary=", this.summary); console.log("this.summary=", this.summary);
this.nativePayUrl = `hrs100://native/SelectRechargeMode?accountId=${this.summary.accountId}&fee=${this.summary.waitPay}`; this.nativePayUrl = `hrs100://native/SelectRechargeMode?accountType=19&periodId=0&fee=${this.summary.waitPay}`;
console.log("this.nativePayUrl=", this.nativePayUrl); console.log("this.nativePayUrl=", this.nativePayUrl);
}, },
err => { err => {
......
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