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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.7.62",
3
+ "version": "3.7.63",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -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
- // 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
- // }
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
 
@@ -179,7 +179,6 @@
179
179
  <datepicker style="width:60%" placeholder="通气日期"
180
180
  v-model="row.f_gas_date"
181
181
  v-ref:f_gas_date
182
- :disabled ="isedit"
183
182
  :value.sync="row.f_gas_date"
184
183
  :format="'yyyy-MM-dd HH:mm:ss'"
185
184
  :show-reset-button="reset"
@@ -1,10 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2016",
4
- "module": "commonjs",
5
- "esModuleInterop": true,
6
- "forceConsistentCasingInFileNames": true,
7
- "strict": true,
8
- "skipLibCheck": true
9
- }
10
- }
package/tsconfig.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2016",
4
- "module": "commonjs",
5
- "esModuleInterop": true,
6
- "forceConsistentCasingInFileNames": true,
7
- "strict": true,
8
- "skipLibCheck": true
9
- }
10
- }