sale-client 3.6.145 → 3.6.147

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 (137) hide show
  1. package/build/dev-server.js +4 -1
  2. package/package.json +2 -2
  3. package/src/components/FilesManage/FileUserFiles.vue +1 -10
  4. package/src/components/FilesManage/MeterinfoTest.vue +2 -2
  5. package/src/components/FilesManageNew/FileUserFiles.vue +1 -8
  6. package/src/components/SellGasCharge/MeterChargeforUser/ChargeUserCenter.vue +3 -3
  7. package/src/components/WechatManage/OutLets.vue +8 -8
  8. package/src/components/archives/UserfilesList.vue +1 -8
  9. package/src/components/charge/business/depositCharge/DepositCharge.vue +1 -1
  10. package/src/components/charge/business/machine/MachineCharge.vue +1 -1
  11. package/src/components/charge/business/machine/MachineMeterCenter.vue +3 -3
  12. package/src/components/charge/business/machine/MachineMeterPartCenter.vue +11 -11
  13. package/src/components/charge/business/machine/MachinePartCharge.vue +1 -1
  14. package/src/components/chargeBatch/BatchChargeDetail.vue +1 -1
  15. package/src/components/chargeBatch/ChargeGroupList.vue +1 -1
  16. package/src/components/chargeBatch/OweRecordQuery.vue +1 -1
  17. package/src/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +3 -3
  18. package/src/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +1 -1
  19. package/src/components/common/userinfo_detail/ic_detail/WebChargeQueryUser.vue +1 -1
  20. package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
  21. package/src/components/revenue/Common/PaymentCode.vue +3 -2
  22. package/src/components/revenue/HandManager/OverdueSet.vue +2 -2
  23. package/src/components/revenue/HandManager/OverdueSetList.vue +3 -3
  24. package/src/components/revenue/HandManager/OverdueSetUser.vue +1 -1
  25. package/src/components/revenue/bank/bankOffer.vue +2 -2
  26. package/src/components/revenue/cardHandManage/cardsHand.vue +1 -8
  27. package/src/components/revenue/changeInsurance/InsuranceList.vue +1 -8
  28. package/src/components/revenue/comprehen/ComprehenOperation/RefundManage/RefundManage.vue +1 -1
  29. package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +2 -2
  30. package/src/components/revenue/comprehen/Message/TemplateMessage.vue +2 -2
  31. package/src/components/revenue/comprehen/Message/UserDefinedMessageNew.vue +2 -9
  32. package/src/components/revenue/comprehen/batch/batchEditFiles.vue +1 -1
  33. package/src/components/revenue/comprehen/batch/batchEditManage.vue +1 -1
  34. package/src/components/revenue/comprehen/closeaccount/Closeaccount.vue +1 -1
  35. package/src/components/revenue/comprehen/closeaccount/battchcancelaudit.vue +1 -1
  36. package/src/components/revenue/comprehen/common/ImportExcel.vue +1 -8
  37. package/src/components/revenue/comprehen/ovdue/Overduetax.vue +6 -6
  38. package/src/components/revenue/invoiceuse/InvoiceUse.vue +1 -8
  39. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +3 -3
  40. package/src/components/revenue/machineHandManage/HandplanQuery.vue +2 -2
  41. package/src/components/revenue/machineHandManage/machineHand.vue +1 -8
  42. package/src/components/webMeter/webInfo/WebMeterList.vue +1 -8
  43. package/src/components/webMeter/webInfo/qinhua/WebMeterList.vue +1 -8
  44. package/src/filiale/Baole/FilesManage/MeterinfoTest.vue +2 -2
  45. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -10
  46. package/src/filiale/ancheng/FilesManage/MeterinfoTest.vue +2 -2
  47. package/src/filiale/ancheng/FilesManageNew/FileUserFiles.vue +1 -8
  48. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -10
  49. package/src/filiale/daliyihua/MeterinfoTest.vue +2 -2
  50. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -10
  51. package/src/filiale/dongguan/components/FilesManage/MeterinfoTest.vue +2 -2
  52. package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +1 -1
  53. package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +1 -1
  54. package/src/filiale/foric-v3/MaterialsList.vue +1 -8
  55. package/src/filiale/fugu/components/BlackList/BlackListList.vue +1 -8
  56. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -10
  57. package/src/filiale/gehua/ChargeGroupList.vue +1 -1
  58. package/src/filiale/gehua/DepositCharge.vue +1 -1
  59. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -8
  60. package/src/filiale/gehua/FileUserFiles.vue +1 -10
  61. package/src/filiale/gehua/MachineMeterCenter.vue +3 -3
  62. package/src/filiale/gehua/MeterinfoTest.vue +2 -2
  63. package/src/filiale/gehua/machineHandManage/HandplanQuery.vue +2 -2
  64. package/src/filiale/guangxi/MachineMeterCenter.vue +2 -2
  65. package/src/filiale/haile/ArrearsQuery.vue +3 -3
  66. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -10
  67. package/src/filiale/haile/FilesManage/MeterinfoTest.vue +2 -2
  68. package/src/filiale/haile/MachineMeterCenter.vue +3 -3
  69. package/src/filiale/haile/machineHand.vue +1 -8
  70. package/src/filiale/haile/machineHandManage/ArrearsQuery.vue +3 -3
  71. package/src/filiale/huayin/FileUserFiles.vue +1 -10
  72. package/src/filiale/huayin/MachineMeterCenter.vue +3 -3
  73. package/src/filiale/huayin/MeterinfoTest.vue +2 -2
  74. package/src/filiale/jingwei/CardHand.vue +1 -8
  75. package/src/filiale/jinjiang/MachineMeterCenter.vue +2 -2
  76. package/src/filiale/kelai/FileUserFiles.vue +9 -8
  77. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -10
  78. package/src/filiale/kelai/MachineMeterCenter.vue +3 -3
  79. package/src/filiale/kelai/MeterinfoTest.vue +2 -2
  80. package/src/filiale/konggang/FileUserFiles.vue +1 -10
  81. package/src/filiale/macheng/MachineMeterCenter.vue +2 -2
  82. package/src/filiale/macheng/ic_detail/HandQueryUser.vue +1 -1
  83. package/src/filiale/macheng/ic_detail/WebHandQueryUser.vue +1 -1
  84. package/src/filiale/meihekou/FileUserFiles.vue +1 -10
  85. package/src/filiale/meihekou/batch/batchEditFiles.vue +1 -1
  86. package/src/filiale/meihekou/batch/batchEditManage.vue +1 -1
  87. package/src/filiale/ningjin/FileUserFiles.vue +1 -10
  88. package/src/filiale/ningjin/HandplanQuery.vue +2 -2
  89. package/src/filiale/ningjin/machineHand.vue +1 -8
  90. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -8
  91. package/src/filiale/qianneng/archives/UserfilesList.vue +1 -8
  92. package/src/filiale/qianneng/chargeBatch/ChargeGroupList.vue +1 -1
  93. package/src/filiale/qianneng/chargeBatch/OweRecordQuery.vue +1 -1
  94. package/src/filiale/qianneng/revenue/common/ic_detail/ChargeQueryUser.vue +1 -1
  95. package/src/filiale/qianneng/revenue/common/ic_detail/HandQueryUser.vue +1 -1
  96. package/src/filiale/qingtongxia/MachineCharge.vue +1 -1
  97. package/src/filiale/qingtongxia/MachineMeterCenter.vue +3 -3
  98. package/src/filiale/rizhao/FileUserFiles.vue +1 -10
  99. package/src/filiale/rongcheng/business/depositCharge/DepositCharge.vue +1 -1
  100. package/src/filiale/rongcheng/business/machine/MachineCharge.vue +1 -1
  101. package/src/filiale/rongcheng/business/machine/MachineMeterCenter.vue +3 -3
  102. package/src/filiale/rongcheng/business/machine/MachineMeterPartCenter.vue +11 -11
  103. package/src/filiale/rongcheng/business/machine/MachinePartCharge.vue +1 -1
  104. package/src/filiale/rongchuang/DepositCharge.vue +1 -1
  105. package/src/filiale/shanggao/FileUserFiles.vue +1 -10
  106. package/src/filiale/shangluo/MachineMeterCenter.vue +3 -3
  107. package/src/filiale/shangluo/MeterinfoTest.vue +2 -2
  108. package/src/filiale/shanxian/WebMeterList.vue +1 -8
  109. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -10
  110. package/src/filiale/shanxian/components/FilesManage/MeterinfoTest.vue +2 -2
  111. package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +1 -8
  112. package/src/filiale/shanxian/components/revenue/InsuranceList.vue +1 -8
  113. package/src/filiale/shexian/ChargeQueryUser.vue +1 -1
  114. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -10
  115. package/src/filiale/shexian/FilesManage/MeterinfoTest.vue +2 -2
  116. package/src/filiale/shiquan/WebMeterList.vue +1 -8
  117. package/src/filiale/tongchuan/WebMeterList.vue +1 -8
  118. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +1 -1
  119. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/HandQueryUser.vue +1 -1
  120. package/src/filiale/wenxi/ChargeQueryUser.vue +1 -1
  121. package/src/filiale/wenxi/FileUserFiles.vue +1 -10
  122. package/src/filiale/wenxi/HandplanQuery.vue +2 -2
  123. package/src/filiale/wenxi/MeterinfoTest.vue +2 -2
  124. package/src/filiale/wenxi/cardsHand.vue +1 -8
  125. package/src/filiale/wuan/FileUserFiles.vue +1 -10
  126. package/src/filiale/xiangyun/machineHand.vue +1 -8
  127. package/src/filiale/xinkang/ChargeQueryUser.vue +1 -1
  128. package/src/filiale/xinkang/MeterinfoTest.vue +2 -2
  129. package/src/filiale/yuansheng/MeterinfoTest.vue +2 -2
  130. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -10
  131. package/src/filiale/zhongyi/FileUserFiles.vue +1 -8
  132. package/src/filiale/zhongyi/HandplanQuery.vue +2 -2
  133. package/src/filiale/zhongyi/cardsHand.vue +1 -8
  134. package/src/filiale/zhongyi/machineHand.vue +1 -8
  135. package/src/main.js +4 -3
  136. package/src/plugins/FileDownload.js +44 -0
  137. package/src/sale.js +2 -0
@@ -1,5 +1,5 @@
1
1
  var path = require('path')
2
- const [ serverRul, localUrl ] = ['https://qnjtkf.cn:7401/', 'https://qnjtkf.cn:7401/']
2
+ const [ serverRul, localUrl ] = ['http://121.36.60.63:8300/', 'http://121.36.60.63:8300/']
3
3
  var merge = require('webpack-merge')
4
4
  var baseConfig = require('./webpack.dev.conf')
5
5
  var devConfig = {
@@ -20,6 +20,9 @@ var devConfig = {
20
20
  '/rs/file': {
21
21
  target: serverRul
22
22
  },
23
+ '/webapps': {
24
+ target: serverRul
25
+ },
23
26
  '/rs/sql/singleTable': {
24
27
  target: serverRul
25
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.145",
3
+ "version": "3.6.147",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -24,6 +24,7 @@
24
24
  "qrcodejs2": "0.0.2",
25
25
  "vue": "^1.0.17",
26
26
  "webpack-dev-server": "^2.11.5",
27
+ "vue-client": "1.24.113",
27
28
  "yarn": "^1.22.10"
28
29
  },
29
30
  "devDependencies": {
@@ -91,7 +92,6 @@
91
92
  "style-loader": "^0.20.3",
92
93
  "system-clients": "3.2.61",
93
94
  "url-loader": "^0.5.7",
94
- "vue-client": "1.24.101",
95
95
  "vue-clipboard2": "0.3.1",
96
96
  "vue-hot-reload-api": "^1.2.0",
97
97
  "vue-html-loader": "^1.0.0",
@@ -648,16 +648,7 @@ let loadParamGem = async function (self) {
648
648
  },
649
649
  downloadFiles(){
650
650
  let downurl='rs/downloadfile/file?filename=批量建档导出Excel模板';
651
- this.$resetget(downurl,{}).then(res=>{
652
- var link = document.createElement('a');
653
- link.target="_blank"
654
- link.href =downurl ;
655
- link.setAttribute("download", "批量建档导出Excel模板.xlsx"); //指定下载后的文件名,防跳转
656
- document.body.appendChild(link);
657
- link.click();
658
- })
659
-
660
-
651
+ this.$downFile(downurl,'批量建档导出Excel模板.xlsx')
661
652
  },
662
653
  /**
663
654
  * 退出用户详细信息页面
@@ -353,9 +353,9 @@
353
353
  <input type="text" style="width:60%" v-model="row.f_comments" class="input_search" placeholder="备注"/>
354
354
  </div>
355
355
  <div class="col-sm-4 form-group" v-if="config.overduesetShow">
356
- <label class="font_normal_body">滞纳金规则</label>
356
+ <label class="font_normal_body">违约金规则</label>
357
357
  <v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
358
- :options='overdueset' placeholder='滞纳金规则'
358
+ :options='overdueset' placeholder='违约金规则'
359
359
  close-on-select></v-select>
360
360
  </div>
361
361
 
@@ -428,14 +428,7 @@ let loadParamGem = async function (self) {
428
428
  methods: {
429
429
  downloadFiles(){
430
430
  let downurl='rs/downloadfile/file?filename=预备户批量建档导入Excel模板';
431
- this.$resetget(downurl,{}).then(res=>{
432
- var link = document.createElement('a');
433
- link.target="_blank"
434
- link.href =downurl ;
435
- link.setAttribute("download", "预备户批量建档导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
436
- document.body.appendChild(link);
437
- link.click();
438
- })
431
+ this.$downFile(downurl,'预备户批量建档导入Excel模板.xlsx')
439
432
  },
440
433
  close () {
441
434
  this.printflag = false
@@ -57,9 +57,9 @@
57
57
  </div>
58
58
  <div class="form-group">
59
59
  <div class="col-sm-6 form-input-group">
60
- <label for="f_overdue" class="control-label col-sm-3">滞纳金:</label>
60
+ <label for="f_overdue" class="control-label col-sm-3">违约金:</label>
61
61
  <!-- <span class="col-sm-2 form-control-static">{{model.f_totalcost}}</span> -->
62
- <input class="form-control col-sm-3" type="number" v-model="model.f_overdue" placeholder="滞纳金" disabled>
62
+ <input class="form-control col-sm-3" type="number" v-model="model.f_overdue" placeholder="违约金" disabled>
63
63
  </div>
64
64
  <div class="col-sm-6 form-input-group">
65
65
  <label for="f_totalcost" class=" col-sm-3 control-label">应收金额:</label>
@@ -166,7 +166,7 @@
166
166
  computed: {
167
167
  'curbalance' () {
168
168
  let account = 0
169
- // 判断是否有滞纳金,第一笔没有滞纳金,说明所有欠费都没有滞纳金
169
+ // 判断是否有违约金,第一笔没有违约金,说明所有欠费都没有违约金
170
170
  if (this.model.rows.length === 0 || this.model.rows.length > 0 && this.model.rows.overdue <= 0) {
171
171
  account = (this.model.f_collection - 0) + this.model.f_balance
172
172
  } else {
@@ -373,12 +373,12 @@
373
373
  },
374
374
  confirm () {
375
375
  this.data.f_overdue = this.newOverdue
376
- console.log(this.data.f_overdue, this.data.f_last_overdue, '滞纳金')
377
- // 未滞纳金修改添加,将修改的值,原因添加到this.data.logicmodel中
376
+ console.log(this.data.f_overdue, this.data.f_last_overdue, '违约金')
377
+ // 未违约金修改添加,将修改的值,原因添加到this.data.logicmodel中
378
378
  // 如果有变更原因说明有变更
379
379
  if (this.f_cause && this.f_cause.length > 0) {
380
- this.data.f_paydelaypay = this.f_paydelaypay // 应缴滞纳金
381
- this.data.f_delaypay = this.f_delaypay // 实缴滞纳金
380
+ this.data.f_paydelaypay = this.f_paydelaypay // 应缴违约金
381
+ this.data.f_delaypay = this.f_delaypay // 实缴违约金
382
382
  this.data.f_cause = this.f_cause // 变更原因
383
383
  }
384
384
  this.$showMessage(`确定对用户${this.row.f_user_name}进行机表缴费吗?`, ['confirm', 'cancel']).then((res) => {
@@ -406,10 +406,10 @@
406
406
  this.clean()
407
407
  },
408
408
  changeOverdue (val, reason) {
409
- this.$set('f_paydelaypay', this.newOverdue) // 应交滞纳金
410
- this.newOverdue = val // 实缴滞纳金
411
- this.$set('f_delaypay', this.newOverdue) // 实缴滞纳金
412
- this.$set('f_cause', this.reason) // 实缴滞纳金
409
+ this.$set('f_paydelaypay', this.newOverdue) // 应交违约金
410
+ this.newOverdue = val // 实缴违约金
411
+ this.$set('f_delaypay', this.newOverdue) // 实缴违约金
412
+ this.$set('f_cause', this.reason) // 实缴违约金
413
413
  this.calOverdue()
414
414
  },
415
415
  updateConfirm () {
@@ -190,14 +190,7 @@ export default {
190
190
  methods: {
191
191
  downloadFiles () {
192
192
  let downurl = 'rs/downloadfile/file?filename=团缴用户导入模板'
193
- this.$resetget(downurl, {}).then(res => {
194
- var link = document.createElement('a')
195
- link.target = '_blank'
196
- link.href = downurl
197
- link.setAttribute('download', '团缴用户导入模板.xlsx')
198
- document.body.appendChild(link)
199
- link.click()
200
- })
193
+ this.$downFile(downurl,'团缴用户导入模板.xlsx')
201
194
  },
202
195
  clickupshow () {
203
196
  this.upshow = !this.upshow
@@ -258,7 +258,7 @@
258
258
  validateOk: false,
259
259
  handid: '',
260
260
  showOverdueModal: false,
261
- editOverdue: this.$login.r.includes('滞纳金修改'),
261
+ editOverdue: this.$login.r.includes('违约金修改'),
262
262
  paytype: this.$appdata.getParam('付款方式') ? this.$appdata.getParam('付款方式') : [],
263
263
  printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
264
264
  privilegeList: [{label: '无优惠', value: '0'}],
@@ -143,7 +143,7 @@
143
143
  }
144
144
  this.model.f_collection = this.model.f_collection < 0 ? 0 : this.model.f_collection
145
145
  },
146
- // 获取欠费里面有滞纳金的最大的一笔欠费的角标
146
+ // 获取欠费里面有违约金的最大的一笔欠费的角标
147
147
  getMaxIndex (val) {
148
148
  if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
149
149
  return val.findIndex((item) => { return item.f_oughtfee < 0 })
@@ -35,7 +35,7 @@
35
35
  <input class="input_search" style="width:60%" type="number" v-model="newOverdue"
36
36
  v-scale="[newOverdue,2]" placeholder="违约金"
37
37
  disabled>
38
- <!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('滞纳金修改')">修改</button>-->
38
+ <!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('违约金修改')">修改</button>-->
39
39
  </div>
40
40
  </div>
41
41
  <div class="row" style="padding-top: 0.5em;" >
@@ -150,7 +150,7 @@
150
150
  <!--<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">-->
151
151
  <!--<header slot="modal-header" class="modal-header">-->
152
152
  <!--<button type="button" class="close" @click="closeOverdue"><span>&times;</span></button>-->
153
- <!--<h4 class="modal-title">修改滞纳金</h4>-->
153
+ <!--<h4 class="modal-title">修改违约金</h4>-->
154
154
  <!--</header>-->
155
155
  <!--<article slot="modal-body" class="modal-body">-->
156
156
  <!--<validator name='m'>-->
@@ -336,7 +336,7 @@ let asyncMachineMeterCenter = async function (self) {
336
336
  validateOk: false,
337
337
  handid: '',
338
338
  showOverdueModal: false,
339
- editOverdue: this.$login.r.includes('滞纳金修改'),
339
+ editOverdue: this.$login.r.includes('违约金修改'),
340
340
  paytype: [],
341
341
  printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
342
342
  privilegeList: [{label: '无优惠', value: '0'}],
@@ -35,7 +35,7 @@
35
35
  <input class="input_search" style="width:60%" type="number" v-model="newOverdue"
36
36
  v-scale="[newOverdue,2]" placeholder="违约金" @blur="calOverdue()"
37
37
  disabled>
38
- <button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('滞纳金修改')">修改</button>
38
+ <button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('违约金修改')">修改</button>
39
39
  </div>
40
40
  </div>
41
41
  <div class="row" style="padding-top: 0.5em;">
@@ -107,7 +107,7 @@
107
107
  <modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">
108
108
  <header slot="modal-header" class="modal-header">
109
109
  <button type="button" class="close" @click="close"><span>&times;</span></button>
110
- <h4 class="modal-title">修改滞纳金</h4>
110
+ <h4 class="modal-title">修改违约金</h4>
111
111
  </header>
112
112
  <article slot="modal-body" class="modal-body">
113
113
  <div class="form-group">
@@ -241,7 +241,7 @@
241
241
  otherprice: '',
242
242
  handid: '',
243
243
  showOverdueModal: false,
244
- editOverdue: this.$login.r.includes('滞纳金修改'),
244
+ editOverdue: this.$login.r.includes('违约金修改'),
245
245
  paytype: this.$appdata.getParam('付款方式') ? this.$appdata.getParam('付款方式') : [],
246
246
  printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : []
247
247
  }
@@ -314,12 +314,12 @@
314
314
  },
315
315
  confirm () {
316
316
  this.data.f_overdue = this.newOverdue
317
- console.log(this.data.f_overdue, this.data.f_last_overdue, '滞纳金')
318
- // 未滞纳金修改添加,将修改的值,原因添加到this.data.logicmodel中
317
+ console.log(this.data.f_overdue, this.data.f_last_overdue, '违约金')
318
+ // 未违约金修改添加,将修改的值,原因添加到this.data.logicmodel中
319
319
  // 如果有变更原因说明有变更
320
320
  if (this.f_cause && this.f_cause.length > 0) {
321
- this.data.f_paydelaypay = this.f_paydelaypay // 应缴滞纳金
322
- this.data.f_delaypay = this.f_delaypay // 实缴滞纳金
321
+ this.data.f_paydelaypay = this.f_paydelaypay // 应缴违约金
322
+ this.data.f_delaypay = this.f_delaypay // 实缴违约金
323
323
  this.data.f_cause = this.f_cause // 变更原因
324
324
  }
325
325
  if (this.data.f_collection <= 0) {
@@ -354,10 +354,10 @@
354
354
  this.clean()
355
355
  },
356
356
  changeOverdue (val, reason) {
357
- this.$set('f_paydelaypay', this.newOverdue) // 应交滞纳金
358
- this.newOverdue = val // 实缴滞纳金
359
- this.$set('f_delaypay', this.newOverdue) // 实缴滞纳金
360
- this.$set('f_cause', this.reason) // 实缴滞纳金
357
+ this.$set('f_paydelaypay', this.newOverdue) // 应交违约金
358
+ this.newOverdue = val // 实缴违约金
359
+ this.$set('f_delaypay', this.newOverdue) // 实缴违约金
360
+ this.$set('f_cause', this.reason) // 实缴违约金
361
361
  this.calOverdue()
362
362
  }
363
363
  },
@@ -114,7 +114,7 @@
114
114
  }
115
115
  this.model.f_collection = this.config.floor ? Math.floor(this.model.f_totalcost - 0) : this.model.f_totalcost
116
116
  },
117
- // 获取欠费里面有滞纳金的最大的一笔欠费的角标
117
+ // 获取欠费里面有违约金的最大的一笔欠费的角标
118
118
  getMaxIndex (val) {
119
119
  if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
120
120
  return val.findIndex((item) => { return item.f_oughtfee < 0 })
@@ -18,7 +18,7 @@
18
18
  <span class = "col-sm-2" style="text-align:left">{{model.f_preamount}}</span>
19
19
  </div>
20
20
  <div class="row">
21
- <label class = "col-sm-4">滞纳金额:</label>
21
+ <label class = "col-sm-4">违约金额:</label>
22
22
  <span class = "col-sm-2" style="text-align:left">{{model.f_delaypay}}</span>
23
23
  <label class = "col-sm-4">实收金额:</label>
24
24
  <span class = "col-sm-2" style="text-align:left">{{model.f_collection}}</span>
@@ -192,7 +192,7 @@ export default {
192
192
  'f_oughtfee': '用气金额',
193
193
  'f_debt_money': '已交金额',
194
194
  'f_oughtfee_new': '应交气费',
195
- 'overdue': '滞纳金',
195
+ 'overdue': '违约金',
196
196
  'f_oughtfee_all': '合计欠费'
197
197
  }
198
198
  },
@@ -16,7 +16,7 @@
16
16
  <th><nobr>用气金额</nobr></th>
17
17
  <th><nobr>已交金额</nobr></th>
18
18
  <th><nobr>应交气费</nobr></th>
19
- <th><nobr>滞纳金</nobr></th>
19
+ <th><nobr>违约金</nobr></th>
20
20
  <th><nobr>合计欠费</nobr></th>
21
21
  </tr>
22
22
  </template>
@@ -90,7 +90,7 @@
90
90
  <nobr>气费金额</nobr>
91
91
  </th>
92
92
  <th>
93
- <nobr>滞纳金</nobr>
93
+ <nobr>违约金</nobr>
94
94
  </th>
95
95
  <th>
96
96
  <nobr>减免金额</nobr>
@@ -479,7 +479,7 @@ export default {
479
479
  'f_pregas': '气量',
480
480
  'f_price': '气价',
481
481
  'f_preamount': '气费金额',
482
- 'f_delaypay': '滞纳金',
482
+ 'f_delaypay': '违约金',
483
483
  'f_jianmian': '减免金额',
484
484
  'f_balance': '上期结余',
485
485
  'f_oughtfee': '应交金额',
@@ -501,7 +501,7 @@ export default {
501
501
  'f_pregas': '气量',
502
502
  'f_price': '气价',
503
503
  'f_preamount': '气费金额',
504
- 'f_delaypay': '滞纳金',
504
+ 'f_delaypay': '违约金',
505
505
  'f_jianmian': '减免金额',
506
506
  'f_balance': '上期结余',
507
507
  'f_collection': '实收金额',
@@ -218,7 +218,7 @@
218
218
  'f_qianfei_fee': '欠费金额合计',
219
219
  'f_detailprice': '结算明细',
220
220
  'datas': '用气周期',
221
- 'money1': '滞纳金',
221
+ 'money1': '违约金',
222
222
  'price1': '单价',
223
223
  'f_oughtfee1': '应交金额',
224
224
  'f_inputtor': '抄表员',
@@ -64,7 +64,7 @@
64
64
  <th><nobr>气价</nobr></th>
65
65
  <th><nobr>气量</nobr></th>
66
66
  <th><nobr>气费金额</nobr></th>
67
- <th><nobr>滞纳金</nobr></th>
67
+ <th><nobr>违约金</nobr></th>
68
68
  <th><nobr>减免金额</nobr></th>
69
69
  <th><nobr>上期结余</nobr></th>
70
70
  <th><nobr v-if="!$parent.$parent.$parent.isIot">应交金额</nobr></th>
@@ -203,7 +203,7 @@
203
203
  'f_oughtfee': '用气金额',
204
204
  'f_detailprice': '结算明细',
205
205
  'datas': '用气周期',
206
- 'money1': '滞纳金',
206
+ 'money1': '违约金',
207
207
  'price1': '单价',
208
208
  'f_oughtfee1': '应交金额',
209
209
  'f_inputtor': '抄表员',
@@ -43,7 +43,8 @@
43
43
  // 定时器
44
44
  timer: null,
45
45
  // 收费成功id
46
- sellinggasId: null
46
+ sellinggasId: null,
47
+ canPayment: this.$appdata.getSingleValue('微信支付付款方式') ? this.$appdata.getSingleValue('微信支付付款方式') : '微信支付',
47
48
  }
48
49
  },
49
50
  created () {
@@ -56,7 +57,7 @@
56
57
  return new Promise((resolve) => {
57
58
  this.paycoderesolve = resolve
58
59
  // 如果是付款码支付则显示界面扫用户付款码收钱
59
- if (this.payment.toString().indexOf('&') !== -1) {
60
+ if (this.canPayment.indexOf(this.payment.toString()) !== -1 || this.payment.toString().indexOf('&') !== -1) {
60
61
  this.paymentCodeShow = true
61
62
  this.paycodefocus()
62
63
  } else {
@@ -12,12 +12,12 @@
12
12
  </template>
13
13
  <script>
14
14
  /**
15
- *滞纳金规则管理组件
15
+ *违约金规则管理组件
16
16
  */
17
17
 
18
18
 
19
19
  export default {
20
- title: '滞纳金规则',
20
+ title: '违约金规则',
21
21
  data () {
22
22
  return {
23
23
  isdetail:false,
@@ -85,7 +85,7 @@
85
85
  <modal v-if="show" :show.sync="show" style="height: auto">
86
86
  <header slot="modal-header" class="modal-header">
87
87
  <button type="button" class="close" @click="show=!show"><span>&times;</span></button>
88
- <h4 class="modal-title">新增滞纳金规则</h4>
88
+ <h4 class="modal-title">新增违约金规则</h4>
89
89
  </header>
90
90
  <article slot="modal-body" class="modal-body">
91
91
  <div class="row">
@@ -115,7 +115,7 @@
115
115
  <modal v-if="updateshow" :show.sync="updateshow" style="height: auto">
116
116
  <header slot="modal-header" class="modal-header">
117
117
  <button type="button" class="close" @click="updateshow=!updateshow"><span>&times;</span></button>
118
- <h4 class="modal-title">新增滞纳金规则</h4>
118
+ <h4 class="modal-title">新增违约金规则</h4>
119
119
  </header>
120
120
  <article slot="modal-body" class="modal-body">
121
121
  <div class="row">
@@ -159,7 +159,7 @@
159
159
  }
160
160
 
161
161
  export default {
162
- title: '滞纳金规则',
162
+ title: '违约金规则',
163
163
  data () {
164
164
  return {
165
165
  model: new PagedList('rs/sql/getOverdueSet', 30, {items: '"*"', tablename: '"t_overdue_set"', orderitem: '"f_operate_date desc"'}),
@@ -54,7 +54,7 @@
54
54
  import {HttpResetClass, PagedList} from 'vue-client'
55
55
 
56
56
  export default {
57
- title: '滞纳金规则使用人',
57
+ title: '违约金规则使用人',
58
58
  data () {
59
59
  return {
60
60
  model: new PagedList('rs/sql/sale_getFiles', 20, {})
@@ -48,7 +48,7 @@
48
48
  <th><nobr>用户类型</nobr></th>
49
49
  <th><nobr>用户地址</nobr></th>
50
50
  <th><nobr>账户结余</nobr></th>
51
- <th><nobr>滞纳金</nobr></th>
51
+ <th><nobr>违约金</nobr></th>
52
52
  <th><nobr>应交气量</nobr></th>
53
53
  <th><nobr>应交气费</nobr></th>
54
54
  <th><nobr>欠费总额</nobr></th>
@@ -192,7 +192,7 @@
192
192
  return {condition: `${this.$refs.paged.$refs.cri.condition} and f_cost_type = '银行代扣' and f_filialeids like '${this.filialeCodeStr}%'`}
193
193
  },
194
194
  getfield () {
195
- return {'f_userinfo_id': '用户号', 'f_userinfo_code': '客户编号', 'f_user_id': '表编号', 'f_user_name': '用户姓名', 'f_user_phone': '用户电话', 'f_user_type': '用户类型', 'f_address': '用户地址', 'f_balance': '账户结余', 'overdue': '滞纳金', 'f_oughtamount': '应交气量', 'f_oughtfee': '应交气费', 'qianfei': '应交总额', 'f_bank_name': '银行名称', 'f_bank_accopen': '银行账户', 'f_bank_account': '银行账号', 'f_bank_idnumber': '银行证件号', 'f_outlets': '营业网点'}
195
+ return {'f_userinfo_id': '用户号', 'f_userinfo_code': '客户编号', 'f_user_id': '表编号', 'f_user_name': '用户姓名', 'f_user_phone': '用户电话', 'f_user_type': '用户类型', 'f_address': '用户地址', 'f_balance': '账户结余', 'overdue': '违约金', 'f_oughtamount': '应交气量', 'f_oughtfee': '应交气费', 'qianfei': '应交总额', 'f_bank_name': '银行名称', 'f_bank_accopen': '银行账户', 'f_bank_account': '银行账号', 'f_bank_idnumber': '银行证件号', 'f_outlets': '营业网点'}
196
196
  }
197
197
  }
198
198
  }
@@ -498,14 +498,7 @@ export default {
498
498
  methods: {
499
499
  downloadFiles () {
500
500
  let downurl = 'rs/downloadfile/file?filename=卡表批量抄表导入模板'
501
- this.$resetget(downurl, {}).then(res => {
502
- var link = document.createElement('a')
503
- link.target = '_blank'
504
- link.href = downurl
505
- link.setAttribute('download', '卡表批量抄表导入模板.xlsx')
506
- document.body.appendChild(link)
507
- link.click()
508
- })
501
+ this.$downFile(downurl,'卡表批量抄表导入模板.xlsx')
509
502
  },
510
503
  hidden () {
511
504
  this.criteriaShow = !this.criteriaShow
@@ -160,14 +160,7 @@
160
160
  methods: {
161
161
  downloadFiles(){
162
162
  let downurl='rs/downloadfile/file?filename=批量保险收费导入Excel模板';
163
- this.$resetget(downurl,{}).then(res=>{
164
- var link = document.createElement('a');
165
- link.target="_blank"
166
- link.href =downurl ;
167
- link.setAttribute("download", "批量保险收费导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
168
- document.body.appendChild(link);
169
- link.click();
170
- })
163
+ this.$downFile(downurl,'批量保险收费导入Excel模板.xlsx')
171
164
  },
172
165
  search () {
173
166
  this.$refs.paged.$refs.criteria.search()
@@ -32,7 +32,7 @@
32
32
  <th>应交金额</th>
33
33
  <!-- <th>账户余额</th>
34
34
  <th>欠费金额</th> -->
35
- <th>滞纳金</th>
35
+ <th>违约金</th>
36
36
  </tr>
37
37
  </template>
38
38
  <template partial='body'>
@@ -282,10 +282,10 @@
282
282
  </div>
283
283
  <div class="row">
284
284
  <div class="col-sm-2">
285
- <label class="font_normal_body">滞纳金开始日期</label>
285
+ <label class="font_normal_body">违约金开始日期</label>
286
286
  </div>
287
287
  <div class="col-sm-3">
288
- <datepicker placeholder="滞纳金开始日期"
288
+ <datepicker placeholder="违约金开始日期"
289
289
  v-model="updatemodel.f_start_date"
290
290
  :value.sync="updatemodel.f_start_date"
291
291
  :format="'yyyy-MM-dd 00:00:00'"
@@ -51,9 +51,9 @@ export default {
51
51
  return {
52
52
  smsids: [],
53
53
  templateMessage: [
54
- {title: '参数示例', content: '客户编号 : @[客户编号] , 表编号 : @[表编号] , 用户姓名 : @[用户姓名] , 用户电话 : @[用户电话] , 用户类型 : @[用户类型] , 缴费方式 : @[缴费方式] , 用户地址 : @[用户地址] , 表类型 : @[表类型] , 表品牌 : @[表品牌] , 应交气量 : @[应交气量] , 应交气费 : @[应交气费] , 滞纳金 : @[滞纳金] , 欠费总额 : @[欠费总额] , 账户结余 : @[账户结余]'},
54
+ {title: '参数示例', content: '客户编号 : @[客户编号] , 表编号 : @[表编号] , 用户姓名 : @[用户姓名] , 用户电话 : @[用户电话] , 用户类型 : @[用户类型] , 缴费方式 : @[缴费方式] , 用户地址 : @[用户地址] , 表类型 : @[表类型] , 表品牌 : @[表品牌] , 应交气量 : @[应交气量] , 应交气费 : @[应交气费] , 违约金 : @[违约金] , 欠费总额 : @[欠费总额] , 账户结余 : @[账户结余]'},
55
55
  {title: '欠费模板1', content: '尊敬的用户您好,你当前账户余额为:@[账户结余],请及时缴费,谢谢合作!'},
56
- {title: '欠费模板2', content: '尊敬的客户:您当前帐户余额为@[账户结余](不包含滞纳金),用户地址:@[用户地址],户名:@[用户姓名],请您及时缴纳气费,谢谢合作!'}
56
+ {title: '欠费模板2', content: '尊敬的客户:您当前帐户余额为@[账户结余](不包含违约金),用户地址:@[用户地址],户名:@[用户姓名],请您及时缴纳气费,谢谢合作!'}
57
57
  ]
58
58
  }
59
59
  },
@@ -37,7 +37,7 @@
37
37
  "f_oughtamount": "用气量",
38
38
  "f_oughtfee": "用气金额",
39
39
  "f_debt_money": "已交金额"
40
- "overdue":"滞纳金",
40
+ "overdue":"违约金",
41
41
  "f_last_tablebase":"上期表底数",
42
42
  "f_balance":"本期账户余额",
43
43
  "f_oughtfee_all":"合计欠费金额"}
@@ -68,14 +68,7 @@ export default {
68
68
  methods: {
69
69
  downloadFiles(){
70
70
  let downurl='rs/downloadfile/file?filename=短信说明';
71
- this.$resetget(downurl,{}).then(res=>{
72
- var link = document.createElement('a');
73
- link.target="_blank"
74
- link.href =downurl ;
75
- link.setAttribute("download", "短信说明.xlsx"); //指定下载后的文件名,防跳转
76
- document.body.appendChild(link);
77
- link.click();
78
- })
71
+ this.$downFile(downurl,'短信说明.xlsx')
79
72
  },
80
73
  cancel () {
81
74
  this.model.f_user_defined = ''
@@ -91,7 +91,7 @@
91
91
  <div class="col-sm-6">
92
92
  <label class="font_normal_body">滞纳规则</label>
93
93
  <v-select :value.sync="model.f_overdue_set" v-model="model.f_overdue_set"
94
- :options='overdueset' placeholder='滞纳金规则'
94
+ :options='overdueset' placeholder='违约金规则'
95
95
  close-on-select></v-select>
96
96
  </div>
97
97
  </div>
@@ -43,7 +43,7 @@
43
43
  'f_changetube_date': '改管日期',
44
44
  'f_usestate': '使用状态',
45
45
  'f_comments': '备注',
46
- 'f_overdue_set': '滞纳金规则'
46
+ 'f_overdue_set': '违约金规则'
47
47
  }
48
48
  }
49
49
  }
@@ -94,7 +94,7 @@
94
94
 
95
95
  <script>
96
96
  /**
97
- *滞纳金减免页面
97
+ *违约金减免页面
98
98
  */
99
99
  import Vue from 'vue'
100
100
  import {PagedList, HttpResetClass} from 'vue-client'
@@ -216,7 +216,7 @@
216
216
 
217
217
  <script>
218
218
  /**
219
- *滞纳金减免页面
219
+ *违约金减免页面
220
220
  */
221
221
  import Vue from 'vue'
222
222
  import {PagedList, HttpResetClass} from 'vue-client'
@@ -53,14 +53,7 @@ export default {
53
53
  methods: {
54
54
  downloadFiles () {
55
55
  let downurl = 'rs/downloadfile/file?filename=' + this.templateName
56
- this.$resetget(downurl, {}).then(res => {
57
- var link = document.createElement('a')
58
- link.target = '_blank'
59
- link.href = downurl
60
- link.setAttribute('download', this.templateName + '.xlsx') // 指定下载后的文件名,防跳转
61
- document.body.appendChild(link)
62
- link.click()
63
- })
56
+ this.$downFile(downurl,this.templateName + '.xlsx')
64
57
  },
65
58
  createInfoForFile () {
66
59
  this.batchShow = true