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
@@ -41,7 +41,7 @@
41
41
  <export-excel
42
42
  :data="$parent.$parent.getCondition"
43
43
  :field="$parent.$parent.getfield"
44
- sqlurl="api/af-revenue/logic/saleExport" sql-name="getIndustryCommerceHand" template-name='工业商业抄表导出'
44
+ sqlurl="api/af-revenue/logic/saleExport" sql-name="sale_getWebHand" template-name='物联网抄表导出'
45
45
  :choose-col="true">
46
46
  </export-excel>
47
47
  <div
@@ -359,11 +359,11 @@
359
359
  </header>
360
360
  <article slot="modal-body" class="modal-body">
361
361
  <div class="from-group" v-for="img in images">
362
- <img-self :src="`/singlepage/rs/file/image/` + img" :width="150" :height="150"></img-self>
362
+ <img-self :src="`/singlepage/rs/image/file/` + img" :width="250" :height="250"></img-self>
363
363
  </div>
364
364
  </article>
365
365
  <footer slot="modal-footer" class="modal-footer">
366
- <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
366
+ <button type="button" class="btn btn-success" @click='imgListClose'>关闭</button>
367
367
  </footer>
368
368
  </modal>
369
369
  </div>
@@ -513,11 +513,14 @@ export default {
513
513
  this.imgListShow = true
514
514
  this.images = JSON.parse(images)
515
515
  },
516
+ imgListClose () {
517
+ this.imgListShow = false
518
+ },
516
519
  imgclose () {
517
520
  this.imgshow = false
518
521
  },
519
522
  imgShow (val) {
520
- this.imgfilename = `/rs/file/image/` + val
523
+ this.imgfilename = `/rs/image/file/` + val
521
524
  this.imgshow = true
522
525
  },
523
526
  async danhuCodeSearch () {
@@ -128,7 +128,7 @@
128
128
  <td colspan="1" v-if="model.ajresult && (model.ajresult.indexOf('有隐患') >= 0)" style="text-align: center;border: #E9E9E9 solid 1px;color:red;">隐患详情:</td>
129
129
  <td colspan="3" v-if="model.ajresult && (model.ajresult.indexOf('有隐患') >= 0)" style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%;color:red;">
130
130
  <span v-for="deviceCollect in model.deviceCollects">
131
- <span class="li-font">
131
+ <span class="li-font" :class="[deviceCollect.value.indexOf('有隐患') >-1 ? 'defectcs' : '']" >
132
132
  {{deviceCollect.name}}:{{deviceCollect.value}}&nbsp;&nbsp;&nbsp;
133
133
  </span>
134
134
  <br>
@@ -137,7 +137,7 @@
137
137
  <td colspan="1" v-if="!(model.ajresult && (model.ajresult.indexOf('有隐患') >=0))" style="text-align: center;border: #E9E9E9 solid 1px;">隐患详情:</td>
138
138
  <td colspan="3" v-if="!(model.ajresult && (model.ajresult.indexOf('有隐患') >=0))" style="text-align: center;border: #E9E9E9 solid 1px;word-wrap:break-word;word-break:break-all;width:87%">
139
139
  <span v-for="deviceCollect in model.deviceCollects">
140
- <span class="li-font">
140
+ <span class="li-font" :class="[deviceCollect.value.indexOf('有隐患') >-1 ? 'defectcs' : '']" >
141
141
  {{deviceCollect.name}}:{{deviceCollect.value}}&nbsp;&nbsp;&nbsp;
142
142
  </span>
143
143
  <br>
@@ -156,12 +156,16 @@
156
156
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%" v-if="checkitem.f_path!='' && checkitem.f_path!=null">
157
157
  <img-self :src="'rs/image/file/'+checkitem.f_path" style="float: left" width="100" height="150"></img-self>
158
158
  </td>
159
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%;color:red" v-if="checkitem.f_filename_paths!='' && checkitem.f_filename_paths!=null">
160
+ <span class="defectcs" @click="getDefectImg(checkitem.f_filename_paths)" >查看图片</span>
161
+ <!-- <img-self :src="'rs/image/file/'+checkitem.f_path" style="float: left" width="100" height="150"></img-self>-->
162
+ </td>
159
163
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%" v-if="checkitem.f_path=='' && checkitem.f_path==null">
160
164
  暂无图片
161
165
  </td>
162
166
  </tr>
163
167
  </table>
164
- <table class="table table-striped table-bordered" v-if="model.f_notified_path=='' && model.f_notified_path==null">
168
+ <table class="table table-striped table-bordered" v-if="model.f_notified_path!='' && model.f_notified_path!=null">
165
169
  <thead>
166
170
  <tr> <th colspan="4" style="text-align: center;background-color: #8cbce2;">隐患整改通知单</th></tr>
167
171
  </thead>
@@ -217,6 +221,23 @@
217
221
  <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
218
222
  </footer>
219
223
  </modal>
224
+ <modal :show.sync="defectImgShow" v-ref:modal styles="height:80vh">
225
+ <header slot="modal-header" class="modal-header">
226
+ 隐患照片
227
+ </header>
228
+ <article slot="modal-body" class="modal-body" >
229
+ <div class="from-group">
230
+ <div class="row">
231
+ <div class="col-sm-6" v-for="img in defectImgArr">
232
+ <img-self :src="'rs/image/file/'+img.f_path" style="float: left" width="300" height="400"></img-self>
233
+ </div>
234
+ </div>
235
+ </div>
236
+ </article>
237
+ <footer slot="modal-footer" class="modal-footer" v-show="false">
238
+ <button type="button" class="btn btn-success" @click='imgDefectClose'>关闭</button>
239
+ </footer>
240
+ </modal>
220
241
  </template>
221
242
  <script>
222
243
  /**
@@ -241,6 +262,7 @@
241
262
  if (!(JSON.stringify(getSafeCheck.data) == '{}')) {
242
263
  self.model = {}
243
264
  self.model = Object.assign({}, self.model, getSafeCheck.data)
265
+ // self.model.safecheckitem[0].f_filename_paths = '50eeff69c7ff78bd7831f17ff181f4b2-device10-0-f_items1.jpg?0.10122581621022331,6a6ce267f9ddd8904f6a52aeabe11c0b-device10-0-f_items1.jpg?0.9118883785380048'
244
266
  self.hasCheck = 1
245
267
  } else {
246
268
  self.hasCheck = 0
@@ -266,6 +288,8 @@
266
288
  hasCheck: -1,
267
289
  imgshow: false,
268
290
  imgshow2: false,
291
+ defectImgShow: false,
292
+ defectImgArr: [],
269
293
  showimg1: '',
270
294
  showimg2: '',
271
295
  showimg3: '',
@@ -281,6 +305,17 @@
281
305
  }
282
306
  },
283
307
  methods: {
308
+ getDefectImg (row) {
309
+ this.defectImgShow = true
310
+ const itemsArray = row.split(',')
311
+ this.defectImgArr = itemsArray.map(item => ({
312
+ f_path: item
313
+ }))
314
+ },
315
+ imgDefectClose () {
316
+ this.defectImgShow = false
317
+ this.defectImgArr = []
318
+ },
284
319
  showpicture2 () {
285
320
  this.imgshow2 = true
286
321
  }
@@ -298,6 +333,9 @@
298
333
  }
299
334
  </script>
300
335
  <style scoped>
336
+ .defectcs{
337
+ cursor: pointer;
338
+ }
301
339
  .img {
302
340
  border: 1px solid #9773ed;
303
341
  width: auto;
@@ -0,0 +1,76 @@
1
+ <template>
2
+ <div class="panel panel-info auto">
3
+ <div class="panel-heading auto" style="height: 30px">
4
+ <h4 style="display:inline-block;margin-top: auto">保险信息</h4>
5
+ </div>
6
+ <div class="auto info-content" v-if="feelist.data.length > 0">
7
+ <div class="row">
8
+ <label class="col-sm-4 ">险种:</label>
9
+ <span class="col-sm-8">{{row.f_insurance_type}}</span>
10
+ </div>
11
+ <div class="row">
12
+ <label class="col-sm-4 ">购买时间:</label>
13
+ <span class="col-sm-8">{{row.f_operate_date}}</span>
14
+ </div>
15
+ <div class="row">
16
+ <label class="col-sm-4 ">到期时间:</label>
17
+ <span class="col-sm-8">{{row.f_expiration_date}}</span>
18
+ </div>
19
+ <div class="row">
20
+ <label class="col-sm-4 ">金额:</label>
21
+ <span class="col-sm-8">{{row.f_money}}</span>
22
+ </div>
23
+ </div>
24
+ <div v-else>
25
+ <div class="row">
26
+ <strong>暂无保险信息</strong>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </template>
31
+
32
+ <script>
33
+ /**
34
+ *用户其他费用信息组件
35
+ */
36
+ export default {
37
+ props: ['userinfoid'],
38
+ data () {
39
+ return {
40
+ row: {},
41
+ feelist: []
42
+ }
43
+ },
44
+ methods: {
45
+ async userfees (userinfoid) {
46
+ console.log('获取保险费' + userinfoid)
47
+ if (userinfoid) {
48
+ this.feelist = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {data: {tablename: 't_userfees', condition: `f_userinfo_id='${userinfoid}'`, items: '*', orderitem: 'f_operate_date desc' }})
49
+ if (this.feelist.data.length !== 0) {
50
+ this.row = this.feelist.data[0]
51
+ }
52
+ } else {
53
+ this.feelist = []
54
+ this.row = {}
55
+ }
56
+ }
57
+ },
58
+ watch: {
59
+ 'userinfoid' (val) {
60
+ this.userfees(val)
61
+ }
62
+ },
63
+ ready () {
64
+ this.userfees(this.userinfoid)
65
+ }
66
+ }
67
+ </script>
68
+ <style media="screen">
69
+ #table1{
70
+ text-align:center;
71
+ }
72
+ .self-table > tbody > tr > td {
73
+ padding: 3px;
74
+ text-align: center;
75
+ }
76
+ </style>
@@ -4,6 +4,7 @@
4
4
  <stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
5
5
  <bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
6
6
  <valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
7
+ <user-fee-info :userinfoid="data.f_userinfo_id" v-ref:valueaddinfo></user-fee-info>
7
8
  <sale-safecheck-info :data="data"></sale-safecheck-info>
8
9
 
9
10
  <service-repair :data="data" v-if="name==='维修情况查询'"></service-repair>
@@ -303,9 +303,9 @@
303
303
  search () {
304
304
  let condition = '1=1'
305
305
  if (this.f_orgid) {
306
- condition += `and (u.f_filialeid in ${this.f_orgid} or g.f_orgid in ${this.f_orgid}) `
306
+ condition += `and (u.f_filialeid in ${this.f_orgid} or u.f_orgid in ${this.f_orgid}) `
307
307
  } else {
308
- condition += `and (u.f_filialeid = '${this.$login.f.orgid}' or g.f_orgid ='${this.$login.f.orgid}')`
308
+ condition += `and (u.f_filialeid = '${this.$login.f.orgid}' or u.f_orgid ='${this.$login.f.orgid}')`
309
309
  }
310
310
  this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {
311
311
  if (a.data.length === 0) {
@@ -460,7 +460,7 @@
460
460
  name = 'api/af-revenue/report/sendCard_bill'
461
461
  }
462
462
  }
463
- } else if (type === '卡表收费' || type === '卡表收费撤销' || type === '卡表赠气' || type === '卡表收费撤销') {
463
+ } else if (type === '卡表收费' || type === '卡表收费撤销' || type === '卡表收费撤销') {
464
464
  if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
465
465
  name = 'api/af-revenue/report/fmy_card_bill'
466
466
  } else {
@@ -502,6 +502,10 @@
502
502
  name = 'api/af-revenue/report/icGiftFee'
503
503
  } else if (type === '卡表赠气') {
504
504
  name = 'api/af-revenue/report/icGiftGas'
505
+ } else if (type === '保险收费') {
506
+ name = 'api/af-revenue/report/insurance_bill'
507
+ } else if (type === '自动下账') {
508
+ name = 'api/af-revenue/report/autoAccounts_bill'
505
509
  }
506
510
  return name
507
511
  },
@@ -192,7 +192,7 @@ export default {
192
192
  onFileUpload: async function (file, res) {
193
193
  this.isbusy = true
194
194
  let data = {
195
- filepath: res.f_downloadpath,
195
+ filepath: res.f_realpath,
196
196
  f_operator: Vue.$login.f.name,
197
197
  f_operatorid: Vue.$login.f.id,
198
198
  f_orgid: Vue.$login.f.orgid,
@@ -113,11 +113,19 @@
113
113
  <div class="col-sm-2 form-group">
114
114
  <label class="font_normal_body">客户类型</label>
115
115
  <v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
116
+ @change="$parent.$parent.userTypeChange()"
116
117
  :options='$parent.$parent.usertypes' placeholder='客户类型'
117
118
  style="width:60%"
118
119
  close-on-select
119
120
  condition="f_user_type = '{}'"></v-select>
120
121
  </div>
122
+ <div class="col-sm-2 form-group">
123
+ <label class="font_normal_body">用气性质</label>
124
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
125
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
126
+ condition="f_gasproperties = '{}'"
127
+ close-on-select></v-select>
128
+ </div>
121
129
  <div class="col-sm-2 form-group">
122
130
  <label class="font_normal_body">用户等级</label>
123
131
  <v-select :value.sync="model.f_user_level" v-model="model.f_user_level"
@@ -513,6 +521,7 @@ export default {
513
521
  user: []
514
522
  },
515
523
  sumsmodel: [],
524
+ gasproperties: [],
516
525
  orgCondtionStr: '',
517
526
  priceSplit: false,
518
527
  criteriaShow: false,
@@ -616,6 +625,15 @@ export default {
616
625
  document.getElementById(this.inputid).focus()
617
626
  },
618
627
  methods: {
628
+ userTypeChange () {
629
+ this.gasproperties = []
630
+ if (this.$refs.paged.$refs.criteria.model.f_user_type[0]) {
631
+ this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
632
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
633
+ } else {
634
+ this.gasproperties = [{label: '全部', value: ''}]
635
+ }
636
+ },
619
637
  // 获得本月的最后一天。
620
638
  getLastDayOfMonth (year, month) {
621
639
  let new_year = year // 取当前的年份
@@ -243,6 +243,7 @@
243
243
  if (JSON.stringify(this.row) != '{}') {
244
244
  this.model = {
245
245
  f_userinfo_id: this.row.f_userinfo_id,
246
+ f_userfiles_id: this.row.f_userfiles_id,
246
247
  f_ins_stop_date: this.row.f_ins_stop_date,
247
248
  f_user_name: this.row.f_user_name,
248
249
  f_idnumber: this.row.f_idnumber,
@@ -246,6 +246,7 @@ export default {
246
246
  console.log('this.recordlist', this.recordlist)
247
247
  },
248
248
  async auditConfirm () {
249
+ console.log(this.obj)
249
250
  if (this.model.f_audit_person === '' || this.model.f_audit_person === []) {
250
251
  this.$showAlert('请选择审核人', 'danger', 3000)
251
252
  this.model.f_audit_person = ''
@@ -315,7 +316,7 @@ export default {
315
316
  },
316
317
  cancelinsurance (row) {
317
318
  this.show = true
318
- if (row.f_payment.indexOf('扫码枪') > -1) {
319
+ if (row.f_payment && row.f_payment.indexOf('扫码枪') > -1) {
319
320
  this.paymentShow = false
320
321
  }
321
322
  this.obj = row
@@ -76,7 +76,7 @@
76
76
  <div class="col-sm-2 form-group">
77
77
  <label class="font_normal_body">用户编号:</label>
78
78
  <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code"
79
- condition="s.f_userinfo_code = '{}'" placeholder='用户编号'>
79
+ condition="f_userinfo_code = '{}'" placeholder='用户编号'>
80
80
  </div>
81
81
  <div class="col-sm-2 form-group">
82
82
  <label class="font_normal_body">&emsp;订单号:</label>
@@ -127,6 +127,7 @@
127
127
  let asyncIcTable = async function (self) {
128
128
  await self.$getConfig(self, 'icTable')
129
129
  console.log('卡表赠气赠费config', self.config)
130
+ this.model.f_add_gas = self.config.f_add_gas
130
131
  }
131
132
 
132
133
  export default {
@@ -147,10 +148,11 @@
147
148
  f_pregas: 0,
148
149
  f_preamount: 0,
149
150
  f_reason: '',
150
- f_add_gas: '不计入'
151
+ f_add_gas: '计入'
151
152
  },
152
153
  config: {
153
- hasPrint: false
154
+ hasPrint: false,
155
+ f_add_gas: '计入'
154
156
  },
155
157
  billData: {
156
158
  url: 'api/af-revenue/report/icGiftGas',