sale-client 3.7.65-byls → 3.7.65

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
@@ -1,2 +1,2 @@
1
- #Mon Jun 22 09:12:25 CST 2026
1
+ #Wed May 13 15:19:48 CST 2026
2
2
  gradle.version=5.2.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.7.65-byls",
3
+ "version": "3.7.65",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -50,16 +50,21 @@ export default {
50
50
  },
51
51
  methods: {
52
52
  arrAddFun () {
53
- // 拓展数组去空值的方法
54
- Array.prototype.removeEmpty = function () {
55
- for (var i = 0; i < this.length; i++) {
56
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
57
- this.splice(i, 1)
58
- i--
53
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
54
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
55
+ value: function () {
56
+ for (var i = 0; i < this.length; i++) {
57
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
58
+ this.splice(i, 1)
59
+ i--
60
+ }
59
61
  }
60
- }
61
- return this
62
- }
62
+ return this
63
+ },
64
+ enumerable: false,
65
+ writable: true,
66
+ configurable: true
67
+ })
63
68
  },
64
69
  // 合并二维数组并去空
65
70
  mergeRowData (rowsdata) {
@@ -49,16 +49,21 @@
49
49
  },
50
50
  methods: {
51
51
  arrAddFun () {
52
- // 拓展数组去空值的方法
53
- Array.prototype.removeEmpty = function () {
54
- for (var i = 0; i < this.length; i++) {
55
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
56
- this.splice(i, 1)
57
- i--
52
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
53
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
54
+ value: function () {
55
+ for (var i = 0; i < this.length; i++) {
56
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
57
+ this.splice(i, 1)
58
+ i--
59
+ }
58
60
  }
59
- }
60
- return this
61
- }
61
+ return this
62
+ },
63
+ enumerable: false,
64
+ writable: true,
65
+ configurable: true
66
+ })
62
67
  },
63
68
  // 合并二维数组并去空
64
69
  mergeRowData (rowsdata) {
@@ -50,16 +50,21 @@
50
50
  },
51
51
  methods: {
52
52
  arrAddFun () {
53
- // 拓展数组去空值的方法
54
- Array.prototype.removeEmpty = function () {
55
- for (var i = 0; i < this.length; i++) {
56
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
57
- this.splice(i, 1)
58
- i--
53
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
54
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
55
+ value: function () {
56
+ for (var i = 0; i < this.length; i++) {
57
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
58
+ this.splice(i, 1)
59
+ i--
60
+ }
59
61
  }
60
- }
61
- return this
62
- }
62
+ return this
63
+ },
64
+ enumerable: false,
65
+ writable: true,
66
+ configurable: true
67
+ })
63
68
  },
64
69
  // 合并二维数组并去空
65
70
  mergeRowData (rowsdata) {
@@ -50,16 +50,21 @@
50
50
  },
51
51
  methods: {
52
52
  arrAddFun () {
53
- // 拓展数组去空值的方法
54
- Array.prototype.removeEmpty = function () {
55
- for (var i = 0; i < this.length; i++) {
56
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
57
- this.splice(i, 1)
58
- i--
53
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
54
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
55
+ value: function () {
56
+ for (var i = 0; i < this.length; i++) {
57
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
58
+ this.splice(i, 1)
59
+ i--
60
+ }
59
61
  }
60
- }
61
- return this
62
- }
62
+ return this
63
+ },
64
+ enumerable: false,
65
+ writable: true,
66
+ configurable: true
67
+ })
63
68
  },
64
69
  // 合并二维数组并去空
65
70
  mergeRowData (rowsdata) {
@@ -49,16 +49,21 @@
49
49
  },
50
50
  methods: {
51
51
  arrAddFun () {
52
- // 拓展数组去空值的方法
53
- Array.prototype.removeEmpty = function () {
54
- for (var i = 0; i < this.length; i++) {
55
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
56
- this.splice(i, 1)
57
- i--
52
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
53
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
54
+ value: function () {
55
+ for (var i = 0; i < this.length; i++) {
56
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
57
+ this.splice(i, 1)
58
+ i--
59
+ }
58
60
  }
59
- }
60
- return this
61
- }
61
+ return this
62
+ },
63
+ enumerable: false,
64
+ writable: true,
65
+ configurable: true
66
+ })
62
67
  },
63
68
  // 合并二维数组并去空
64
69
  mergeRowData (rowsdata) {
@@ -50,16 +50,21 @@
50
50
  },
51
51
  methods: {
52
52
  arrAddFun () {
53
- // 拓展数组去空值的方法
54
- Array.prototype.removeEmpty = function () {
55
- for (var i = 0; i < this.length; i++) {
56
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
57
- this.splice(i, 1)
58
- i--
53
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
54
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
55
+ value: function () {
56
+ for (var i = 0; i < this.length; i++) {
57
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
58
+ this.splice(i, 1)
59
+ i--
60
+ }
59
61
  }
60
- }
61
- return this
62
- }
62
+ return this
63
+ },
64
+ enumerable: false,
65
+ writable: true,
66
+ configurable: true
67
+ })
63
68
  },
64
69
  // 合并二维数组并去空
65
70
  mergeRowData (rowsdata) {
@@ -50,16 +50,21 @@
50
50
  },
51
51
  methods: {
52
52
  arrAddFun () {
53
- // 拓展数组去空值的方法
54
- Array.prototype.removeEmpty = function () {
55
- for (var i = 0; i < this.length; i++) {
56
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
57
- this.splice(i, 1)
58
- i--
53
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
54
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
55
+ value: function () {
56
+ for (var i = 0; i < this.length; i++) {
57
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
58
+ this.splice(i, 1)
59
+ i--
60
+ }
59
61
  }
60
- }
61
- return this
62
- }
62
+ return this
63
+ },
64
+ enumerable: false,
65
+ writable: true,
66
+ configurable: true
67
+ })
63
68
  },
64
69
  // 合并二维数组并去空
65
70
  mergeRowData (rowsdata) {
@@ -62,16 +62,21 @@
62
62
  this.files = value
63
63
  },
64
64
  arrAddFun () {
65
- // 拓展数组去空值的方法
66
- Array.prototype.removeEmpty = function () {
67
- for (var i = 0; i < this.length; i++) {
68
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
69
- this.splice(i, 1)
70
- i--
65
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
66
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
67
+ value: function () {
68
+ for (var i = 0; i < this.length; i++) {
69
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
70
+ this.splice(i, 1)
71
+ i--
72
+ }
71
73
  }
72
- }
73
- return this
74
- }
74
+ return this
75
+ },
76
+ enumerable: false,
77
+ writable: true,
78
+ configurable: true
79
+ })
75
80
  },
76
81
  async save () {
77
82
  var edititem = []
@@ -54,16 +54,21 @@
54
54
  },
55
55
  methods: {
56
56
  arrAddFun () {
57
- // 拓展数组去空值的方法
58
- Array.prototype.removeEmpty = function () {
59
- for (var i = 0; i < this.length; i++) {
60
- if (this[i] == '' || typeof (this[i]) == 'undefined') {
61
- this.splice(i, 1)
62
- i--
57
+ // 拓展数组去空值的方法(不可枚举,避免污染 for...in 遍历)
58
+ Object.defineProperty(Array.prototype, 'removeEmpty', {
59
+ value: function () {
60
+ for (var i = 0; i < this.length; i++) {
61
+ if (this[i] == '' || typeof (this[i]) == 'undefined') {
62
+ this.splice(i, 1)
63
+ i--
64
+ }
63
65
  }
64
- }
65
- return this
66
- }
66
+ return this
67
+ },
68
+ enumerable: false,
69
+ writable: true,
70
+ configurable: true
71
+ })
67
72
  },
68
73
  // 合并二维数组并去空
69
74
  mergeRowData (rowsdata) {
@@ -137,7 +137,7 @@ export default {
137
137
  // 对此数据进行验证
138
138
  if (await this.validateRow(obj)) {
139
139
  // 获取未写卡或者写卡失败记录
140
- let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and (f_write_card = '未写卡' or f_write_card = '写卡失败' ) and f_userfiles_id = '${obj.f_userfiles_id}'`)
140
+ let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and (f_write_card = '未写卡' or f_write_card = '写卡失败' ) and f_operate_date >= DATEADD(HOUR, -24, GETDATE()) and f_userfiles_id = '${obj.f_userfiles_id}'`)
141
141
  console.log('获取未写卡记录', getUnWriteSell)
142
142
  if (getUnWriteSell.data.length > 1) {
143
143
  this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
package/src/main.js CHANGED
@@ -2,7 +2,7 @@ import Vue from 'vue'
2
2
  import all from 'vue-client/src/all'
3
3
  import App from './App'
4
4
  import system from 'system-clients/src/system'
5
- import FilialeSale from './filiale/bayan/sale'
5
+ import FilialeSale from './filiale/liaoyuan/sale'
6
6
  import sale from './sale'
7
7
  import address from 'address-client/src/address'
8
8
  import ldap from 'ldap-clients/src/ldap'