sale-client 3.7.61 → 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.61",
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
@@ -77,14 +77,12 @@ export default {
77
77
 
78
78
  // 判断 id 是否为数组,如果是数组则去重
79
79
  let processedId = Array.isArray(id) ? [...new Set(id)] : id
80
-
81
- let result = await axios.post('/invoice/rs/logic/getInvoice', Object.assign({
80
+ const param = {
82
81
  id: processedId || id,
83
82
  f_charge_type,
84
83
  retry,
85
84
  isTax: is_tax === '不征税' ? 0 : 1,
86
85
  invoice_kind: invoice_type,
87
- // eticket_id: model.id,
88
86
  f_buy_openbank: model.f_paper_account,
89
87
  f_buy_phone: model.f_buy_phone,
90
88
  bill_type: model.f_print ? model.f_print : null,
@@ -102,7 +100,11 @@ export default {
102
100
  dep_id: Vue.$login.f.depids,
103
101
  depname: Vue.$login.f.deps
104
102
  }
105
- }, {f_invoice_type: 0}), {
103
+ }
104
+ if (retry) {
105
+ param.eticket_id = model.id
106
+ }
107
+ let result = await axios.post('/invoice/rs/logic/getInvoice', Object.assign(param, {f_invoice_type: 0}), {
106
108
  resolveMsg: null,
107
109
  rejectMsg: '发票打印失败!!'
108
110
  })
@@ -402,7 +402,7 @@ export default {
402
402
  },
403
403
  async confirm () {
404
404
  this.eticket_show = true
405
- await this.$refs.eticketbill.rushRedInvoice({id: this.row.f_sell_id, eticket_id: this.row.id, bz: this.bz})
405
+ await this.$refs.eticketbill.rushRedInvoice({id: this.row.f_sell_id || this.row.sell_id, eticket_id: this.row.id, bz: this.bz})
406
406
  },
407
407
  async fp_search (row) {
408
408
  this.eticket_show = true
@@ -423,7 +423,7 @@ export default {
423
423
  },
424
424
  kp (row, retry = false) {
425
425
  this.eticket_show = true
426
- this.$refs.eticketbill.openETicket(row.f_sell_id, row, row.f_charge_type, retry, row.f_invoice_category)
426
+ this.$refs.eticketbill.openETicket(row.f_sell_id || row.sell_id, row, row.f_charge_type, retry, row.f_invoice_category)
427
427
  },
428
428
  eticket_toggle () {
429
429
  this.eticket_show = false
@@ -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"
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Wed May 13 15:19:48 CST 2026
2
- gradle.version=5.2.1
File without changes