sale-client 3.5.25 → 3.5.28

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 (66) hide show
  1. package/package.json +1 -1
  2. package/src/components/FilesManage/FileUserFiles.vue +4 -4
  3. package/src/components/FilesManage/MeterinfoTest.vue +13 -2
  4. package/src/components/FilesManage/UserEssentialInfoTest.vue +7 -0
  5. package/src/components/charge/ChargeList.vue +1 -1
  6. package/src/components/charge/ChargeOper.vue +3 -1
  7. package/src/components/revenue/base/rightview/CardList.vue +6 -6
  8. package/src/components/revenue/base/rightview/carddetail/GarbageDetail.vue +59 -0
  9. package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPaymentConstrast.vue +286 -0
  10. package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPaymentnew.vue +52 -0
  11. package/src/components/revenue/comprehen/batch/batchUserList.vue +2 -2
  12. package/src/components/revenue/comprehen/common/ImportExcel.vue +9 -6
  13. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +8 -0
  14. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +4 -4
  15. package/src/filiale/dongguan/components/common/userinfo_detail/UserBaseInfoNew.vue +52 -1
  16. package/src/filiale/guangxi/CardChangeFill.vue +2 -5
  17. package/src/filiale/guangxi/CardService.js +2 -0
  18. package/src/filiale/guangxi/OtherGas.vue +380 -0
  19. package/src/filiale/guangxi/sale.js +3 -1
  20. package/src/filiale/kelai/GarbageCharge.vue +205 -0
  21. package/src/filiale/kelai/UserfilesList.vue +293 -0
  22. package/src/filiale/kelai/sale.js +5 -2
  23. package/src/filiale/meihekou/CardHand.vue +18 -18
  24. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/MeterParam.vue +1 -1
  25. package/src/filiale/zhongyi/FileUserFiles.vue +16 -19
  26. package/src/main.js +1 -1
  27. package/src/sale.js +4 -0
  28. package/src/filiale/WEINAN/AutomaticPurse.vue +0 -304
  29. package/src/filiale/WEINAN/CardList.vue +0 -497
  30. package/src/filiale/WEINAN/CardMeterCenter.vue +0 -819
  31. package/src/filiale/WEINAN/CardMeterChargeCancel.vue +0 -401
  32. package/src/filiale/WEINAN/ChangeMeter.vue +0 -737
  33. package/src/filiale/WEINAN/ChargeList.vue +0 -1006
  34. package/src/filiale/WEINAN/ChargeManageNew.vue +0 -232
  35. package/src/filiale/WEINAN/ChargeQueryUser.vue +0 -331
  36. package/src/filiale/WEINAN/ChargeRecordQuery.vue +0 -73
  37. package/src/filiale/WEINAN/DisableManage.vue +0 -63
  38. package/src/filiale/WEINAN/EnableManage.vue +0 -142
  39. package/src/filiale/WEINAN/FileAddressManage.vue +0 -112
  40. package/src/filiale/WEINAN/FileUserAddress.vue +0 -785
  41. package/src/filiale/WEINAN/HighMeter.vue +0 -1090
  42. package/src/filiale/WEINAN/IOTMeterCenter.vue +0 -814
  43. package/src/filiale/WEINAN/MachineMeterCenter.vue +0 -595
  44. package/src/filiale/WEINAN/MeterMessage.vue +0 -131
  45. package/src/filiale/WEINAN/MeterinfoTest.vue +0 -584
  46. package/src/filiale/WEINAN/OffGasAddGas.vue +0 -213
  47. package/src/filiale/WEINAN/OtherGas.vue +0 -351
  48. package/src/filiale/WEINAN/OverUseCharge.vue +0 -412
  49. package/src/filiale/WEINAN/RecordCancel.vue +0 -302
  50. package/src/filiale/WEINAN/RecordQueryUser.vue +0 -253
  51. package/src/filiale/WEINAN/ReplaceCardManage.vue +0 -408
  52. package/src/filiale/WEINAN/ShowCardSellGas.vue +0 -842
  53. package/src/filiale/WEINAN/Stairinfo.vue +0 -157
  54. package/src/filiale/WEINAN/TransferManage.vue +0 -370
  55. package/src/filiale/WEINAN/UserBaseInfoNew.vue +0 -325
  56. package/src/filiale/WEINAN/UserEssentialInfoTest.vue +0 -384
  57. package/src/filiale/WEINAN/UserGeneralInfoTest.vue +0 -533
  58. package/src/filiale/WEINAN/UserInfoDetailManageNew.vue +0 -150
  59. package/src/filiale/WEINAN/Userinfo.vue +0 -82
  60. package/src/filiale/WEINAN/gasmove.vue +0 -243
  61. package/src/filiale/WEINAN/meterinfodetail.vue +0 -104
  62. package/src/filiale/WEINAN/plugins/FileManageService.js +0 -362
  63. package/src/filiale/WEINAN/plugins/getTimeService.js +0 -87
  64. package/src/filiale/WEINAN/sale.js +0 -55
  65. package/src/filiale/WEINAN/sale.js~Stashed changes +0 -29
  66. package/src/filiale/WEINAN/static/mainicon//347/237/251/345/275/2421828.png +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.25",
3
+ "version": "3.5.28",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -58,8 +58,6 @@
58
58
  <button @click="$parent.$parent.importFile" class="button_export button_spacing"
59
59
  style="float: right" v-if="false">导入
60
60
  </button>
61
- <button class="button_search button_spacing" style="width: 90px" @click="$parent.$parent.downloadFiles()">模板下载
62
- </button>
63
61
  <!-- <button class="button_search" style="width: 90px" @click=" $parent.$parent.selectaddress()">选择地址</button>-->
64
62
  <button @click="$parent.$parent.xiaohu()"
65
63
  class="button_delete button_spacing"
@@ -407,9 +405,11 @@
407
405
  <footer slot="modal-footer" class="modal-footer">
408
406
  </footer>
409
407
  </modal>
410
- <modal :show.sync="batchMeterShow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
408
+ <modal :show.sync="batchMeterShow" width="570px" title="文件导入" v-ref:modal large backdrop="false">
411
409
  <article slot="modal-body" class="modal-body">
412
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
410
+ <file-upload class="my-file-uploader col-sm-9" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
411
+ <button class="button_clear btn-gn" style="margin-top: 10px;background-color: #6aa6e2;" @click="downloadFiles()">模板下载
412
+ </button>
413
413
  </article>
414
414
  <footer slot="modal-footer" class="modal-footer">
415
415
  </footer>
@@ -185,7 +185,7 @@
185
185
  </div>
186
186
  <div class="col-sm-4 form-group">
187
187
  <label class="font_normal_body">表具使用年限</label>
188
- <input type="number" class="input_search" style="width:60%" v-model="fireinfo.f_use_limit"
188
+ <input type="number" class="input_search" style="width:60%" v-model="row.f_use_limit"
189
189
  placeholder='表具使用年限' >
190
190
  </div>
191
191
  <div class="col-sm-4 form-group">
@@ -794,8 +794,19 @@
794
794
  } else {
795
795
  this.ratioshow = false
796
796
  }
797
+ },
798
+ 'row.f_gas_date' (val) {
799
+ if (!this.row.f_use_limit) {
800
+ this.row.f_use_limit = this.$appdata.getSingleValue('使用年限')
801
+ }
802
+ if (!this.row.f_scrap_date && this.row.f_gas_date) {
803
+ if (this.row.f_use_limit !== undefined) {
804
+ let date = new Date(this.row.f_gas_date)
805
+ let year = date.getFullYear() + (this.row.f_use_limit / 1)
806
+ this.row.f_scrap_date = year + this.row.f_gas_date.slice(4)
807
+ }
808
+ }
797
809
  }
798
-
799
810
  },
800
811
  computed: {
801
812
 
@@ -106,6 +106,13 @@
106
106
  <input type="text" v-model="baseinfo.base.f_zuhu_phone" class="input_search" style="width:60%"
107
107
  placeholder="租户电话">
108
108
  </div>
109
+ </div>
110
+ <div class="row">
111
+ <div style="" class="col-sm-8 form-group">
112
+ <label for="f_zuhu_idnumber" class="font_normal_body">租户身份证</label>
113
+ <input type="text" v-model="baseinfo.base.f_zuhu_idnumber" class="input_search" style="width:80%"
114
+ placeholder="租户身份证">
115
+ </div>
109
116
  <div style="" class="col-sm-4 form-group">
110
117
  <label for="f_is_mgq" class="font_normal_body ">&ensp;付款类型</label>
111
118
  <v-select id="f_is_mgq" :value.sync="baseinfo.base.f_cost_type" v-model="baseinfo.base.f_cost_type"
@@ -363,7 +363,7 @@ let cardBtnGen = async function (self, val) {
363
363
  }
364
364
  if (getUser.data.length == 1 && getUser.data[0].f_alias === self.cardInfo.Factory) {
365
365
  self.readCardParam = getUser.data[0].f_card_password
366
- self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(getUser.data.f_card_password)
366
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(getUser.data[0].f_card_password)
367
367
  } else {
368
368
  self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
369
369
  return
@@ -49,7 +49,9 @@
49
49
  } else {
50
50
  self.temp = []
51
51
  for (let i = 0; i < getBtns.length; i++) {
52
- if (self.$login.r.includes(getBtns[i].name)) {
52
+ // 不需要权限的按钮
53
+ let noInclude = getBtns[i].name === '垃圾费收费'
54
+ if (noInclude || self.$login.r.includes(getBtns[i].name)) {
53
55
  // 进行权限验证
54
56
  self.temp.push(getBtns[i])
55
57
  }
@@ -116,8 +116,7 @@
116
116
  <transfermanage-detail :data="row" v-if="row.type === '过户'"></transfermanage-detail>
117
117
  <othercharge-detail :data="row" v-if="row.type === '其他收费欠费登记'||row.type === '其他收费'||row.type === '维修收费'"></othercharge-detail>
118
118
  <inputtorchange-detail :data="row" v-if="row.type === '抄表员变更'"></inputtorchange-detail>
119
- <offgasaddgas-detail :data="row"
120
- v-if=" row.type === '换表补气' ||row.type === '其他补气' || row.type === '清零补气' || row.type === '掉气补气'||row.type==='物联网补费'||row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气' " ></offgasaddgas-detail>
119
+ <offgasaddgas-detail :data="row" v-if=" row.type === '换表补气' ||row.type === '其他补气' || row.type === '清零补气' || row.type === '掉气补气'||row.type==='物联网补费'||row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气' " ></offgasaddgas-detail>
121
120
  <iotopen-detail :data="row" v-if="row.type === '开通'"></iotopen-detail>
122
121
  <iotmetercenter-detail :data="row" v-if="row.type === '物联网收费' || row.type === '物联网开户' || row.type === '调价退费' || row.type === '调价补费'||row.type === '退押金' "></iotmetercenter-detail>
123
122
  <overuserchange-detail :data="row" v-if="row.type === '超用收费'"></overuserchange-detail>
@@ -134,10 +133,8 @@
134
133
  <autoaccounts-cancel-detail :data="row" v-if="row.type === '自动下账撤销'"></autoaccounts-cancel-detail>
135
134
  <transfermanage-cancel-detail :data="row" v-if="row.type === '过户撤销'"></transfermanage-cancel-detail>
136
135
  <cardmetercenter-cancel-detail :data="row" v-if="row.type === '卡表收费撤销'"></cardmetercenter-cancel-detail>
137
- <machinemetercenter-cancel-detail :data="row"
138
- v-if="row.type === '机表收费撤销'"></machinemetercenter-cancel-detail>
139
- <machinemetercenter-cancel-detail :data="row"
140
- v-if="row.type == '预存缴费撤销'"></machinemetercenter-cancel-detail>
136
+ <machinemetercenter-cancel-detail :data="row" v-if="row.type === '机表收费撤销'"></machinemetercenter-cancel-detail>
137
+ <machinemetercenter-cancel-detail :data="row" v-if="row.type == '预存缴费撤销'"></machinemetercenter-cancel-detail>
141
138
  <othercharge-cancel-detail :data="row" v-if="row.type === '其他收费撤销'"></othercharge-cancel-detail>
142
139
  <replacecardmanage-cancel-detail :data="row" v-if="row.type === '补卡撤销'"></replacecardmanage-cancel-detail>
143
140
  <iotmetercenter-cancel-detail :data="row" v-if="row.type === '物联网收费撤销'"></iotmetercenter-cancel-detail>
@@ -148,6 +145,7 @@
148
145
  <advance-delivery-detail :data="row" v-if="row.type ==='卡表预交' "></advance-delivery-detail>
149
146
  <machinemetercenter-detail :data="row" v-if="row.type === '预存缴费'||row.type == '调价预存'"></machinemetercenter-detail>
150
147
  <gasloss-detail :data="row" v-if="row.type === '气损收费' || row.type === '气损收费撤销'"></gasloss-detail>
148
+ <garbage-detail :data="row" v-if="row.type === '垃圾费收费'"></garbage-detail>
151
149
  </div>
152
150
  <div style="margin-top: 8px;background: #FFF;" v-if="!$parent.$parent.$parent.isSelected(row)">
153
151
  <span>{{row.f_describe}}</span>
@@ -462,6 +460,8 @@
462
460
  } else {
463
461
  name = 'rs/report/iot_sell'
464
462
  }
463
+ } else if (type === '垃圾费收费') {
464
+ name = 'rs/report/garbageChargeReport'
465
465
  }
466
466
  return name
467
467
  },
@@ -0,0 +1,59 @@
1
+ <template>
2
+ <div class="auto">
3
+ <partial-view v-ref:pv>
4
+ <div class="row">
5
+ <label class = "col-sm-4">开始日期:</label>
6
+ <span class = "col-sm-8" style="text-align:left">{{model.min_hand_date}}</span>
7
+ </div>
8
+ <div class="row">
9
+ <label class = "col-sm-4">结束日期:</label>
10
+ <span class = "col-sm-8" style="text-align:left">{{model.max_hand_date}}</span>
11
+ </div>
12
+ <div class="row">
13
+ <label class = "col-sm-4">缴费月数:</label>
14
+ <span class = "col-sm-8" style="text-align:left">{{model.month}}</span>
15
+ </div>
16
+ <div class="row">
17
+ <label class = "col-sm-4">总金额:</label>
18
+ <span class = "col-sm-8" style="text-align:left">{{model.money}}</span>
19
+ </div>
20
+ <div class="row">
21
+ <label class = "col-sm-4">操作人:</label>
22
+ <span class = "col-sm-8" style="text-align:left">{{data.f_operator}}</span>
23
+ </div>
24
+ <div class="row">
25
+ <label class = "col-sm-4">操作时间:</label>
26
+ <span class = "col-sm-8" style="text-align:left">{{data.f_operate_date}}</span>
27
+ </div>
28
+ </partial-view>
29
+ </div>
30
+ </template>
31
+
32
+ <script>
33
+ export default {
34
+ title: '垃圾费收费详情',
35
+ props: ['data'],
36
+ data () {
37
+ return {
38
+ model: {}
39
+ }
40
+ },
41
+ ready () {
42
+ let sql = 'garbageDetail'
43
+ let condition = {
44
+ recordId: this.data.id
45
+ }
46
+ this.$info(`加载数据中..., sql:${sql}`)
47
+ this.$refs.pv.load('rs/logic/getOneData', {data: {sql: sql, params: condition}}).then((a) => {
48
+ this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
49
+ this.model = a.data
50
+ }).catch((error) => {
51
+ if (error.status) {
52
+ this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
53
+ return
54
+ }
55
+ throw error
56
+ })
57
+ }
58
+ }
59
+ </script>
@@ -0,0 +1,286 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 98%">
3
+ <div class="flex">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label for="f_payment" class="font_normal_body">付款方式:</label>
10
+ <v-select id="f_payment"
11
+ v-model="model.f_payment"
12
+ placeholder='付款方式'
13
+ :value-single="true"
14
+ condition="f_payment='{}' "
15
+ :value.sync="model.f_payment"
16
+ :options='$parent.$parent.payment'
17
+ close-on-select ></v-select>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="f_bank_name" class="font_normal_body">银行名称:</label>
21
+ <v-select id="f_bank_name"
22
+ v-model="model.f_bank_name"
23
+ placeholder='银行名称'
24
+ :value-single="true"
25
+ condition="f_bank_name= '{}' "
26
+ :value.sync="model.f_bank_name"
27
+ :options='$parent.$parent.bankname'
28
+ close-on-select ></v-select>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label for="startDate" class="font_normal_body">开始日期:</label>
32
+ <datepicker id="startDate" placeholder="开始日期"
33
+ v-model="model.startDate" style="width: 60%"
34
+ :value.sync="model.startDate"
35
+ :disabled-days-of-Week="[]"
36
+ :format="'yyyy-MM-dd'"
37
+ :show-reset-button="reset">
38
+ </datepicker>
39
+ </div>
40
+ <div class="col-sm-2 form-group">
41
+ <label for="endDate" class="font_normal_body">结束日期:</label>
42
+ <datepicker id="endDate" placeholder="结束日期"
43
+ v-model="model.endDate" style="width: 60%"
44
+ :value.sync="model.endDate"
45
+ :disabled-days-of-Week="[]"
46
+ :format="'yyyy-MM-dd'"
47
+ :show-reset-button="reset">
48
+ </datepicker>
49
+ </div>
50
+ <div class="span" style="float:right;">
51
+ <button class="button_search button_spacing width-60" @click="search()" v-el:cx>查询</button>
52
+ <export-excel :data="$parent.$parent.getCondition"
53
+ :field="$parent.$parent.getfield"
54
+ :footer="$parent.$parent.footer"
55
+ :header="$parent.$parent.other"
56
+ sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="bankPaymentSummary"
57
+ template-name='银行对账汇总信息' :choose-col="true"></export-excel>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </criteria>
62
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
63
+ <template partial='head'>
64
+ <tr>
65
+ <th>序号</th>
66
+ <th>付款方式</th>
67
+ <th>银行名称</th>
68
+ <th>银行总金额</th>
69
+ <th>燃气总金额</th>
70
+ <th>差额</th>
71
+ <th style="white-space: nowrap;">交易日期</th>
72
+ </tr>
73
+ </template>
74
+ <template partial='body'>
75
+ <td style="text-align: center;">
76
+ <nobr>{{$index+1}}</nobr>
77
+ </td>
78
+ <td style="text-align: center;">
79
+ <nobr>{{row.f_payment}}</nobr>
80
+ </td>
81
+ <td style="text-align: center;">
82
+ <nobr>{{row.f_bank_name}}</nobr>
83
+ </td>
84
+ <td style="text-align: center;">
85
+ <nobr>{{row.f_total_charge}}</nobr>
86
+ </td>
87
+ <td style="text-align: center;">
88
+ <nobr>{{row.f_collection}}</nobr>
89
+ </td>
90
+ <td style="text-align: center;">
91
+ <nobr>{{((row.f_total_charge-0) - (row.f_collection-0)).toFixed(2)}}</nobr>
92
+ </td>
93
+ <td style="text-align: center;">
94
+ <nobr>{{row.f_trade_date}}</nobr>
95
+ </td>
96
+ </template>
97
+ </data-grid>
98
+ </criteria-paged>
99
+ <table class="table-hover">
100
+ <tr style="position: relative" class="table-bordered">
101
+ <td
102
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
103
+ 汇总信息
104
+ </td>
105
+ <td
106
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
107
+ 银行金额汇总:&emsp;{{sumsmodel.f_total_charge}}
108
+ </td>
109
+ <td
110
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
111
+ 收费系统金额汇总:&emsp;{{sumsmodel.f_collection}}
112
+ </td>
113
+ <td
114
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
115
+ 差额汇总:&emsp;{{((sumsmodel.f_total_charge -0) - (sumsmodel.f_collection -0)).toFixed(2)}}
116
+ </td>
117
+ </tr>
118
+ </table>
119
+ </div>
120
+ </div>
121
+ </template>
122
+ <script>
123
+ import {PagedList} from 'vue-client'
124
+
125
+ let readyGen = async function (self) {
126
+ self.getfield = self.config.excelHeaders
127
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
128
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
129
+
130
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
131
+ }
132
+
133
+ export default {
134
+ title: '银行对账',
135
+ data () {
136
+ return {
137
+ model: new PagedList('rs/sql/bankPaymentSummary', 20,
138
+ {f_payment: 'this.model.f_payment', f_bank_name: 'this.model.f_bank_name', startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {f_total_charge: '', f_collection: ''}),
139
+ config: {
140
+ // 导出列要和查询列相同
141
+ excelHeaders: {
142
+ 'f_payment': '银行名称',
143
+ 'f_bank_name': '银行名称',
144
+ 'f_total_charge': '银行金额',
145
+ 'f_collection': '收费系统金额',
146
+ 'f_trade_date': '交易日期'
147
+ }
148
+ },
149
+ criteriaShow: false,
150
+ getfield: {},
151
+ condition2: '',
152
+ depresid: [],
153
+ userresid: [],
154
+ f_orgid: this.$login.f.orgid,
155
+ f_depid: this.$login.f.depids,
156
+ f_operatorid: this.$login.f.id,
157
+ operatorid: [],
158
+ depid: [],
159
+ orgname: '',
160
+ other: [],
161
+ footer: [],
162
+ // 合计数据
163
+ sumsmodel: {},
164
+ msg: [],
165
+ // 公司下拉
166
+ curorgid: [this.$login.f.orgid]
167
+ }
168
+ },
169
+ props: [],
170
+ ready () {
171
+ readyGen(this)
172
+ },
173
+ methods: {
174
+ hidden () {
175
+ this.criteriaShow = !this.criteriaShow
176
+ },
177
+ getRes (obj) {
178
+ this.orgname = obj.res[0]
179
+ this.depresid = obj.resids
180
+ this.f_orgid = obj.resids
181
+ console.log('-----------------obj', obj)
182
+ },
183
+ getdep (obj, val) {
184
+ this.depname = val[0]
185
+ this.userresid = obj
186
+ this.f_depid = obj
187
+ },
188
+ getuser (obj, val) {
189
+ this.operatorname = val[0]
190
+ this.f_operatorid = obj
191
+ },
192
+ dealmsg (val) {
193
+ val.model = this.model.model
194
+ this.$dispatch('deal-msg', val)
195
+ },
196
+ getotherfooter () {
197
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
198
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
199
+ this.other = []
200
+ this.footer = []
201
+ // let exportdata = this.getCondition;
202
+ let otherInData = []
203
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
204
+ let footerData = [], exportfield = this.getfield
205
+ footerData.push('合计')
206
+ let self = this
207
+ for (var field in self.sumsmodel) {
208
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
209
+ }
210
+ this.footer.push(footerData)
211
+ this.other.push(otherInData)
212
+ },
213
+ getorg (val) {
214
+ this.f_orgid = this.$login.convertToIn(val)
215
+ this.depresid = val
216
+ this.f_filialeid = val[0]
217
+ console.log('yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy', val)
218
+ },
219
+ search () {
220
+ this.$refs.paged.$refs.cri.search()
221
+ },
222
+ selfSearch (args) {
223
+
224
+ this.model.params.startDate = this.$refs.paged.$refs.cri.model.startDate
225
+ this.model.params.endDate = this.$refs.paged.$refs.cri.model.endDate
226
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
227
+ this.model.params.f_payment = this.model.f_payment
228
+ this.model.params.f_bank_name = this.model.f_bank_name
229
+ this.condition2 = args.condition
230
+ this.model.search(args.condition, args.model)
231
+ },
232
+ modify (row) {
233
+ console.log('返回数据1', row)
234
+ this.$showMessage('确认重置支付状态么?', ['confirm', 'cancel']).then((res) => {
235
+ if (res === 'confirm') {
236
+ let data = {
237
+ f_transaction_id: row.f_transaction_id
238
+ }
239
+ this.$resetpost('rs/logic/weChatMeter', data, {resolveMsg: null, rejectMsg: '重置出错!!!'}).then((res) => {
240
+ console.log('返回数据3', res)
241
+ this.$refs.paged.$refs.cri.search()
242
+ this.$showAlert(`重置成功!`, 'success', 4000)
243
+ // this.search()
244
+ }).catch((error) => {
245
+ console.log('重置异常', res)
246
+ })
247
+ }
248
+ })
249
+ }
250
+ },
251
+ computed: {
252
+ getCondition () {
253
+ return {
254
+ f_payment: this.$refs.paged.$refs.cri.model.f_payment,
255
+ f_bank_name: this.$refs.paged.$refs.cri.model.f_bank_name,
256
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
257
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
258
+ condition: this.condition2
259
+ }
260
+ },
261
+ payment () {
262
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行付款方式')]
263
+ },
264
+ bankname () {
265
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
266
+ },
267
+ chargeType () {
268
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信收费类型')]
269
+ },
270
+ operator () {
271
+ return this.$getParams('操作员查询用', [{label: '全部', value: ''}])
272
+ },
273
+ network () {
274
+ return this.$getParams('网点查询用', [{label: '全部', value: ''}])
275
+ }
276
+ },
277
+ watch: {
278
+ sumsmodel: {
279
+ handler: function (val) {
280
+ this.getotherfooter()
281
+ },
282
+ deep: true
283
+ }
284
+ }
285
+ }
286
+ </script>
@@ -0,0 +1,52 @@
1
+ <template>
2
+ <tab-button v-ref:list>
3
+ <tabs header="银行对账汇总">
4
+ <bank-payment-constrast @deal-msg="dealMsg"></bank-payment-constrast>
5
+ </tabs>
6
+ <tabs header="银行对账明细">
7
+ <bank-payment @deal-msg="dealMsg"></bank-payment>
8
+ </tabs>
9
+ </tab-button>
10
+ </template>
11
+ <script>
12
+ import TabButton from './../../../comprehen/common/TabButton'
13
+ import Tabs from './../../../comprehen/common/Tabs'
14
+ import BankPayment from './BankPayment'
15
+ import BankPaymentConstrast from "./BankPaymentConstrast";
16
+
17
+ export default {
18
+ title : '银行对账',
19
+ data () {
20
+ return {// 页面开关
21
+ f_start_date: '',
22
+ f_end_date: '',
23
+ listpage: true,
24
+ width: {
25
+ left: '100%',
26
+ right: '0%'
27
+ },
28
+ // searchNumber:'',
29
+ rowData: {},
30
+ show: [true]
31
+ }
32
+ },
33
+ components: {BankPaymentConstrast, Tabs, TabButton, BankPayment},
34
+ ready () {
35
+ console.log(this.$refs.list)
36
+ console.log('银行对账')
37
+ },
38
+ methods: {
39
+ cancel (obj) {
40
+ this.listpage = true
41
+ },
42
+ dealMsg (obj) {
43
+ this.rowData = obj
44
+ this.listpage = false
45
+ console.log(obj.model)
46
+ this.f_start_date = obj.model.startDate
47
+ this.f_end_date = obj.model.endDate
48
+ }
49
+ }
50
+ }
51
+
52
+ </script>
@@ -114,7 +114,7 @@
114
114
  // console.log('获取登录信息,', self.$login, self.$appdata, self.$appdata.getParam('用户类型'), Vue.$login.f.name)
115
115
  await self.search()
116
116
  await self.$LoadParams.loadParam()
117
- let overdueset= []
117
+ let overdueset = []
118
118
  let res = await self.$resetpost('rs/sql/saleSingleTable', {
119
119
  data: {
120
120
  tablename: 't_overdue_set',
@@ -179,7 +179,7 @@
179
179
 
180
180
  // 是多选
181
181
  if (this.rowsdata.length) {
182
- info = '确认批量修改档案吗?'
182
+ info = `共选中${this.rowsdata.length}条数据,确认批量修改档案吗?`
183
183
  }
184
184
  // 点击的是批量生成
185
185
  this.$showMessage(info, ['confirm', 'cancel']).then(
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <button class="button_search button_spacing" style="width: 90px" @click.prevent="createInfoForFile()">{{ btnName }}
3
3
  </button>
4
- <button class="button_search button_spacing right" style="width: 80px" @click.prevent="downloadFiles()">{{templateBtnName}}
5
- </button>
6
- <modal :show.sync="batchShow" width="500px" title="文件导入" v-ref:modal backdrop="false">
4
+ <modal :show.sync="batchShow" width="570px" title="文件导入" v-ref:modal backdrop="false">
7
5
  <article slot="modal-body" class="modal-body">
8
- <file-upload class="my-file-uploader" name="chargePriceUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
6
+ <file-upload class="my-file-uploader col-sm-9" name="chargePriceUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
7
+ <button class="button_clear btn-gn" style="margin-top: 10px;background-color: #6aa6e2;" @click.prevent="downloadFiles()">{{templateBtnName}}
8
+ </button>
9
9
  </article>
10
10
  <footer slot="modal-footer" class="modal-footer">
11
11
  </footer>
@@ -53,7 +53,6 @@ export default {
53
53
  methods: {
54
54
  downloadFiles () {
55
55
  let downurl = 'rs/downloadfile/file?filename=' + this.templateName
56
- debugger
57
56
  this.$resetget(downurl, {}).then(res => {
58
57
  var link = document.createElement('a')
59
58
  link.target = '_blank'
@@ -105,7 +104,11 @@ export default {
105
104
  {data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
106
105
  if (res.data) {
107
106
  console.log(res.data.totalsum)
108
- self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,` + this.alertMessage)
107
+ if (res.data.errorMsg) {
108
+ self.$showMessage(`${res.data.errorMsg}` + this.alertMessage)
109
+ } else {
110
+ self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条` + this.alertMessage)
111
+ }
109
112
  self.iswork = false
110
113
  }
111
114
  })
@@ -8,6 +8,7 @@
8
8
  <div class="row">
9
9
  <res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator','slicearea']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
10
10
  <div class="span" style="float:right">
11
+ <import-excel v-if="$parent.$parent.batchImport === '批量开关阀导入'" template-name="批量开关阀导入Excel模板" logic-name="importBatchValue" import-json="importBatchValue.json"></import-excel>
11
12
  <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
12
13
  <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
13
14
  <label class="font_normal_body" v-if="!$parent.$parent.excelTable">超过十万条限制导出</label>
@@ -350,6 +351,7 @@ import {HttpResetClass} from 'vue-client'
350
351
  isShowUserException: false,
351
352
  val1: '',
352
353
  f_beizhu: '',
354
+ batchImport: '',
353
355
  Gasusertype: [],
354
356
  Gasproperties: [],
355
357
  metermodel: [],
@@ -405,6 +407,7 @@ import {HttpResetClass} from 'vue-client'
405
407
  this.$refs.paged.$refs.criteria.search()
406
408
  // 初始化气表品牌下拉框
407
409
  readyGen(this)
410
+ this.getAuthority()
408
411
  },
409
412
  events: {
410
413
  'dblclick' (row) {
@@ -413,6 +416,11 @@ import {HttpResetClass} from 'vue-client'
413
416
  }
414
417
  },
415
418
  methods: {
419
+ getAuthority () {
420
+ if (this.$login.r.find(value => value == '批量开关阀导入')) {
421
+ this.batchImport = '批量开关阀导入'
422
+ }
423
+ },
416
424
  research () {
417
425
  this.selectRow = null
418
426
  this.$refs.paged.$refs.criteria.search()
@@ -58,8 +58,6 @@
58
58
  <button @click="$parent.$parent.importFile" class="button_export button_spacing"
59
59
  style="float: right" v-if="false">导入
60
60
  </button>
61
- <button class="button_search button_spacing" style="width: 90px" @click="$parent.$parent.downloadFiles()">模板下载
62
- </button>
63
61
  <!-- <button class="button_search" style="width: 90px" @click=" $parent.$parent.selectaddress()">选择地址</button>-->
64
62
  <button @click="$parent.$parent.xiaohu()"
65
63
  class="button_delete button_spacing"
@@ -410,9 +408,11 @@
410
408
  <footer slot="modal-footer" class="modal-footer">
411
409
  </footer>
412
410
  </modal>
413
- <modal :show.sync="batchMeterShow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
411
+ <modal :show.sync="batchMeterShow" width="570px" title="文件导入" v-ref:modal large backdrop="false">
414
412
  <article slot="modal-body" class="modal-body">
415
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
413
+ <file-upload class="my-file-uploader col-sm-9" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
414
+ <button class="button_clear btn-gn" style="margin-top: 10px;background-color: #6aa6e2;" @click="downloadFiles()">模板下载
415
+ </button>
416
416
  </article>
417
417
  <footer slot="modal-footer" class="modal-footer">
418
418
  </footer>