sale-client 3.7.62 → 3.7.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
}
|
|
460
460
|
console.log('获取到的欠费记录', owes)
|
|
461
461
|
self.alldue_fee = owes.reduce((total, item) => {
|
|
462
|
-
return total + (item.f_oughtfee + item.overdue)
|
|
462
|
+
return total + (item.f_oughtfee + item.overdue - item.f_debt_money)
|
|
463
463
|
}, 0)
|
|
464
464
|
console.log('总欠费金额为', self.alldue_fee)
|
|
465
465
|
self.owes = res.data
|
|
@@ -339,7 +339,7 @@ export default {
|
|
|
339
339
|
return
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
if (this.model.metermessage.f_meter_type[0]
|
|
342
|
+
if (this.model.metermessage.f_meter_type[0] != '机表') {
|
|
343
343
|
console.log('进来了')
|
|
344
344
|
if (this.books.data.length > 0) {
|
|
345
345
|
console.log('进来了2')
|
|
@@ -671,10 +671,10 @@ export default {
|
|
|
671
671
|
console.log('获取到的欠费记录', books)
|
|
672
672
|
this.books = books
|
|
673
673
|
// 如果是机表验证是否有欠费
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
674
|
+
if ((this.row.f_balance - 0) < 0 || this.books.data.length > 0) {
|
|
675
|
+
this.$showAlert('该表有欠费,请到机表缴费界面进行缴费', 'warning', 3000)
|
|
676
|
+
this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
|
|
677
|
+
}
|
|
678
678
|
}
|
|
679
679
|
},
|
|
680
680
|
|