manage-client 3.3.234 → 3.3.235

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