manage-client 3.3.217 → 3.3.219

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 (185) hide show
  1. package/build/dev-server.js +190 -190
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/hs_err_pid13052.log +206 -206
  6. package/package.json +111 -111
  7. package/src/components/SellReport/BusinessClassify.vue +292 -292
  8. package/src/components/SellReport/ChManageBusSummary.vue +1 -1
  9. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  10. package/src/components/SellReport/ManageSellType.vue +267 -267
  11. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  12. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  13. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  14. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  15. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  16. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  17. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  18. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  19. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  20. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  21. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  22. package/src/components/sale/businessquery/CollectManage.vue +6 -6
  23. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  24. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  25. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  26. package/src/components/sale/businessquery/FMYGasQuery.vue +813 -813
  27. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  28. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  29. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  30. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  31. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  32. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  33. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  34. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  35. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  36. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  37. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  38. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  39. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  40. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  41. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  42. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  43. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  44. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  45. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  46. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  47. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  48. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  49. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  50. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  51. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  52. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  53. package/src/components/sale/businessquery/usergas.vue +315 -315
  54. package/src/components/sale/config/exportConfig.js +2761 -2761
  55. package/src/components/sale/config/tableConfig.js +59 -59
  56. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  57. package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
  58. package/src/components/sale/filesquery/UserQuery.vue +977 -977
  59. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  60. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +695 -695
  61. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +646 -646
  62. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  63. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  64. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  65. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  66. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  67. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +552 -552
  68. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  69. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  70. package/src/components/webmeter/report/ReportList.vue +453 -453
  71. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  72. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  73. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +12 -10
  74. package/src/filiale/ancheng/exportConfig.js +120 -120
  75. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  76. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  77. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  78. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  79. package/src/filiale/bayan/config/tableConfig.js +59 -59
  80. package/src/filiale/bayan/sale.js +8 -8
  81. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  82. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  83. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  84. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  85. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  86. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  87. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  88. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  89. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  90. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  91. package/src/filiale/bayan/webmeterManage.js +26 -26
  92. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  93. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  94. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  95. package/src/filiale/dingcheng/sale.js +9 -9
  96. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  97. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  98. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  99. package/src/filiale/hantou/config/tableConfig.js +54 -54
  100. package/src/filiale/hantou/sale.js +8 -8
  101. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  102. package/src/filiale/jingyang/RechargeList.vue +346 -346
  103. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  104. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  105. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  106. package/src/filiale/jingyang/sale.js +8 -8
  107. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  108. package/src/filiale/kelai/GasStatistics.vue +561 -561
  109. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  110. package/src/filiale/kelai/NewGasStatistics.vue +542 -542
  111. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  112. package/src/filiale/kelai/reportManage.js +13 -13
  113. package/src/filiale/kelai/sale.js +17 -17
  114. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  115. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  116. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  117. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  118. package/src/filiale/macheng/config/exportConfig.js +79 -79
  119. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  120. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  121. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  122. package/src/filiale/meihekou/CollectManage.vue +152 -152
  123. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  124. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  125. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  126. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  127. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  128. package/src/filiale/meihekou/sale.js +39 -39
  129. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  130. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  131. package/src/filiale/qianneng/RecordInfoQuery.vue +1 -1
  132. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  133. package/src/filiale/qianneng/exportConfig.js +232 -232
  134. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  135. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  136. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  137. package/src/filiale/rizhao/sale.js +13 -13
  138. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  139. package/src/filiale/shangluo/sale.js +17 -17
  140. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  141. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  142. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  143. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  144. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  145. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  146. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  147. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  148. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  149. package/src/filiale/taizhoukesi/sale.js +11 -11
  150. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  151. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  152. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  153. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  154. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  155. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  156. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  157. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  158. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  159. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  160. package/src/filiale/xinjiangdexin/sale.js +7 -7
  161. package/src/filiale/yangchun/ChangeMeterQuery.vue +716 -716
  162. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  163. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  164. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  165. package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -1477
  166. package/src/filiale/yangchun/UserQuery.vue +980 -980
  167. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  168. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  169. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  170. package/src/filiale/yangchun/reportManage.js +6 -6
  171. package/src/filiale/yangchun/sale.js +20 -20
  172. package/src/filiale/yangchun/webmeterManage.js +5 -5
  173. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  174. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  175. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  176. package/src/filiale/yuncheng/MeterQuery.vue +995 -995
  177. package/src/filiale/yuncheng/config/exportConfig.js +2674 -2674
  178. package/src/filiale/yuncheng/sale.js +23 -23
  179. package/src/filiale/zhongyi/GasStatistics.vue +522 -522
  180. package/src/filiale/zhongyi/exportConfig.js +2554 -2554
  181. package/src/main.js +68 -68
  182. package/src/plugins/LodopFuncs.js +159 -159
  183. package/src/reportManage.js +773 -773
  184. package/src/saleManage.js +689 -689
  185. package/src/webmeterManage.js +130 -130
@@ -1,664 +1,664 @@
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
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label for="startDate" class="font_normal_body">开始日期</label>
11
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
- v-model="model.startDate"
13
- :value.sync="model.startDate"
14
- :format="'yyyy-MM-dd HH:mm:ss'"
15
- :show-reset-button="true"
16
- condition="f_hand_date >= '{}'">
17
- </datepicker>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label for="endDate" class="font_normal_body">结束日期</label>
21
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
- v-model="model.endDate"
23
- :value.sync="model.endDate"
24
- :format="'yyyy-MM-dd HH:mm:ss'"
25
- :show-reset-button="true"
26
- condition="f_hand_date <= '{}'">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-2 form-group">
30
- <label class="font_normal_body">客户编号</label>
31
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
- </div>
34
-
35
-
36
- <div class="span" style="float:right;">
37
- <button class="button_search button_spacing" @click="search()">查询</button>
38
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
39
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
40
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
41
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="cardhandplanQuery" template-name='卡表抄表查询导出'
42
- :choose-col="true"></export-excel>
43
- <print-data :model="$parent.model" :field="$parent.$parent.getfield"
44
- :defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
45
-
46
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
47
-
48
- <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>
49
- </div>
50
- </div>
51
- <div class="row" v-show="$parent.$parent.criteriaShow">
52
- <div class="col-sm-2 form-group">
53
- <label class="font_normal_body">客户名称</label>
54
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
55
- condition="f_user_name like '%{}%'" placeholder="客户名称">
56
- </div>
57
- <div class="col-sm-2 form-group">
58
- <label class="font_normal_body">客户地址</label>
59
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
60
- condition="f_address like '%{}%'" placeholder='客户地址'>
61
- </div>
62
- <div class="col-sm-2 form-group">
63
- <label class="font_normal_body">小区名称</label>
64
- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
65
- condition="f_residential_area like '%{}%'" placeholder="小区">
66
- </div>
67
- <div class="col-sm-2 form-group">
68
- <label class="font_normal_body">楼&emsp;栋&emsp;</label>
69
- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
70
- condition="f_building = '{}'" placeholder="楼栋">
71
- </div>
72
- <!-- add -->
73
- <div class="col-sm-2 form-group">
74
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
75
- <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
76
- condition="f_unit = '{}'" placeholder="单元"/>
77
- </div>
78
- <div class="col-sm-2 form-group">
79
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;</label>
80
- <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
81
- condition="f_floor = '{}'" placeholder="楼层"/>
82
- </div>
83
- <div class="col-sm-2 form-group">
84
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
85
- <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
86
- condition="f_room = '{}'" placeholder="门牌号">
87
- </div>
88
- <!-- end-->
89
- <div class="col-sm-2 form-group">
90
- <label class="font_normal_body">抄表状态</label>
91
- <v-select :value.sync="model.f_meter_state"
92
- v-model="model.f_meter_state"
93
- :options='$parent.$parent.meterstate' placeholder='请选择'
94
- condition="f_meter_state = '{}'"
95
- close-on-select></v-select>
96
- </div>
97
- <div class="col-sm-2 form-group">
98
- <label class="font_normal_body">表单状态</label>
99
- <v-select :value.sync="model.f_hand_state"
100
- v-model="model.f_hand_state"
101
- :options='$parent.$parent.handstate' placeholder='请选择'
102
- condition="f_hand_state = '{}'"
103
- close-on-select></v-select>
104
- </div>
105
- <div class="col-sm-2 form-group">
106
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表员</label>
107
- <v-select :value.sync="model.f_inputtor"
108
- v-model="model.f_inputtor"
109
- condition="f_inputtor in {}"
110
- :options='$parent.$parent.inputtor' placeholder='请选择'
111
- multiple = "true"
112
- close-on-select></v-select>
113
- </div>
114
- <div class="col-sm-2 form-group">
115
- <label class="font_normal_body">客户类型</label>
116
- <v-select :value.sync="model.f_user_type"
117
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
118
- condition="f_user_type = '{}'"
119
- close-on-select></v-select>
120
- </div>
121
- <div class="col-sm-2 form-group">
122
- <label class="font_normal_body">抄表结果状态</label>
123
- <v-select :value.sync="model.f_result_state"
124
- v-model="model.f_result_state"
125
- :options='$parent.$parent.attimehandstate' placeholder='请选择'
126
- condition="f_result_state = '{}'"
127
- close-on-select></v-select>
128
- </div>
129
- <!--<div class="col-sm-2 form-group">
130
- <label class="font_normal_body">是否缴费</label>
131
- <v-select :value.sync="model.f_whether_pay"
132
- :options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_whether_pay"
133
- condition="f_whether_pay = '{}'"
134
- close-on-select></v-select>
135
- </div>-->
136
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
137
- <div class="col-sm-2 form-group">
138
- <label class="font_normal_body">气价类型</label>
139
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
140
- @change="$parent.$parent.pricetypechanged"
141
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
142
- close-on-select v-ref:type>
143
- </v-select>
144
- </div>
145
- <div class="col-sm-2 form-group">
146
- <label class="font_normal_body">气价名称</label>
147
- <v-select :value.sync="model.f_price_name"
148
- v-model="model.f_price_name"
149
- multiple
150
- :options="$parent.$parent.getPricenames"
151
- condition="f_price_name in {}"
152
- ></v-select>
153
- </div>
154
- </div>
155
- </div>
156
- </criteria>
157
-
158
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
159
- <template partial='head'>
160
- <tr>
161
- <th>
162
- <nobr>客户编号</nobr>
163
- </th>
164
- <th>
165
- <nobr>客户名称</nobr>
166
- </th>
167
- <th>
168
- <nobr>客户地址</nobr>
169
- </th>
170
- <th>
171
- <nobr>表号</nobr>
172
- </th>
173
- <th>
174
- <nobr>地址</nobr>
175
- </th>
176
- <th>
177
- <nobr>上期底数</nobr>
178
- </th>
179
- <th>
180
- <nobr>本期底数</nobr>
181
- </th>
182
- <th>
183
- <nobr>气量</nobr>
184
- </th>
185
- <th>
186
- <nobr>抄表结果状态</nobr>
187
- </th>
188
- <th>
189
- <nobr>总购气量</nobr>
190
- </th>
191
- <th>
192
- <nobr>余量</nobr>
193
- </th>
194
- <th>
195
- <nobr>录入日期</nobr>
196
- </th>
197
- <th>
198
- <nobr>抄表员</nobr>
199
- </th>
200
-
201
- <th>
202
- <nobr>抄表状态</nobr>
203
- </th>
204
- <th>
205
- <nobr>一阶气量</nobr>
206
- </th>
207
- <th>
208
- <nobr>一阶单价</nobr>
209
- </th>
210
- <th>
211
- <nobr>一阶气费</nobr>
212
- </th>
213
- <th>
214
- <nobr>二阶气量</nobr>
215
- </th>
216
- <th>
217
- <nobr>二阶单价</nobr>
218
- </th>
219
- <th>
220
- <nobr>二阶气费</nobr>
221
- </th>
222
- <th>
223
- <nobr>三阶气量</nobr>
224
- </th>
225
- <th>
226
- <nobr>三阶单价</nobr>
227
- </th>
228
- <th>
229
- <nobr>三阶气费</nobr>
230
- </th>
231
- <th>
232
- <nobr>人员</nobr>
233
- </th>
234
- <th>
235
- <nobr>部门</nobr>
236
- </th>
237
- <!-- <th>-->
238
- <!-- <nobr>公司</nobr>-->
239
- <!-- </th>-->
240
- </tr>
241
- </template>
242
- <template partial='body'>
243
- <td style="text-align: center;">
244
- <nobr>
245
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
246
- </td>
247
- <td style="text-align: center;">
248
- <nobr>{{row.f_user_name}}</nobr>
249
- </td>
250
- <td style="text-align: center;">
251
- <nobr>{{row.f_address}}</nobr>
252
- </td>
253
- <td style="text-align: center;">
254
- <nobr>{{row.f_meternumber}}</nobr>
255
- </td>
256
- <td style="text-align: center;">
257
- <nobr>{{row.f_address}}</nobr>
258
- </td>
259
- <td style="text-align: center;">
260
- <nobr>{{row.f_last_tablebase}}</nobr>
261
- </td>
262
- <td style="text-align: center;">
263
- <nobr>{{row.f_tablebase}}</nobr>
264
- </td>
265
- <td style="text-align: center;">
266
- <nobr>{{row.f_real_amount}}</nobr>
267
- </td>
268
- <td style="text-align: center;">
269
- <nobr>{{row.f_result_state}}</nobr>
270
- </td>
271
- <td style="text-align: center;">
272
- <nobr>{{row.f_card_total_gas}}</nobr>
273
- </td>
274
- <td style="text-align: center;">
275
- <nobr>{{row.f_shengyu_gas}}</nobr>
276
- </td>
277
- <td style="text-align: center;">
278
- <nobr>{{row.f_hand_date}}</nobr>
279
- </td>
280
- <td style="text-align: center;">
281
- <nobr>{{row.f_inputtor}}</nobr>
282
- </td>
283
-
284
- <td style="text-align: center;">
285
- <nobr>{{row.f_meter_state}}</nobr>
286
- </td>
287
- <td style="text-align: center;">
288
- <nobr>{{row.f_stairamount1}}</nobr>
289
- </td>
290
- <td style="text-align: center;">
291
- <nobr>{{row.f_stair1price}}</nobr>
292
- </td>
293
- <td style="text-align: center;">
294
- <nobr>{{(row.f_stair1fee - 0).toFixed(2)}}</nobr>
295
- </td>
296
- <td style="text-align: center;">
297
- <nobr>{{row.f_stair2amount}}</nobr>
298
- </td>
299
- <td style="text-align: center;">
300
- <nobr>{{row.f_stair2price}}</nobr>
301
- </td>
302
- <td style="text-align: center;">
303
- <nobr>{{(row.f_stair2fee - 0).toFixed(2)}}</nobr>
304
- </td>
305
- <td style="text-align: center;">
306
- <nobr>{{row.f_stair3amount}}</nobr>
307
- </td>
308
- <td style="text-align: center;">
309
- <nobr>{{row.f_stair3price}}</nobr>
310
- </td>
311
- <td style="text-align: center;">
312
- <nobr>{{(row.f_stair3fee - 0).toFixed(2)}}</nobr>
313
- </td>
314
- <td style="text-align: center;">
315
- <nobr>{{row.f_operator}}</nobr>
316
- </td>
317
- <td style="text-align: center;">
318
- <nobr>{{row.f_depname}}</nobr>
319
- </td>
320
- <!-- <td style="text-align: center;">-->
321
- <!-- <nobr>{{row.f_orgname}}</nobr>-->
322
- <!-- </td>-->
323
- </template>
324
- <template partial='foot'></template>
325
- </data-grid>
326
- </criteria-paged>
327
- <table class="table-hover">
328
- <tr style="position: relative;margin-top: -16px;" class="table-bordered">
329
- <td
330
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
331
- 汇总信息
332
- </td>
333
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
334
- 气量合计:&emsp;{{sumsmodel.f_real_amount}}
335
- </td>
336
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
337
- 总购气量合计:&emsp;{{sumsmodel.f_card_total_gas}}
338
- </td>
339
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
340
- 余量合计:&emsp;{{sumsmodel.f_yuliang}}
341
- </td>
342
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
343
- 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
344
- </td>
345
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
346
- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
347
- </td>
348
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
349
- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
350
- </td>
351
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
352
- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
353
- </td>
354
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
355
- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
356
- </td>
357
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
358
- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
359
- </td>
360
- </tr>
361
- </table>
362
- </div>
363
- <modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
364
- <article slot="modal-body" class="modal-body">
365
- <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
366
- </article>
367
- <footer slot="modal-footer" class="modal-footer">
368
- </footer>
369
- </modal>
370
- <div class="flex" v-if="show">
371
- <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
372
- </div>
373
- </div>
374
- </div>
375
- </template>
376
-
377
- <script>
378
- import {PagedList, HttpResetClass} from 'vue-client'
379
- import defaultPrint from './config/DefaultPrint'
380
- import exportConfig from './config/exportConfig'
381
-
382
- let readySomething = async function (self) {
383
- self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
384
- self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
385
- await self.$getConfig(self, 'CardHandplanQuery')
386
- console.log('抄表查询获取默认配置', self.config)
387
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
388
- console.log('开始初始化参数', self.defaultfield)
389
- await self.$MagLoadParams.loadParam()
390
- console.log('开始查询')
391
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
392
- }
393
- export default {
394
- props:['data'],
395
- title: '卡表抄表查询',
396
- data() {
397
- return {
398
- other:[],
399
- footer:[],
400
- data: {},
401
- model: new PagedList('api/af-revenue/sql/cardhandplanQuery', 20, {},{f_real_amount:0,f_card_total_gas:0,f_yuliang:0,f_stairamount1:0,
402
- f_stair1fee:0,
403
- f_stair2amount:0,
404
- f_stair2fee:0,
405
- f_stair3amount:0,
406
- f_stair3fee:0}),
407
- f_filialeid: this.$login.f.orgid,
408
- initres: {
409
- org:[this.$login.f.orgid],
410
- dep:[],
411
- user:[],
412
- },
413
- show:false,
414
- rowdata:{},
415
- criteriaShow: false,
416
- orgCondtionStr: '',
417
- modelval: [],
418
- inputtouPerson: [],
419
- printshow: false,
420
- all: false,
421
- fields: {},
422
- thead: '',
423
- tfoot: '',
424
-
425
- // 下拉框
426
-
427
- //合计数据
428
- sumsmodel: {},
429
- defaultfield: [],
430
- config: {
431
- defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
432
- },
433
- batchmoneyShow:false
434
- }
435
- },
436
- ready() {
437
- readySomething(this).then(() => {
438
- this.$emit('ready')
439
- }).catch((error) => {
440
- this.$emit('error', error)
441
- })
442
- },
443
- methods: {
444
- pricetypechanged(){
445
- this.$refs.paged.$refs.cri.model.f_price_name = []
446
- },
447
- getotherfooter(){
448
-
449
- this.other=[];
450
- this.footer=[];
451
- let exportdata = this.getCondition;
452
- let otherInData=[];
453
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
454
- let footerData=[],exportfield=this.getfield;
455
- footerData.push("合计");
456
- let self = this;
457
- for(var field in self.sumsmodel){
458
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
459
- }
460
- this.footer.push(footerData);
461
- this.other.push(otherInData);
462
- },
463
- Fileinput(){
464
- this.batchmoneyShow=true;
465
- },
466
- search(){
467
- this.$refs.paged.$refs.cri.search()
468
- },
469
- cancel() {
470
- this.show = false
471
- },
472
- selfSearch(args) {
473
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
474
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
475
- //抄表员查询条件
476
- // console.log('抄表员==================>', this.$refs.paged.$refs.cri.model.f_inputtor)
477
- // console.log('抄表员==================>', this.inputtouPerson)
478
- // this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
479
- // if(this.inputtouPerson.length !== 0){
480
- // let str = JSON.stringify(this.inputtouPerson)
481
- // str = str.replace(/"/g,`'`)
482
- // str = str.replace(/\[/g,``)
483
- // str = str.replace(/\]/g,``)
484
- // //查询多个抄表员时条件
485
- // this.orgCondtionStr += ` and f_inputtor in ( ${str} )`
486
- // }
487
- args.condition = `${args.condition} ` + this.orgCondtionStr
488
- this.model.search(args.condition, args.model)
489
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
490
- },
491
- clear() {
492
- //清空部门和人员
493
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
494
- //部门和人员变为全选
495
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
496
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
497
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
498
- this.$refs.paged.$refs.cri.model[key] = []
499
- })
500
- },
501
- show() {
502
- this.criteriaShow = true
503
- },
504
- hidden() {
505
- this.criteriaShow = !this.criteriaShow
506
- },
507
- getRes(obj) {
508
- this.orgCondtionStr = obj
509
- },
510
- stamp() {
511
- this.all = false
512
- //默认选择要打印的列
513
- this.modelval = defaultPrint.config
514
- this.fields = this.getfield
515
- console.log('所有打印字段', this.fields)
516
- this.printshow = true
517
- this.put()
518
- },
519
- put() {
520
- // 对Modelval进行排序
521
- this.sortModelval()
522
- this.thead = `<tr><th colspan=${this.modelval.length}>收费查询统计报表</th></tr><tr>`
523
- for (let key of this.modelval) {
524
- this.thead += '<th>' + this.fields[key] + '</th>'
525
- }
526
- this.thead += '</tr>'
527
- },
528
- print() {
529
- this.$refs.print.PrintAsFile()
530
- this.printshow = false
531
- },
532
- dealmsg(val) {
533
- console.log('---------------dealmsg')
534
- this.rowdata=val
535
- this.show=true
536
- val.model = this.model.model
537
- this.$dispatch('deal-msg', val)
538
- },
539
- close() {
540
- this.printshow = false
541
- this.all = false
542
- },
543
- // 对选择的列进行排序
544
- sortModelval() {
545
- let sortModel = []
546
- Object.keys(this.fields).forEach((key) => {
547
- if (this.modelval.includes(key)) {
548
- sortModel.push(key)
549
- }
550
- })
551
- this.modelval = sortModel
552
- console.log('选择的打印的字段', this.modelval)
553
- }
554
- },
555
- watch: {
556
- 'all'(val) {
557
- if (val) {
558
- this.modelval = this.bodyData
559
- } else {
560
- this.modelval = defaultPrint.config
561
- this.put()
562
- }
563
- },
564
- 'modelval.length'() {
565
- this.put()
566
- },
567
- 'model.rows'(val) {
568
- if(val.length === 0){
569
- this.sumsmodel = {}
570
- }
571
- },
572
- sumsmodel:{
573
- handler: function(val) {
574
- this.getotherfooter();
575
- },
576
- deep: true
577
- }
578
- },
579
- computed: {
580
- getCondition() {
581
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
582
- },
583
- getfield() {
584
- return exportConfig.cardhandplanConfig
585
- },
586
- usertypes() {
587
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
588
- },
589
- accountsState() {
590
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
591
- },
592
- meterstate() {
593
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
594
- },
595
- handstate() {
596
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
597
- },
598
- attimehandstate() {
599
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表结果状态')]
600
- },
601
- inputtor() {
602
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
603
- },
604
- whetherPay() {
605
- return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
606
- },
607
- pricetypes() {
608
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
609
- },
610
- getPricenames() {
611
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
612
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
613
- console.log("打印一下:",f_user_type,pricetype,this.f_filialeid)
614
- if(this.$refs.paged.$refs.cri.model !==null) {
615
- let rs = []
616
- let priceArr = []
617
- if ( pricetype.length >0) {
618
- let params = {
619
- f_price_type: pricetype[0],
620
- filter: this.f_filialeid,
621
- prices: this.prices
622
- }
623
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
624
- let temp = {}
625
- temp.label = item.label
626
- temp.value = item.value.f_price_name
627
- priceArr.push(temp)
628
- })
629
- if(priceArr.length == 0 ){
630
- rs= [{label: '全部', value: ''}]
631
- }else{
632
- rs = [ ...priceArr]
633
- }
634
- }
635
- if (rs.length === 0) {
636
- console.log('rs读出来是空')
637
- this.$refs.paged.$refs.cri.model.f_price_name = ''
638
- }
639
- return rs
640
- }
641
- },
642
- },
643
- events:{
644
- 'onFileUpload': function (file, res) {
645
- if (this.batchmoneyShow) {
646
- let param = {
647
- filepath: res.f_downloadpath,
648
- f_operator: this.$login.f.name,
649
- f_operatorid: this.$login.f.id,
650
- f_orgid: this.$login.f.orgid,
651
- f_orgname: this.$login.f.orgs,
652
- f_depid: this.$login.f.depids,
653
- f_depname: this.$login.f.deps
654
- }
655
- let http = new HttpResetClass();
656
- http.load('POST', 'api/af-revenue/logic/SumSettleFileImport', {data: param}, {
657
- resolveMsg: null,
658
- rejectMsg: '上传失败'
659
- });
660
- }
661
- }
662
- }
663
- }
664
- </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
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :format="'yyyy-MM-dd HH:mm:ss'"
15
+ :show-reset-button="true"
16
+ condition="f_hand_date >= '{}'">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">结束日期</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true"
26
+ condition="f_hand_date <= '{}'">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">客户编号</label>
31
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
+ </div>
34
+
35
+
36
+ <div class="span" style="float:right;">
37
+ <button class="button_search button_spacing" @click="search()">查询</button>
38
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
39
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
40
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
41
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="cardhandplanQuery" template-name='卡表抄表查询导出'
42
+ :choose-col="true"></export-excel>
43
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield"
44
+ :defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
45
+
46
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
47
+
48
+ <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>
49
+ </div>
50
+ </div>
51
+ <div class="row" v-show="$parent.$parent.criteriaShow">
52
+ <div class="col-sm-2 form-group">
53
+ <label class="font_normal_body">客户名称</label>
54
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
55
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">客户地址</label>
59
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
60
+ condition="f_address like '%{}%'" placeholder='客户地址'>
61
+ </div>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">小区名称</label>
64
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
65
+ condition="f_residential_area like '%{}%'" placeholder="小区">
66
+ </div>
67
+ <div class="col-sm-2 form-group">
68
+ <label class="font_normal_body">楼&emsp;栋&emsp;</label>
69
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
70
+ condition="f_building = '{}'" placeholder="楼栋">
71
+ </div>
72
+ <!-- add -->
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
75
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
76
+ condition="f_unit = '{}'" placeholder="单元"/>
77
+ </div>
78
+ <div class="col-sm-2 form-group">
79
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;</label>
80
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
81
+ condition="f_floor = '{}'" placeholder="楼层"/>
82
+ </div>
83
+ <div class="col-sm-2 form-group">
84
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
85
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
86
+ condition="f_room = '{}'" placeholder="门牌号">
87
+ </div>
88
+ <!-- end-->
89
+ <div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">抄表状态</label>
91
+ <v-select :value.sync="model.f_meter_state"
92
+ v-model="model.f_meter_state"
93
+ :options='$parent.$parent.meterstate' placeholder='请选择'
94
+ condition="f_meter_state = '{}'"
95
+ close-on-select></v-select>
96
+ </div>
97
+ <div class="col-sm-2 form-group">
98
+ <label class="font_normal_body">表单状态</label>
99
+ <v-select :value.sync="model.f_hand_state"
100
+ v-model="model.f_hand_state"
101
+ :options='$parent.$parent.handstate' placeholder='请选择'
102
+ condition="f_hand_state = '{}'"
103
+ close-on-select></v-select>
104
+ </div>
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表员</label>
107
+ <v-select :value.sync="model.f_inputtor"
108
+ v-model="model.f_inputtor"
109
+ condition="f_inputtor in {}"
110
+ :options='$parent.$parent.inputtor' placeholder='请选择'
111
+ multiple = "true"
112
+ close-on-select></v-select>
113
+ </div>
114
+ <div class="col-sm-2 form-group">
115
+ <label class="font_normal_body">客户类型</label>
116
+ <v-select :value.sync="model.f_user_type"
117
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
118
+ condition="f_user_type = '{}'"
119
+ close-on-select></v-select>
120
+ </div>
121
+ <div class="col-sm-2 form-group">
122
+ <label class="font_normal_body">抄表结果状态</label>
123
+ <v-select :value.sync="model.f_result_state"
124
+ v-model="model.f_result_state"
125
+ :options='$parent.$parent.attimehandstate' placeholder='请选择'
126
+ condition="f_result_state = '{}'"
127
+ close-on-select></v-select>
128
+ </div>
129
+ <!--<div class="col-sm-2 form-group">
130
+ <label class="font_normal_body">是否缴费</label>
131
+ <v-select :value.sync="model.f_whether_pay"
132
+ :options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_whether_pay"
133
+ condition="f_whether_pay = '{}'"
134
+ close-on-select></v-select>
135
+ </div>-->
136
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
137
+ <div class="col-sm-2 form-group">
138
+ <label class="font_normal_body">气价类型</label>
139
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
140
+ @change="$parent.$parent.pricetypechanged"
141
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
142
+ close-on-select v-ref:type>
143
+ </v-select>
144
+ </div>
145
+ <div class="col-sm-2 form-group">
146
+ <label class="font_normal_body">气价名称</label>
147
+ <v-select :value.sync="model.f_price_name"
148
+ v-model="model.f_price_name"
149
+ multiple
150
+ :options="$parent.$parent.getPricenames"
151
+ condition="f_price_name in {}"
152
+ ></v-select>
153
+ </div>
154
+ </div>
155
+ </div>
156
+ </criteria>
157
+
158
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
159
+ <template partial='head'>
160
+ <tr>
161
+ <th>
162
+ <nobr>客户编号</nobr>
163
+ </th>
164
+ <th>
165
+ <nobr>客户名称</nobr>
166
+ </th>
167
+ <th>
168
+ <nobr>客户地址</nobr>
169
+ </th>
170
+ <th>
171
+ <nobr>表号</nobr>
172
+ </th>
173
+ <th>
174
+ <nobr>地址</nobr>
175
+ </th>
176
+ <th>
177
+ <nobr>上期底数</nobr>
178
+ </th>
179
+ <th>
180
+ <nobr>本期底数</nobr>
181
+ </th>
182
+ <th>
183
+ <nobr>气量</nobr>
184
+ </th>
185
+ <th>
186
+ <nobr>抄表结果状态</nobr>
187
+ </th>
188
+ <th>
189
+ <nobr>总购气量</nobr>
190
+ </th>
191
+ <th>
192
+ <nobr>余量</nobr>
193
+ </th>
194
+ <th>
195
+ <nobr>录入日期</nobr>
196
+ </th>
197
+ <th>
198
+ <nobr>抄表员</nobr>
199
+ </th>
200
+
201
+ <th>
202
+ <nobr>抄表状态</nobr>
203
+ </th>
204
+ <th>
205
+ <nobr>一阶气量</nobr>
206
+ </th>
207
+ <th>
208
+ <nobr>一阶单价</nobr>
209
+ </th>
210
+ <th>
211
+ <nobr>一阶气费</nobr>
212
+ </th>
213
+ <th>
214
+ <nobr>二阶气量</nobr>
215
+ </th>
216
+ <th>
217
+ <nobr>二阶单价</nobr>
218
+ </th>
219
+ <th>
220
+ <nobr>二阶气费</nobr>
221
+ </th>
222
+ <th>
223
+ <nobr>三阶气量</nobr>
224
+ </th>
225
+ <th>
226
+ <nobr>三阶单价</nobr>
227
+ </th>
228
+ <th>
229
+ <nobr>三阶气费</nobr>
230
+ </th>
231
+ <th>
232
+ <nobr>人员</nobr>
233
+ </th>
234
+ <th>
235
+ <nobr>部门</nobr>
236
+ </th>
237
+ <!-- <th>-->
238
+ <!-- <nobr>公司</nobr>-->
239
+ <!-- </th>-->
240
+ </tr>
241
+ </template>
242
+ <template partial='body'>
243
+ <td style="text-align: center;">
244
+ <nobr>
245
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
246
+ </td>
247
+ <td style="text-align: center;">
248
+ <nobr>{{row.f_user_name}}</nobr>
249
+ </td>
250
+ <td style="text-align: center;">
251
+ <nobr>{{row.f_address}}</nobr>
252
+ </td>
253
+ <td style="text-align: center;">
254
+ <nobr>{{row.f_meternumber}}</nobr>
255
+ </td>
256
+ <td style="text-align: center;">
257
+ <nobr>{{row.f_address}}</nobr>
258
+ </td>
259
+ <td style="text-align: center;">
260
+ <nobr>{{row.f_last_tablebase}}</nobr>
261
+ </td>
262
+ <td style="text-align: center;">
263
+ <nobr>{{row.f_tablebase}}</nobr>
264
+ </td>
265
+ <td style="text-align: center;">
266
+ <nobr>{{row.f_real_amount}}</nobr>
267
+ </td>
268
+ <td style="text-align: center;">
269
+ <nobr>{{row.f_result_state}}</nobr>
270
+ </td>
271
+ <td style="text-align: center;">
272
+ <nobr>{{row.f_card_total_gas}}</nobr>
273
+ </td>
274
+ <td style="text-align: center;">
275
+ <nobr>{{row.f_shengyu_gas}}</nobr>
276
+ </td>
277
+ <td style="text-align: center;">
278
+ <nobr>{{row.f_hand_date}}</nobr>
279
+ </td>
280
+ <td style="text-align: center;">
281
+ <nobr>{{row.f_inputtor}}</nobr>
282
+ </td>
283
+
284
+ <td style="text-align: center;">
285
+ <nobr>{{row.f_meter_state}}</nobr>
286
+ </td>
287
+ <td style="text-align: center;">
288
+ <nobr>{{row.f_stairamount1}}</nobr>
289
+ </td>
290
+ <td style="text-align: center;">
291
+ <nobr>{{row.f_stair1price}}</nobr>
292
+ </td>
293
+ <td style="text-align: center;">
294
+ <nobr>{{(row.f_stair1fee - 0).toFixed(2)}}</nobr>
295
+ </td>
296
+ <td style="text-align: center;">
297
+ <nobr>{{row.f_stair2amount}}</nobr>
298
+ </td>
299
+ <td style="text-align: center;">
300
+ <nobr>{{row.f_stair2price}}</nobr>
301
+ </td>
302
+ <td style="text-align: center;">
303
+ <nobr>{{(row.f_stair2fee - 0).toFixed(2)}}</nobr>
304
+ </td>
305
+ <td style="text-align: center;">
306
+ <nobr>{{row.f_stair3amount}}</nobr>
307
+ </td>
308
+ <td style="text-align: center;">
309
+ <nobr>{{row.f_stair3price}}</nobr>
310
+ </td>
311
+ <td style="text-align: center;">
312
+ <nobr>{{(row.f_stair3fee - 0).toFixed(2)}}</nobr>
313
+ </td>
314
+ <td style="text-align: center;">
315
+ <nobr>{{row.f_operator}}</nobr>
316
+ </td>
317
+ <td style="text-align: center;">
318
+ <nobr>{{row.f_depname}}</nobr>
319
+ </td>
320
+ <!-- <td style="text-align: center;">-->
321
+ <!-- <nobr>{{row.f_orgname}}</nobr>-->
322
+ <!-- </td>-->
323
+ </template>
324
+ <template partial='foot'></template>
325
+ </data-grid>
326
+ </criteria-paged>
327
+ <table class="table-hover">
328
+ <tr style="position: relative;margin-top: -16px;" class="table-bordered">
329
+ <td
330
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
331
+ 汇总信息
332
+ </td>
333
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
334
+ 气量合计:&emsp;{{sumsmodel.f_real_amount}}
335
+ </td>
336
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
337
+ 总购气量合计:&emsp;{{sumsmodel.f_card_total_gas}}
338
+ </td>
339
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
340
+ 余量合计:&emsp;{{sumsmodel.f_yuliang}}
341
+ </td>
342
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
343
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
344
+ </td>
345
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
346
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
347
+ </td>
348
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
349
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
350
+ </td>
351
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
352
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
353
+ </td>
354
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
355
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
356
+ </td>
357
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
358
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
359
+ </td>
360
+ </tr>
361
+ </table>
362
+ </div>
363
+ <modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
364
+ <article slot="modal-body" class="modal-body">
365
+ <file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
366
+ </article>
367
+ <footer slot="modal-footer" class="modal-footer">
368
+ </footer>
369
+ </modal>
370
+ <div class="flex" v-if="show">
371
+ <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
372
+ </div>
373
+ </div>
374
+ </div>
375
+ </template>
376
+
377
+ <script>
378
+ import {PagedList, HttpResetClass} from 'vue-client'
379
+ import defaultPrint from './config/DefaultPrint'
380
+ import exportConfig from './config/exportConfig'
381
+
382
+ let readySomething = async function (self) {
383
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
384
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
385
+ await self.$getConfig(self, 'CardHandplanQuery')
386
+ console.log('抄表查询获取默认配置', self.config)
387
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
388
+ console.log('开始初始化参数', self.defaultfield)
389
+ await self.$MagLoadParams.loadParam()
390
+ console.log('开始查询')
391
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
392
+ }
393
+ export default {
394
+ props:['data'],
395
+ title: '卡表抄表查询',
396
+ data() {
397
+ return {
398
+ other:[],
399
+ footer:[],
400
+ data: {},
401
+ model: new PagedList('api/af-revenue/sql/cardhandplanQuery', 20, {},{f_real_amount:0,f_card_total_gas:0,f_yuliang:0,f_stairamount1:0,
402
+ f_stair1fee:0,
403
+ f_stair2amount:0,
404
+ f_stair2fee:0,
405
+ f_stair3amount:0,
406
+ f_stair3fee:0}),
407
+ f_filialeid: this.$login.f.orgid,
408
+ initres: {
409
+ org:[this.$login.f.orgid],
410
+ dep:[],
411
+ user:[],
412
+ },
413
+ show:false,
414
+ rowdata:{},
415
+ criteriaShow: false,
416
+ orgCondtionStr: '',
417
+ modelval: [],
418
+ inputtouPerson: [],
419
+ printshow: false,
420
+ all: false,
421
+ fields: {},
422
+ thead: '',
423
+ tfoot: '',
424
+
425
+ // 下拉框
426
+
427
+ //合计数据
428
+ sumsmodel: {},
429
+ defaultfield: [],
430
+ config: {
431
+ defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
432
+ },
433
+ batchmoneyShow:false
434
+ }
435
+ },
436
+ ready() {
437
+ readySomething(this).then(() => {
438
+ this.$emit('ready')
439
+ }).catch((error) => {
440
+ this.$emit('error', error)
441
+ })
442
+ },
443
+ methods: {
444
+ pricetypechanged(){
445
+ this.$refs.paged.$refs.cri.model.f_price_name = []
446
+ },
447
+ getotherfooter(){
448
+
449
+ this.other=[];
450
+ this.footer=[];
451
+ let exportdata = this.getCondition;
452
+ let otherInData=[];
453
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
454
+ let footerData=[],exportfield=this.getfield;
455
+ footerData.push("合计");
456
+ let self = this;
457
+ for(var field in self.sumsmodel){
458
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
459
+ }
460
+ this.footer.push(footerData);
461
+ this.other.push(otherInData);
462
+ },
463
+ Fileinput(){
464
+ this.batchmoneyShow=true;
465
+ },
466
+ search(){
467
+ this.$refs.paged.$refs.cri.search()
468
+ },
469
+ cancel() {
470
+ this.show = false
471
+ },
472
+ selfSearch(args) {
473
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
474
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
475
+ //抄表员查询条件
476
+ // console.log('抄表员==================>', this.$refs.paged.$refs.cri.model.f_inputtor)
477
+ // console.log('抄表员==================>', this.inputtouPerson)
478
+ // this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
479
+ // if(this.inputtouPerson.length !== 0){
480
+ // let str = JSON.stringify(this.inputtouPerson)
481
+ // str = str.replace(/"/g,`'`)
482
+ // str = str.replace(/\[/g,``)
483
+ // str = str.replace(/\]/g,``)
484
+ // //查询多个抄表员时条件
485
+ // this.orgCondtionStr += ` and f_inputtor in ( ${str} )`
486
+ // }
487
+ args.condition = `${args.condition} ` + this.orgCondtionStr
488
+ this.model.search(args.condition, args.model)
489
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
490
+ },
491
+ clear() {
492
+ //清空部门和人员
493
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
494
+ //部门和人员变为全选
495
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
496
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
497
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
498
+ this.$refs.paged.$refs.cri.model[key] = []
499
+ })
500
+ },
501
+ show() {
502
+ this.criteriaShow = true
503
+ },
504
+ hidden() {
505
+ this.criteriaShow = !this.criteriaShow
506
+ },
507
+ getRes(obj) {
508
+ this.orgCondtionStr = obj
509
+ },
510
+ stamp() {
511
+ this.all = false
512
+ //默认选择要打印的列
513
+ this.modelval = defaultPrint.config
514
+ this.fields = this.getfield
515
+ console.log('所有打印字段', this.fields)
516
+ this.printshow = true
517
+ this.put()
518
+ },
519
+ put() {
520
+ // 对Modelval进行排序
521
+ this.sortModelval()
522
+ this.thead = `<tr><th colspan=${this.modelval.length}>收费查询统计报表</th></tr><tr>`
523
+ for (let key of this.modelval) {
524
+ this.thead += '<th>' + this.fields[key] + '</th>'
525
+ }
526
+ this.thead += '</tr>'
527
+ },
528
+ print() {
529
+ this.$refs.print.PrintAsFile()
530
+ this.printshow = false
531
+ },
532
+ dealmsg(val) {
533
+ console.log('---------------dealmsg')
534
+ this.rowdata=val
535
+ this.show=true
536
+ val.model = this.model.model
537
+ this.$dispatch('deal-msg', val)
538
+ },
539
+ close() {
540
+ this.printshow = false
541
+ this.all = false
542
+ },
543
+ // 对选择的列进行排序
544
+ sortModelval() {
545
+ let sortModel = []
546
+ Object.keys(this.fields).forEach((key) => {
547
+ if (this.modelval.includes(key)) {
548
+ sortModel.push(key)
549
+ }
550
+ })
551
+ this.modelval = sortModel
552
+ console.log('选择的打印的字段', this.modelval)
553
+ }
554
+ },
555
+ watch: {
556
+ 'all'(val) {
557
+ if (val) {
558
+ this.modelval = this.bodyData
559
+ } else {
560
+ this.modelval = defaultPrint.config
561
+ this.put()
562
+ }
563
+ },
564
+ 'modelval.length'() {
565
+ this.put()
566
+ },
567
+ 'model.rows'(val) {
568
+ if(val.length === 0){
569
+ this.sumsmodel = {}
570
+ }
571
+ },
572
+ sumsmodel:{
573
+ handler: function(val) {
574
+ this.getotherfooter();
575
+ },
576
+ deep: true
577
+ }
578
+ },
579
+ computed: {
580
+ getCondition() {
581
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
582
+ },
583
+ getfield() {
584
+ return exportConfig.cardhandplanConfig
585
+ },
586
+ usertypes() {
587
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
588
+ },
589
+ accountsState() {
590
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
591
+ },
592
+ meterstate() {
593
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
594
+ },
595
+ handstate() {
596
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
597
+ },
598
+ attimehandstate() {
599
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表结果状态')]
600
+ },
601
+ inputtor() {
602
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
603
+ },
604
+ whetherPay() {
605
+ return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
606
+ },
607
+ pricetypes() {
608
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
609
+ },
610
+ getPricenames() {
611
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
612
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
613
+ console.log("打印一下:",f_user_type,pricetype,this.f_filialeid)
614
+ if(this.$refs.paged.$refs.cri.model !==null) {
615
+ let rs = []
616
+ let priceArr = []
617
+ if ( pricetype.length >0) {
618
+ let params = {
619
+ f_price_type: pricetype[0],
620
+ filter: this.f_filialeid,
621
+ prices: this.prices
622
+ }
623
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
624
+ let temp = {}
625
+ temp.label = item.label
626
+ temp.value = item.value.f_price_name
627
+ priceArr.push(temp)
628
+ })
629
+ if(priceArr.length == 0 ){
630
+ rs= [{label: '全部', value: ''}]
631
+ }else{
632
+ rs = [ ...priceArr]
633
+ }
634
+ }
635
+ if (rs.length === 0) {
636
+ console.log('rs读出来是空')
637
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
638
+ }
639
+ return rs
640
+ }
641
+ },
642
+ },
643
+ events:{
644
+ 'onFileUpload': function (file, res) {
645
+ if (this.batchmoneyShow) {
646
+ let param = {
647
+ filepath: res.f_downloadpath,
648
+ f_operator: this.$login.f.name,
649
+ f_operatorid: this.$login.f.id,
650
+ f_orgid: this.$login.f.orgid,
651
+ f_orgname: this.$login.f.orgs,
652
+ f_depid: this.$login.f.depids,
653
+ f_depname: this.$login.f.deps
654
+ }
655
+ let http = new HttpResetClass();
656
+ http.load('POST', 'api/af-revenue/logic/SumSettleFileImport', {data: param}, {
657
+ resolveMsg: null,
658
+ rejectMsg: '上传失败'
659
+ });
660
+ }
661
+ }
662
+ }
663
+ }
664
+ </script>