diff --git a/src/views/sunVillage_info/detailed_ledger.vue b/src/views/sunVillage_info/detailed_ledger.vue index fc3082d1..30248810 100644 --- a/src/views/sunVillage_info/detailed_ledger.vue +++ b/src/views/sunVillage_info/detailed_ledger.vue @@ -42,7 +42,7 @@ {{item.month}} {{item.day}} -
{{item.voucherWordNum}}
+
{{item.voucherWordNum}}
- +
@@ -63,7 +63,7 @@ 方向 余额 - +
@@ -81,13 +81,13 @@ 200.00 --> - +
- + @@ -216,15 +216,15 @@ export default { let curObj = res.rows[0]; if(res.rows.length>0){ - this.subjectText = curObj.label; - this.queryParams.startSubjectId = curObj.subjectId; - this.queryParams.endSubjectId = curObj.subjectId; - this.cascaderValue = curObj.subjectId; - + this.subjectText = curObj.label; + this.queryParams.startSubjectId = curObj.subjectId; + this.queryParams.endSubjectId = curObj.subjectId; + this.cascaderValue = curObj.subjectId; + this.initPage() this.makeSubjectsTree(res.rows, resp.data); }else{ - this.subjectText = '暂无数据'; + this.subjectText = '暂无数据'; } }); }); @@ -247,7 +247,7 @@ export default { v.label = v.subjectId + ' ' + v.subjectNameAll; v.is_last = 'Y'; v.disabled = false; - + arr.push(v); } } @@ -279,7 +279,7 @@ export default { r.sort((a, b) => a.dictSort - b.dictSort); // console.log(r) this.subjectsTree = r; - + }, initPage(){ listNormalDetails(this.queryParams).then((res)=>{ @@ -293,13 +293,12 @@ export default { } }) }, - subjectNameFun(num){ - let endNum = num.split("-"); + subjectNameFun(endNum,id){ this.$router.push({ path: "/sunVillage_info/voucher", query: { - vocherId: endNum[1], - num:encodeURI(num) + vocherId: id, + num:encodeURI(endNum) }, }); }, @@ -347,7 +346,7 @@ export default { this.dateObj.endVisbile = false; this.initPage(); } - + } } @@ -574,9 +573,9 @@ export default { } .content_m{ - + .van-row{ - + &:nth-child(2n-1){ background: #e9e9e9; } @@ -612,11 +611,11 @@ export default { justify-content: center; } } - + } } } } } - \ No newline at end of file +