sale-client 4.2.37 → 4.2.38

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 (60) hide show
  1. package/build/dev-server.js +50 -36
  2. package/package.json +1 -1
  3. package/src/App.vue +1 -1
  4. package/src/components/charge/bzjcancel.vue +57 -4
  5. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  6. package/src/components/revenue/base/rightview/CardList.vue +2 -2
  7. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  8. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  9. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  10. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  11. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  12. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  13. package/src/filiale/bayan/StockListmain.vue +543 -543
  14. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  15. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  16. package/src/filiale/bazhong/sale.js +8 -8
  17. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  18. package/src/filiale/jinhong/CardList.vue +2 -2
  19. package/src/filiale/jinhong/GarbageCharge.vue +4 -5
  20. package/src/filiale/jinhong/machineHand.vue +2099 -2099
  21. package/src/filiale/jinhong/plugins/GetSaleParams.js +302 -302
  22. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  23. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  24. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  25. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  26. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  27. package/src/filiale/ronghao/CardService.js +2144 -2144
  28. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  29. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  30. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  31. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  32. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  33. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  34. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  35. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  36. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  37. package/src/filiale/ronghao/Upload.vue +654 -654
  38. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  39. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  40. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  41. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  42. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  43. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  44. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  45. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  46. package/src/filiale/ronghao/specificInformation.vue +537 -537
  47. package/src/filiale/yangchun/ChargeList.vue +954 -954
  48. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  49. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  50. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  51. package/src/main.js +1 -1
  52. package/src/plugins/CardService.js +2217 -2217
  53. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  54. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  55. package/.gradle/5.2.1/gc.properties +0 -0
  56. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  57. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  58. package/.gradle/vcs-1/gc.properties +0 -0
  59. package/hs_err_pid32452.log +0 -625
  60. package/hs_err_pid36896.log +0 -249
@@ -1,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://192.168.50.67:31567/']
4
+ const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://127.0.0.1:9026']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
@@ -19,48 +19,62 @@ var devConfig = {
19
19
  children: false // 不输出子模块构建信息
20
20
  },
21
21
  proxy: {
22
- // '/api/af-revenue/batchdeduction/all': {
23
- // pathRewrite: {
24
- // '/api/af-revenue/batchdeduction/all': '/batchdeduction/all'
25
- // },
26
- // target: localUrl
27
- // },
28
- // '/api/af-revenue/logic': {
29
- // pathRewrite: {
30
- // '/api/af-revenue/logic': '/logic'
31
- // },
32
- // target: localUrl
33
- // },
34
- // '/api/af-revenue/file': {
35
- // // pathRewrite: {
36
- // // '/api/af-revenue/file': '/file'
37
- // // },
38
- // target: localUrl
39
- // },
40
- // '/weixin2/rs':{
41
- //
42
- // target: 'http://410663id1ia4.vicp.fun'
43
- // },
44
- // '/api/af-revenue/sql': {
45
- // pathRewrite: {
46
- // '/api/af-revenue/sql': '/sql'
47
- // },
48
- // target: localUrl
49
- // },
50
- '/rs/pay': {
51
- target: 'http://localhost:8080'
22
+ '/api/af-revenue/logic/depositCharge': {
23
+ pathRewrite: {
24
+ '/api/af-revenue/logic': '/logic'
25
+ },
26
+ target: 'http://127.0.0.1:9026'
52
27
  },
53
- '/api/af-revenue': {
28
+ '/api/af-revenue/logic': {
54
29
  pathRewrite: {
55
- '/api/af-revenue': '/af-revenue'
30
+ '/api/af-revenue/logic': '/logic'
56
31
  },
57
- target: "http://localhost:8080"
32
+ target: localUrl
58
33
  },
59
- '/api': {
34
+ '/api/af-revenue/file': {
35
+ pathRewrite: {
36
+ '/api/af-revenue/file': '/file'
37
+ },
38
+ target: localUrl
39
+ },
40
+ 'api/af-revenue/entity/save': {
41
+ pathRewrite: {
42
+ '/api/af-revenue/entity/save': '/entity/save'
43
+ },
44
+ target: localUrl
45
+ },
46
+ '/singlepage': {
47
+ // pathRewrite: {
48
+ // '/weixin2/rs': '/rs'
49
+ // },
50
+ target: localUrl
51
+ },
52
+ '/weixin2/rs': {
53
+ pathRewrite: {
54
+ '/weixin2/rs': '/singlepage/weixin2/rs'
55
+ },
56
+ target: localUrl
57
+ },
58
+ '/api/af-revenue/sql': {
59
+ pathRewrite: {
60
+ '/api/af-revenue/sql': '/sql'
61
+ },
62
+ target: localUrl
63
+ },
64
+ '/rs/pay': {
60
65
  target: serverRul
61
66
  },
67
+ '/api': {
68
+ target: serverRul,
69
+ changeOrigin: true
70
+ },
71
+ '/resource': {
72
+ target: serverRul,
73
+ changeOrigin: true
74
+ },
62
75
  '/rs': {
63
- target: serverRul
76
+ target: serverRul,
77
+ changeOrigin: true
64
78
  }
65
79
  }
66
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.37",
3
+ "version": "4.2.38",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/App.vue CHANGED
@@ -10,7 +10,7 @@
10
10
  </template>
11
11
 
12
12
  <script>
13
- import Vue from 'vue'
13
+ // import Vue from 'vue'
14
14
 
15
15
  export default {
16
16
  ready () {
@@ -38,6 +38,17 @@
38
38
  </div>
39
39
  </div>
40
40
  <div class="row" style="margin-top:10px;" v-if="model.f_type == '卡表退费'">
41
+ <div class="col-sm-4 form-group">
42
+ <label for="f_print" class="font_normal_body">打印格式</label>
43
+ <v-select id="print"
44
+ v-model="model.f_print"
45
+ style="width:60%"
46
+ placeholder='请选择'
47
+ :value.sync="model.f_print"
48
+ :options='printstyle'
49
+ close-on-select clear-button>
50
+ </v-select>
51
+ </div>
41
52
  <div class="col-sm-4 form-group" :class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">
42
53
  <label for="f_pregas" class="font_normal_body">退费气量</label>
43
54
  <input class="input_search" style="width:60%" type="number"
@@ -61,7 +72,8 @@
61
72
  <button class="button_clear btn-gn" @click="clean()">取消</button>
62
73
  </div>
63
74
  </validator>
64
- <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
75
+ <validate-bill v-if="hasValidateBill" :data="row" @validate-bill="validateBill"></validate-bill>
76
+ <print-bill :show="print" :bill-config='config' :bill-data='billData' @toggle="clean" @printok="printok" :data='row' v-ref:printbill></print-bill>
65
77
  <modal :show.sync="modalShow" v-ref:modalShow backdrop="false">
66
78
  <article slot="modal-body" class="modal-body">
67
79
  <div class="modal_class flex">
@@ -109,6 +121,13 @@
109
121
 
110
122
 
111
123
  <script>
124
+ let readyGen = async function (self) {
125
+ await self.$getConfig(self, 'OtherRefundConfig')
126
+ self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
127
+ self.model.f_payment = [self.config.payment]
128
+ self.hasValidateBill = self.config.hasBillManage
129
+ console.log('其他退费config', self.config, self.model)
130
+ }
112
131
  export default {
113
132
  title: '退保证金',
114
133
  data () {
@@ -116,9 +135,17 @@
116
135
  model: {
117
136
  f_refund_fee: '',
118
137
  f_comments: '',
138
+ f_print: '',
139
+ f_payment: '',
119
140
  f_price: 0,
120
141
  f_pregas: 0
121
142
  },
143
+ config: {
144
+ hasPrint: false, // 默认打票
145
+ hasBillManage: false, // 默认不启用发票管理
146
+ printType: '普通收据',
147
+ payment: '现金缴费'
148
+ },
122
149
  dis: false,
123
150
  blodid: '',
124
151
  hasValidateBill: false,
@@ -142,11 +169,13 @@
142
169
  modalData: {
143
170
  rows: []
144
171
  },
145
- modalShow: false
172
+ modalShow: false,
173
+ printstyle: this.$appdata.getParam('打印格式')
146
174
  }
147
175
  },
148
176
  props: ['row'],
149
177
  ready () {
178
+ readyGen(this)
150
179
  },
151
180
  watch: {
152
181
  async 'model.f_type' (val) {
@@ -279,12 +308,36 @@
279
308
  } else {
280
309
  url = 'api/af-revenue/logic/yajincancel'
281
310
  }
282
- await this.$resetpost(url, {data: param}, {
311
+ let res = await this.$resetpost(url, {data: param}, {
283
312
  warnMsg: `确定要进行${this.model.f_type}操作吗?`,
284
313
  resolveMsg: `${this.model.f_type}操作成功!!`,
285
314
  rejectMsg: `${this.model.f_type}操作失败!!请重试!!`
286
315
  })
287
- this.$dispatch('success')
316
+ if (this.model.f_type == '卡表退费') {
317
+ if (this.model.f_print.indexOf('电子发票') == -1 && this.config.hasPrint) {
318
+ console.log('this.config.hasBillManage', this.config.hasBillManage)
319
+ if (this.config.hasBillManage) {
320
+ // 启用发票管理,获取票据管理中的票号并存储记录
321
+ this.row.id = res.data.id
322
+ this.row.f_bill_type = '卡表退费'
323
+ this.row.f_bill_style = this.model.f_print[0]
324
+ this.print = true
325
+ } else {
326
+ this.row.id = res.data.id
327
+ this.print = true
328
+ }
329
+ } else if (this.config.printType === '国税发票') {
330
+ // TODO
331
+ this.$dispatch('success')
332
+ } else if (this.config.printType === '电子发票') {
333
+ // TODO
334
+ this.$dispatch('success')
335
+ } else {
336
+ this.$dispatch('success')
337
+ }
338
+ } else {
339
+ this.$dispatch('success')
340
+ }
288
341
  }
289
342
  },
290
343
  clean () {