sale-client 3.6.237 → 3.6.238

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.
Files changed (30) hide show
  1. package/build/dev-server.js +97 -97
  2. package/package.json +1 -1
  3. package/src/components/revenue/comprehen/Bill/EticketV4/CustQueryEticket.vue +2 -3
  4. package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenCard.vue +41 -12
  5. package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenJBPage.vue +2 -3
  6. package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenPage.vue +3 -3
  7. package/src/filiale/yangchun/BlackList/BlackList.vue +335 -0
  8. package/src/filiale/yangchun/BlackList/BlackListList.vue +288 -0
  9. package/src/filiale/yangchun/BlackList/BlackListManage.vue +101 -0
  10. package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +245 -0
  11. package/src/filiale/yangchun/SpecialUserManage.vue +64 -0
  12. package/src/filiale/yangchun/sale.js +12 -0
  13. package/src/main.js +35 -33
  14. package/src/plugins/ChangeMeterService.js +1 -0
  15. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  16. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  17. package/.gradle/5.2.1/gc.properties +0 -0
  18. package/.gradle/7.4/checksums/checksums.lock +0 -0
  19. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  20. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  21. package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  22. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  23. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  24. package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  25. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  26. package/.gradle/7.4/gc.properties +0 -0
  27. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  28. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  29. package/.gradle/file-system.probe +0 -0
  30. package/.gradle/vcs-1/gc.properties +0 -0
@@ -1,97 +1,97 @@
1
- var path = require('path')
2
- const [ serverRul, localUrl ] = ['http://192.168.50.4:8400/', 'http://192.168.50.4:8400/']
3
- var merge = require('webpack-merge')
4
- var baseConfig = require('./webpack.dev.conf')
5
- var devConfig = {
6
- devServer: {
7
- contentBase: path.join(__dirname, 'src'),
8
- hot: true,
9
- publicPath: baseConfig.output.publicPath,
10
- historyApiFallback: true,
11
- host: '127.0.0.1',
12
- port: 8089,
13
- open: false,
14
- stats: {
15
- colors: false, // 配置控制台输出彩色日志
16
- chunks: false, // 不输出构建 chunk 信息
17
- children: false // 不输出子模块构建信息
18
- },
19
- proxy: {
20
- '/invoice/rs/logic/getInvoice': {
21
- target: serverRul
22
- },
23
- '/rs/file': {
24
- target: serverRul
25
- },
26
- '/webapps': {
27
- target: serverRul
28
- },
29
- '/rs/sql/singleTable': {
30
- target: serverRul
31
- },
32
- '/invoice': {
33
- target: serverRul
34
- },
35
- // 查找资源服务数据
36
- '/rs/search': {
37
- target: serverRul
38
- },
39
- // 查找资源服务数据
40
- '/rs/logic/getLogin': {
41
- target: serverRul
42
- },
43
- // 查找资源服务数据
44
- '/rs/logic/getInitData': {
45
- target: serverRul
46
- },
47
- '/rs/logic/getSaleInitData': {
48
- target: serverRul
49
- },
50
- // 用户登录服务地址
51
- '/rs/user': {
52
- target: serverRul
53
- },
54
- '/rs/path': {
55
- target: serverRul
56
- },
57
- '/rs/data': {
58
- target: serverRul
59
- },
60
- '/rs/license': {
61
- target: serverRul
62
- },
63
- '/rs/db': {
64
- target: serverRul
65
- },
66
- '/excel': {
67
- target: serverRul
68
- },
69
- '/rs/config': {
70
- target: serverRul
71
- },
72
- '/rs/report': {
73
- target: serverRul
74
- },
75
- '/rs/vue': {
76
- target: serverRul
77
- },
78
- '/rs/logic/webHandReverse': {
79
- target: 'http://localhost:8085'
80
- },
81
- '/rs/logic': {
82
- target: localUrl
83
- },
84
- '/rs/sql': {
85
- target: localUrl
86
- },
87
- '/webmeter': {
88
- target: serverRul
89
- },
90
- '/rs': {
91
- target: serverRul
92
- // changeOrigin: true
93
- }
94
- }
95
- }
96
- }
97
- module.exports = merge(baseConfig, devConfig)
1
+ var path = require('path')
2
+ const [ serverRul, localUrl ] = ['http://192.168.50.4:8400/', 'http://127.0.0.1:8080']
3
+ var merge = require('webpack-merge')
4
+ var baseConfig = require('./webpack.dev.conf')
5
+ var devConfig = {
6
+ devServer: {
7
+ contentBase: path.join(__dirname, 'src'),
8
+ hot: true,
9
+ publicPath: baseConfig.output.publicPath,
10
+ historyApiFallback: true,
11
+ host: '127.0.0.1',
12
+ port: 8089,
13
+ open: false,
14
+ stats: {
15
+ colors: false, // 配置控制台输出彩色日志
16
+ chunks: false, // 不输出构建 chunk 信息
17
+ children: false // 不输出子模块构建信息
18
+ },
19
+ proxy: {
20
+ '/invoice/rs/logic/getInvoice': {
21
+ target: serverRul
22
+ },
23
+ '/rs/file': {
24
+ target: serverRul
25
+ },
26
+ '/webapps': {
27
+ target: serverRul
28
+ },
29
+ '/rs/sql/singleTable': {
30
+ target: serverRul
31
+ },
32
+ '/invoice': {
33
+ target: serverRul
34
+ },
35
+ // 查找资源服务数据
36
+ '/rs/search': {
37
+ target: serverRul
38
+ },
39
+ // 查找资源服务数据
40
+ '/rs/logic/getLogin': {
41
+ target: serverRul
42
+ },
43
+ // 查找资源服务数据
44
+ '/rs/logic/getInitData': {
45
+ target: serverRul
46
+ },
47
+ '/rs/logic/getSaleInitData': {
48
+ target: serverRul
49
+ },
50
+ // 用户登录服务地址
51
+ '/rs/user': {
52
+ target: serverRul
53
+ },
54
+ '/rs/path': {
55
+ target: serverRul
56
+ },
57
+ '/rs/data': {
58
+ target: serverRul
59
+ },
60
+ '/rs/license': {
61
+ target: serverRul
62
+ },
63
+ '/rs/db': {
64
+ target: serverRul
65
+ },
66
+ '/excel': {
67
+ target: serverRul
68
+ },
69
+ '/rs/config': {
70
+ target: serverRul
71
+ },
72
+ '/rs/report': {
73
+ target: serverRul
74
+ },
75
+ '/rs/vue': {
76
+ target: serverRul
77
+ },
78
+ // '/rs/logic/webHandReverse': {
79
+ // target: 'http://localhost:8085'
80
+ // },
81
+ '/rs/logic': {
82
+ target: localUrl
83
+ },
84
+ '/rs/sql': {
85
+ target: localUrl
86
+ },
87
+ '/webmeter': {
88
+ target: serverRul
89
+ },
90
+ '/rs': {
91
+ target: serverRul
92
+ // changeOrigin: true
93
+ }
94
+ }
95
+ }
96
+ }
97
+ module.exports = merge(baseConfig, devConfig)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.237",
3
+ "version": "3.6.238",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  </div>
27
27
  <div style="float: right">
28
28
  <button class="button_search" @click="search()">查 询</button>
29
- <button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>
29
+ <!--<button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>-->
30
30
  <div
31
31
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
32
32
  @click="$parent.$parent.criteriaShow=!$parent.$parent.criteriaShow"
@@ -98,8 +98,7 @@
98
98
  <td style="text-align:center">{{row.f_type}}</td>
99
99
  <td style="text-align:center">{{row.f_operate_date}}</td>
100
100
  <td>
101
- <button class="btn btn-link" @click="$parent.$parent.$parent.kp(row)">开具发票
102
- </button>
101
+ <button class="btn btn-link" @click="$parent.$parent.$parent.kp(row)">开具发票</button>
103
102
  </td>
104
103
  </template>
105
104
  <template partial='foot'></template>
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  <div style="float: right">
52
52
  <button class="button_search" @click="search()">查 询</button>
53
- <button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>
53
+ <!--<button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>-->
54
54
  </div>
55
55
  </div>
56
56
  </div>
@@ -59,10 +59,10 @@
59
59
  <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
60
60
  <template partial='head'>
61
61
  <tr>
62
- <th>
63
- <input type="checkbox" @click="$parent.$parent.$parent.addOrRemove($parent.$parent.$parent.selectAll)"
64
- style="width: 22px;height: 22px" :checked="$parent.$parent.$parent.selectAll">
65
- </th>
62
+ <!--<th>-->
63
+ <!-- <input type="checkbox" @click="$parent.$parent.$parent.addOrRemove($parent.$parent.$parent.selectAll)"-->
64
+ <!-- style="width: 22px;height: 22px" :checked="$parent.$parent.$parent.selectAll">-->
65
+ <!--</th>-->
66
66
  <th>客户编号</th>
67
67
  <th>客户姓名</th>
68
68
  <th>客户地址</th>
@@ -73,14 +73,15 @@
73
73
  <th>收款部门</th>
74
74
  <th>是否开过票</th>
75
75
  <th>缴费时间</th>
76
+ <th>操作</th>
76
77
  </tr>
77
78
  </template>
78
79
  <template partial='body' :model="model">
79
80
  <tr>
80
- <td style="text-align:center">
81
- <input type="checkbox" v-model="$parent.$parent.$parent.selecteds" :value="row"
82
- style="width: 22px;height: 22px" @click="$parent.$parent.$parent.checkbox($index, $event)">
83
- </td>
81
+ <!--<td style="text-align:center">-->
82
+ <!-- <input type="checkbox" v-model="$parent.$parent.$parent.selecteds" :value="row"-->
83
+ <!-- style="width: 22px;height: 22px" @click="$parent.$parent.$parent.checkbox($index, $event)">-->
84
+ <!--</td>-->
84
85
  <th style="text-align:center">{{ row.f_userinfo_code }}</th>
85
86
  <th style="text-align:center">{{ row.f_user_name }}</th>
86
87
  <th style="text-align:center">{{ row.f_address }}</th>
@@ -91,6 +92,9 @@
91
92
  <th style="text-align:center">{{ row.f_depname }}</th>
92
93
  <th style="text-align:center">{{ row.is_bill }}</th>
93
94
  <th style="text-align:center">{{ row.f_operate_date }}</th>
95
+ <th>
96
+ <button class="btn btn-link" @click="$parent.$parent.$parent.kp(row)">开具发票</button>
97
+ </th>
94
98
  </tr>
95
99
  </template>
96
100
  </data-grid>
@@ -202,6 +206,31 @@ export default {
202
206
  search () {
203
207
  this.$refs.paged.$refs.cri.search()
204
208
  },
209
+ async kp (row) {
210
+ let HttpReset = new HttpResetClass()
211
+ let _row = await HttpReset.load('POST', 'rs/sql/sale_getUser', {
212
+ data: {
213
+ orderitem: 'f_userinfo_code',
214
+ condition: `f_userinfo_code = '${row.f_userinfo_code}'`
215
+ }
216
+ }, {resolveMsg: null, rejectMsg: '获取地址失败!'})
217
+ this.row = _row.data[0]
218
+ this.row.id = row.id
219
+ this.invoice_show_gas = this.row.f_collection_type == '按气量' ? '是' : '否'
220
+ if (!this.row.f_taxpayer_id) {
221
+ this.row.f_taxpayer_id = this.row.f_idnumber
222
+ }
223
+ if (!this.row.f_paper_name) {
224
+ this.row.f_paper_name = this.row.f_user_name
225
+ }
226
+ if (!this.row.f_address_phone) {
227
+ this.row.f_address_phone = this.row.f_address + ' ' + this.row.f_user_phone
228
+ }
229
+ if (!this.row.f_email) {
230
+ this.row.f_email = this.row.f_email
231
+ }
232
+ this.eticket_msg = true
233
+ },
205
234
  async open_eTicket () {
206
235
  if ([...new Set(this.selecteds.map(item => item.f_userinfo_code))].length > 1) {
207
236
  this.$showAlert('所选择用户不是同一用户!!', 'warning', 2000)
@@ -214,7 +243,7 @@ export default {
214
243
  //
215
244
  // }
216
245
  // })
217
- return this.$showAlert('已结算的记录不能再次结算开票','warning',3000)
246
+ return this.$showAlert('已结算的记录不能再次结算开票', 'warning', 3000)
218
247
  }
219
248
  let HttpReset = new HttpResetClass()
220
249
  let row = await HttpReset.load('POST', 'rs/sql/sale_getUser', {
@@ -234,7 +263,7 @@ export default {
234
263
  if (!this.row.f_address_phone) {
235
264
  this.row.f_address_phone = this.row.f_address + ' ' + this.row.f_user_phone
236
265
  }
237
- if(!this.row.f_email){
266
+ if (!this.row.f_email) {
238
267
  this.row.f_email = this.row.f_email
239
268
  }
240
269
  this.eticket_msg = true
@@ -242,7 +271,7 @@ export default {
242
271
  confirm () {
243
272
  this.eticket_msg = false
244
273
  this.eticket_show = true
245
- this.$refs.eticketbill.openETicket(this.selecteds.map(item => item.id), this.row, '是',this.invoice_is_pax, '结算收费')
274
+ this.$refs.eticketbill.openETicket(this.row.id, this.row, '结算收费')
246
275
  },
247
276
  selfSearch (args) {
248
277
  this.selecteds = []
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  <div style="float: right">
52
52
  <button class="button_search" @click="search()">查 询</button>
53
- <button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>
53
+ <!--<button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>-->
54
54
  </div>
55
55
  </div>
56
56
  </div>
@@ -93,8 +93,7 @@
93
93
  <th style="text-align:center">{{ row.is_bill }}</th>
94
94
  <th style="text-align:center">{{ row.f_hand_date }}</th>
95
95
  <th>
96
- <button class="btn btn-link" @click="$parent.$parent.$parent.kp(row)">开具发票
97
- </button>
96
+ <button class="btn btn-link" @click="$parent.$parent.$parent.kp(row)">开具发票</button>
98
97
  </th>
99
98
  </tr>
100
99
  </template>
@@ -50,7 +50,7 @@
50
50
  </div>
51
51
  <div style="float: right">
52
52
  <button class="button_search" @click="search()">查 询</button>
53
- <button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>
53
+ <!--<button class="button_search" @click="$parent.$parent.open_eTicket()">开票</button>-->
54
54
  </div>
55
55
  </div>
56
56
  </div>
@@ -93,8 +93,8 @@
93
93
  <th style="text-align:center">{{ row.is_bill }}</th>
94
94
  <th style="text-align:center">{{ row.f_operate_date }}</th>
95
95
  <th>
96
- <button class="btn btn-link" @click="$parent.$parent.$parent.kp(row)">开具发票
97
- </button></th>
96
+ <button class="btn btn-link" @click="$parent.$parent.$parent.kp(row)">开具发票</button>
97
+ </th>
98
98
  </tr>
99
99
  </template>
100
100
  </data-grid>