sale-client 3.7.61 → 3.7.62

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.62",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -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
@@ -0,0 +1,10 @@
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 ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es2016",
4
+ "module": "commonjs",
5
+ "esModuleInterop": true,
6
+ "forceConsistentCasingInFileNames": true,
7
+ "strict": true,
8
+ "skipLibCheck": true
9
+ }
10
+ }
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