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
@@ -1,389 +1,389 @@
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">
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
- <print-data :defaultfield="$parent.$parent.defaultfield" :field="$parent.$parent.fields" :is-selected="true" :model="$parent.$parent.printModel"
56
- @print-data="$parent.$parent.print()"
57
- :starthead="$parent.$parent.starthead"
58
- titletable="气费打印明细"
59
- ></print-data>
60
- <export-excel :data="$parent.$parent.getCondition"
61
- :field="$parent.$parent.fields"
62
- sqlurl="api/af-revenue/logic/saleExport" sql-name="sale_HandplanQuery" template-name='抄表查询'
63
- v-ref:exports
64
- :choose-col="true">
65
-
66
- </export-excel>
67
- </div>
68
- </div>
69
-
70
-
71
- </div>
72
-
73
- </criteria>
74
- <data-grid :model="model" class="list_area table_sy" class="list_area table_sy" partial='list' v-ref:grid>
75
- <template partial='head'>
76
- <tr>
77
-
78
- <th v-show="false"><nobr>抄表月份</nobr></th>
79
- <th v-show="false"><nobr>用气周期</nobr></th>
80
- <th><nobr>抄表日期</nobr></th>
81
- <th><nobr>录入日期</nobr></th>
82
- <th><nobr>上期底数</nobr></th>
83
- <th><nobr>本期底数</nobr></th>
84
- <th><nobr>上期余额</nobr></th>
85
- <th><nobr>用气量</nobr></th>
86
- <th><nobr>用气金额 </nobr></th>
87
- <th><nobr>本期余额</nobr></th>
88
- <th v-if="!row.f_meter_type.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 v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>三阶气量 </nobr></th>
95
- <th><nobr>抄表状态 </nobr></th>
96
- <th><nobr>抄表结果状态 </nobr></th>
97
- <th><nobr>表单状态 </nobr></th>
98
- <th><nobr>抄表员</nobr></th>
99
- <th><nobr>录入员</nobr></th>
100
- </tr>
101
- </template>
102
- <template partial='body' partial='list' v-ref:grid>
103
- <tr>
104
- <td style="text-align:center" v-show="false">{{row.f_hand_date.substring(0,7)}}</td>
105
- <th v-show="false"><nobr >{{row.datas}}</nobr></th>
106
- <td style="text-align:center">{{row.f_hand_date}}</td>
107
- <td style="text-align:center">{{row.f_input_date}}</td>
108
- <td style="text-align:center">{{row.f_last_tablebase}}</td>
109
- <td style="text-align:center">{{row.f_tablebase}}</td>
110
- <td style="text-align:center">{{row.f_balance}}</td>
111
- <td style="text-align:center">{{row.f_oughtamount}}</td>
112
- <td style="text-align:center">{{row.f_oughtfee}}</td>
113
- <td style="text-align:center">{{row.f_curbalance}}</td>
114
- <td style="text-align:center" v-if="!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
- <!--<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
164
- <!--欠费气量合计:&emsp;{{model.sums.f_totalowe_gas}}-->
165
- <!--</td>-->
166
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
167
- <!-- 欠费金额合计:&emsp;{{model.sums.f_qianfei_fee}}-->
168
- <!-- </td>-->
169
- </tr>
170
- </table>
171
- </div>
172
-
173
- </template>
174
-
175
- <script>
176
- import {HttpResetClass, PagedList} from 'vue-client'
177
-
178
- export default {
179
- title: '抄表',
180
- data () {
181
- return {
182
- condition: '1=1',
183
- model: new PagedList('api/af-revenue/sql/sale_HandplanQuery', 20, {f_user_id: this.row.f_user_id}, {
184
- f_oughtfee: 0,
185
- f_oughtamount: 0,
186
- f_qianfei_fee: 0,
187
- f_stairamount1: 0,
188
- f_stair1fee: 0,
189
- f_stair2amount: 0,
190
- f_stair2fee: 0,
191
- f_stair3amount: 0,
192
- f_stair3fee: 0
193
- }),
194
- show: false,
195
- lists: [],
196
- meterstates: this.$appdata.getParam('抄表状态') ? [{
197
- label: '全部',
198
- value: ''
199
- }, ...this.$appdata.getParam('抄表状态')] : [],
200
- handstates: this.$appdata.getParam('表单状态') ? [{
201
- label: '全部',
202
- value: ''
203
- }, ...this.$appdata.getParam('表单状态')] : [],
204
- // 控制单选
205
- radio: [],
206
- // 选中的页
207
- all: [],
208
- // row数据
209
- rowsdata: [],
210
- f_calculation: '',
211
- searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userfiles_id',
212
- starthead: '',
213
- fields: {'f_userinfo_code': '用户编号',
214
- 'f_user_name': '姓名',
215
- 'f_last_tablebase': '上期底数',
216
- 'f_tablebase': '本期底数',
217
- 'f_balance': '上期余额',
218
- 'f_curbalance': '本期余额',
219
- 'f_oughtamount': '用气量',
220
- 'f_oughtfee': '用气金额',
221
- 'f_qianfei_fee': '欠费金额合计',
222
- 'f_detailprice': '结算明细',
223
- 'datas': '用气周期',
224
- 'money1': '违约金',
225
- 'f_stair1price': '一阶单价',
226
- 'f_stairamount1': '一阶用量',
227
- 'f_stair2price': '二阶单价',
228
- 'f_stair2amount': '二阶用量',
229
- 'f_stair3price': '三阶单价',
230
- 'f_stair3amount': '三阶用量',
231
- 'f_oughtfee1': '应交金额',
232
- 'f_inputtor': '抄表员',
233
- 'f_input_date': '抄表日期',
234
- 'f_whether_pay': '是否缴费',
235
- 'f_hand_date': '录入时间'},
236
- defaultfield: [
237
- 'datas', 'f_last_tablebase', 'f_last_tablebase', 'f_oughtamount', 'f_oughtfee', 'f_oughtfee1', 'money1', 'price1'
238
- ],
239
- fooinfo: [
240
- '单位',
241
- '收款人'
242
- ],
243
- printModel: {
244
- rows: []
245
- }
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.sumgasandmoney= 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
- // search() {
261
- // this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.row.f_user_id}'`
262
- // this.model.search(this.condition, this.model)
263
- // },
264
- async search () {
265
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and ${this.searchValue} = '${this.row[this.searchValue]}' `
266
- this.model.search(this.condition, this.model)
267
- let http = new HttpResetClass()
268
- let res = await http.load('POST', 'api/af-revenue/sql/sale_HandplanQuery', {
269
- data: {
270
- condition: this.condition,
271
- f_user_id: this.row.f_user_id
272
- }
273
- }, {resolveMsg: null, rejectMsg: null})
274
- this.printModel.rows = res.data
275
-
276
- this.starthead = '用户编号:' + this.row.f_userinfo_code + '&emsp;&emsp;用户姓名:' + this.row.f_user_name + '&emsp;&emsp;用户地址:' + this.row.f_address
277
- },
278
- // 多选框初始化
279
- selectInit () {
280
- this.rowsdata = []
281
- this.all = []
282
- this.radio = []
283
- },
284
- print () {
285
- console.log('====================================')
286
- console.log('print')
287
- console.log(this.printModel)
288
- this.selectInit()
289
- },
290
- select () {
291
- let index = this.model.pageIndex - 1
292
- if (!this.radio[index]) {
293
- this.radio.$set(index, [])
294
- }
295
- if (this.all[index]) {
296
- // 数据
297
- this.rowsdata[index] = Object.assign([], this.model.rows)
298
- // 勾选
299
- for (var i = 0; i < this.model.rows.length; i++) {
300
- this.radio[index].$set(i, true)
301
- }
302
- } else {
303
- // 数据
304
- this.rowsdata[index] = []
305
- // 不勾选
306
- for (var i = 0; i < this.model.rows.length; i++) {
307
- this.radio[index].$set(i, false)
308
- }
309
- }
310
- let z = 0
311
- for (let i = 0; i < this.all.length; i++) {
312
- for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
313
- this.printModel.rows[z++] = this.rowsdata[i][j]
314
- }
315
- }
316
- },
317
- selectOne (event, row, i) {
318
- let index = this.model.pageIndex - 1
319
- if (!this.rowsdata[index]) {
320
- this.rowsdata[index] = []
321
- }
322
- if (!this.radio[index]) {
323
- this.radio.$set(index, [])
324
- }
325
- if (event.target.checked) {
326
- // 数据
327
- this.rowsdata[index][i] = row
328
- // 勾选
329
- this.radio[index].$set(i, true)
330
- // 判断是否全部选中
331
- var allState = true
332
- if (this.model.rows.length != this.radio[index].length) {
333
- allState = false
334
- }
335
- for (var state of this.radio[index]) {
336
- if (!state) {
337
- allState = false
338
- }
339
- }
340
- if (allState) {
341
- this.all.$set(index, true)
342
- } else {
343
- this.all.$set(index, false)
344
- }
345
- } else {
346
- // 数据
347
- this.rowsdata[index][i] = []
348
- // 不勾选
349
- this.radio[index].$set(i, false)
350
- // 任意取消一个则全选状态设为false
351
- this.all.$set(index, false)
352
- }
353
- let z = 0
354
- this.printModel.rows = []
355
- for (let i = 0; i < this.all.length; i++) {
356
- for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
357
- if (this.rowsdata[i][j] && this.rowsdata[i][j].f_user_id) {
358
- this.printModel.rows[z++] = this.rowsdata[i][j]
359
- }
360
- }
361
- }
362
- }
363
- },
364
- computed: {
365
- getCondition () {
366
- return {
367
- condition: this.condition,
368
- f_user_id: this.row.f_user_id
369
- }
370
- },
371
- whetherpaies () {
372
- return [
373
- {label: '全部', value: ''},
374
- {label: '已缴费', value: '是'},
375
- {label: '未缴费', value: '否'}
376
- ]
377
- },
378
- ischecked () {
379
- return function (index, i) {
380
- if (!this.radio[index]) {
381
- return false
382
- }
383
- return this.radio[index][i]
384
- }
385
- }
386
- }
387
- }
388
- </script>
389
-
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">
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
+ <print-data :defaultfield="$parent.$parent.defaultfield" :field="$parent.$parent.fields" :is-selected="true" :model="$parent.$parent.printModel"
56
+ @print-data="$parent.$parent.print()"
57
+ :starthead="$parent.$parent.starthead"
58
+ titletable="气费打印明细"
59
+ ></print-data>
60
+ <export-excel :data="$parent.$parent.getCondition"
61
+ :field="$parent.$parent.fields"
62
+ sqlurl="api/af-revenue/logic/saleExport" sql-name="sale_HandplanQuery" template-name='抄表查询'
63
+ v-ref:exports
64
+ :choose-col="true">
65
+
66
+ </export-excel>
67
+ </div>
68
+ </div>
69
+
70
+
71
+ </div>
72
+
73
+ </criteria>
74
+ <data-grid :model="model" class="list_area table_sy" class="list_area table_sy" partial='list' v-ref:grid>
75
+ <template partial='head'>
76
+ <tr>
77
+
78
+ <th v-show="false"><nobr>抄表月份</nobr></th>
79
+ <th v-show="false"><nobr>用气周期</nobr></th>
80
+ <th><nobr>抄表日期</nobr></th>
81
+ <th><nobr>录入日期</nobr></th>
82
+ <th><nobr>上期底数</nobr></th>
83
+ <th><nobr>本期底数</nobr></th>
84
+ <th><nobr>上期余额</nobr></th>
85
+ <th><nobr>用气量</nobr></th>
86
+ <th><nobr>用气金额 </nobr></th>
87
+ <th><nobr>本期余额</nobr></th>
88
+ <th v-if="!row.f_meter_type.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 v-if="!$parent.$parent.$parent.f_calculation.includes('表端结算')"><nobr>三阶气量 </nobr></th>
95
+ <th><nobr>抄表状态 </nobr></th>
96
+ <th><nobr>抄表结果状态 </nobr></th>
97
+ <th><nobr>表单状态 </nobr></th>
98
+ <th><nobr>抄表员</nobr></th>
99
+ <th><nobr>录入员</nobr></th>
100
+ </tr>
101
+ </template>
102
+ <template partial='body' partial='list' v-ref:grid>
103
+ <tr>
104
+ <td style="text-align:center" v-show="false">{{row.f_hand_date.substring(0,7)}}</td>
105
+ <th v-show="false"><nobr >{{row.datas}}</nobr></th>
106
+ <td style="text-align:center">{{row.f_hand_date}}</td>
107
+ <td style="text-align:center">{{row.f_input_date}}</td>
108
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
109
+ <td style="text-align:center">{{row.f_tablebase}}</td>
110
+ <td style="text-align:center">{{row.f_balance}}</td>
111
+ <td style="text-align:center">{{row.f_oughtamount}}</td>
112
+ <td style="text-align:center">{{row.f_oughtfee}}</td>
113
+ <td style="text-align:center">{{row.f_curbalance}}</td>
114
+ <td style="text-align:center" v-if="!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
+ <!--<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
164
+ <!--欠费气量合计:&emsp;{{model.sums.f_totalowe_gas}}-->
165
+ <!--</td>-->
166
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
167
+ <!-- 欠费金额合计:&emsp;{{model.sums.f_qianfei_fee}}-->
168
+ <!-- </td>-->
169
+ </tr>
170
+ </table>
171
+ </div>
172
+
173
+ </template>
174
+
175
+ <script>
176
+ import {HttpResetClass, PagedList} from 'vue-client'
177
+
178
+ export default {
179
+ title: '抄表',
180
+ data () {
181
+ return {
182
+ condition: '1=1',
183
+ model: new PagedList('api/af-revenue/sql/sale_HandplanQuery', 20, {f_user_id: this.row.f_user_id}, {
184
+ f_oughtfee: 0,
185
+ f_oughtamount: 0,
186
+ f_qianfei_fee: 0,
187
+ f_stairamount1: 0,
188
+ f_stair1fee: 0,
189
+ f_stair2amount: 0,
190
+ f_stair2fee: 0,
191
+ f_stair3amount: 0,
192
+ f_stair3fee: 0
193
+ }),
194
+ show: false,
195
+ lists: [],
196
+ meterstates: this.$appdata.getParam('抄表状态') ? [{
197
+ label: '全部',
198
+ value: ''
199
+ }, ...this.$appdata.getParam('抄表状态')] : [],
200
+ handstates: this.$appdata.getParam('表单状态') ? [{
201
+ label: '全部',
202
+ value: ''
203
+ }, ...this.$appdata.getParam('表单状态')] : [],
204
+ // 控制单选
205
+ radio: [],
206
+ // 选中的页
207
+ all: [],
208
+ // row数据
209
+ rowsdata: [],
210
+ f_calculation: '',
211
+ searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userfiles_id',
212
+ starthead: '',
213
+ fields: {'f_userinfo_code': '用户编号',
214
+ 'f_user_name': '姓名',
215
+ 'f_last_tablebase': '上期底数',
216
+ 'f_tablebase': '本期底数',
217
+ 'f_balance': '上期余额',
218
+ 'f_curbalance': '本期余额',
219
+ 'f_oughtamount': '用气量',
220
+ 'f_oughtfee': '用气金额',
221
+ 'f_qianfei_fee': '欠费金额合计',
222
+ 'f_detailprice': '结算明细',
223
+ 'datas': '用气周期',
224
+ 'money1': '违约金',
225
+ 'f_stair1price': '一阶单价',
226
+ 'f_stairamount1': '一阶用量',
227
+ 'f_stair2price': '二阶单价',
228
+ 'f_stair2amount': '二阶用量',
229
+ 'f_stair3price': '三阶单价',
230
+ 'f_stair3amount': '三阶用量',
231
+ 'f_oughtfee1': '应交金额',
232
+ 'f_inputtor': '抄表员',
233
+ 'f_input_date': '抄表日期',
234
+ 'f_whether_pay': '是否缴费',
235
+ 'f_hand_date': '录入时间'},
236
+ defaultfield: [
237
+ 'datas', 'f_last_tablebase', 'f_last_tablebase', 'f_oughtamount', 'f_oughtfee', 'f_oughtfee1', 'money1', 'price1'
238
+ ],
239
+ fooinfo: [
240
+ '单位',
241
+ '收款人'
242
+ ],
243
+ printModel: {
244
+ rows: []
245
+ }
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.sumgasandmoney= 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
+ // search() {
261
+ // this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.row.f_user_id}'`
262
+ // this.model.search(this.condition, this.model)
263
+ // },
264
+ async search () {
265
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and ${this.searchValue} = '${this.row[this.searchValue]}' `
266
+ this.model.search(this.condition, this.model)
267
+ let http = new HttpResetClass()
268
+ let res = await http.load('POST', 'api/af-revenue/sql/sale_HandplanQuery', {
269
+ data: {
270
+ condition: this.condition,
271
+ f_user_id: this.row.f_user_id
272
+ }
273
+ }, {resolveMsg: null, rejectMsg: null})
274
+ this.printModel.rows = res.data
275
+
276
+ this.starthead = '用户编号:' + this.row.f_userinfo_code + '&emsp;&emsp;用户姓名:' + this.row.f_user_name + '&emsp;&emsp;用户地址:' + this.row.f_address
277
+ },
278
+ // 多选框初始化
279
+ selectInit () {
280
+ this.rowsdata = []
281
+ this.all = []
282
+ this.radio = []
283
+ },
284
+ print () {
285
+ console.log('====================================')
286
+ console.log('print')
287
+ console.log(this.printModel)
288
+ this.selectInit()
289
+ },
290
+ select () {
291
+ let index = this.model.pageIndex - 1
292
+ if (!this.radio[index]) {
293
+ this.radio.$set(index, [])
294
+ }
295
+ if (this.all[index]) {
296
+ // 数据
297
+ this.rowsdata[index] = Object.assign([], this.model.rows)
298
+ // 勾选
299
+ for (var i = 0; i < this.model.rows.length; i++) {
300
+ this.radio[index].$set(i, true)
301
+ }
302
+ } else {
303
+ // 数据
304
+ this.rowsdata[index] = []
305
+ // 不勾选
306
+ for (var i = 0; i < this.model.rows.length; i++) {
307
+ this.radio[index].$set(i, false)
308
+ }
309
+ }
310
+ let z = 0
311
+ for (let i = 0; i < this.all.length; i++) {
312
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
313
+ this.printModel.rows[z++] = this.rowsdata[i][j]
314
+ }
315
+ }
316
+ },
317
+ selectOne (event, row, i) {
318
+ let index = this.model.pageIndex - 1
319
+ if (!this.rowsdata[index]) {
320
+ this.rowsdata[index] = []
321
+ }
322
+ if (!this.radio[index]) {
323
+ this.radio.$set(index, [])
324
+ }
325
+ if (event.target.checked) {
326
+ // 数据
327
+ this.rowsdata[index][i] = row
328
+ // 勾选
329
+ this.radio[index].$set(i, true)
330
+ // 判断是否全部选中
331
+ var allState = true
332
+ if (this.model.rows.length != this.radio[index].length) {
333
+ allState = false
334
+ }
335
+ for (var state of this.radio[index]) {
336
+ if (!state) {
337
+ allState = false
338
+ }
339
+ }
340
+ if (allState) {
341
+ this.all.$set(index, true)
342
+ } else {
343
+ this.all.$set(index, false)
344
+ }
345
+ } else {
346
+ // 数据
347
+ this.rowsdata[index][i] = []
348
+ // 不勾选
349
+ this.radio[index].$set(i, false)
350
+ // 任意取消一个则全选状态设为false
351
+ this.all.$set(index, false)
352
+ }
353
+ let z = 0
354
+ this.printModel.rows = []
355
+ for (let i = 0; i < this.all.length; i++) {
356
+ for (let j = 0; this.rowsdata[i] && j < this.rowsdata[i].length; j++) {
357
+ if (this.rowsdata[i][j] && this.rowsdata[i][j].f_user_id) {
358
+ this.printModel.rows[z++] = this.rowsdata[i][j]
359
+ }
360
+ }
361
+ }
362
+ }
363
+ },
364
+ computed: {
365
+ getCondition () {
366
+ return {
367
+ condition: this.condition,
368
+ f_user_id: this.row.f_user_id
369
+ }
370
+ },
371
+ whetherpaies () {
372
+ return [
373
+ {label: '全部', value: ''},
374
+ {label: '已缴费', value: '是'},
375
+ {label: '未缴费', value: '否'}
376
+ ]
377
+ },
378
+ ischecked () {
379
+ return function (index, i) {
380
+ if (!this.radio[index]) {
381
+ return false
382
+ }
383
+ return this.radio[index][i]
384
+ }
385
+ }
386
+ }
387
+ }
388
+ </script>
389
+