sale-client 4.2.117 → 4.2.119

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.
File without changes
@@ -0,0 +1,2 @@
1
+ #Thu Dec 18 17:45:08 CST 2025
2
+ gradle.version=5.2.1
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.117",
3
+ "version": "4.2.119",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -212,12 +212,7 @@ export default {
212
212
  },
213
213
  methods: {
214
214
  permission (name) {
215
- if (this.$login.r.find(value => value == '收费综合查询')) {
216
- if (!this.$login.r.find(value => value == name)) {
217
- return false
218
- }
219
- }
220
- return true
215
+ return this.$login.r.includes(name)
221
216
  },
222
217
  async search () {
223
218
  let http = new HttpResetClass()
@@ -64,7 +64,7 @@
64
64
  if (self.config.hasPrint) {
65
65
  if (self.model.f_cancel_type === 'newBill') {
66
66
  // 显示发票信息,
67
- self.printModel.id = res.data.record
67
+ self.printModel.id = res.data.id
68
68
  self.printModel.f_type = res.data.type
69
69
  self.printModel.f_use_type = self.model.f_use_type
70
70
  self.billData.url = self.getBillUrl(self.data.type)
@@ -73,7 +73,7 @@
73
73
  await self.$CommonService.correctPaperBill(res.data.record, res.data.type, null, null, 'abort')
74
74
  self.$dispatch('cancel-success')
75
75
  } else {
76
- self.printModel.id = res.data.record
76
+ self.printModel.id = res.data.id
77
77
  self.printModel.f_type = res.data.type
78
78
  self.printModel.f_use_type = self.model.f_use_type
79
79
  self.billData.url = self.getBillUrl(self.data.type)