sale-client 4.1.230 → 4.2.1-ronghao

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 (171) hide show
  1. package/build/dev-server.js +29 -46
  2. package/package.json +2 -2
  3. package/src/App.vue +3 -3
  4. package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -4
  5. package/src/components/FilesManageNew/FileUserFiles.vue +2 -4
  6. package/src/components/FilesManageNew/MeterinfoTest.vue +9 -9
  7. package/src/components/FilesManageNew/UserEssentialInfoTest.vue +201 -227
  8. package/src/components/FilesManageNew/UserGeneralInfoTest.vue +0 -2
  9. package/src/components/charge/business/CardMeterCenter.vue +1 -1
  10. package/src/components/charge/business/FilesComplete.vue +3 -3
  11. package/src/components/charge/business/IOTMeterCenter.vue +1 -1
  12. package/src/components/charge/business/OtherChargeNew.vue +68 -48
  13. package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +10 -1
  14. package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +1 -1
  15. package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +1 -1
  16. package/src/components/common/userinfo_detail/ic_detail/GarbageRecordList.vue +69 -0
  17. package/src/components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue +384 -0
  18. package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
  19. package/src/components/revenue/Common/MeterMessage.vue +1 -1
  20. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  21. package/src/components/revenue/HandManager/WebHand.vue +7 -4
  22. package/src/components/revenue/base/leftview/SafeCheck.vue +41 -3
  23. package/src/components/revenue/base/leftview/UserFeeInfo.vue +76 -0
  24. package/src/components/revenue/base/leftview/otherinfo.vue +1 -0
  25. package/src/components/revenue/base/rightview/CardList.vue +7 -3
  26. package/src/components/revenue/batchDeduction/batchDeductionList.vue +1 -1
  27. package/src/components/revenue/cardHandManage/cardDown.vue +18 -0
  28. package/src/components/revenue/changeInsurance/InsuranceAdd.vue +1 -0
  29. package/src/components/revenue/changeInsurance/InsuranceRecord.vue +2 -1
  30. package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +1 -1
  31. package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +4 -2
  32. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  33. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  34. package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +2 -2
  35. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  36. package/src/components/revenue/machineHandManage/HandplanQuery.vue +1 -1
  37. package/src/components/revenue/machineHandManage/machineHand.vue +3 -2
  38. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  39. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  40. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  41. package/src/filiale/bayan/StockListmain.vue +543 -543
  42. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  43. package/src/filiale/dexin/MeterinfoTest.vue +1239 -0
  44. package/src/filiale/dexin/UserEssentialInfoTest.vue +602 -0
  45. package/src/filiale/dexin/sale.js +5 -0
  46. package/src/filiale/fugou/MeterinfoTest.vue +1 -1
  47. package/src/filiale/jiaxian/AutomaticPurse.vue +349 -0
  48. package/src/filiale/jiaxian/ChangeMeterQueryUser.vue +303 -0
  49. package/src/filiale/jiaxian/ChangeRecord.vue +44 -2
  50. package/src/filiale/jiaxian/FillCardQueryUser.vue +250 -0
  51. package/src/filiale/jiaxian/FillGasQueryUser.vue +270 -0
  52. package/src/filiale/jiaxian/OtherChargeQueryUser.vue +305 -0
  53. package/src/filiale/jiaxian/PriceAdjustmentQueryUser.vue +368 -0
  54. package/src/filiale/jiaxian/PriceChangeQueryUser.vue +243 -0
  55. package/src/filiale/jiaxian/QueryInstruct.vue +436 -0
  56. package/src/filiale/jiaxian/RecordQueryUser.vue +321 -0
  57. package/src/filiale/jiaxian/Repurchase.vue +181 -0
  58. package/src/filiale/jiaxian/TransferQueryUser.vue +274 -0
  59. package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +11 -11
  60. package/src/filiale/jiaxian/Userinfo.vue +426 -0
  61. package/src/filiale/jiaxian/WatchCollection.vue +54 -1
  62. package/src/filiale/jiaxian/WebAutomaticPurse.vue +348 -0
  63. package/src/filiale/jiaxian/contractSigningList.vue +149 -0
  64. package/src/filiale/jiaxian/sale.js +5 -0
  65. package/src/filiale/jinhong/AutoAccountsDetail.vue +63 -0
  66. package/src/filiale/jinhong/CardList.vue +572 -0
  67. package/src/filiale/jinhong/CardMeterCenter.vue +1 -1
  68. package/src/filiale/jinhong/CardMeterCenterInner.vue +61 -22
  69. package/src/filiale/jinhong/GarbageCharge.vue +1 -1
  70. package/src/filiale/jinhong/HandplanQuery.vue +1430 -0
  71. package/src/filiale/jinhong/IOTMeterCenterInner.vue +42 -14
  72. package/src/filiale/jinhong/InsuranceAdd.vue +27 -5
  73. package/src/filiale/jinhong/InsuranceChargesDetails.vue +11 -5
  74. package/src/filiale/jinhong/InsuranceRecord.vue +4 -5
  75. package/src/filiale/jinhong/InsuranceTemp.vue +33 -5
  76. package/src/filiale/jinhong/MachineChargeService.js +8 -0
  77. package/src/filiale/jinhong/MachineMeterCenter.vue +38 -11
  78. package/src/filiale/jinhong/ShowCardSellGasInner.vue +46 -14
  79. package/src/filiale/jinhong/Userinfo.vue +75 -1
  80. package/src/filiale/jinhong/insuranceGuanL.vue +349 -0
  81. package/src/filiale/jinhong/machineDown.vue +1205 -0
  82. package/src/filiale/jinhong/sale.js +9 -0
  83. package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +259 -0
  84. package/src/filiale/jinhuang/WebHand.vue +1026 -0
  85. package/src/filiale/jinhuang/WebHandQueryUser.vue +413 -0
  86. package/src/filiale/jinhuang/cardsHand.vue +911 -0
  87. package/src/filiale/jinhuang/sale.js +8 -0
  88. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  89. package/src/filiale/lixianV3/InsuranceAdd.vue +1 -0
  90. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  91. package/src/filiale/meihekou/CardMeterCenter.vue +991 -0
  92. package/src/filiale/meihekou/ChargeManage.vue +3 -2
  93. package/src/filiale/meihekou/ChargeOper.vue +279 -169
  94. package/src/filiale/meihekou/HandManager.vue +57 -2
  95. package/src/filiale/meihekou/NoCardMeterCenter.vue +542 -0
  96. package/src/filiale/meihekou/OverUseCharge.vue +1 -1
  97. package/src/filiale/meihekou/PrintBill.vue +48 -41
  98. package/src/filiale/meihekou/ReissueBill.vue +4 -1
  99. package/src/filiale/meihekou/ShowCardSellGas.vue +935 -0
  100. package/src/filiale/meihekou/TransferManage.vue +704 -0
  101. package/src/filiale/meihekou/Userinfo.vue +233 -5
  102. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  103. package/src/filiale/meihekou/icTable.vue +233 -0
  104. package/src/filiale/meihekou/machineHand.vue +2158 -0
  105. package/src/filiale/meihekou/manualChargeCenter.vue +394 -0
  106. package/src/filiale/meihekou/meterTable.vue +220 -0
  107. package/src/filiale/meihekou/sale.js +15 -0
  108. package/src/filiale/qianneng/MeterMessage.vue +1 -1
  109. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  110. package/src/filiale/rizhao/InsuranceAdd.vue +1 -0
  111. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  112. package/src/filiale/ronghao/CardList.vue +19 -17
  113. package/src/filiale/ronghao/CardMeterChargeCancel.vue +5 -0
  114. package/src/filiale/ronghao/CardService.js +2144 -2144
  115. package/src/filiale/ronghao/ChangeMeterService.js +1 -1
  116. package/src/filiale/ronghao/ChargeList.vue +17 -17
  117. package/src/filiale/ronghao/ChargeManage.vue +325 -0
  118. package/src/filiale/ronghao/ChargeOper.vue +330 -0
  119. package/src/filiale/ronghao/FilesManageNew/UserEssentialInfoTest.vue +457 -0
  120. package/src/filiale/ronghao/FilesManageNew/UserGeneralInfoTest.vue +690 -0
  121. package/src/filiale/ronghao/HandplanQuery.vue +13 -14
  122. package/src/filiale/ronghao/IOTMeterCenter.vue +15 -6
  123. package/src/filiale/ronghao/InsuranceAdd.vue +1 -0
  124. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  125. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  126. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  127. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  128. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  129. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  130. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  131. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  132. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  133. package/src/filiale/ronghao/Upload.vue +654 -654
  134. package/src/filiale/ronghao/Userinfo.vue +18 -18
  135. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  136. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  137. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  138. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  139. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  140. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  141. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  142. package/src/filiale/ronghao/machineRefund.vue +3 -1
  143. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  144. package/src/filiale/ronghao/sale.js +11 -0
  145. package/src/filiale/ronghao/specificInformation.vue +537 -537
  146. package/src/filiale/ronghao/uploadFilesHistory.vue +214 -0
  147. package/src/filiale/ruihua/FilesManage/MeterinfoTest.vue +10 -0
  148. package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +1 -0
  149. package/src/filiale/wuan/MeterMessage.vue +1 -1
  150. package/src/filiale/yangchun/BasicLivingList.vue +281 -0
  151. package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +1 -0
  152. package/src/filiale/yangchun/CardChangeFill.vue +1 -1
  153. package/src/filiale/yangchun/ChargeList.vue +954 -954
  154. package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +3 -3
  155. package/src/filiale/yangchun/NewMeterList.vue +742 -0
  156. package/src/filiale/yangchun/sale.js +3 -0
  157. package/src/filiale/yuncheng/CardList.vue +1 -1
  158. package/src/filiale/yuncheng/IndustryCommerceHand.vue +1145 -0
  159. package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +794 -0
  160. package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +64 -0
  161. package/src/filiale/yuncheng/InsuranceAdd.vue +1 -0
  162. package/src/filiale/yuncheng/MeterBookUser.vue +781 -0
  163. package/src/filiale/yuncheng/UserDeviceInfoTest.vue +2 -2
  164. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  165. package/src/filiale/yuncheng/industryDown.vue +1118 -0
  166. package/src/filiale/yuncheng/sale.js +11 -0
  167. package/src/filiale/yuncheng/uploadFilesHistory.vue +185 -0
  168. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  169. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  170. package/src/plugins/CardService.js +2217 -2217
  171. package/src/sale.js +3 -1
@@ -0,0 +1,214 @@
1
+ <template>
2
+ <div class="row" style="height:8%">
3
+ <div class="col-sm-2 form-group" >
4
+ <label for="f_hand_date" class="font_normal_body">上传日期</label>
5
+ <datepicker style="width:60%" id="f_hand_date" placeholder="上传日期"
6
+ :value.sync="upload_date"
7
+ :format="'yyyy-MM-dd'"
8
+ class="datepicker"
9
+ :show-reset-button="true">
10
+ </datepicker>
11
+ </div>
12
+ <div class="col-sm-2 form-group" >
13
+ <label class="font_normal_body">分类</label>
14
+ <v-select :value.sync="fusetype" :options='fusetypes' placeholder='分类' close-on-select></v-select>
15
+ </div>
16
+ <div style="float: right">
17
+ <button class="button_search" @click="selfSearch()" style="float:right;margin-right: 5px" v-el:cba>查询</button>
18
+ </div>
19
+ </div>
20
+ <div class="panel panel-info auto" style="overflow-y: auto;height:100%" id="apps">
21
+ <!-- <div class="panel-heading auto">-->
22
+ <!-- 上传附件记录-->
23
+ <!-- </div>-->
24
+
25
+ <div class="tab-content span" style="min-height:300px" id="app">
26
+ <div style="padding:0px 0px 10px 0px;margin-left: 20px;overflow: auto;">
27
+
28
+ <!-- 时间轴显示 -->
29
+ <!-- 工单的基本信息 -->
30
+
31
+
32
+ <!-- <div class="flex-row" v-for="item in files" ><span >-&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;</span></div>-->
33
+ <timeline >
34
+ <timeline-item v-for="item in files"
35
+ :color="$index === files.length - 1 ? 'blue' : 'default'">
36
+ <div class="row" >
37
+
38
+
39
+ <p> {{item.days}}</p>
40
+
41
+ <!-- 派单 -->
42
+ <div v-for="file in item.arrays" class="col-sm-6">
43
+
44
+ <div style="height:180px;">
45
+ <img style="height:100%" :src="file.f_downloadURL"/>
46
+ </div>
47
+
48
+ <div style="height:190px;">
49
+ <div class="showtext">上传时间:&nbsp;<span>{{file.f_uploaddate}}</span></div>
50
+ <div class="showtext">操作员:&nbsp;<span>{{file.f_operator}}</span></div>
51
+ <div class="showtext">分类:&nbsp;<span>{{file.fusetype}}</span></div>
52
+ <div class="showtext">文件说明:&nbsp;{{file.fremarks}}</div>
53
+ <div class="flex-row showtext">
54
+ <button class="btn btn-link" @click.stop="imgShow(file.f_downloadURL)">预览</button>
55
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
56
+ <a v-show="isDelete == '1'" @click="delet($index,file)">删除</a>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+
62
+ </timeline-item>
63
+ </timeline>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ <modal :show.sync="imgshow" v-ref:modal backdrop="true" coverstyle="modalContentRight">
68
+ <header slot="modal-header" class="modal-header">
69
+ 预览
70
+ </header>
71
+ <article slot="modal-body" class="modal-body">
72
+ <div class="from-group">
73
+ <img-self-sale-plus :src="imgfilename" :list="imgfilename" :width="750" :height="750"></img-self-sale-plus>
74
+ </div>
75
+ </article>
76
+ <footer slot="modal-footer" class="modal-footer">
77
+ <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
78
+ </footer>
79
+ </modal>
80
+ </template>
81
+ <script>
82
+ import {HttpResetClass} from 'vue-client'
83
+
84
+ export default {
85
+ title: '附件上传记录',
86
+ props: {
87
+ row: ''
88
+ },
89
+ data () {
90
+ return {
91
+
92
+ upload_date: '',
93
+ fusetype: [],
94
+ imgfilename: '',
95
+ imgshow: false,
96
+ files: [],
97
+ fusetypes: [],
98
+ isDelete: '0', // 删除按钮,可以进行控制(权限等)
99
+ userinfo_id: '',
100
+ images: ''
101
+ }
102
+ },
103
+ methods: {
104
+
105
+ selfSearch () {
106
+ this.getFiles()
107
+ },
108
+ async getfusetypes () {
109
+ this.fusetypes.push({label: '全部', value: ''})
110
+ let http = new HttpResetClass()
111
+ let res = await http.load('POST', 'api/af-revenue/sql/singleTable_OrderBy',
112
+ {data: {items: 'fusetype',
113
+ tablename: 't_files',
114
+ condition: `fusetype is not null and fusetype != '安检照片' GROUP BY fusetype`,
115
+ orderitem: 'fusetype'}},
116
+ {resolveMsg: null, rejectMsg: '获取图片分类失败'})
117
+ res.data.forEach((item) => {
118
+ this.fusetypes.push({
119
+ label: item.fusetype, value: item.fusetype
120
+ })
121
+ })
122
+ },
123
+ delet (index, row) {
124
+ this.$resetdelete('api/af-revenue/entity/t_files', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
125
+ // this.files.splice(index, 1)
126
+ this.selfSearch()
127
+ })
128
+ },
129
+ imgShow (val) {
130
+ // this.imgfilename = `api/af-revenue/file/image/` + val
131
+ this.imgfilename = val
132
+ this.imgshow = true
133
+ },
134
+ imgclose () {
135
+ this.imgshow = false
136
+ },
137
+ getFiles () {
138
+ this.files = []
139
+ this.userinfo_id = this.row.f_userinfo_id
140
+ let condition = `CONVERT(varchar(200),f_blobid) = '${this.userinfo_id}' and fusetype != '安检照片'`
141
+ if (this.upload_date !== '') {
142
+ condition += `and CONVERT( VARCHAR ( 100 ), f_uploaddate, 23 )='${this.upload_date}' `
143
+ }
144
+ if (this.fusetype.length == 1) {
145
+ if (this.fusetype[0] !== '') {
146
+ condition += `and fusetype='${this.fusetype}' `
147
+ }
148
+ }
149
+ let http = new HttpResetClass()
150
+
151
+ if (this.userinfo_id) {
152
+ http.load('POST', 'api/af-revenue/logic/getAllFiles', {
153
+ data: {
154
+ condition: condition
155
+ }
156
+ }, {resolveMsg: null, rejectMsg: '获取附件出错!!!'}).then((res) => {
157
+ for (var i = 0; i < res.data.days.length; i++) {
158
+ // 循环日期。将files组织成[{day:'',array:''},{day:'',array:''}...]格式
159
+ this.files.push({
160
+ days: null,
161
+ arrays: []
162
+ })
163
+ this.files[i].days = res.data.days[i].uploadday
164
+ for (var j = 0; j < res.data.array.length; j++) {
165
+ // 循环查出来的所有附件
166
+
167
+ if (res.data.array[j].uploadday == this.files[i].days) {
168
+ // 如果使用类型包含导入字样,则是execl文件导入的,不做显示
169
+ if (res.data.array[j].fusetype && res.data.array[j].f_filetype.includes('xls')) {
170
+ res.data.array[j].splice(i, 1)
171
+ i--
172
+ continue
173
+ }
174
+ if ((res.data.array[j].fusetype == '安检照片' && res.data.array[j].f_filename.includes('amr'))) {
175
+ continue
176
+ }
177
+ let temp = res.data.array[j].f_downloadpath
178
+ let URL = temp.substring(temp.lastIndexOf(':\\') + 2)
179
+ if (res.data.array[j].fusetype == '安检照片') {
180
+ res.data.array[j].f_downloadURL = location.protocol + '//' + location.host + '/rs/image/file/' + res.data.array[j].f_filename
181
+ } else {
182
+ res.data.array[j].f_downloadURL = location.protocol + '//' + location.host + '/' + URL
183
+ }
184
+ console.log('res.data.array[j].f_downloadURL', res.data.array[j].f_downloadURL)
185
+ this.files[i].arrays.push(res.data.array[j])
186
+ }
187
+ }
188
+ }
189
+ })
190
+ }
191
+ }
192
+
193
+ },
194
+ ready () {
195
+ if (this.$login.r.find(value => value == '上传附件删除')) {
196
+ // 有删除权限
197
+ this.isDelete = '1'
198
+ }
199
+ this.getFiles()
200
+ this.getfusetypes()
201
+ }
202
+ }
203
+ </script>
204
+ <style media="screen">
205
+ #work-history ul {
206
+ padding: 0px;
207
+ }
208
+ .showtext{
209
+ height:20px;
210
+ }
211
+ .modalContentRight {
212
+ float:right;
213
+ }
214
+ </style>
@@ -175,6 +175,16 @@
175
175
  :options='usetype' placeholder='使用类型'
176
176
  close-on-select></v-select>
177
177
  </div>
178
+ <div class="col-sm-4 form-group">
179
+ <input type="text" v-model="row.f_meter_inspect_date" v-show="false">
180
+ <label class="font_normal_body">表具检测日期</label>
181
+ <datepicker style="width:60%" placeholder="表具检测日期"
182
+ v-model="row.f_meter_inspect_date"
183
+ v-ref:f_meter_inspect_date
184
+ :value.sync="row.f_meter_inspect_date"
185
+ :format="'yyyy-MM-dd HH:mm:ss'"
186
+ ></datepicker>
187
+ </div>
178
188
  </div>
179
189
  <div>
180
190
  <a style="font-size: 16px;font-weight: 500;">气价信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
@@ -235,6 +235,7 @@
235
235
  if (JSON.stringify(this.row) != '{}') {
236
236
  this.model = {
237
237
  f_userinfo_id: this.row.f_userinfo_id,
238
+ f_userfiles_id: this.row.f_userfiles_id,
238
239
  f_ins_stop_date: this.row.f_ins_stop_date,
239
240
  f_user_name: this.row.f_user_name,
240
241
  f_idnumber: this.row.f_idnumber,
@@ -97,7 +97,7 @@
97
97
  } else {
98
98
  this.metermessage.f_meter_base = (this.metermessage.f_meter_base - 0).toFixed(0)
99
99
  }
100
- if (this.metermessage.f_meter_base > this.f_meter_base_max) {
100
+ if ((this.metermessage.f_meter_base - 0) > (this.f_meter_base_max - 0)) {
101
101
  this.$showAlert(`新表底数可录入的最大值为: ${this.f_meter_base_max}, 请核实后重新录入!!!`, 'warning', 3000)
102
102
  this.metermessage.f_meter_base = ''
103
103
  }
@@ -0,0 +1,281 @@
1
+ <template>
2
+ <div @keyup.enter="search" class="flex" id="ss" style="flex:1;" v-el:sss>
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
5
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
6
+ <div class="row">
7
+ <res-select-group :style="$parent.$parent.$parent.isdetail?'col-sm-3 form-group':'col-sm-2 form-group'" :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getorg" v-ref:sel></res-select-group>
8
+ <div
9
+ :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"
10
+ class="form-group ">
11
+ <label class="font_normal_body">用户编号</label>
12
+ <input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="用户编号" style="width:60%"
13
+ type="text" v-model="model.ename"
14
+ />
15
+ </div>
16
+ <div
17
+ :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"
18
+ class="form-group " v-if="!$parent.$parent.$parent.isdetail">
19
+ <label class="font_normal_body">用户姓名</label>
20
+ <input class="input_search" condition="f_user_name like '%{}%'" placeholder="用户姓名" style="width:60%"
21
+ type="text" v-model="model.name" />
22
+ </div>
23
+ <!-- <div-->
24
+ <!-- :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"-->
25
+ <!-- class="form-group "-->
26
+ <!-- v-if="$parent.$parent.clientWidth>1600">-->
27
+ <!-- <label class="font_normal_body">电&emsp;&emsp;话</label>-->
28
+ <!-- <input :size="model.f_user_phone ? model.f_user_phone.length : 2" class="input_search"-->
29
+ <!-- condition="f_user_phone = '{}'" placeholder='电话' style="width:60%"-->
30
+ <!-- type="text"-->
31
+ <!-- v-model="model.f_user_phone">-->
32
+ <!-- </div>-->
33
+ <!-- <div-->
34
+ <!-- :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"-->
35
+ <!-- class="form-group "-->
36
+ <!-- v-if="$parent.$parent.clientWidth<1600&&!$parent.$parent.$parent.isdetail">-->
37
+ <!-- <label class="font_normal_body">电&emsp;&emsp;话</label>-->
38
+ <!-- <input :size="model.f_user_phone ? model.f_user_phone.length : 2" class="input_search"-->
39
+ <!-- condition="f_user_phone = '{}'" placeholder='电话' style="width:60%"-->
40
+ <!-- type="text"-->
41
+ <!-- v-model="model.f_user_phone">-->
42
+ <!-- </div>-->
43
+ <div class="form-group button-range" style="padding-right: 10px">
44
+ <import-excel v-if="$parent.$parent.basicImport === '低保户导入'" template-name="低保户导入模板" logic-name="BasicLivingImport" import-json="basicLiving.json"></import-excel>
45
+ <button @click="$parent.$parent.search()" class="button_search button_spacing" v-el:cx>查询</button>
46
+ <button @click="$parent.$parent.add()" class="button_export button_spacing" style="width: max-content;" v-if="this.$login.r.includes('新增低保户')"
47
+ v-el:cx>新增低保户
48
+ </button>
49
+ <export-excel
50
+ :data="$parent.$parent.getCondition"
51
+ :field="$parent.$parent.getfield"
52
+ sqlurl="api/af-revenue/logic/saleExport" progress="saleGetExportProgress" sql-name="get_BasicLiving" template-name='低保户导出'
53
+ v-if="this.$login.r.includes('低保户导出')"
54
+ :choose-col="true">
55
+ </export-excel>
56
+ <div
57
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
58
+ @click="$parent.$parent.criteriaShow=!$parent.$parent.criteriaShow"
59
+ class="button_spacing"
60
+ style="float: right"></div>
61
+ </div>
62
+ </div>
63
+ <div class="row" v-if="$parent.$parent.criteriaShow">
64
+ <div
65
+ :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"
66
+ class="form-group " v-if="$parent.$parent.$parent.isdetail">
67
+ <label class="font_normal_body">用户姓名</label>
68
+ <input class="input_search" condition="f_user_name like '%{}%'" placeholder="用户姓名" style="width:60%"
69
+ type="text" v-model="model.name" />
70
+ </div>
71
+ <div
72
+ :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"
73
+ class="form-group ">
74
+ <label class="font_normal_body">电&emsp;&emsp;话</label>
75
+ <input :size="model.f_user_phone ? model.f_user_phone.length : 2" class="input_search"
76
+ condition="f_user_phone = '{}'" placeholder='电话' style="width:60%"
77
+ type="text"
78
+ v-model="model.f_user_phone">
79
+ </div>
80
+ <div
81
+ :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"
82
+ class="form-group ">
83
+ <label class="font_normal_body">地&emsp;&emsp;址</label>
84
+ <input :size="model.f_address ? model.f_address.length * 2 : 4" class="input_search"
85
+ condition="f_address like '%{}%'" placeholder='用户地址' style="width:60%"
86
+ type="text"
87
+ v-model="model.f_address">
88
+ </div>
89
+
90
+ <div
91
+ :class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-3':$parent.$parent.$parent.isdetail}"
92
+ class="form-group ">
93
+ <label class="font_normal_body">状&emsp;&emsp;态</label>
94
+ <v-select
95
+ :options='$parent.$parent.state'
96
+ :value-single="true"
97
+ :value.sync="model.f_state"
98
+ close-on-select
99
+ condition="f_state ='{}'"
100
+ v-model="model.f_state"></v-select>
101
+
102
+ </div>
103
+
104
+ </div>
105
+ </div>
106
+ </criteria>
107
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
108
+ <template partial='head'>
109
+ <tr>
110
+ <th style="text-align: center;">
111
+ <nobr>序号</nobr>
112
+ </th>
113
+ <th style="text-align: center;">
114
+ <nobr>用户编号</nobr>
115
+ </th>
116
+ <th style="text-align: center;">
117
+ <nobr>姓名</nobr>
118
+ </th>
119
+ <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>
120
+ <nobr>电话</nobr>
121
+ </th>
122
+ <th style="text-align: center;">
123
+ <nobr>地址</nobr>
124
+ </th>
125
+ <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail'>
126
+ <nobr>气价</nobr>
127
+ </th>
128
+ <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail' >
129
+ <nobr>开始时间</nobr>
130
+ </th>
131
+ <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail' >
132
+ <nobr>结束时间</nobr>
133
+ </th>
134
+ <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail' >
135
+ <nobr>附件查看</nobr>
136
+ </th>
137
+ </tr>
138
+ </template>
139
+ <template partial='body'>
140
+ <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
141
+ <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
142
+ <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
143
+ <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
144
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
145
+ <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
146
+ <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_start_date}}</nobr></td>
147
+ <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_end_date}}</nobr></td>
148
+ <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"> <nobr>
149
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
150
+ </nobr></td>
151
+ </template>
152
+ <template partial='foot'></template>
153
+ </data-grid>
154
+ </criteria-paged>
155
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
156
+ <article slot="modal-body">
157
+ <upload :blodid="selected.f_userinfo_id" isremark="true" :isremark="false" fusetype="低保户" v-ref:upload ></upload>
158
+ </article>
159
+ <footer slot="modal-footer" class="modal-footer">
160
+ </footer>
161
+ </modal>
162
+ </div>
163
+ </template>
164
+
165
+ <script>
166
+ import {PagedList} from 'vue-client'
167
+ import Vue from 'vue'
168
+
169
+ export default {
170
+ data () {
171
+ return {
172
+ initres: {
173
+ org: [this.$login.f.orgid],
174
+ dep: [],
175
+ user: []
176
+ },
177
+ state: [{value: '', label: '全部'},
178
+ {value: '有效', label: '有效'},
179
+ {value: '过期', label: '过期'},
180
+ {value: '无效', label: '无效'}],
181
+ model: new PagedList('api/af-revenue/sql/get_BasicLiving', 20, {orderitem: '"' + this.orderitem + '"'}),
182
+
183
+ // 公司下拉
184
+ curorgid: [this.$login.f.orgid],
185
+
186
+ f_orgid: '',
187
+ criteriaShow: false,
188
+ clientWidth: document.body.clientWidth,
189
+ showupload:false,
190
+ selected: {},
191
+ basicImport: '',
192
+ getfield: {
193
+ 'f_userinfo_code': '用户编号',
194
+ 'f_user_name': '姓名',
195
+ 'f_user_phone': '电话',
196
+ 'f_address': '地址',
197
+ 'f_price_name': '气价',
198
+ 'f_start_date': '开始时间',
199
+ 'f_end_date': '结束时间'
200
+ }
201
+ }
202
+ },
203
+ props: {
204
+ orderitem: {
205
+ type: String,
206
+ default: 'f_price_id'
207
+ },
208
+ row: {}
209
+ },
210
+ compiled () {
211
+ window.onresize = () => {
212
+ return (() => {
213
+ this.clientWidth = document.body.clientWidth
214
+ })()
215
+ }
216
+ },
217
+ ready () {
218
+ this.getAuthority()
219
+ this.$refs.paged.$refs.cri.model.f_state = '有效'
220
+ this.search()
221
+ },
222
+ methods: {
223
+ getAuthority () {
224
+ if (this.$login.r.find(value => value == '低保户导入')) {
225
+ this.basicImport = '低保户导入'
226
+ }
227
+ },
228
+ view (row) {
229
+ this.showupload = true
230
+ this.selected = row
231
+ console.log('11', row)
232
+ },
233
+ async getRes (condition, obj) {
234
+ console.log('低保户condition =', condition)
235
+ console.log('低保户obj =', obj)
236
+ this.orgname = obj.orgnames[0]
237
+ this.depname = obj.depnames[0]
238
+ // 更新抄表册
239
+ // this.meterbooks = [{label: '全部',value: ''}];
240
+ // if(this.lastorgstr != condition){
241
+ // this.tempfalg = true;
242
+ // this.lastorgstr = condition;
243
+ // }
244
+ // if(this.tempfalg && condition != null && condition!='' && condition.indexOf("(")>-1){
245
+ // this.tempfalg = false;
246
+ // let a = condition.substring(condition.indexOf("(")+2)
247
+ // }
248
+ // this.orgCondtionStr = condition
249
+ },
250
+
251
+ search () {
252
+ this.$refs.paged.$refs.cri.search()
253
+ this.$dispatch('search')
254
+ console.log('低保户search,', this.f_orgid)
255
+ },
256
+ getorg (val) {
257
+ console.log('低保户的val', val)
258
+ this.f_orgid = val
259
+ },
260
+ selfSearch (args) {
261
+ if (!this.f_orgid) {
262
+ this.getorg('and f_orgid in' + '(\'' + [this.$login.f.orgid] + '\')')
263
+ }
264
+ console.log('查询。。。', this.f_orgid)
265
+ if (this.f_orgid) {
266
+ // args.condition = `${args.condition} and s.f_filialeid in ${this.f_orgid}`
267
+ args.condition = `${args.condition} ${this.f_orgid}`
268
+ }
269
+ this.model.search(args.condition, args.model)
270
+ },
271
+ add () {
272
+ this.$dispatch('add')
273
+ }
274
+ },
275
+ computed: {
276
+ getCondition () {
277
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.f_orgid}
278
+ }
279
+ }
280
+ }
281
+ </script>
@@ -36,6 +36,7 @@
36
36
  :data="$parent.$parent.getCondition"
37
37
  :field="$parent.$parent.getfield"
38
38
  sqlurl="api/af-revenue/logic/saleExport" progress="saleGetExportProgress" sql-name="sale_blackRecordQuery" template-name='重点用户操作记录导出'
39
+ v-if="this.$login.r.includes('重点用户操作记录导出')"
39
40
  :choose-col="true">
40
41
  </export-excel>
41
42
  <div
@@ -625,7 +625,7 @@
625
625
  calText (val) {
626
626
  let str = ''
627
627
  val.forEach((item) => {
628
- str = str + item.f_price + ' x ' + item.f_gas + '+'
628
+ str = str + item.f_price + ' x ' + (item.f_gas - 0).toFixed(2) + '+'
629
629
  })
630
630
  str = str.slice(0, str.length - 1)
631
631
  this.calculatedetail = str