manage-client 3.3.217 → 3.3.218

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