diff --git a/src/views/property/pay.vue b/src/views/property/pay.vue
index 1dbc6d6..1fa7bd5 100644
--- a/src/views/property/pay.vue
+++ b/src/views/property/pay.vue
@@ -213,6 +213,18 @@
+
+ 其他缴费月数:
+
+
+
+
缴费方式:
-
+
@@ -484,7 +496,8 @@ export default {
},
handleQuery() {
this.resetFees()
- this.fewMonths = 0
+ this.fewMonths = 0;
+ this.fewMonths2 = undefined;
switch (this.queryParams.chargetype) {
case 1:
getPropertyTab(this.queryParams).then((res) => {
@@ -517,12 +530,14 @@ export default {
}
},
handleClick(tab, event) {
+ this.fewMonths2 = undefined;
this.queryParams.chargetype = parseInt(this.activeName)
this.queryParams.contracttab = {}
this.queryParams.phone1 = undefined
this.queryParams.contact = undefined
this.queryParams.constructionarea = undefined
this.queryParams.unitprice = undefined
+
this.resetFees()
},
resetFees() {
@@ -613,6 +628,26 @@ export default {
this.queryParams.enddate = newEndTime
this.getCountMoney()
},
+ // 改变月数
+ monthNumChange2(value) {
+ this.fewMonths2 = value
+ var pattern = /^[1-9][0-9]*$/ // 正整数的正则表达式
+ if (!pattern.test(this.fewMonths2)) { // 不符合正整数时
+ this.fewMonths2 = undefined
+ this.msgError('输入的月数必须为正整数')
+
+ return
+ }
+ let endTime = this.createBeginDate(this.queryParams.begindate,parseInt(this.fewMonths2))
+ let newEndTime = moment(endTime).add(this.fewDays,'d').format('YYYY-MM-DD')
+ this.queryParams.enddate = newEndTime
+ if (this.queryParams.chargetype === 2) {
+ this.queryParams.contracttab.chargedexpense = this.fewMonths2*12
+ }else{
+ this.queryParams.contracttab.chargedexpense = this.fewMonths2*80
+ }
+
+ },
// 改变天数
daysNumChange(value) {
this.fewDays = value
@@ -644,6 +679,7 @@ export default {
} else {
this.queryParams.contracttab.chargedexpense = value
}
+ this.fewMonths2 = undefined
},
getTableData(arg) {
this.receiptDetails=arg;
diff --git a/src/views/reportform/financial.vue b/src/views/reportform/financial.vue
index 094ac47..5d2052d 100644
--- a/src/views/reportform/financial.vue
+++ b/src/views/reportform/financial.vue
@@ -1,48 +1,53 @@
-
-
-
-
+
+
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
- 搜索
- 导出
+ 搜索
+ 导出
费用合计:
- 当年费用合计:
- 陈欠费用合计:{{count}}元
+ 当年费用合计:
+ 陈欠费用合计:{{ count }}元
-
-
+
+
{{ getValue(scope.row[item]) }}
- {{ parseTime(scope.row[item]) }}
- {{ parseType(scope.row[item]) }}
- {{ scope.row[item] === 0 ? '已缴费' : '未缴费' }}
- {{ parseTime(scope.row[item]) }}
- {{ parseTime(scope.row[item]) }}
+
+ {{ parseTime(scope.row[item]) }}
+
+
+ {{ parseType(scope.row[item]) }}
+
+
+ {{ scope.row[item] === 0 ? "已缴费" : "未缴费" }}
+
+
+ {{ parseTime(scope.row[item]) }}
+
+
+ {{ parseTime(scope.row[item]) }}
+
{{ scope.row[item] }}
@@ -136,58 +169,58 @@
-->
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-