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,1430 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search" v-if="!show">
4
+ <div class="flex">
5
+
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+
11
+ <div class="col-sm-2 form-group">
12
+ <label for="startDate" class="font_normal_body">录入日期</label>
13
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
14
+ v-model="model.startDate"
15
+ :value.sync="model.startDate"
16
+ :format="'yyyy-MM-dd HH:mm:ss'"
17
+ :show-reset-button="true"
18
+ condition="f_input_date >= '{}'">
19
+ </datepicker>
20
+ </div>
21
+ <div class="col-sm-2 form-group">
22
+ <label for="endDate"
23
+ class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&ensp;</label>
24
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
25
+ v-model="model.endDate"
26
+ :value.sync="model.endDate"
27
+ :format="'yyyy-MM-dd HH:mm:ss'"
28
+ :show-reset-button="true"
29
+ condition="f_input_date <= '{}'">
30
+ </datepicker>
31
+ </div>
32
+ <div class="col-sm-2 form-group">
33
+ <label class="font_normal_body">客户编号</label>
34
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
35
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
36
+ </div>
37
+ <div class="col-sm-2 form-group">
38
+ <label class="font_normal_body">客户名称</label>
39
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
40
+ condition="f_user_name = '{}'" placeholder="客户名称">
41
+ </div>
42
+ <div class="span" style="float:right;">
43
+ <button class="button_search button_spacing" @click="search()">查询</button>
44
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
45
+
46
+ <button class="btn btn-default" @click="$parent.$parent.Fileinput()">反盘导入</button>
47
+
48
+ <export-excel :data="$parent.$parent.getCondition" ref="newhandplanExport"
49
+ :field="$parent.$parent.getBankfield" :header="$parent.$parent.other"
50
+ sqlurl="api/af-revenue/logic/exportfile" sql-name="newhandplanQuery"
51
+ template-name='送盘导出' btn-name="送盘导出"
52
+ :choose-col="true"></export-excel>
53
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
54
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
55
+ sqlurl="api/af-revenue/logic/saleExport" sql-name="salehandplanQuery"
56
+ template-name='抄表查询导出'
57
+ :choose-col="true"></export-excel>
58
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
59
+ :field="$parent.$parent.getfield"
60
+ :defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
61
+ titletable="抄表查询"
62
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
63
+
64
+ <div style="float: right" class="button_spacing"
65
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
66
+ @click="$parent.$parent.hidden()"></div>
67
+ </div>
68
+ </div>
69
+ <div class="row" v-show="$parent.$parent.criteriaShow">
70
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
71
+ v-ref:sel></res-select-group>
72
+
73
+
74
+ <div class="col-sm-2 form-group">
75
+ <label class="font_normal_body">小区名称</label>
76
+ <v-select :value.sync="model.f_residential_area"
77
+ class="select_list select"
78
+ enter-push
79
+ multiple="true"
80
+ v-model="model.f_residential_area"
81
+ style="width: 60%"
82
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
83
+ close-on-select>
84
+
85
+ </v-select>
86
+ </div>
87
+ <div class="col-sm-2 form-group">
88
+ <label class="font_normal_body">楼&emsp;栋&emsp;</label>
89
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
90
+ condition="f_building like '%{}%'" placeholder="楼栋">
91
+ </div>
92
+ <div class="col-sm-2 form-group">
93
+ <label class="font_normal_body">客户地址</label>
94
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
95
+ condition="f_address like '%{}%'" placeholder='客户地址'>
96
+ </div>
97
+ <div class="col-sm-2 form-group">
98
+ <label class="font_normal_body">抄表状态</label>
99
+ <v-select :value.sync="model.f_meter_state"
100
+ v-model="model.f_meter_state"
101
+ :options='$parent.$parent.meterstate' placeholder='请选择'
102
+ condition="f_meter_state = '{}'"
103
+ close-on-select></v-select>
104
+ </div>
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">表单状态</label>
107
+ <v-select :value.sync="model.f_hand_state"
108
+ v-model="model.f_hand_state"
109
+ :options='$parent.$parent.handstate' placeholder='请选择'
110
+ condition="f_hand_state = '{}'"
111
+ close-on-select></v-select>
112
+ </div>
113
+ <div class="col-sm-2 form-group">
114
+ <label class="font_normal_body">录入人员</label>
115
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_input_person"
116
+ condition="f_input_person like '%{}%'" placeholder='录入人员'>
117
+ </div>
118
+ <div class="col-sm-2 form-group">
119
+ <label class="font_normal_body">是否缴费</label>
120
+ <v-select :value.sync="model.f_whether_pay"
121
+ v-model="model.f_whether_pay"
122
+ :options='$parent.$parent.whetherPay' placeholder='请选择'
123
+ condition="f_whether_pay = '{}'"
124
+ close-on-select></v-select>
125
+ </div>
126
+ <div class="col-sm-2 form-group">
127
+ <label class="font_normal_body">&ensp;壁挂炉&ensp;</label>
128
+ <v-select :value.sync="model.f_bgl"
129
+ v-model="model.f_bgl"
130
+ :options='$parent.$parent.bgl' placeholder='请选择'
131
+ condition="f_bgl = '{}'"
132
+ close-on-select></v-select>
133
+ </div>
134
+ <div class="col-sm-2 form-group">
135
+ <label class="font_normal_body">客户类型</label>
136
+ <v-select :value.sync="model.f_user_type"
137
+ @change="$parent.$parent.userTypeChange()"
138
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
139
+ condition="f_user_type = '{}'"
140
+ close-on-select></v-select>
141
+ </div>
142
+ <div class="col-sm-2 form-group">
143
+ <label class="font_normal_body">用气性质</label>
144
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
145
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
146
+ condition="f_gasproperties = '{}'"
147
+ close-on-select></v-select>
148
+ </div>
149
+ <div class="col-sm-2 form-group">
150
+ <label class="font_normal_body">气价类型</label>
151
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
152
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
153
+ close-on-select v-ref:type>
154
+ </v-select>
155
+ </div>
156
+ <div class="form-group col-sm-2">
157
+ <label class="font_normal_body">气价名称</label>
158
+ <v-select id="f_price_name"
159
+ v-model="model.price_name"
160
+ placeholder='气价名称'
161
+ style="width: 60%"
162
+ :value.sync="model.price_name"
163
+ :options='$parent.$parent.priceNames'
164
+ condition="f_price_name = '{}'"
165
+ close-on-select></v-select>
166
+ </div>
167
+ <div class="col-sm-2 form-group">
168
+ <label class="font_normal_body">下账状态</label>
169
+ <v-select :value.sync="model.f_accounts_state"
170
+ :options='$parent.$parent.accountsState' placeholder='请选择'
171
+ v-model="model.f_accounts_state"
172
+ condition="f_accounts_state = '{}'"
173
+ close-on-select></v-select>
174
+ </div>
175
+
176
+ <div class="col-sm-2 form-group">
177
+ <label class="font_normal_body">气表品牌</label>
178
+ <v-select :value.sync="model.f_meter_brand" multiple
179
+ v-model="model.f_meter_brand"
180
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
181
+ condition="f_meter_brand in {}"
182
+ close-on-select></v-select>
183
+ </div>
184
+ <div class="col-sm-2 form-group">
185
+ <label class="font_normal_body">用&ensp;气&ensp;量</label>
186
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
187
+ v-model="model.f_oughtamount_big" condition="f_oughtamount >= {}" placeholder='大于等于'>
188
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
189
+ v-model="model.f_oughtamount_small" condition="f_oughtamount <= {}" placeholder='小于等于'>
190
+ </div>
191
+ <!-- <div class="col-sm-2 form-group">-->
192
+ <!-- <label class="font_normal_body">气价名称</label>-->
193
+ <!-- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name" :options="$parent.$parent.prices"-->
194
+ <!-- condition="f_price_name = '{}'" close-on-select></v-select>-->
195
+ <!-- </div>-->
196
+ <div class="col-sm-2 form-group">
197
+ <label class="font_normal_body">&ensp;表&ensp;号&ensp;&ensp;</label>
198
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
199
+ condition="f_meternumber = '{}' " placeholder="表号">
200
+ </div>
201
+ <div class="col-sm-2 form-group">
202
+ <label for="startDate" class="font_normal_body">下发日期</label>
203
+ <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
204
+ v-model="model.handStartDate"
205
+ :value.sync="model.handStartDate"
206
+ :format="'yyyy-MM-dd 00:00:00'"
207
+ :show-reset-button="true"
208
+ condition="f_hand_date >= '{}'">
209
+ </datepicker>
210
+ </div>
211
+ <div class="col-sm-2 form-group">
212
+ <label for="endDate"
213
+ class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
214
+ <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
215
+ v-model="model.handEndDate"
216
+ :value.sync="model.handEndDate"
217
+ :format="'yyyy-MM-dd 23:59:59'"
218
+ :show-reset-button="true"
219
+ condition="f_hand_date <= '{}'">
220
+ </datepicker>
221
+ </div>
222
+
223
+ <div class="col-sm-2 form-group">
224
+ <label class="font_normal_body">抄&ensp;表&ensp;员</label>
225
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
226
+ style="width:60%"
227
+ :value-single="true"
228
+ :options='$parent.$parent.inputtores' placeholder='抄表员'
229
+ condition="f_inputtor = '{}'"
230
+ v-el:cc></v-select>
231
+ </div>
232
+
233
+ <!--表册片区-->
234
+ <div class="col-sm-2 form-group">
235
+ <label class="font_normal_body">表册片区</label>
236
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
237
+ @change="$parent.$parent.inputtorchange"
238
+ multiple
239
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
240
+ style="width:60%"
241
+ close-on-select
242
+ condition="f_book_slice_area in {}"></v-select>
243
+ </div>
244
+ <div class="col-sm-2 form-group">
245
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
246
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
247
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
248
+ style="width:60%"
249
+ multiple
250
+ close-on-select
251
+ condition="f_meter_book_num in {}"></v-select>
252
+ </div>
253
+ <div class="col-sm-2 form-group">
254
+ <label for="belongmonth" class="font_normal_body">所属年月</label>
255
+ <datepicker placeholder="所属年月" style="width:60%"
256
+ v-model="model.belongmonth"
257
+ :value.sync="model.belongmonth"
258
+ :format="'yyyy-MM'"
259
+ :show-reset-button="true"
260
+ condition="belongmonth = '{}'"
261
+ :select-month="true">
262
+ </datepicker>
263
+ </div>
264
+ <div class="col-sm-2 form-group">
265
+ <label class="font_normal_body">银行名称</label>
266
+ <v-select :value.sync="model.f_bank_name" v-model="model.f_bank_name"
267
+ :options='$parent.$parent.banklist' placeholder='银行名称'
268
+ style="width:60%"
269
+ close-on-select
270
+ condition="f_bank_name = '{}'"></v-select>
271
+ </div>
272
+ <div class="col-sm-2 form-group">
273
+ <label for="startDate" class="font_normal_body">收费日期</label>
274
+ <datepicker id="handStartDate" placeholder="开始日期" style="width:60%"
275
+ v-model="model.sellStartDate"
276
+ :value.sync="model.sellStartDate"
277
+ :format="'yyyy-MM-dd 00:00:00'"
278
+ :show-reset-button="true"
279
+ condition="f_sellinggas_operate_date >= '{}'">
280
+ </datepicker>
281
+ </div>
282
+ <div class="col-sm-2 form-group">
283
+ <label for="endDate"
284
+ class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;</label>
285
+ <datepicker id="handEndDate" placeholder="结束日期" style="width:60%"
286
+ v-model="model.sellEndDate"
287
+ :value.sync="model.sellEndDate"
288
+ :format="'yyyy-MM-dd 23:59:59'"
289
+ :show-reset-button="true"
290
+ condition="f_sellinggas_operate_date <= '{}'">
291
+ </datepicker>
292
+ </div>
293
+ <div class="col-sm-2 form-group">
294
+ <label class="font_normal_body">有无附件</label>
295
+ <v-select v-model="model.f_notified_path"
296
+ :value.sync="model.f_notified_path"
297
+ :options="$parent.$parent.attachmentOptions"
298
+ placeholder="请选择"
299
+ condition="{}"
300
+ close-on-select></v-select>
301
+ </div>
302
+ <div class="col-sm-2 form-group">
303
+ <label class="font_normal_body">是否入户</label>
304
+ <v-select v-model="model.f_whether_household"
305
+ :value.sync="model.f_whether_household"
306
+ :options="$parent.$parent.whether_household"
307
+ placeholder="请选择"
308
+ condition="f_whether_household = '{}'"
309
+ close-on-select>
310
+ </v-select>
311
+ </div>
312
+ </div>
313
+ </div>
314
+ </criteria>
315
+
316
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
317
+ <template partial='head'>
318
+ <tr>
319
+ <th>
320
+ <nobr>客户编号</nobr>
321
+ </th>
322
+ <th>
323
+ <nobr>客户名称</nobr>
324
+ </th>
325
+ <th>
326
+ <nobr>片区</nobr>
327
+ </th>
328
+ <th>
329
+ <nobr>表册片区</nobr>
330
+ </th>
331
+ <th>
332
+ <nobr>客户地址</nobr>
333
+ </th>
334
+ <th>
335
+ <nobr>客户手机</nobr>
336
+ </th>
337
+ <th>
338
+ <nobr>客户类型</nobr>
339
+ </th>
340
+ <th>
341
+ <nobr>用户性质</nobr>
342
+ </th>
343
+ <th>
344
+ <nobr>气表品牌</nobr>
345
+ </th>
346
+ <th>
347
+ <nobr>表号</nobr>
348
+ </th>
349
+ <th>
350
+ <nobr>数据年月</nobr>
351
+ </th>
352
+ <th>
353
+ <nobr>上次抄表时间</nobr>
354
+ </th>
355
+ <th>
356
+ <nobr>上期底数</nobr>
357
+ </th>
358
+ <th>
359
+ <nobr>本期底数</nobr>
360
+ </th>
361
+ <th>
362
+ <nobr>用气量</nobr>
363
+ </th>
364
+ <th>
365
+ <nobr>用气金额</nobr>
366
+ </th>
367
+ <th>
368
+ <nobr>已交金额</nobr>
369
+ </th>
370
+ <th>
371
+ <nobr>欠费金额</nobr>
372
+ </th>
373
+ <th>
374
+ <nobr>优惠金额</nobr>
375
+ </th>
376
+ <th>
377
+ <nobr>上期余额</nobr>
378
+ </th>
379
+ <th>
380
+ <nobr>本期余额</nobr>
381
+ </th>
382
+ <th>
383
+ <nobr>下账状态</nobr>
384
+ </th>
385
+ <th>
386
+ <nobr>收费时间</nobr>
387
+ </th>
388
+ <th>
389
+ <nobr>收费人员</nobr>
390
+ </th>
391
+ <th>
392
+ <nobr>冲正时间</nobr>
393
+ </th>
394
+ <th>
395
+ <nobr>冲正人员</nobr>
396
+ </th>
397
+ <th>
398
+ <nobr>下发日期</nobr>
399
+ </th>
400
+ <th>
401
+ <nobr>所属年月</nobr>
402
+ </th>
403
+ <th>
404
+ <nobr>录入日期</nobr>
405
+ </th>
406
+ <th>
407
+ <nobr>气价名称</nobr>
408
+ </th>
409
+ <th>
410
+ <nobr>一阶气量</nobr>
411
+ </th>
412
+ <th>
413
+ <nobr>一阶单价</nobr>
414
+ </th>
415
+ <th>
416
+ <nobr>一阶气费</nobr>
417
+ </th>
418
+ <th>
419
+ <nobr>二阶气量</nobr>
420
+ </th>
421
+ <th>
422
+ <nobr>二阶单价</nobr>
423
+ </th>
424
+ <th>
425
+ <nobr>二阶气费</nobr>
426
+ </th>
427
+ <th>
428
+ <nobr>三阶气量</nobr>
429
+ </th>
430
+ <th>
431
+ <nobr>三阶单价</nobr>
432
+ </th>
433
+ <th>
434
+ <nobr>三阶气费</nobr>
435
+ </th>
436
+ <th>
437
+ <nobr>天数</nobr>
438
+ </th>
439
+ <th>
440
+ <nobr>抄表员</nobr>
441
+ </th>
442
+ <th>
443
+ <nobr>录入人员</nobr>
444
+ </th>
445
+ <th>
446
+ <nobr>是否缴费</nobr>
447
+ </th>
448
+
449
+ <th>
450
+ <nobr>抄表状态</nobr>
451
+ </th>
452
+ <th>
453
+ <nobr>状态</nobr>
454
+ </th>
455
+ <th>
456
+ <nobr>下发人员</nobr>
457
+ </th>
458
+ <th>
459
+ <nobr>部门</nobr>
460
+ </th>
461
+ <th>
462
+ <nobr>公司</nobr>
463
+ </th>
464
+ <th>
465
+ <nobr>备注</nobr>
466
+ </th>
467
+ <th>
468
+ <nobr>附件</nobr>
469
+ </th>
470
+ </tr>
471
+ </template>
472
+ <template partial='body'>
473
+ <td style="text-align: center;">
474
+ <nobr>
475
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{ row.f_userinfo_code }}</a></span></nobr>
476
+ </td>
477
+ <td style="text-align: center;">
478
+ <nobr>{{ row.f_user_name }}</nobr>
479
+ </td>
480
+ <td style="text-align: center;">
481
+ <nobr>{{ row.f_zones }}</nobr>
482
+ </td>
483
+ <td style="text-align: center;">
484
+ <nobr>{{ row.f_book_slice_area }}</nobr>
485
+ </td>
486
+ <td style="text-align: center;">
487
+ <nobr>{{ row.f_address }}</nobr>
488
+ </td>
489
+
490
+ <td style="text-align: center;">
491
+ <nobr>{{ row.phone }}</nobr>
492
+ </td>
493
+ <td style="text-align: center;">
494
+ <nobr>{{ row.f_user_type }}</nobr>
495
+ </td>
496
+ <td style="text-align: center;">
497
+ <nobr>{{ row.f_gasproperties }}</nobr>
498
+ </td>
499
+ <td style="text-align: center;">
500
+ <nobr>{{ row.f_meter_brand }}</nobr>
501
+ </td>
502
+ <td style="text-align: center;">
503
+ <nobr>{{ row.f_meternumber }}</nobr>
504
+ </td>
505
+ <td style="text-align: center;">
506
+ <nobr>{{ row.ym_data }}</nobr>
507
+ </td>
508
+ <td style="text-align: center;">
509
+ <nobr>{{ row.f_last_input_date }}</nobr>
510
+ </td>
511
+ <td style="text-align: center;">
512
+ <nobr>{{ row.f_last_tablebase }}</nobr>
513
+ </td>
514
+ <td style="text-align: center;">
515
+ <nobr>{{ row.f_tablebase }}</nobr>
516
+ </td>
517
+ <td style="text-align: center;">
518
+ <nobr>{{ row.f_oughtamount }}</nobr>
519
+ </td>
520
+ <td style="text-align: center;">
521
+ <nobr>{{ row.f_oughtfee }}</nobr>
522
+ </td>
523
+ <td style="text-align: center;">
524
+ <nobr>{{ row.f_debt_money }}</nobr>
525
+ </td>
526
+ <td style="text-align: center;">
527
+ <nobr>{{ row.f_actual_arrears }}</nobr>
528
+ </td>
529
+ <td style="text-align: center;">
530
+ <nobr>{{ row.f_privilege_money }}</nobr>
531
+ </td>
532
+ <td style="text-align: center;">
533
+ <nobr>{{ row.f_balance }}</nobr>
534
+ </td>
535
+ <td style="text-align: center;">
536
+ <nobr>{{ row.f_curbalance }}</nobr>
537
+ </td>
538
+ <td style="text-align: center;">
539
+ <nobr>{{ row.f_accounts_state }}</nobr>
540
+ </td>
541
+ <td style="text-align: center;">
542
+ <nobr>{{ row.f_sellinggas_operate_date }}</nobr>
543
+ </td>
544
+ <td style="text-align: center;">
545
+ <nobr>{{ row.f_sell_operator }}</nobr>
546
+ </td>
547
+ <td style="text-align: center;">
548
+ <nobr>{{ row.f_corrhand_date }}</nobr>
549
+ </td>
550
+ <td style="text-align: center;">
551
+ <nobr>{{ row.f_corrhand_operator }}</nobr>
552
+ </td>
553
+ <td style="text-align: center;">
554
+ <nobr>{{ row.f_hand_date }}</nobr>
555
+ </td>
556
+ <td>
557
+ <nobr>{{ row.belongmonth }}</nobr>
558
+ </td>
559
+ <td style="text-align: center;">
560
+ <nobr>{{ row.f_input_date }}</nobr>
561
+ </td>
562
+ <td style="text-align: center;">
563
+ <nobr>{{ row.f_price_name }}</nobr>
564
+ </td>
565
+ <td style="text-align: center;">
566
+ <nobr>{{ row.f_stair1amount }}</nobr>
567
+ </td>
568
+ <td style="text-align: center;">
569
+ <nobr>{{ row.f_stair1price }}</nobr>
570
+ </td>
571
+ <td style="text-align: center;">
572
+ <nobr>{{ row.f_stair1fee }}</nobr>
573
+ </td>
574
+ <td style="text-align: center;">
575
+ <nobr>{{ row.f_stair2amount }}</nobr>
576
+ </td>
577
+ <td style="text-align: center;">
578
+ <nobr>{{ row.f_stair2price }}</nobr>
579
+ </td>
580
+ <td style="text-align: center;">
581
+ <nobr>{{ row.f_stair2fee }}</nobr>
582
+ </td>
583
+ <td style="text-align: center;">
584
+ <nobr>{{ row.f_stair3amount }}</nobr>
585
+ </td>
586
+ <td style="text-align: center;">
587
+ <nobr>{{ row.f_stair3price }}</nobr>
588
+ </td>
589
+ <td style="text-align: center;">
590
+ <nobr>{{ row.f_stair3fee }}</nobr>
591
+ </td>
592
+ <td style="text-align: center;">
593
+ <nobr>{{ row.dd }}</nobr>
594
+ </td>
595
+ <td style="text-align: center;">
596
+ <nobr>{{ row.f_inputtor }}</nobr>
597
+ </td>
598
+ <td style="text-align: center;">
599
+ <nobr>{{ row.f_input_person }}</nobr>
600
+ </td>
601
+ <td style="text-align: center;">
602
+ <nobr>{{ row.f_whether_pay }}</nobr>
603
+ </td>
604
+
605
+ <td style="text-align: center;">
606
+ <nobr>{{ row.f_meter_state }}</nobr>
607
+ </td>
608
+ <td style="text-align: center;">
609
+ <nobr>{{ row.f_hand_state }}</nobr>
610
+ </td>
611
+ <td style="text-align: center;">
612
+ <nobr>{{ row.f_operator }}</nobr>
613
+ </td>
614
+ <td style="text-align: center;">
615
+ <nobr>{{ row.f_depname }}</nobr>
616
+ </td>
617
+ <td style="text-align: center;">
618
+ <nobr>{{ row.f_orgname }}</nobr>
619
+ </td>
620
+ <td style="text-align: center;">
621
+ <nobr>{{ row.f_comments }}</nobr>
622
+ </td>
623
+ <td style="text-align: center;">
624
+ <nobr>
625
+ <!-- <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">-->
626
+ <!-- 查看-->
627
+ <!-- </button>-->
628
+ <button v-if="row.f_notified_paths && row.f_notified_paths !== []" class="btn btn-link"
629
+ @click.stop="$parent.$parent.$parent.handImgListShow(row.f_notified_paths)">图像识别
630
+ </button>
631
+ </nobr>
632
+ </td>
633
+ </template>
634
+ <template partial='foot'></template>
635
+ </data-grid>
636
+ </criteria-paged>
637
+
638
+ <table class="table-hover">
639
+ <tr style="position: relative;margin-top: -16px;" class="table-bordered">
640
+ <td
641
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
642
+ 汇总信息
643
+ </td>
644
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
645
+ <!-- 用气量合计:&emsp;{{sumsmodel.f_oughtamount}}-->
646
+ <!-- </td>-->
647
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
648
+ <!-- 气费合计:&emsp;{{sumsmodel.f_oughtfee}}-->
649
+ <!-- </td>-->
650
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
651
+ <!-- 已交金额合计:&emsp;{{sumsmodel.f_debt_money}}-->
652
+ <!-- </td>-->
653
+ <td
654
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
655
+ 欠费金额合计:&emsp;{{ sumsmodel.f_actual_arrears }}
656
+ </td>
657
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
658
+ <!-- 一阶气量合计:&emsp;{{sumsmodel.f_stair1amount}}-->
659
+ <!-- </td>-->
660
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
661
+ <!-- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}-->
662
+ <!-- </td>-->
663
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
664
+ <!-- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}-->
665
+ <!-- </td>-->
666
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
667
+ <!-- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}-->
668
+ <!-- </td>-->
669
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
670
+ <!-- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}-->
671
+ <!-- </td>-->
672
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
673
+ <!-- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}-->
674
+ <!-- </td>-->
675
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
676
+ <!-- 剩余气量合计:&emsp;{{sumsmodel.f_surplus_gas}}-->
677
+ <!-- </td>-->
678
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
679
+ <!-- 扣减气量合计:&emsp;{{sumsmodel.f_haircut_gas}}-->
680
+ <!-- </td>-->
681
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
682
+ <!-- 应交气量合计:&emsp;{{sumsmodel.f_oughtamount}}-->
683
+ <!-- </td>-->
684
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
685
+ <!-- 已交气费金额合计:&emsp;{{sumsmodel.alloughtfee}}-->
686
+ <!-- </td>-->
687
+ </tr>
688
+ </table>
689
+ </div>
690
+ <modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
691
+ <article slot="modal-body" class="modal-body">
692
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="api/af-revenue/file/uploadFile"
693
+ tagname="确定" multiple v-ref:file></file-upload>
694
+ </article>
695
+ <footer slot="modal-footer" class="modal-footer">
696
+ </footer>
697
+ </modal>
698
+ </div>
699
+ <div class="flex" v-if="show">
700
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
701
+ @cancel-main="cancel"></user-info-detail-manage-new>
702
+ </div>
703
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle
704
+ backdrop="false">
705
+ <article slot="modal-body">
706
+ <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false"
707
+ fusetype="机表抄表" :isremark="false" style="width:auto"></upload>
708
+ </article>
709
+ <footer slot="modal-footer" class="modal-footer">
710
+ </footer>
711
+ </modal>
712
+ <modal :show.sync="imgListShow" v-ref:modal backdrop="true" coverstyle="modalContentRight">
713
+ <header slot="modal-header" class="modal-header">
714
+ 抄表图像识别照片
715
+ </header>
716
+ <article slot="modal-body" class="modal-body">
717
+ <div class="from-group" v-for="img in images">
718
+ <img-self :src="`/singlepage/rs/image/file/` + img" :width="250" :height="250"></img-self>
719
+ </div>
720
+ </article>
721
+ <footer slot="modal-footer" class="modal-footer">
722
+ <button type="button" class="btn btn-success" @click='imgClose'>关闭</button>
723
+ </footer>
724
+ </modal>
725
+
726
+ <modal :show.sync="progressShow" v-ref:modal backdrop="true" width="50%" style="width:auto;">
727
+ <header slot="modal-header" class="modal-header">
728
+ 反盘导入
729
+ </header>
730
+ <article slot="modal-body" class="modal-body">
731
+ <div class="progress" style="margin: 20px">
732
+ <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent+'%'}">
733
+ {{ percent }}%
734
+ </div>
735
+ </div>
736
+ </article>
737
+ <footer slot="modal-footer" class="modal-footer">
738
+ <button type="button" class="btn btn-default" @click='progressclose'>关闭</button>
739
+ </footer>
740
+ </modal>
741
+ <work-busy :is-busy="iswork" v-show="iswork"></work-busy>
742
+ </div>
743
+ </template>
744
+
745
+ <script>
746
+ import {PagedList, HttpResetClass} from 'vue-client'
747
+
748
+ let readySomething = async function (self) {
749
+ // 加载抄表册
750
+
751
+ await self.$LoadParams.loadMeterBook(self.f_filialeid)
752
+ self.loadMeterBooks()
753
+ // await self.$LoadParams.loadMeterBook(self.f_filialeid)
754
+ // self.loadMeterBooks()
755
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
756
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
757
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
758
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
759
+ // await self.$refs.paged.$refs.cri.search()
760
+ await self.$getConfig(self, 'HandplanQuery')
761
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
762
+ await self.$LoadParams.loadParam()
763
+ self.initParams()
764
+ self.getPricenames()
765
+ console.log('开始查询')
766
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
767
+ }
768
+ export default {
769
+ props: ['data'],
770
+ title: '机表抄表查询',
771
+ data () {
772
+ return {
773
+ attachmentOptions: [
774
+ {label: '是', value: 'f_notified_paths is not null'},
775
+ {label: '否', value: 'f_notified_paths is null'}
776
+ ],
777
+ whether_household: [ {label: '是', value: '是'}, {label: '否', value: '否'} ],
778
+ iswork: false,
779
+ other: [],
780
+ footer: [],
781
+ data: {},
782
+ model: new PagedList('api/af-revenue/sql/salehandplanQuery', 20, {}, {
783
+ // f_oughtamount: 0,
784
+ // f_oughtfee: 0,
785
+ // f_debt_money: 0,
786
+ f_actual_arrears: 0
787
+ // f_stair1amount: 0,
788
+ // f_stair1fee: 0,
789
+ // f_stair2amount: 0,
790
+ // f_stair2fee: 0,
791
+ // f_stair3amount: 0,
792
+ // f_stair3fee: 0,
793
+ // f_surplus_gas: 0,
794
+ // f_haircut_gas: 0
795
+ // , alloughtfee:0
796
+ }),
797
+ initres: {
798
+ org: [this.$login.f.orgid],
799
+ dep: [],
800
+ user: []
801
+ },
802
+ show: false,
803
+ rowdata: {},
804
+ criteriaShow: false,
805
+ residentialArea: [],
806
+ orgCondtionStr: '',
807
+ modelval: [],
808
+ gasproperties: [],
809
+ inputtouPerson: [],
810
+ priceNames: [],
811
+ meterbrands: [],
812
+ printshow: false,
813
+ f_filialeid: this.$login.f.f_orgid,
814
+ all: false,
815
+ fields: {},
816
+ thead: '',
817
+ tfoot: '',
818
+ showupload: false,
819
+ selected: {},
820
+
821
+ // 下拉框
822
+
823
+ // 合计数据
824
+ sumsmodel: {},
825
+ defaultfield: [],
826
+ config: {
827
+ defaultPrint1: [
828
+ 'f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_pregas', 'f_preamount', 'f_collection', 'f_balance', 'f_curbalance', 'f_idnumber'
829
+ ],
830
+ defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber'],
831
+ excelHeaders: {
832
+ 'f_userinfo_code': '客户编号',
833
+ 'f_user_name': '客户名称',
834
+ 'f_address': '客户地址',
835
+ 'f_zones': '片区',
836
+ 'phone': '客户手机',
837
+ 'f_user_type': '客户类型',
838
+ 'f_gasproperties': '用户性质',
839
+ 'f_meter_brand': '气表品牌',
840
+ 'f_meternumber': '表号',
841
+ 'ym_data': '数据年月',
842
+ 'f_last_tablebase': '上期底数',
843
+ 'f_tablebase': '本期底数',
844
+ 'f_oughtamount': '用气量',
845
+ 'f_oughtfee': '用气金额',
846
+ 'f_debt_money': '已交金额',
847
+ 'f_actual_arrears': '欠费金额',
848
+ 'f_balance': '上期余额',
849
+ 'f_curbalance': '本期余额',
850
+ 'f_accounts_state': '下账状态',
851
+ 'f_sellinggas_operate_date': '收费时间',
852
+ 'f_inputtor': '抄表员',
853
+ 'f_book_slice_area': '表册片区',
854
+ 'f_hand_date': '下发日期',
855
+ 'f_input_date': '录入日期',
856
+ 'f_meter_state': '抄表状态',
857
+ 'f_hand_state': '记录状态',
858
+ 'f_operator': '操作员',
859
+ 'f_depname': '部门',
860
+ 'f_orgname': '公司',
861
+ // 'f_surplus_gas': '剩余气量',
862
+ // 'f_haircut_gas': '扣减气量',
863
+ 'f_stair1amount': '一阶气量',
864
+ 'f_stair1price': '一阶单价',
865
+ 'f_stair1fee': '一阶气费',
866
+ 'f_stair2amount': '二阶气量',
867
+ 'f_stair2price': '二阶单价',
868
+ 'f_stair2fee': '二阶气费',
869
+ 'f_stair3amount': '三阶气量',
870
+ 'f_stair3price': '三阶单价',
871
+ 'f_stair3fee': '三阶气费',
872
+ 'f_rest_date': '所属年月'
873
+ },
874
+ batchBankConfig2: {
875
+ 'f_userinfo_code': '客户编号',
876
+ 'f_userinfo_id': '用户编号',
877
+ 'phone': '客户电话',
878
+ 'f_user_name': '客户姓名',
879
+ 'f_address': '客户地址',
880
+ 'f_bank_accopen': '银行户名',
881
+ 'f_bank_pay_number': '缴费编号',
882
+ 'f_bank_account': '银行开户账号',
883
+ 'f_paper_account': '开户行及账号',
884
+ 'f_bank_name': '银行名称',
885
+ 'f_oughtfee': '欠费金额',
886
+ 'f_balance': '上期余额',
887
+ 'f_comments': '备注'
888
+ }
889
+ },
890
+ batchmoneyShow: false,
891
+ prices: [],
892
+ bgl: [{label: '全部', value: ''}, {label: '有', value: '1'}, {label: '无', value: '0'}],
893
+ meterbooks: [{label: '全部', value: ''}], // 抄表册
894
+ tempfalg: false,
895
+ lastorgstr: '',
896
+ allorgid: [],
897
+ inputtores: [{label: '全部', value: ''}], // 抄表员
898
+ // 表册片区
899
+ bookSlice: [{label: '全部', value: ''}],
900
+ imgListShow: false,
901
+ images: [],
902
+ imgfilename: '',
903
+ percent: 0,
904
+ progressShow: false,
905
+ uuida: '',
906
+ timer: '',
907
+ condition: ' 1 = 1'
908
+ }
909
+ },
910
+ ready () {
911
+ this.getaddress()
912
+ readySomething(this).then(() => {
913
+ this.$emit('ready')
914
+ }).catch((error) => {
915
+ this.$emit('error', error)
916
+ })
917
+ },
918
+ methods: {
919
+ getPricenames () {
920
+ let filialeid = this.$login.f.orgid
921
+ let result = [{label: '全部', value: ''}]
922
+ console.log('this.$GetSaleParam.prices', this.$GetSaleParam)
923
+ console.log('filialeid', filialeid)
924
+ this.$GetSaleParam.prices.forEach((item) => {
925
+ if (item.f_state === '有效' && filialeid == item.f_filialeid) {
926
+ let value = {
927
+ label: item.f_price_name,
928
+ value: item
929
+ }
930
+ result.push(value)
931
+ }
932
+ })
933
+ this.priceNames = Array.from(new Set(result))
934
+ },
935
+ loadMeterBooks () {
936
+ this.meterbooks = [...this.meterbooks, ...this.$GetSaleParam.getMeterBooks()]
937
+ },
938
+ getuuid () {
939
+ let uuidA = ''
940
+ var s = []
941
+ var hexDigits = '0123456789abcdef'
942
+ for (var i = 0; i < 36; i++) {
943
+ s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1)
944
+ }
945
+ s[14] = '4'
946
+ s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1)
947
+ s[8] = s[13] = s[18] = s[23] = '-'
948
+ uuidA = s.join('')
949
+ this.uuida = uuidA
950
+ },
951
+ progressclose () {
952
+ this.progressShow = false
953
+ if (this.timer != null) {
954
+ clearInterval(this.timer)
955
+ }
956
+ },
957
+ async initmeterbook (orgstr) {
958
+ if (orgstr == null) {
959
+ orgstr = this.f_filialeid
960
+ }
961
+ // 获取新的抄表册,先去清理所有的抄表册
962
+ this.$GetSaleParam.meterbooks = []
963
+ // 开始加载新的抄表册
964
+ await this.$LoadParams.loadMeterBook(orgstr)
965
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
966
+ },
967
+ // 初始化片区
968
+ async initSlice (val) {
969
+ if (val) {
970
+ let getAllArea = await this.$resetpost('/rs/search', {
971
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
972
+ userid: this.$login.f.id
973
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
974
+ let arr = getAllArea.data.filter((res) => {
975
+ return res.parentid == val
976
+ })
977
+ this.bookSlice = []
978
+ arr.forEach((res) => {
979
+ this.bookSlice.push({label: res.name, value: res.name})
980
+ })
981
+ }
982
+ },
983
+ // 表册片区和抄表册关联
984
+ async inputtorchange () {
985
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book', [])
986
+ /* let val1=this.$refs.paged.$refs.cri.model.f_meter_book */
987
+ let val2 = this.$refs.paged.$refs.cri.model.f_book_slice_area
988
+ if ((val2.length > 0)) {
989
+ let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
990
+ let aaa = '('
991
+ val2.forEach((item) => {
992
+ aaa = aaa + `'${item}',`
993
+ })
994
+ aaa = aaa + `'')`
995
+ condition = condition + ` and f_book_slice_area in ${aaa} `
996
+ let param = {
997
+ items: '*',
998
+ tablename: 't_meter_book',
999
+ condition: condition,
1000
+ orderitem: 'id'
1001
+ }
1002
+ let getMeterBooks = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {data: param}, {
1003
+ resolveMsg: null,
1004
+ rejectMsg: '获取营收参数出错!!!'
1005
+ })
1006
+ if (getMeterBooks.data) {
1007
+ if (getMeterBooks.data.length > 0) {
1008
+ let rs = []
1009
+ getMeterBooks.data.forEach((item) => {
1010
+ let temp = {
1011
+ label: item.f_book_name,
1012
+ value: item.id
1013
+ }
1014
+ rs.push(temp)
1015
+ })
1016
+ this.meterbooks = [{label: '全部', value: ''}, ...rs]
1017
+ } else {
1018
+ this.meterbooks = [{label: '全部', value: ''}]
1019
+ }
1020
+ }
1021
+ } else {
1022
+ this.meterbooks = [{label: '全部', value: ''}]
1023
+ this.initmeterbook()
1024
+ }
1025
+ },
1026
+
1027
+ async getinputtores () {
1028
+ // 获取抄表员
1029
+ let rs = []
1030
+ if (this.$login.f.f_gasman.length > 0) {
1031
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1032
+ let temp = {
1033
+ label: this.$login.f.f_gasman[i].name,
1034
+ value: this.$login.f.f_gasman[i].name
1035
+ }
1036
+ rs.push(temp)
1037
+ }
1038
+ }
1039
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
1040
+ this.inputtores.push({label: '微信公众号', value: '微信公众号'})
1041
+ },
1042
+ async updateParams () {
1043
+ await this.$LoadParams.loadParam(this.f_filialeid)
1044
+ this.inputtores = []
1045
+ this.inputtores.push({label: '全部', value: ''})
1046
+ this.initSlice(this.f_filialeid)
1047
+ if (this.allorgid != null) {
1048
+ this.allorgid.forEach((res) => {
1049
+ this.inputtores = this.inputtores.concat(this.$GetSaleParam.getresinputtor(res))
1050
+ })
1051
+ }
1052
+ this.initParams(this.f_filialeid)
1053
+ },
1054
+ view (row) {
1055
+ this.showupload = true
1056
+ this.selected = row
1057
+ },
1058
+ imgClose () {
1059
+ this.imgListShow = false
1060
+ },
1061
+ handImgListShow (images) {
1062
+ this.imgListShow = true
1063
+ this.images = JSON.parse(images)
1064
+ },
1065
+ initParams () {
1066
+ // 初始化气表品牌
1067
+ let brandArr = []
1068
+ this.$GetSaleParam.getGasbrand().forEach((item) => {
1069
+ let temp = {}
1070
+ temp.label = item.label
1071
+ temp.value = item.value.id
1072
+ brandArr.push(temp)
1073
+ // // 取出对应气表型号
1074
+ // let styleArr = []
1075
+ // for (let row of item.value.gasmodel) {
1076
+ // styleArr.push({label: row.label, value: row.value.id})
1077
+ // }
1078
+ // this.meterstyle[temp.value] = styleArr
1079
+ })
1080
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
1081
+ // 初始化气表价格
1082
+ this.prices = this.$GetSaleParam.getPrice(this.$login.f.orgid)
1083
+ },
1084
+ getotherfooter () {
1085
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
1086
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
1087
+ this.other = []
1088
+ this.footer = []
1089
+ let exportdata = this.getCondition
1090
+ let otherInData = []
1091
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
1092
+ let footerData = [], exportfield = this.getfield
1093
+ footerData.push('合计')
1094
+ let self = this
1095
+ for (var field in self.sumsmodel) {
1096
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
1097
+ }
1098
+ this.footer.push(footerData)
1099
+ this.other.push(otherInData)
1100
+ },
1101
+ async getaddress () {
1102
+ let HttpReset = new HttpResetClass()
1103
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
1104
+ data: {
1105
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
1106
+ }
1107
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
1108
+ console.log('小区', data)
1109
+ let house = [{label: '全部', value: ''}]
1110
+ for (let row of data.data) {
1111
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
1112
+ }
1113
+ this.residentialArea = house
1114
+ },
1115
+ Fileinput () {
1116
+ this.batchmoneyShow = true
1117
+ },
1118
+ search () {
1119
+ this.$refs.paged.$refs.cri.search()
1120
+ },
1121
+ cancel () {
1122
+ this.show = false
1123
+ },
1124
+ selfSearch (args) {
1125
+ if (this.data) {
1126
+ this.$parent.$parent.$parent.data.startDate = this.$refs.paged.$refs.cri.model.startDate
1127
+ this.$parent.$parent.$parent.data.endDate = this.$refs.paged.$refs.cri.model.endDate
1128
+ }
1129
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
1130
+ if (this.area.length !== 0) {
1131
+ let str = JSON.stringify(this.area)
1132
+ str = str.replace(/"/g, `'`)
1133
+ str = str.replace(/\[/g, ``)
1134
+ str = str.replace(/\]/g, ``)
1135
+ // 查询多个小区时条件
1136
+ args.condition += ` and f_residential_area in ( ${str} )`
1137
+ }
1138
+ // 抄表员查询条件
1139
+ // this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1140
+ // if (this.inputtouPerson.length !== 0) {
1141
+ // let str = JSON.stringify(this.inputtouPerson)
1142
+ // str = str.replace(/"/g, `'`)
1143
+ // str = str.replace(/\[/g, ``)
1144
+ // str = str.replace(/\]/g, ``)
1145
+ // // 查询多个抄表员时条件
1146
+ // args.condition += ` and f_inputtor in ( ${str} )`
1147
+ // }
1148
+
1149
+ args.condition = `${args.condition} and f_meter_classify = '机表' ` + this.orgCondtionStr
1150
+ this.condition = args.condition
1151
+ this.model.search(args.condition, args.model)
1152
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
1153
+ },
1154
+ clear () {
1155
+ // 清空部门和人员
1156
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1157
+ // 部门和人员变为全选
1158
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1159
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1160
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1161
+ this.$refs.paged.$refs.cri.model[key] = []
1162
+ })
1163
+ this.$refs.paged.$refs.cri.model.f_meter_classify = []
1164
+ },
1165
+ show () {
1166
+ this.criteriaShow = true
1167
+ },
1168
+ hidden () {
1169
+ this.criteriaShow = !this.criteriaShow
1170
+ },
1171
+ async getRes (condition, obj) {
1172
+ console.log('condition:----------', condition)
1173
+ console.log('obj:----------', obj)
1174
+ this.orgCondtionStr = condition
1175
+ },
1176
+ stamp (type) {
1177
+ this.all = false
1178
+ if (type === 'newhandplan') {
1179
+ this.fields = this.getBankfield()
1180
+ } else if (type === 'salehandplan') {
1181
+ this.fields = this.getfield()
1182
+ this.modelval = this.defaultPrint
1183
+ }
1184
+ this.printshow = true
1185
+ this.put()
1186
+ },
1187
+ put () {
1188
+ // 对Modelval进行排序
1189
+ this.sortModelval()
1190
+ this.thead = `<tr><th colspan=${this.modelval.length}>抄表查询统计报表</th></tr><tr>`
1191
+ for (let key of this.modelval) {
1192
+ this.thead += '<th>' + this.fields[key] + '</th>'
1193
+ }
1194
+ this.thead += '</tr>'
1195
+ },
1196
+ print () {
1197
+ this.$refs.print.PrintAsFile()
1198
+ this.printshow = false
1199
+ },
1200
+ dealmsg (val) {
1201
+ this.rowdata = val
1202
+ this.show = true
1203
+ val.model = this.model.model
1204
+ this.$dispatch('deal-msg', val)
1205
+ },
1206
+ close () {
1207
+ this.printshow = false
1208
+ this.all = false
1209
+ },
1210
+
1211
+ userTypeChange () {
1212
+ this.gasproperties = []
1213
+ if (this.$refs.paged.$refs.cri.model !== null) {
1214
+ this.$refs.paged.$refs.cri.model.f_gasproperties = ''
1215
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1216
+ } else {
1217
+ this.gasproperties = [{label: '全部', value: ''}]
1218
+ }
1219
+ },
1220
+ // 对选择的列进行排序
1221
+ sortModelval () {
1222
+ let sortModel = []
1223
+ Object.keys(this.fields).forEach((key) => {
1224
+ if (this.modelval.includes(key)) {
1225
+ sortModel.push(key)
1226
+ }
1227
+ })
1228
+ this.modelval = sortModel
1229
+ }
1230
+ },
1231
+ watch: {
1232
+ 'model.rows' (val) {
1233
+ if (val.length === 0) {
1234
+ this.sumsmodel = {}
1235
+ }
1236
+ },
1237
+ // async 'orgCondtionStr'(val) {
1238
+ // console.log("-----------准备加载抄表员了",val)
1239
+ // this.$refs.paged.$refs.cri.model.f_inputtor=[]
1240
+ // this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
1241
+ // this.$refs.paged.$refs.cri.model.f_meter_book = []
1242
+ // this.meterbooks = [{label: '全部',value: ''}];
1243
+ // if(this.lastorgstr != val){
1244
+ // this.tempfalg = true;
1245
+ // this.lastorgstr = val;
1246
+ // }
1247
+ // if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1248
+ // this.tempfalg = false;
1249
+ // let a = val.substring(val.indexOf("(")+2)
1250
+ // await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1251
+ // }
1252
+ // let res = val.match(/'(.*?)'/)
1253
+ // console.log('正则提取:',res && res[1])
1254
+ // if (res) {
1255
+ // this.f_filialeid = res[1]
1256
+ // if(res.input !=null){
1257
+ // let resorgid = res.input.substring(res.input.indexOf("'"));
1258
+ // if(resorgid!= null && resorgid!=''){
1259
+ // resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1260
+ // // resorgid = resorgid.replaceAll("'","");
1261
+ // resorgid = resorgid.replace(/'/g,"");
1262
+ // this.allorgid = resorgid.split(",")
1263
+ // }
1264
+ // }
1265
+ // this.updateParams()
1266
+ // }
1267
+ // },
1268
+ 'all' (val) {
1269
+ if (val) {
1270
+ this.modelval = this.bodyData
1271
+ } else {
1272
+ this.modelval = this.defaultPrint1
1273
+ this.put()
1274
+ }
1275
+ },
1276
+ 'modelval.length' () {
1277
+ this.put()
1278
+ },
1279
+ sumsmodel: {
1280
+ handler: function (val) {
1281
+ this.getotherfooter()
1282
+ },
1283
+ deep: true
1284
+ }
1285
+ },
1286
+ computed: {
1287
+ banklist () {
1288
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('银行名称')]
1289
+ },
1290
+ getCondition () {
1291
+ return {
1292
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
1293
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
1294
+ condition: this.condition
1295
+ }
1296
+ },
1297
+ getfield () {
1298
+ return this.config.excelHeaders
1299
+ },
1300
+ getBankfield () {
1301
+ return this.config.batchBankConfig2
1302
+ },
1303
+ usertypes () {
1304
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1305
+ },
1306
+ accountsState () {
1307
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
1308
+ },
1309
+ meterstate () {
1310
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
1311
+ },
1312
+ handstate () {
1313
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
1314
+ },
1315
+ // inputtor() {
1316
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
1317
+ // },
1318
+ pricetypes () {
1319
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1320
+ },
1321
+ getPricenames () {
1322
+ let f_filialeid = this.f_filialeid
1323
+ let result = []
1324
+ this.$GetSaleParam.prices.forEach((item) => {
1325
+ if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
1326
+ let value = {
1327
+ label: item.f_price_name,
1328
+ value: item
1329
+ }
1330
+ result.push(value)
1331
+ }
1332
+ })
1333
+ return Array.from(new Set(result))
1334
+ },
1335
+ inputtores () {
1336
+ // 获取抄表员
1337
+ console.log('获取抄表员', this.$login.f)
1338
+ let rs = []
1339
+ if (this.$login.f.f_gasman.length > 0) {
1340
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1341
+ let temp = {
1342
+ label: this.$login.f.f_gasman[i].name,
1343
+ value: this.$login.f.f_gasman[i].name
1344
+ }
1345
+ rs.push(temp)
1346
+ }
1347
+ }
1348
+ return [...rs]
1349
+ },
1350
+ whetherPay () {
1351
+ return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
1352
+ }
1353
+
1354
+ },
1355
+ events: {
1356
+ 'onFileUpload': async function (file, res) {
1357
+ if (this.batchmoneyShow) {
1358
+ this.percent = 0
1359
+ this.getuuid()
1360
+ let param = {
1361
+ filepath: res.f_downloadpath,
1362
+ f_operator: this.$login.f.name,
1363
+ f_operatorid: this.$login.f.id,
1364
+ f_orgid: this.$login.f.orgid,
1365
+ f_orgname: this.$login.f.orgs,
1366
+ f_depid: this.$login.f.depids,
1367
+ f_depname: this.$login.f.deps,
1368
+ uuid: this.uuida
1369
+ }
1370
+ this.batchmoneyShow = false
1371
+ try {
1372
+ await this.$resetpost('api/af-revenue/logic/SumSettleFileImport', {data: param}, {
1373
+ resolveMsg: null,
1374
+ rejectMsg: null
1375
+ }, 1000).then((res) => {
1376
+ if (res.data) {
1377
+ }
1378
+ })
1379
+ } catch (error) {
1380
+ }
1381
+ let getparam = {
1382
+ uuid: this.uuida
1383
+ }
1384
+ let self = this
1385
+ this.progressShow = true
1386
+ this.timer = setInterval(function () {
1387
+ self.$resetpost('/api/af-revenue/logic/getBatchOperaPro', {data: getparam}, {
1388
+ resolveMsg: null,
1389
+ rejectMsg: null
1390
+ }, 0).then((res) => {
1391
+ if (res.data) {
1392
+ if (res.data.speed) {
1393
+ if (res.data.speed >= 100) {
1394
+ clearInterval(self.timer)
1395
+ if (res.data.speed) {
1396
+ self.percent = 99
1397
+ }
1398
+ setTimeout(() => {
1399
+ self.percent = 100
1400
+ self.progressclose()
1401
+ self.$showMessage(`导入成功! 累计导入:${res.data.totalsum}, 成功:${res.data.successsum},失败:${res.data.errorsum}(包含之前导入${res.data.aftersum}),失败数据请在稽查查询中错误查询进行查看!!`)
1402
+ }, 600)
1403
+ } else {
1404
+ self.percent = res.data.speed
1405
+ }
1406
+ } else {
1407
+ self.percent = 0
1408
+ }
1409
+ }
1410
+ })
1411
+ }, 3000)
1412
+ }
1413
+ }
1414
+ },
1415
+ mounted () {
1416
+ this.$refs.newhandplanExport.$el.querySelector('button').addEventListener('click', (e) => {
1417
+ e.stopPropagation()
1418
+ this.stamp('newhandplan')
1419
+ })
1420
+ this.$refs.salehandplanExport.$el.querySelector('button').addEventListener('click', (e) => {
1421
+ e.stopPropagation()
1422
+ this.stamp('salehandplan')
1423
+ })
1424
+ },
1425
+ beforeDestroy () {
1426
+ this.$refs.newhandplanExport.$el.querySelector('button').removeEventListener('click', this.stamp)
1427
+ this.$refs.salehandplanExport.$el.querySelector('button').removeEventListener('click', this.stamp)
1428
+ }
1429
+ }
1430
+ </script>