From 85d3e7b1bb41e9cfef0e3c8b77b9f54be4b48e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Thu, 29 Feb 2024 15:26:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B3=E5=85=89=E6=9D=91=E5=8A=A1=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E8=B4=A6=E8=AF=A6=E6=83=85ID=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sunVillage_info/detailed_ledger.vue | 45 +++++++++---------- 1 file changed, 22 insertions(+), 23 deletions(-) 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 +