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,413 @@
1
+ <template >
2
+ <div class="flex" style="justify-content: space-between;">
3
+ <div @keyup.enter="search" style="">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body" title="归属日期" >开始时间</label>
10
+ <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_start_date"
11
+ class="datepicker"
12
+ condition="f_hand_date >= '{} 00:00:00' "
13
+ placeholder="起始时间"
14
+ style="width:60%"
15
+ v-model="model.f_start_date"
16
+ ></datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group" >
19
+ <label class="font_normal_body" title="归属日期">结束时间</label>
20
+ <datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_end_date"
21
+ class="datepicker"
22
+ condition="f_hand_date <= '{} 23:59:59' "
23
+ placeholder="结束时间"
24
+ style="width:60%"
25
+ v-model="model.f_end_date"
26
+ ></datepicker>
27
+ </div>
28
+ <div class="col-sm-2 form-group" v-if="!row.f_meter_type.includes('物联网表')">
29
+ <label class="font_normal_body">是否缴费</label>
30
+ <v-select :value.sync="model.f_whether_pay" v-model='model.f_whether_pay'
31
+ style="width:60%"
32
+ :options='$parent.$parent.whetherpaies' placeholder='是否缴费'
33
+ close-on-select
34
+ condition="f_whether_pay = '{}'"></v-select>
35
+ </div>
36
+ <div class="col-sm-2 form-group">
37
+ <label class="font_normal_body" title="抄表状态">抄表状态</label>
38
+ <v-select :value.sync="model.f_meter_state" v-model='model.f_meter_state'
39
+ style="width:60%"
40
+ :options='$parent.$parent.meterstates' placeholder='抄表状态'
41
+ close-on-select
42
+ condition="f_meter_state = '{}'"></v-select>
43
+ </div>
44
+ <div class="col-sm-2 form-group">
45
+ <label class="font_normal_body" title="表单状态">表单状态</label>
46
+ <v-select :value.sync="model.f_hand_state" v-model='model.f_hand_state'
47
+ style="width:60%"
48
+ :options='$parent.$parent.handstates' placeholder='表单状态'
49
+ close-on-select
50
+ condition="f_hand_state = '{}'"></v-select>
51
+ </div>
52
+
53
+ <div style="float: right">
54
+ <button @click="search()" class="button_search" style="margin-right: 10px" v-el:cba>查询</button>
55
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
56
+ :field="$parent.$parent.fields" :header="$parent.$parent.other"
57
+ sqlurl="api/af-revenue/logic/saleExport" :sql-name="$parent.$parent.sqlname" template-name='抄表查询导出'
58
+ :choose-col="true" ref="salehandplanExport"></export-excel>
59
+
60
+ <print-data :defaultfield="$parent.$parent.defaultfield" :field="$parent.$parent.fields" :is-selected="true" :model="$parent.$parent.printModel"
61
+ @print-data="$parent.$parent.print()"
62
+ :starthead="$parent.$parent.starthead"
63
+ titletable="预存气费打印明细"
64
+ ></print-data>
65
+ </div>
66
+ </div>
67
+
68
+
69
+ </div>
70
+
71
+ </criteria>
72
+ <data-grid :model="model" class="list_area table_sy" class="list_area table_sy" partial='list' v-ref:grid>
73
+ <template partial='head'>
74
+ <tr>
75
+
76
+ <th v-show="false"><nobr>抄表月份</nobr></th>
77
+ <th v-show="false"><nobr>用气周期</nobr></th>
78
+ <th><nobr>抄表日期</nobr></th>
79
+ <th><nobr>录入日期</nobr></th>
80
+ <th><nobr>上期底数</nobr></th>
81
+ <th><nobr>本期底数</nobr></th>
82
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>上期余额</nobr></th>
83
+ <th><nobr>用气量</nobr></th>
84
+ <th><nobr>用气金额 </nobr></th>
85
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>本期余额</nobr></th>
86
+ <th v-if="$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>表端上报余额</nobr></th>
87
+ <th v-if="!$parent.$parent.$parent.row.f_meter_type.includes('物联网表')"><nobr>是否缴费 </nobr></th>
88
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>一阶单价 </nobr></th>
89
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>一阶气量 </nobr></th>
90
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>二阶单价 </nobr></th>
91
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>二阶气量 </nobr></th>
92
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>三阶单价 </nobr></th>
93
+ <th v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>三阶气量 </nobr></th>
94
+ <th><nobr>抄表状态 </nobr></th>
95
+ <th><nobr>抄表结果状态 </nobr></th>
96
+ <th><nobr>表单状态 </nobr></th>
97
+ <th><nobr>抄表员</nobr></th>
98
+ <th><nobr>录入员</nobr></th>
99
+ </tr>
100
+ </template>
101
+ <template partial='body' partial='list' v-ref:grid>
102
+ <tr>
103
+ <td style="text-align:center" v-show="false">{{row.f_hand_date.substring(0,7)}}</td>
104
+ <th v-show="false"><nobr >{{row.datas}}</nobr></th>
105
+ <td style="text-align:center">{{row.f_hand_date}}</td>
106
+ <td style="text-align:center">{{row.f_input_date}}</td>
107
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
108
+ <td style="text-align:center">{{row.f_tablebase}}</td>
109
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_balance}}</td>
110
+ <td style="text-align:center">{{row.f_oughtamount}}</td>
111
+ <td style="text-align:center">{{row.f_oughtfee}}</td>
112
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_curbalance}}</td>
113
+ <td style="text-align:center" v-if="$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_jval}}</td>
114
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.row.f_meter_type.includes('物联网表')">{{row.f_whether_pay}}</td>
115
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_stair1price}}</td>
116
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_stairamount1}}</td>
117
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_stair2price}}</td>
118
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_stair2amount}}</td>
119
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_stair3price}}</td>
120
+ <td style="text-align:center" v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')">{{row.f_stair3amount}}</td>
121
+ <td style="text-align:center">{{row.f_meter_state}}</td>
122
+ <td style="text-align:center">{{row.f_result_state?row.f_result_state:''}}</td>
123
+ <td style="text-align:center">{{row.f_hand_state}}</td>
124
+ <td style="text-align:center">{{row.f_inputtor}}</td>
125
+ <td style="text-align:center">{{row.f_input_person}}</td>
126
+ </tr>
127
+ </template>
128
+ <template partial='foot'></template>
129
+ </data-grid>
130
+ </criteria-paged>
131
+
132
+ </div>
133
+ <table class="table-hover">
134
+ <tr class="table-bordered" style="position: relative">
135
+ <td
136
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
137
+ 汇总信息
138
+ </td>
139
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
140
+ 用气量合计:&emsp;{{model.sums.f_oughtamount}}
141
+ </td>
142
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
143
+ 用气金额合计:&emsp;{{model.sums.f_oughtfee}}
144
+ </td>
145
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px" v-if="!f_calculation.includes('表端结算')">
146
+ 一阶用气量合计:&emsp;{{model.sums.f_stairamount1}}
147
+ </td>
148
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px" v-if="!f_calculation.includes('表端结算')">
149
+ 一阶用气金额合计:&emsp;{{model.sums.f_stair1fee}}
150
+ </td>
151
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px" v-if="!f_calculation.includes('表端结算')">
152
+ 二阶用气量合计:&emsp;{{model.sums.f_stair2amount}}
153
+ </td>
154
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px" v-if="!f_calculation.includes('表端结算')">
155
+ 二阶用气金额合计:&emsp;{{model.sums.f_stair2fee}}
156
+ </td>
157
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px" v-if="!f_calculation.includes('表端结算')">
158
+ 三阶用气量合计:&emsp;{{model.sums.f_stair3amount}}
159
+ </td>
160
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px" v-if="!f_calculation.includes('表端结算')">
161
+ 三阶用气金额合计:&emsp;{{model.sums.f_stair3fee}}
162
+ </td>
163
+ </tr>
164
+ </table>
165
+ </div>
166
+
167
+ </template>
168
+
169
+ <script>
170
+ import {HttpResetClass, PagedList} from 'vue-client'
171
+
172
+ export default {
173
+ title: '抄表',
174
+ data () {
175
+ return {
176
+ condition: '1=1',
177
+ model: new PagedList(`${this.row.f_meter_type === '物联网表'?'api/af-revenue/sql/sale_WebHandplanQuery':'api/af-revenue/sql/sale_HandplanQuery'}`, 20, {f_user_id: this.row.f_user_id}, {
178
+ f_oughtfee: 0,
179
+ f_oughtamount: 0,
180
+ f_stairamount1: 0,
181
+ f_stair1fee: 0,
182
+ f_stair2amount: 0,
183
+ f_stair2fee: 0,
184
+ f_stair3amount: 0,
185
+ f_stair3fee: 0
186
+ }),
187
+ show: false,
188
+ f_calculation: '',
189
+ lists: [],
190
+ meterstates: this.$appdata.getParam('抄表状态') ? [{
191
+ label: '全部',
192
+ value: ''
193
+ }, ...this.$appdata.getParam('抄表状态')] : [],
194
+ handstates: this.$appdata.getParam('表单状态') ? [{
195
+ label: '全部',
196
+ value: ''
197
+ }, ...this.$appdata.getParam('表单状态')] : [],
198
+ // 控制单选
199
+ radio: [],
200
+ // 选中的页
201
+ all: [],
202
+ // row数据
203
+ rowsdata: [],
204
+ sqlname: `${this.row.f_meter_type === '物联网表'?'sale_WebHandplanQuery':'sale_HandplanQuery'}`,
205
+ searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userfiles_id',
206
+ starthead: '',
207
+ fields: {
208
+ 'f_userinfo_code': '用户编号',
209
+ 'f_user_name': '姓名',
210
+ 'f_last_tablebase': '上期底数',
211
+ 'f_tablebase': '本期底数',
212
+ 'f_balance': '上期余额',
213
+ 'f_curbalance': '本期余额',
214
+ 'f_oughtamount': '用气量',
215
+ 'f_oughtfee': '用气金额',
216
+ 'f_detailprice': '结算明细',
217
+ 'datas': '用气周期',
218
+ 'money1': '违约金',
219
+ 'f_stair1price': '一阶单价',
220
+ 'f_stair1fee': '一阶用气金额',
221
+ 'f_stairamount1': '一阶用量',
222
+ 'f_stair2price': '二阶单价',
223
+ 'f_stair2fee': '二阶用气金额',
224
+ 'f_stair2amount': '二阶用量',
225
+ 'f_stair3price': '三阶单价',
226
+ 'f_stair3fee': '三阶用气金额',
227
+ 'f_stair3amount': '三阶用量',
228
+ 'f_oughtfee1': '应交金额',
229
+ 'f_inputtor': '抄表员',
230
+ 'f_input_date': '抄表日期',
231
+ 'f_hand_date': '录入时间'},
232
+ defaultfield: [
233
+ 'datas', 'f_last_tablebase', 'f_last_tablebase', 'f_oughtamount', 'f_oughtfee', 'f_oughtfee1', 'money1', 'price1'
234
+ ],
235
+ fooinfo: [
236
+ '单位',
237
+ '收款人'
238
+ ],
239
+ printModel: {
240
+ rows: []
241
+ },
242
+ other: [],
243
+ footer: [],
244
+ // 合计数据
245
+ sumsmodel: {}
246
+ }
247
+ },
248
+ props: ['row'],
249
+ ready () {
250
+ this.$refs.paged.$refs.criteria.model.f_hand_state = ['有效']
251
+ this.f_calculation = this.row.f_calculation
252
+ this.$refs.paged.$refs.criteria.search()
253
+ this.sumsmodel= this.$refs.paged.$refs.grid.model.sums
254
+ for (let i in this.all) {
255
+ this.money += i.f_oughtamount
256
+ this.gas += i.f_oughtfee
257
+ }
258
+ },
259
+ methods: {
260
+ getotherfooter () {
261
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
262
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
263
+ this.other = []
264
+ this.footer = []
265
+ // let exportdata = this.getCondition;
266
+ let otherInData = []
267
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
268
+ let footerData = [], exportfield = this.fields
269
+ footerData.push('合计')
270
+ let self = this
271
+ for (var field in self.sumsmodel) {
272
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
273
+ }
274
+ this.footer.push(footerData)
275
+ this.other.push(otherInData)
276
+ },
277
+ // search() {
278
+ // this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.row.f_user_id}'`
279
+ // this.model.search(this.condition, this.model)
280
+ // },
281
+ async search () {
282
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and ${this.searchValue} = '${this.row[this.searchValue]}'`
283
+ this.model.search(this.condition, this.model)
284
+ let http = new HttpResetClass()
285
+ let res = await http.load('POST', `${this.row.f_meter_type === '物联网表'?'api/af-revenue/sql/sale_WebHandplanQuery':'api/af-revenue/sql/sale_HandplanQuery'}`, {
286
+ data: {
287
+ f_user_id: this.row.f_user_id,
288
+ condition: this.condition
289
+ }
290
+ }, {resolveMsg: null, rejectMsg: null})
291
+ this.printModel.rows = res.data
292
+
293
+ this.starthead = '用户编号:' + this.row.f_userinfo_code + '&emsp;&emsp;用户姓名:' + this.row.f_user_name + '&emsp;&emsp;用户地址:' + this.row.f_address
294
+ },
295
+ // 多选框初始化
296
+ selectInit () {
297
+ this.rowsdata = []
298
+ this.all = []
299
+ this.radio = []
300
+ },
301
+ print () {
302
+ console.log('====================================')
303
+ console.log('print')
304
+ console.log(this.printModel)
305
+ this.selectInit()
306
+ },
307
+ select () {
308
+ let index = this.model.pageIndex - 1
309
+ if (!this.radio[index]) {
310
+ this.radio.$set(index, [])
311
+ }
312
+ if (this.all[index]) {
313
+ // 数据
314
+ this.rowsdata[index] = Object.assign([], this.model.rows)
315
+ // 勾选
316
+ for (var i = 0; i < this.model.rows.length; i++) {
317
+ this.radio[index].$set(i, true)
318
+ }
319
+ } else {
320
+ // 数据
321
+ this.rowsdata[index] = []
322
+ // 不勾选
323
+ for (var i = 0; i < this.model.rows.length; i++) {
324
+ this.radio[index].$set(i, false)
325
+ }
326
+ }
327
+ let z = 0
328
+ for (let i = 0; i < this.all.length; i++) {
329
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
330
+ this.printModel.rows[z++] = this.rowsdata[i][j]
331
+ }
332
+ }
333
+ },
334
+ selectOne (event, row, i) {
335
+ let index = this.model.pageIndex - 1
336
+ if (!this.rowsdata[index]) {
337
+ this.rowsdata[index] = []
338
+ }
339
+ if (!this.radio[index]) {
340
+ this.radio.$set(index, [])
341
+ }
342
+ if (event.target.checked) {
343
+ // 数据
344
+ this.rowsdata[index][i] = row
345
+ // 勾选
346
+ this.radio[index].$set(i, true)
347
+ // 判断是否全部选中
348
+ var allState = true
349
+ if (this.model.rows.length != this.radio[index].length) {
350
+ allState = false
351
+ }
352
+ for (var state of this.radio[index]) {
353
+ if (!state) {
354
+ allState = false
355
+ }
356
+ }
357
+ if (allState) {
358
+ this.all.$set(index, true)
359
+ } else {
360
+ this.all.$set(index, false)
361
+ }
362
+ } else {
363
+ // 数据
364
+ this.rowsdata[index][i] = []
365
+ // 不勾选
366
+ this.radio[index].$set(i, false)
367
+ // 任意取消一个则全选状态设为false
368
+ this.all.$set(index, false)
369
+ }
370
+ let z = 0
371
+ this.printModel.rows = []
372
+ for (let i = 0; i < this.all.length; i++) {
373
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
374
+ if (this.rowsdata[i][j] && this.rowsdata[i][j].f_user_id) {
375
+ this.printModel.rows[z++] = this.rowsdata[i][j]
376
+ }
377
+ }
378
+ }
379
+ }
380
+ },
381
+ computed: {
382
+ whetherpaies () {
383
+ return [
384
+ {label: '全部', value: ''},
385
+ {label: '已缴费', value: '是'},
386
+ {label: '未缴费', value: '否'}
387
+ ]
388
+ },
389
+ ischecked () {
390
+ return function (index, i) {
391
+ if (!this.radio[index]) {
392
+ return false
393
+ }
394
+ return this.radio[index][i]
395
+ }
396
+ },
397
+ getCondition () {
398
+ return {
399
+ condition: this.condition
400
+ }
401
+ }
402
+ },
403
+ watch: {
404
+ sumsmodel: {
405
+ handler: function (val) {
406
+ this.getotherfooter()
407
+ },
408
+ deep: true
409
+ }
410
+ }
411
+ }
412
+ </script>
413
+