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
@@ -14,31 +14,27 @@
14
14
  placeholder='请选择'
15
15
  v-model="row.f_brand_spec"
16
16
  :value.sync="row.f_brand_spec"
17
- :options='brandspec'
18
- @change="setTypename(row,index)"
17
+ :options='materialTypeList'
18
+ @change="setTypename(index)"
19
19
  close-on-select clear-button>
20
20
  </v-select>
21
21
  </div>
22
22
  <div class="col-sm-4" :class="{'has-success':row.f_typename,'has-error':!row.f_typename}">
23
23
  <label for="f_typename" class=" font_normal_body">&nbsp;品名规格</label>
24
24
  <v-select
25
- style="width: 100px"
26
25
  v-model="row.f_typename"
27
- placeholder='请选择'
26
+ :options="row.typeNameList"
28
27
  :value.sync="row.f_typename"
29
- :options='row.typeNameList'
30
- @change="setTypenumber(row,index)"
28
+ @change="setTypenumber(index)"
31
29
  close-on-select clear-button>
32
30
  </v-select>
33
31
  </div>
34
32
  <div class="col-sm-4" :class="{'has-success':row.f_typenumber,'has-error':!row.f_typenumber}">
35
33
  <label for="f_typenumber" class=" font_normal_body">&nbsp;型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
36
34
  <v-select
37
- style="width: 100px"
38
35
  v-model="row.f_typenumber"
39
- placeholder='请选择'
36
+ :options="row.typenumberList"
40
37
  :value.sync="row.f_typenumber"
41
- :options='row.typenumberList'
42
38
  @change="setTypeprice(index)"
43
39
  close-on-select clear-button>
44
40
  </v-select>
@@ -265,7 +261,6 @@ let asyncOtherCharge = async function (self) {
265
261
  await self.$getConfig(self, 'OtherCharge')
266
262
  self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
267
263
  self.model.f_payment = [self.config.payment]
268
- self.model.otherdetail[0].f_brand_spec = [self.config.brandspec]
269
264
  self.model.f_service_person = [self.config.services]
270
265
 
271
266
  self.model.f_use_type = self.config.billType
@@ -307,7 +302,15 @@ export default {
307
302
  t_userfees: '',
308
303
  f_fee_type: ['其他费用'],
309
304
  f_fee_time: ['12'],
310
- otherdetail: [{f_brand_spec: [''], typeNameList: [], f_typenumber: '', typenumberList: [], f_unitprice: '', f_number: ''}]
305
+ otherdetail: [{
306
+ f_brand_spec: '', // 只存名字
307
+ typeNameList: [],
308
+ f_typename: '', // 只存名字
309
+ typenumberList: [],
310
+ f_typenumber: '', // 只存名字
311
+ f_unitprice: '',
312
+ f_number: ''
313
+ }]
311
314
  },
312
315
  eticket_msg: false,
313
316
  mjshow: false,
@@ -334,7 +337,9 @@ export default {
334
337
  paytype: this.$appdata.getParam('付款方式'),
335
338
  feetype: this.$appdata.getParam('其他费用'),
336
339
  services: this.$appdata.getParam('服务人员'),
337
- isflag: false
340
+ isflag: false,
341
+ materialList: [], // 全部物料数据
342
+ materialTypeList: [] // 品名及规格
338
343
  }
339
344
  },
340
345
  props: ['row'],
@@ -342,6 +347,7 @@ export default {
342
347
  // this.model.f_unitprice = this.$appdata.getSingleValue('置换气费')
343
348
  asyncOtherCharge(this)
344
349
  this.getRandomId()
350
+ this.getMaterialList()
345
351
  },
346
352
  watch: {
347
353
  'model.f_fee_type' (val) {
@@ -394,18 +400,57 @@ export default {
394
400
  }
395
401
  }
396
402
  },
397
- setTypeprice (val) {
398
- console.log('单价变化:', val)
399
- if (this.model.otherdetail[val] && this.model.otherdetail[val].f_typenumber[0]) {
400
- let unitprice = this.$appdata.getSingleValue(this.model.otherdetail[val].f_typenumber[0])
401
- if (unitprice) {
402
- this.model.otherdetail[val].f_unitprice = Number(unitprice)
403
- this.$resetValidation()
404
- this.$nextTick(() => {
405
- this.$validate()
406
- })
403
+ async getMaterialList () {
404
+ let res = await this.$resetpost('api/af-revenue/sql/saleSingleTable', {
405
+ data: {
406
+ tablename: 't_material_management',
407
+ condition: '1=1'
407
408
  }
409
+ }, {resolveMsg: null, rejectMsg: '获取物料信息失败!'})
410
+ this.materialList = res.data || []
411
+ // 初始化收费类型下拉
412
+ this.materialTypeList = [...new Set(this.materialList.filter(i => i.f_material_type).map(i => i.f_material_type))]
413
+ .map(type => ({ label: type, value: type }))
414
+ },
415
+ // 选择品名及规格
416
+ setTypename (index) {
417
+ const typeLabel = this.model.otherdetail[index].f_brand_spec
418
+ console.log('1264578', typeLabel)
419
+ const categories = this.materialList.filter(i => i.f_material_stype === '分类' && i.f_material_type === typeLabel[0])
420
+ this.model.otherdetail[index].typeNameList = categories.map(i => ({ label: i.f_material_name, value: i.f_material_name, id: i.id }))
421
+ this.model.otherdetail[index].f_brand_spec = typeLabel
422
+ this.model.otherdetail[index].f_typename = ''
423
+ this.model.otherdetail[index].typenumberList = []
424
+ this.model.otherdetail[index].f_typenumber = ''
425
+ this.model.otherdetail[index].f_unitprice = ''
426
+ },
427
+ // 选择分类
428
+ setTypenumber (index) {
429
+ const categoryName = this.model.otherdetail[index].f_typename
430
+ const category = this.model.otherdetail[index].typeNameList.find(i => i.value === categoryName[0])
431
+ const categoryId = category ? category.id : ''
432
+ const models = this.materialList.filter(i => i.f_material_stype === '型号' && String(i.parent_id) === String(categoryId))
433
+ this.model.otherdetail[index].typenumberList = models.map(i => ({ label: i.f_material_name, value: i.f_material_name, id: i.id }))
434
+ this.model.otherdetail[index].f_typename = categoryName
435
+ this.model.otherdetail[index].f_typenumber = ''
436
+ this.model.otherdetail[index].f_unitprice = ''
437
+ },
438
+ // 选择型号
439
+ setTypeprice (index) {
440
+ const modelName = this.model.otherdetail[index].f_typenumber
441
+ const model = this.model.otherdetail[index].typenumberList.find(i => i.value === modelName[0])
442
+ const modelId = model ? model.id : ''
443
+ const modelObj = this.materialList.find(i => i.f_material_stype === '型号' && String(i.id) === String(modelId))
444
+ this.model.otherdetail[index].f_typenumber = modelName
445
+ if (modelObj && modelObj.f_material_price) {
446
+ this.model.otherdetail[index].f_unitprice = Number(modelObj.f_material_price)
447
+ } else {
448
+ this.model.otherdetail[index].f_unitprice = ''
408
449
  }
450
+ this.$resetValidation()
451
+ this.$nextTick(() => {
452
+ this.$validate()
453
+ })
409
454
  },
410
455
  async createQianfei () {
411
456
  let data = {
@@ -494,31 +539,6 @@ export default {
494
539
  this.eticket_show = false
495
540
  this.$dispatch('success')
496
541
  },
497
- async setTypename (val, index) {
498
- this.model.otherdetail[index].f_typenumber = ''
499
- this.model.otherdetail[index].typeNameList = this.$appdata.getParam(val.f_brand_spec[0])
500
- this.model.otherdetail[index].typenumberList = []
501
- this.model.otherdetail[index].f_unitprice = ''
502
- let self = this
503
- if (val == '开卡费') {
504
- if (this.$appdata.getSingleValue('开卡费')) {
505
- let money = this.$appdata.getSingleValue('开卡费')
506
- await this.model.otherdetail.forEach(function (item) {
507
- self.isflag = false
508
- if (item.f_brand_spec[0] == '开卡费') {
509
- item.f_unitprice = money
510
- item.f_number = 1
511
- self.isflag = true
512
- }
513
- })
514
- this.getcollection()
515
- }
516
- }
517
- },
518
- setTypenumber (val, index) {
519
- this.model.otherdetail[index].typenumberList = this.$appdata.getParam(val.f_typename[0 ])
520
- this.model.otherdetail[index].f_unitprice = ''
521
- },
522
542
  async confirm (parameter) {
523
543
  let res = await this.$showMessage(`确定对客户${this.row.f_user_name}进行其他收费吗?`, ['confirm', 'cancel'])
524
544
  if (res != 'confirm') return
@@ -564,7 +584,7 @@ export default {
564
584
  if (!flag) this.model.f_collection = ''
565
585
  },
566
586
  addadetail () {
567
- this.$set(`model.otherdetail[${this.model.otherdetail.length}]`, {f_brand_spec: [''], f_typenumber: '', typeNameList: [], typenumberList: [], f_unitprice: '', f_number: ''})
587
+ this.$set(`model.otherdetail[${this.model.otherdetail.length}]`, {f_brand_spec: '', f_typenumber: '', typeNameList: [], typenumberList: [], f_unitprice: '', f_number: '', f_typename: ''})
568
588
  console.log(JSON.stringify(this.model.otherdetail))
569
589
  },
570
590
  delthisdetail (index) {
@@ -50,6 +50,12 @@
50
50
  <saletab header="其他收费" v-if="permission('其他收费')">
51
51
  <other-charge-query-user :row="row" v-if="show == '其他收费'" @deal-msg="dealMsg"></other-charge-query-user>
52
52
  </saletab>
53
+ <saletab header="保险收费记录" v-if="permission('保险收费记录')">
54
+ <insurance-charges-record :row="row" @deal-msg="dealMsg"></insurance-charges-record>
55
+ </saletab>
56
+ <saletab header="垃圾费收费记录" v-if="permission('垃圾费收费记录')">
57
+ <garbage-record-list :row="row" @deal-msg="dealMsg"></garbage-record-list>
58
+ </saletab>
53
59
  <saletab header="过户查询" v-if="permission('过户查询')">
54
60
  <transfer-query-user :row="row" v-if="show == '过户查询'" @deal-msg="dealMsg"></transfer-query-user>
55
61
  </saletab>
@@ -151,11 +157,14 @@
151
157
  import PriceAdjustmentQueryUser from './ic_detail/PriceAdjustmentQueryUser'
152
158
  import MeterParam from './ic_detail/MeterParam'
153
159
  import DeveiceRecord from './ic_detail/DeveiceRecord'
154
-
160
+ import GarbageRecordList from './ic_detail/GarbageRecordList.vue'
161
+ import InsuranceChargesRecord from './ic_detail/InsuranceChargesRecord.vue'
155
162
  export default {
156
163
  title: '用户详细信息',
157
164
  props: ['f_userfiles_id', 'f_userinfo_id', 'f_userinfo_code', 'parentname', 'buttonshow'],
158
165
  components: {
166
+ InsuranceChargesRecord,
167
+ GarbageRecordList,
159
168
  SecurityCheckInfo,
160
169
  RepairList,
161
170
  PriceAdjustmentQueryUser,
@@ -31,7 +31,7 @@
31
31
  <button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
32
32
  <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
33
33
  :field="$parent.$parent.fields" :header="$parent.$parent.other"
34
- sqlurl="rs/logic/saleExport" sql-name="sale_cardhandplanQuery" template-name='抄表查询导出'
34
+ sqlurl="api/af-revenue/logic/saleExport" sql-name="sale_cardhandplanQuery" template-name='抄表查询导出'
35
35
  :choose-col="true" ref="salehandplanExport"></export-excel>
36
36
 
37
37
  <print-data :defaultfield="$parent.$parent.defaultfield" :field="$parent.$parent.fields" :is-selected="true" :model="$parent.$parent.printModel"
@@ -90,7 +90,7 @@
90
90
  <td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
91
91
  <td style="text-align: center;"><nobr>{{row.f_change_operator}}</nobr></td>
92
92
  <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
93
- <td style="text-align: center;"><nobr>{{row.f_changetables_reason}}/{{row.f_reason}}/{{row.f_othereason}}</nobr></td>
93
+ <td style="text-align: center;"><nobr><span v-if="row.f_changetables_reason">{{row.f_changetables_reason}}/</span><span v-if="row.f_reason">{{row.f_reason}}/</span><span v-if="row.f_othereason">{{row.f_othereason}}/</span><span v-if="row.f_comments">{{row.f_comments}}</span></nobr></td>
94
94
  </tr>
95
95
  </template>
96
96
  <template partial='foot'></template>
@@ -0,0 +1,69 @@
1
+ <template>
2
+ <div id="pc-finduser-page">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <!-- <criteria partial='criteria'>
5
+ </criteria> -->
6
+ <data-grid :model="model" partial='list' v-ref:grid
7
+ class="list_area table_sy">
8
+ <template partial='head'>
9
+ <tr>
10
+ <th><nobr>垃圾费</nobr></th>
11
+ <th><nobr>归属期</nobr></th>
12
+ <th><nobr>支付状态</nobr></th>
13
+ <th><nobr>操作人</nobr></th>
14
+ <th><nobr>付款方式</nobr></th>
15
+ <th><nobr>操作时间</nobr></th>
16
+ </tr>
17
+ </template>
18
+ <template partial='body'>
19
+ <td style="text-align:center"><nobr> {{ row.f_money}}</nobr></td>
20
+ <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
21
+ <td style="text-align:center"><nobr>{{row.f_state}}</nobr></td>
22
+ <td style="text-align:center"><nobr>{{row.f_operator}}</nobr></td>
23
+ <td style="text-align:center"><nobr>{{row.f_payment}}</nobr></td>
24
+ <td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
25
+ </template>
26
+ </data-grid>
27
+ </criteria-paged>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+ /**
33
+ *用户档案相关信息组件
34
+ */
35
+ import { PagedList } from 'vue-client'
36
+ export default {
37
+ title: '垃圾费记录',
38
+ data () {
39
+ return {
40
+ model: new PagedList('api/af-revenue/sql/getGarbageRecord', 20),
41
+ row: Object,
42
+ show: false
43
+ }
44
+ },
45
+
46
+ props: {
47
+ row: {
48
+ type: Object
49
+ }
50
+ },
51
+ methods: {
52
+ },
53
+ watch: {
54
+ 'row' (val) {
55
+ this.model.rows = []
56
+ this.model.search(`f_userinfo_id = '${this.row.f_userinfo_id}'`)
57
+ },
58
+ 'clearflg' () {
59
+ this.model.rows = []
60
+ }
61
+ },
62
+ ready () {
63
+ console.log('看看row的信息', this.row)
64
+ if (this.row.f_userinfo_id) {
65
+ this.model.search(`f_userinfo_id = '${this.row.f_userinfo_id}'`)
66
+ }
67
+ }
68
+ }
69
+ </script>