manage-client 3.3.232 → 3.3.233

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 (207) hide show
  1. package/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/7.4/gc.properties +0 -0
  8. package/build/dev-server.js +190 -190
  9. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  10. package/gradlew +234 -234
  11. package/gradlew.bat +89 -89
  12. package/hs_err_pid13052.log +206 -206
  13. package/package.json +111 -111
  14. package/src/components/SellReport/BusinessClassify.vue +292 -292
  15. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  16. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  17. package/src/components/SellReport/ManageGasGroupSummary.vue +208 -208
  18. package/src/components/SellReport/ManageSellType.vue +267 -267
  19. package/src/components/SellReport/ReportItems.vue +312 -312
  20. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  21. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  22. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  23. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  24. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  25. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  26. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  27. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  28. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  29. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  30. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  31. package/src/components/sale/businessquery/CollectManage.vue +161 -161
  32. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  33. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  34. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  35. package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
  36. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  37. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  38. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  39. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  40. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  41. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  42. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  43. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  44. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  45. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  46. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  47. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  48. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  49. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  50. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  51. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  52. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  53. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  54. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  55. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  56. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  57. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  58. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  59. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  60. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  61. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  62. package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
  63. package/src/components/sale/businessquery/usergas.vue +315 -315
  64. package/src/components/sale/config/exportConfig.js +2763 -2762
  65. package/src/components/sale/config/tableConfig.js +59 -59
  66. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  67. package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
  68. package/src/components/sale/filesquery/UserQuery.vue +1002 -977
  69. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  70. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -739
  71. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -691
  72. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  73. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  74. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  75. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  76. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  77. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
  78. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  79. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  80. package/src/components/webmeter/report/ReportList.vue +453 -453
  81. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  82. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  83. package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
  84. package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
  85. package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
  86. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
  87. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
  88. package/src/filiale/ancheng/exportConfig.js +1112 -1112
  89. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  90. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  91. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  92. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  93. package/src/filiale/bayan/config/tableConfig.js +59 -59
  94. package/src/filiale/bayan/sale.js +8 -8
  95. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  96. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  97. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  98. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  99. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  100. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  101. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  102. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  103. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  104. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  105. package/src/filiale/bayan/webmeterManage.js +26 -26
  106. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  107. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  108. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  109. package/src/filiale/dingcheng/sale.js +9 -9
  110. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  111. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  112. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  113. package/src/filiale/hantou/config/tableConfig.js +54 -54
  114. package/src/filiale/hantou/sale.js +8 -8
  115. package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
  116. package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
  117. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  118. package/src/filiale/jingyang/RechargeList.vue +346 -346
  119. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  120. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  121. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  122. package/src/filiale/jingyang/sale.js +8 -8
  123. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  124. package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
  125. package/src/filiale/kelai/GasStatistics.vue +561 -561
  126. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  127. package/src/filiale/kelai/NewGasStatistics.vue +556 -556
  128. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  129. package/src/filiale/kelai/reportManage.js +13 -13
  130. package/src/filiale/kelai/sale.js +17 -17
  131. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  132. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  133. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  134. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  135. package/src/filiale/macheng/config/exportConfig.js +79 -79
  136. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  137. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  138. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  139. package/src/filiale/meihekou/CollectManage.vue +152 -152
  140. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  141. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  142. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  143. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  144. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  145. package/src/filiale/meihekou/sale.js +39 -39
  146. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  147. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  148. package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
  149. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  150. package/src/filiale/qianneng/exportConfig.js +232 -232
  151. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  152. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  153. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  154. package/src/filiale/rizhao/sale.js +13 -13
  155. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  156. package/src/filiale/shangluo/sale.js +17 -17
  157. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  158. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  159. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  160. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  161. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  162. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  163. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  164. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  165. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  166. package/src/filiale/taizhoukesi/sale.js +11 -11
  167. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  168. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  169. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  170. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  171. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  172. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  173. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  174. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  175. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  176. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  177. package/src/filiale/xinjiangdexin/sale.js +7 -7
  178. package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
  179. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  180. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  181. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  182. package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
  183. package/src/filiale/yangchun/UserQuery.vue +980 -980
  184. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  185. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  186. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  187. package/src/filiale/yangchun/reportManage.js +6 -6
  188. package/src/filiale/yangchun/sale.js +20 -20
  189. package/src/filiale/yangchun/webmeterManage.js +5 -5
  190. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  191. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  192. package/src/filiale/yuncheng/GasInspection.vue +610 -610
  193. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  194. package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
  195. package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
  196. package/src/filiale/yuncheng/sale.js +23 -23
  197. package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
  198. package/src/filiale/zhongyi/GasStatistics.vue +537 -537
  199. package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
  200. package/src/filiale/zhongyi/exportConfig.js +2556 -2556
  201. package/src/filiale/zhongyi/sale.js +33 -33
  202. package/src/filiale/zhongyi/webmeterManage.js +15 -15
  203. package/src/main.js +68 -68
  204. package/src/plugins/LodopFuncs.js +159 -159
  205. package/src/reportManage.js +777 -777
  206. package/src/saleManage.js +689 -689
  207. package/src/webmeterManage.js +130 -130
@@ -1,610 +1,610 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
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 class="font_normal_body">公&emsp;&emsp;司&emsp;</label>
11
- <right-tree @re-res="$parent.$parent.getorg"
12
- :initresid='$parent.$parent.org'></right-tree>
13
- </div>
14
-
15
- <div class="col-sm-2 form-group ">
16
- <label for="startDate" class="font_normal_body">抄表开始&emsp;</label>
17
- <datepicker id="startDate" placeholder="开始日期"
18
- v-model="model.startDate"
19
- style="width:60%"
20
- :value.sync="model.startDate"
21
- :disabled-days-of-Week="[]"
22
- :format="'yyyy-MM-dd HH:mm:ss'"
23
- :show-reset-button="reset">
24
- </datepicker>
25
- </div>
26
- <div class="col-sm-2 form-group ">
27
- <label for="startDate" class="font_normal_body">抄表结束&emsp;</label>
28
- <datepicker id="endDate" placeholder="结束日期"
29
- v-model="model.endDate"
30
- style="width:60%"
31
- :value.sync="model.endDate"
32
- :disabled-days-of-Week="[]"
33
- :format="'yyyy-MM-dd HH:mm:ss'"
34
- :show-reset-button="reset">
35
- </datepicker>
36
- </div>
37
-
38
- <div class="col-sm-2 form-group ">
39
- <label for="f_gasproperties"class="font_normal_body">用气性质&emsp;</label>
40
- <v-select id="f_gasproperties"
41
- style="width:60%"
42
- v-model="model.f_gasproperties"
43
- placeholder='用气性质'
44
- :value.sync="model.f_gasproperties"
45
- :options='$parent.$parent.gasproperties'
46
- condition="f_gasproperties = '{}'"
47
- close-on-select >
48
- </v-select>
49
- </div>
50
-
51
- <div class="span" style="float:right;">
52
- <button class="btn button_search" @click="search()">查询</button>
53
- <button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
54
- <export-excel :data="$parent.$parent.getCondition"
55
- :field="$parent.$parent.getfield"
56
- :footer="$parent.$parent.footer"
57
- :header="$parent.$parent.other"
58
- sqlurl="api/af-revenue/logic/openapi/exportfile"
59
- :sql-name="$parent.$parent.sqlName"
60
- template-name='用气稽查导出' :choose-col="true"></export-excel>
61
- <print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
62
- <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>
63
-
64
- </div>
65
- </div>
66
- <div class="row" v-show="$parent.$parent.criteriaShow">
67
- <div class="col-sm-2 form-group">
68
- <label class="font_normal_body">客户状态&emsp; </label>
69
- <v-select :value.sync="model.f_user_state"
70
- v-model="model.f_user_state"
71
- :options='$parent.$parent.userstates' placeholder='请选择'
72
- condition="f_user_state = '{}'"
73
- close-on-select></v-select>
74
- </div>
75
- <div class="col-sm-2 form-group">
76
- <label class="font_normal_body">气表状态&emsp;</label>
77
- <v-select :value.sync="model.f_table_state"
78
- v-model="model.f_table_state"
79
- :options='$parent.$parent.tablestate' placeholder='请选择'
80
- condition="f_table_state = '{}'"
81
- close-on-select></v-select>
82
- </div>
83
- <div class="col-sm-2 form-group">
84
- <label class="font_normal_body">表&emsp;&emsp;号&emsp;</label>
85
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
86
- condition="f_meternumber = '{}'" placeholder='表号'>
87
- </div>
88
- <div class="col-sm-2 form-group ">
89
- <label class="font_normal_body">用户类型&emsp;</label>
90
- <v-select :value.sync="model.f_user_type"
91
- @change="$parent.$parent.userTypeChange()"
92
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
93
- condition="f_user_type = '{}'"
94
- close-on-select></v-select>
95
- </div>
96
-
97
- <div class="col-sm-2 form-group">
98
- <label class="font_normal_body">客户名称&emsp;</label>
99
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
100
- condition="f_user_name like '%{}%'" placeholder="客户名称">
101
- </div>
102
- <div class="col-sm-2 form-group">
103
- <label class="font_normal_body">客户编号&emsp;</label>
104
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
105
- condition="f_userinfo_code = '{}' " placeholder="客户编号">
106
- </div>
107
- <div class="col-sm-2 form-group">
108
- <label class="font_normal_body" title="旧客户编号">档案编号&emsp;</label>
109
- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
110
- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
111
- </div>
112
- <div class="col-sm-2 form-group">
113
- <label class="font_normal_body">表箱号&emsp;&emsp;</label>
114
- <input type="text" style="width:60%" class="input_search" v-model="model.f_metertitles"
115
- condition="f_metertitles = '{}'" placeholder="表箱号">
116
- </div>
117
- <div class="col-sm-2 form-group">
118
- <label class="font_normal_body">客户地址&emsp;</label>
119
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
120
- condition="f_address like '%{}%'" placeholder='客户地址'>
121
- </div>
122
- <div class="col-sm-2 form-group">
123
- <label class="font_normal_body">客户电话&emsp;</label>
124
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
125
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
126
- </div>
127
- <div class="col-sm-2 form-group">
128
- <label class="font_normal_body">气表品牌&emsp;</label>
129
- <v-select :value.sync="model.f_meter_brand"
130
- v-model="model.f_meter_brand"
131
- :options='$parent.$parent.meterbrands' placeholder='请选择'
132
- condition="f_meter_brand = '{}'"
133
- close-on-select></v-select>
134
- </div>
135
- <div class="col-sm-2 form-group">
136
- <label class="font_normal_body">表册片区&emsp;</label>
137
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
138
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
139
- style="width:60%"
140
- close-on-select
141
- condition="f_book_slice_area = '{}'"></v-select>
142
- </div>
143
- <div class="col-sm-2 ">
144
- <label for="f_meter_classify"class="font_normal_body">表类型&emsp;&emsp;</label>
145
- <v-select id="f_meter_classify"
146
- v-model="model.meter_classify"
147
- placeholder='表类型'
148
- style="width:70%"
149
- :value.sync="model.meter_classify"
150
- :options='$parent.$parent.f_meter_classify'
151
- condition="f_meter_classify like '%{}'"
152
- :value-single="true"
153
- close-on-select >
154
- </v-select>
155
- </div>
156
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
157
- <label class="font_normal_body">欠费月数&emsp;</label>
158
- <div class="row">
159
- <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_month_nummin"
160
- placeholder="">
161
- <label class="font_normal_body"> ≤ x ≤ </label>
162
- <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_month_nummax"
163
- placeholder="">
164
- </div>
165
- </div>
166
-
167
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
168
- <label class="font_normal_body">欠费条数&emsp;</label>
169
- <div class="row">
170
- <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_nummin"
171
- placeholder="">
172
- <label class="font_normal_body"> ≤ x ≤ </label>
173
- <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_nummax"
174
- placeholder="">
175
- </div>
176
- </div>
177
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
178
- <label class="font_normal_body">总欠费气量</label>
179
- <div class="row">
180
- <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_gasmin"
181
- placeholder="">
182
- <label class="font_normal_body"> ≤ x ≤ </label>
183
- <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_gasmax"
184
- placeholder="">
185
- </div>
186
- </div>
187
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
188
- <label class="font_normal_body">总欠费金额</label>
189
- <div class="row">
190
- <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_feemin"
191
- placeholder="">
192
- <label class="font_normal_body"> ≤ x ≤ </label>
193
- <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_feemax"
194
- placeholder="">
195
- </div>
196
- </div>
197
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
198
- <label class="font_normal_body">欠费月平均气量</label>
199
- <div class="row">
200
- <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_avg_gasmin"
201
- placeholder="">
202
- <label class="font_normal_body"> ≤ x ≤ </label>
203
- <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_avg_gasmax"
204
- placeholder="">
205
- </div>
206
- </div>
207
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
208
- <label class="font_normal_body">用气量&emsp;&emsp;</label>
209
- <div class="row">
210
- <input type="text" style="width:30%" class="input_search" v-model="model.model.f_oughtamount_min"
211
- placeholder="">
212
- <label class="font_normal_body"> ≤ x ≤ </label>
213
- <input type="text" style="width:30%" class="input_search" v-model="model.model.f_oughtamount_max"
214
- placeholder="">
215
- </div>
216
- </div>
217
- </div>
218
-
219
- </div>
220
- </criteria>
221
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
222
- <template partial='head'>
223
- <tr>
224
- <th><nobr>序号</nobr></th>
225
- <th><nobr>客户编号</nobr></th>
226
- <th><nobr>客户电话</nobr></th>
227
- <th><nobr>档案编号</nobr></th>
228
- <th><nobr>表号</nobr></th>
229
- <th><nobr>客户名称</nobr></th>
230
- <th><nobr>地址</nobr></th>
231
- <th><nobr>表箱号</nobr></th>
232
- <th><nobr>用户类型</nobr></th>
233
- <th><nobr>用气性质</nobr></th>
234
- <th><nobr>表具状态</nobr></th>
235
- <th><nobr>气表品牌</nobr></th>
236
- <th><nobr>表册片区</nobr></th>
237
- <th><nobr>当前表底数</nobr></th>
238
- <th><nobr>最后抄表日期</nobr></th>
239
- <th><nobr>温度</nobr></th>
240
- <th><nobr>压力</nobr></th>
241
- <th><nobr>采集时间</nobr></th>
242
- <th><nobr>标况流量</nobr></th>
243
- <th><nobr>工况流量</nobr></th>
244
- <th><nobr>标况总量</nobr></th>
245
- <th><nobr>工况总量</nobr></th>
246
- <th><nobr>上报余额</nobr></th>
247
- <th><nobr>用气量</nobr></th>
248
- <th><nobr>用气金额</nobr></th>
249
- <th><nobr>欠费月数</nobr></th>
250
- <th><nobr>欠费条数</nobr></th>
251
- <th><nobr>欠费月平均气量</nobr></th>
252
- <th><nobr>欠费气量</nobr></th>
253
- <th><nobr>欠费金额</nobr></th>
254
- </tr>
255
- </template>
256
- <template partial='body'>
257
- <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
258
- <td style="text-align: center;"><nobr>
259
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
260
- </nobr> </td>
261
- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
262
- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
263
- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
264
- <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
265
- <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
266
- <th style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></th>
267
- <th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
268
- <th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
269
- <th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
270
- <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
271
- <th style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></th>
272
- <th style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></th>
273
- <th style="text-align: center;"><nobr>{{row.end_time}}</nobr></th>
274
- <th style="text-align:center"><nobr>{{row.flowmetertemperature}}</nobr></th>
275
- <th style="text-align:center"><nobr>{{row.flowmeterpressure}}</nobr></th>
276
-
277
- <th style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></th>
278
- <th style="text-align:center"><nobr>{{row.standardconditionflow}}</nobr></th>
279
- <th style="text-align:center"><nobr>{{row.operatingmodeflow}}</nobr></th>
280
- <th style="text-align:center"><nobr>{{row.standardconditiontotal}}</nobr></th>
281
- <th style="text-align:center"><nobr>{{row.operatingmodetotal}}</nobr></th>
282
- <th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
283
-
284
- <th style="text-align: center;"><nobr>{{row.f_oughtamount}}</nobr></th>
285
- <th style="text-align: center;"><nobr>{{row.f_oughtfee}}</nobr></th>
286
- <th style="text-align: center;"><nobr>{{row.qianfei_month_num}}</nobr></th>
287
- <th style="text-align: center;"><nobr>{{row.qianfei_num}}</nobr></th>
288
- <th style="text-align: center;"><nobr>{{row.qianfei_avg_gas}}</nobr></th>
289
- <th style="text-align: center;"><nobr>{{row.f_totalowe_gas}}</nobr></th>
290
- <th style="text-align: center;"><nobr>{{row.f_totalowe_fee}}</nobr></th>
291
- </template>
292
- </data-grid>
293
- </criteria-paged>
294
- <table class="table-hover">
295
- <tr style="position: relative" class="table-bordered">
296
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
297
- <td style="display: inline-block;width: auto;border-right: 1px solid #f2f6fa;padding: 0px 10px 0px 10px;font-weight: bold">总用气量:&emsp;&emsp;{{sumsmodel.f_oughtamount}}</td>
298
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总用气金额:&emsp;&emsp;{{sumsmodel.f_oughtfee}}</td>
299
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费条数:&emsp;&emsp;{{sumsmodel.qianfei_num}}</td>
300
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费气量:&emsp;{{sumsmodel.f_totalowe_gas}}</td>
301
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费金额:&emsp;{{sumsmodel.f_totalowe_fee}}</td>
302
- </tr>
303
- </table>
304
- </div>
305
- <div class="flex" v-if="show">
306
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
307
- </div>
308
- </div></div>
309
- </template>
310
- <script>
311
- /**
312
- *用户档案查询列表以及添加操作组件
313
- */
314
- import { PagedList } from 'vue-client'
315
- import Vue from 'vue'
316
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
317
- import exportConfig from "./config/exportConfig";
318
-
319
- let readySomething = async function (self) {
320
- await self.$MagLoadParams.loadParam()
321
- self.initParams()
322
- self.initSlice(self.$login.f.orgid)
323
- let year = new Date().getFullYear()
324
- self.$refs.paged.$refs.cri.model.startDate = year+'-01-01 00:00:00'
325
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
326
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
327
- }
328
- export default {
329
- title: '用气稽查',
330
- data () {
331
- return {
332
- other:[],
333
- footer:[],
334
- org:[this.$login.f.orgid],
335
- criteriaShow: false,
336
- filialeNameStr: null,
337
- filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
338
- userid: this.$login.f.id,
339
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
340
- model: new PagedList('api/af-revenue/sql/getGasInspection', 50,{mycondition:'this.model.model.mycondition'},{
341
- f_oughtamount:0,
342
- f_oughtfee:0,
343
- qianfei_num:0,
344
- f_totalowe_gas:0,
345
- f_totalowe_fee:0
346
- }),
347
- rows: null,
348
- //orgid:'',
349
- sumsmodel: {},
350
- sqlName:'getGasInspection',
351
- config: {
352
- defaultPrint: ['f_userinfo_code','f_user_id']
353
- },
354
- show:false,
355
- rowdata:{},
356
- initres: {
357
- org:[this.$login.f.orgid],
358
- dep:[],
359
- user:[],
360
- },
361
- // qianfei_month_nummin:null,
362
- // qianfei_month_nummax:null,
363
- // qianfei_nummin:null,
364
- // qianfei_nummax:null,
365
- // qianfei_avg_gasmin:null,
366
- // qianfei_avg_gasmax:null,
367
- // f_totalowe_feemin:null,
368
- // f_totalowe_feemax:null,
369
- // f_totalowe_gasmin:null,
370
- // f_totalowe_gasmax:null,
371
- mycondition:null,
372
- defaultfield: [],
373
- meterbrands: [],
374
- // 表册片区
375
- bookSlice:[]
376
- }
377
- },
378
- watch:{
379
- sumsmodel:{
380
- handler: function(val) {
381
- this.getotherfooter();
382
- },
383
- deep: true
384
- }
385
- },
386
- ready () {
387
- readySomething(this).then(() => {
388
- this.$emit('ready')
389
- }).catch((error) => {
390
- this.$emit('error', error)
391
- })
392
- },
393
- methods: {
394
- // 初始化抄表册片区
395
- async initSlice (val) {
396
- if (val) {
397
- let getAllArea = await this.$resetpost('/rs/search', {
398
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
399
- userid: this.$login.f.id
400
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
401
- let arr = getAllArea.data.filter((res) => {
402
- return res.parentid == val
403
- })
404
- this.bookSlice = [{label: '全部',value: ''}]
405
- arr.forEach((res) => {
406
- this.bookSlice.push({label: res.name, value: res.name})
407
- })
408
- }
409
- },
410
- initParams () {
411
- // 初始化气表品牌
412
- let brandArr = []
413
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
414
- let temp = {}
415
- temp.label = item.label
416
- temp.value = item.value.f_meter_brand
417
- brandArr.push(temp)
418
- })
419
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
420
- },
421
- getotherfooter(){
422
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
423
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
424
- this.other=[];
425
- this.footer=[];
426
- // let exportdata = this.$refs.paged.$refs.cri.model.model.mycondition;
427
- let otherInData=[];
428
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
429
- let footerData=[],exportfield=this.getfield;
430
- footerData.push("合计");
431
- let self = this;
432
- for(var field in self.sumsmodel){
433
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
434
- }
435
- this.footer.push(footerData);
436
- this.other.push(otherInData);
437
- },
438
- cancel() {
439
- this.show = false
440
- },
441
- showmsg(obj){
442
- this.rowdata=obj
443
- this.show=true
444
- },
445
- async getorg (obj) {
446
- console.log('组织变化',obj)
447
- if(obj && obj.resids && obj.resids[0]){
448
- this.initSlice(obj.resids[0])
449
- }
450
-
451
- if(obj.resids.length>0){
452
- this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
453
- }
454
- else{
455
- this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
456
- }
457
- },
458
- userTypeChange () {
459
- this.gasproperties=[]
460
- if(this.$refs.paged.model.model !==null) {
461
- this.$refs.paged.model.model.f_gasproperties=''
462
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
463
- // this.gasproperties.push({label: '全部', value: ''})
464
- console.log(this.gasproperties )
465
- }
466
- else{
467
- this.gasproperties =[{label: '全部', value: ''}]
468
- }
469
- },
470
- search () {
471
- this.$refs.paged.$refs.cri.search()
472
- },
473
- selfSearch (args) {
474
- let a = " and 1=1 "
475
- let m=this.$refs.paged.$refs.cri.model.model;
476
- if(m.qianfei_month_nummin!=null && m.qianfei_month_nummin!=''){
477
- a += " and qianfei_month_num >= "+this.$refs.paged.$refs.cri.model.model.qianfei_month_nummin
478
- }
479
- if(m.qianfei_month_nummax!=null&&m.qianfei_month_nummax!=''){
480
- a+=' and qianfei_month_num <= '+this.$refs.paged.$refs.cri.model.model.qianfei_month_nummax
481
- }
482
- if(m.qianfei_nummin!=null&&m.qianfei_nummin!=''){
483
- a += " and qianfei_num >= "+this.$refs.paged.$refs.cri.model.model.qianfei_nummin
484
- }
485
- if(m.qianfei_nummax!=null&&m.qianfei_nummax!=''){
486
- a +=" and qianfei_num <= "+this.$refs.paged.$refs.cri.model.model.qianfei_nummax
487
- }
488
- if(m.qianfei_avg_gasmin!=null&&m.qianfei_avg_gasmin!=''){
489
- a +=" and qianfei_avg_gas >= "+this.$refs.paged.$refs.cri.model.model.qianfei_avg_gasmin
490
- }
491
- if(m.qianfei_avg_gasmax!=null&&m.qianfei_avg_gasmax!=''){
492
- a += " and qianfei_avg_gas <= "+this.$refs.paged.$refs.cri.model.model.qianfei_avg_gasmax
493
- }
494
- if(m.f_totalowe_feemin!=null&&m.f_totalowe_feemin!=''){
495
- a += " and f_totalowe_fee >= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_feemin
496
- }
497
- if(m.f_totalowe_feemax!=null&&m.f_totalowe_feemax!=''){
498
- a += " and f_totalowe_fee <= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_feemax
499
- }
500
- if(m.f_totalowe_gasmin!=null&&m.f_totalowe_gasmin!=''){
501
- a += " and f_totalowe_gas >= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_gasmin
502
- }
503
- if(m.f_totalowe_gasmax!=null&&m.f_totalowe_gasmax!=''){
504
- a += " and f_totalowe_gas <= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_gasmax
505
- }
506
- if (m.f_oughtamount_min) {
507
- a += " and f_oughtamount >= "+this.$refs.paged.$refs.cri.model.model.f_oughtamount_min
508
- }
509
- if (m.f_oughtamount_max) {
510
- a += " and f_oughtamount <= "+this.$refs.paged.$refs.cri.model.model.f_oughtamount_max
511
- }
512
- if (m.f_book_slice_area) {
513
- a += ` and f_book_slice_area = '${this.$refs.paged.$refs.cri.model.model.f_book_slice_area}'`
514
- }
515
- if(this.$refs.paged.$refs.cri.model.startDate){
516
- this.model.params.startDate = `'${this.$refs.paged.$refs.cri.model.startDate}' `
517
- }else{
518
- this.model.params.startDate = this.$login.toStandardDateString() + ' 00:00:00'
519
- }
520
-
521
- if(this.$refs.paged.$refs.cri.model.endDate){
522
- this.model.params.endDate = `'${this.$refs.paged.$refs.cri.model.endDate}' `
523
- }else{
524
- this.model.params.endDate = this.$login.toStandardDateString() + ' 23:59:59'
525
- }
526
- this.mycondition = a
527
- args.condition = args.condition+ ` ${this.filialeCodeStr}`
528
- args.condition = args.condition+ ` ${a}`
529
- console.log("拼接的condition", args.condition, this.model)
530
- this.model.search(args.condition, args.model)
531
- },
532
- hidden(){
533
- this.criteriaShow = !this.criteriaShow
534
- },
535
- clear(){
536
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
537
- if (key != 'startDate' && key != 'endDate')
538
- if (key == 'model')
539
- this.$refs.paged.$refs.cri.model[key] = {}
540
- else
541
- this.$refs.paged.$refs.cri.model[key] = []
542
- })
543
- this.$refs.paged.$refs.cri.model.contain_newfile='是'
544
- let year = new Date().getFullYear()
545
- this.$refs.paged.$refs.cri.model.startDate = year+'-01-01'
546
- this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
547
- }
548
-
549
- },
550
- computed: {
551
- userstates (){
552
- return this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : []
553
- },
554
- tablestate() {
555
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
556
- },
557
- getfield() {
558
- return exportConfig.gasInspectionConfig
559
- },
560
- usertypes() {
561
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
562
- },
563
- gasproperties() {
564
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
565
- },
566
- f_meter_classify(){
567
- return [{label: '全部', value: ''}, {label: '卡表', value: '卡表'},{label: '机表', value: '机表'},{label: '网表', value: '物联网表'} ]
568
- // return [{label: '卡表', value: '卡表'}]
569
- },
570
- getCondition () {
571
- let result = {
572
- condition: '',
573
- startDate: '',
574
- endDate: '',
575
- mycondition:''
576
- }
577
- result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
578
- result.condition = result.condition + this.mycondition
579
- let temp2 = this.$refs.paged.$refs.cri
580
- if (temp2.model.startDate && temp2.model.endDate) {
581
- result.startDate = ` '${temp2.model.startDate}'`
582
- result.endDate = ` '${temp2.model.endDate}'`
583
- } if (!temp2.model.startDate && !temp2.model.endDate) {
584
- result.startDate = this.$login.toStandardDateString() + ' 00:00:00'
585
- result.endDate = this.$login.toStandardDateString() + ' 23:59:59'
586
- }
587
- if (temp2.model.startDate&&!temp2.model.endDate) {
588
- result.startDate = ` '${temp2.model.startDate}'`
589
- result.endDate = this.$login.toStandardDateString() + ' 23:59:59'
590
- } if (temp2.model.endDate&&!temp2.model.startDate) {
591
- result.startDate = this.$login.toStandardDateString() + ' 00:00:00'
592
- result.endDate = ` '${temp2.model.endDate}'`
593
- }
594
- if (temp2.model.contain_newfile==='否'){
595
- result.condition = result.condition+" and f_open_date not between " + result.startDate + " and " + result.endDate
596
- }
597
- return result
598
- }
599
- }
600
- }
601
- </script>
602
- <style media="screen">
603
- .divtext {
604
- min-width: 50px;
605
- max-width: 200px;
606
- border: 1px solid green;
607
- display: inline-block;
608
- }
609
- </style>
610
-
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
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 class="font_normal_body">公&emsp;&emsp;司&emsp;</label>
11
+ <right-tree @re-res="$parent.$parent.getorg"
12
+ :initresid='$parent.$parent.org'></right-tree>
13
+ </div>
14
+
15
+ <div class="col-sm-2 form-group ">
16
+ <label for="startDate" class="font_normal_body">抄表开始&emsp;</label>
17
+ <datepicker id="startDate" placeholder="开始日期"
18
+ v-model="model.startDate"
19
+ style="width:60%"
20
+ :value.sync="model.startDate"
21
+ :disabled-days-of-Week="[]"
22
+ :format="'yyyy-MM-dd HH:mm:ss'"
23
+ :show-reset-button="reset">
24
+ </datepicker>
25
+ </div>
26
+ <div class="col-sm-2 form-group ">
27
+ <label for="startDate" class="font_normal_body">抄表结束&emsp;</label>
28
+ <datepicker id="endDate" placeholder="结束日期"
29
+ v-model="model.endDate"
30
+ style="width:60%"
31
+ :value.sync="model.endDate"
32
+ :disabled-days-of-Week="[]"
33
+ :format="'yyyy-MM-dd HH:mm:ss'"
34
+ :show-reset-button="reset">
35
+ </datepicker>
36
+ </div>
37
+
38
+ <div class="col-sm-2 form-group ">
39
+ <label for="f_gasproperties"class="font_normal_body">用气性质&emsp;</label>
40
+ <v-select id="f_gasproperties"
41
+ style="width:60%"
42
+ v-model="model.f_gasproperties"
43
+ placeholder='用气性质'
44
+ :value.sync="model.f_gasproperties"
45
+ :options='$parent.$parent.gasproperties'
46
+ condition="f_gasproperties = '{}'"
47
+ close-on-select >
48
+ </v-select>
49
+ </div>
50
+
51
+ <div class="span" style="float:right;">
52
+ <button class="btn button_search" @click="search()">查询</button>
53
+ <button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
54
+ <export-excel :data="$parent.$parent.getCondition"
55
+ :field="$parent.$parent.getfield"
56
+ :footer="$parent.$parent.footer"
57
+ :header="$parent.$parent.other"
58
+ sqlurl="api/af-revenue/logic/openapi/exportfile"
59
+ :sql-name="$parent.$parent.sqlName"
60
+ template-name='用气稽查导出' :choose-col="true"></export-excel>
61
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
62
+ <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>
63
+
64
+ </div>
65
+ </div>
66
+ <div class="row" v-show="$parent.$parent.criteriaShow">
67
+ <div class="col-sm-2 form-group">
68
+ <label class="font_normal_body">客户状态&emsp; </label>
69
+ <v-select :value.sync="model.f_user_state"
70
+ v-model="model.f_user_state"
71
+ :options='$parent.$parent.userstates' placeholder='请选择'
72
+ condition="f_user_state = '{}'"
73
+ close-on-select></v-select>
74
+ </div>
75
+ <div class="col-sm-2 form-group">
76
+ <label class="font_normal_body">气表状态&emsp;</label>
77
+ <v-select :value.sync="model.f_table_state"
78
+ v-model="model.f_table_state"
79
+ :options='$parent.$parent.tablestate' placeholder='请选择'
80
+ condition="f_table_state = '{}'"
81
+ close-on-select></v-select>
82
+ </div>
83
+ <div class="col-sm-2 form-group">
84
+ <label class="font_normal_body">表&emsp;&emsp;号&emsp;</label>
85
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
86
+ condition="f_meternumber = '{}'" placeholder='表号'>
87
+ </div>
88
+ <div class="col-sm-2 form-group ">
89
+ <label class="font_normal_body">用户类型&emsp;</label>
90
+ <v-select :value.sync="model.f_user_type"
91
+ @change="$parent.$parent.userTypeChange()"
92
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
93
+ condition="f_user_type = '{}'"
94
+ close-on-select></v-select>
95
+ </div>
96
+
97
+ <div class="col-sm-2 form-group">
98
+ <label class="font_normal_body">客户名称&emsp;</label>
99
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
100
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
101
+ </div>
102
+ <div class="col-sm-2 form-group">
103
+ <label class="font_normal_body">客户编号&emsp;</label>
104
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
105
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
106
+ </div>
107
+ <div class="col-sm-2 form-group">
108
+ <label class="font_normal_body" title="旧客户编号">档案编号&emsp;</label>
109
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
110
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
111
+ </div>
112
+ <div class="col-sm-2 form-group">
113
+ <label class="font_normal_body">表箱号&emsp;&emsp;</label>
114
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_metertitles"
115
+ condition="f_metertitles = '{}'" placeholder="表箱号">
116
+ </div>
117
+ <div class="col-sm-2 form-group">
118
+ <label class="font_normal_body">客户地址&emsp;</label>
119
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
120
+ condition="f_address like '%{}%'" placeholder='客户地址'>
121
+ </div>
122
+ <div class="col-sm-2 form-group">
123
+ <label class="font_normal_body">客户电话&emsp;</label>
124
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
125
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
126
+ </div>
127
+ <div class="col-sm-2 form-group">
128
+ <label class="font_normal_body">气表品牌&emsp;</label>
129
+ <v-select :value.sync="model.f_meter_brand"
130
+ v-model="model.f_meter_brand"
131
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
132
+ condition="f_meter_brand = '{}'"
133
+ close-on-select></v-select>
134
+ </div>
135
+ <div class="col-sm-2 form-group">
136
+ <label class="font_normal_body">表册片区&emsp;</label>
137
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
138
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
139
+ style="width:60%"
140
+ close-on-select
141
+ condition="f_book_slice_area = '{}'"></v-select>
142
+ </div>
143
+ <div class="col-sm-2 ">
144
+ <label for="f_meter_classify"class="font_normal_body">表类型&emsp;&emsp;</label>
145
+ <v-select id="f_meter_classify"
146
+ v-model="model.meter_classify"
147
+ placeholder='表类型'
148
+ style="width:70%"
149
+ :value.sync="model.meter_classify"
150
+ :options='$parent.$parent.f_meter_classify'
151
+ condition="f_meter_classify like '%{}'"
152
+ :value-single="true"
153
+ close-on-select >
154
+ </v-select>
155
+ </div>
156
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
157
+ <label class="font_normal_body">欠费月数&emsp;</label>
158
+ <div class="row">
159
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_month_nummin"
160
+ placeholder="">
161
+ <label class="font_normal_body"> ≤ x ≤ </label>
162
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_month_nummax"
163
+ placeholder="">
164
+ </div>
165
+ </div>
166
+
167
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
168
+ <label class="font_normal_body">欠费条数&emsp;</label>
169
+ <div class="row">
170
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_nummin"
171
+ placeholder="">
172
+ <label class="font_normal_body"> ≤ x ≤ </label>
173
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_nummax"
174
+ placeholder="">
175
+ </div>
176
+ </div>
177
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
178
+ <label class="font_normal_body">总欠费气量</label>
179
+ <div class="row">
180
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_gasmin"
181
+ placeholder="">
182
+ <label class="font_normal_body"> ≤ x ≤ </label>
183
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_gasmax"
184
+ placeholder="">
185
+ </div>
186
+ </div>
187
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
188
+ <label class="font_normal_body">总欠费金额</label>
189
+ <div class="row">
190
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_feemin"
191
+ placeholder="">
192
+ <label class="font_normal_body"> ≤ x ≤ </label>
193
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_feemax"
194
+ placeholder="">
195
+ </div>
196
+ </div>
197
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
198
+ <label class="font_normal_body">欠费月平均气量</label>
199
+ <div class="row">
200
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_avg_gasmin"
201
+ placeholder="">
202
+ <label class="font_normal_body"> ≤ x ≤ </label>
203
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_avg_gasmax"
204
+ placeholder="">
205
+ </div>
206
+ </div>
207
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
208
+ <label class="font_normal_body">用气量&emsp;&emsp;</label>
209
+ <div class="row">
210
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.f_oughtamount_min"
211
+ placeholder="">
212
+ <label class="font_normal_body"> ≤ x ≤ </label>
213
+ <input type="text" style="width:30%" class="input_search" v-model="model.model.f_oughtamount_max"
214
+ placeholder="">
215
+ </div>
216
+ </div>
217
+ </div>
218
+
219
+ </div>
220
+ </criteria>
221
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
222
+ <template partial='head'>
223
+ <tr>
224
+ <th><nobr>序号</nobr></th>
225
+ <th><nobr>客户编号</nobr></th>
226
+ <th><nobr>客户电话</nobr></th>
227
+ <th><nobr>档案编号</nobr></th>
228
+ <th><nobr>表号</nobr></th>
229
+ <th><nobr>客户名称</nobr></th>
230
+ <th><nobr>地址</nobr></th>
231
+ <th><nobr>表箱号</nobr></th>
232
+ <th><nobr>用户类型</nobr></th>
233
+ <th><nobr>用气性质</nobr></th>
234
+ <th><nobr>表具状态</nobr></th>
235
+ <th><nobr>气表品牌</nobr></th>
236
+ <th><nobr>表册片区</nobr></th>
237
+ <th><nobr>当前表底数</nobr></th>
238
+ <th><nobr>最后抄表日期</nobr></th>
239
+ <th><nobr>温度</nobr></th>
240
+ <th><nobr>压力</nobr></th>
241
+ <th><nobr>采集时间</nobr></th>
242
+ <th><nobr>标况流量</nobr></th>
243
+ <th><nobr>工况流量</nobr></th>
244
+ <th><nobr>标况总量</nobr></th>
245
+ <th><nobr>工况总量</nobr></th>
246
+ <th><nobr>上报余额</nobr></th>
247
+ <th><nobr>用气量</nobr></th>
248
+ <th><nobr>用气金额</nobr></th>
249
+ <th><nobr>欠费月数</nobr></th>
250
+ <th><nobr>欠费条数</nobr></th>
251
+ <th><nobr>欠费月平均气量</nobr></th>
252
+ <th><nobr>欠费气量</nobr></th>
253
+ <th><nobr>欠费金额</nobr></th>
254
+ </tr>
255
+ </template>
256
+ <template partial='body'>
257
+ <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
258
+ <td style="text-align: center;"><nobr>
259
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
260
+ </nobr> </td>
261
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
262
+ <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
263
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
264
+ <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
265
+ <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
266
+ <th style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></th>
267
+ <th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
268
+ <th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
269
+ <th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
270
+ <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
271
+ <th style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></th>
272
+ <th style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></th>
273
+ <th style="text-align: center;"><nobr>{{row.end_time}}</nobr></th>
274
+ <th style="text-align:center"><nobr>{{row.flowmetertemperature}}</nobr></th>
275
+ <th style="text-align:center"><nobr>{{row.flowmeterpressure}}</nobr></th>
276
+
277
+ <th style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></th>
278
+ <th style="text-align:center"><nobr>{{row.standardconditionflow}}</nobr></th>
279
+ <th style="text-align:center"><nobr>{{row.operatingmodeflow}}</nobr></th>
280
+ <th style="text-align:center"><nobr>{{row.standardconditiontotal}}</nobr></th>
281
+ <th style="text-align:center"><nobr>{{row.operatingmodetotal}}</nobr></th>
282
+ <th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
283
+
284
+ <th style="text-align: center;"><nobr>{{row.f_oughtamount}}</nobr></th>
285
+ <th style="text-align: center;"><nobr>{{row.f_oughtfee}}</nobr></th>
286
+ <th style="text-align: center;"><nobr>{{row.qianfei_month_num}}</nobr></th>
287
+ <th style="text-align: center;"><nobr>{{row.qianfei_num}}</nobr></th>
288
+ <th style="text-align: center;"><nobr>{{row.qianfei_avg_gas}}</nobr></th>
289
+ <th style="text-align: center;"><nobr>{{row.f_totalowe_gas}}</nobr></th>
290
+ <th style="text-align: center;"><nobr>{{row.f_totalowe_fee}}</nobr></th>
291
+ </template>
292
+ </data-grid>
293
+ </criteria-paged>
294
+ <table class="table-hover">
295
+ <tr style="position: relative" class="table-bordered">
296
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
297
+ <td style="display: inline-block;width: auto;border-right: 1px solid #f2f6fa;padding: 0px 10px 0px 10px;font-weight: bold">总用气量:&emsp;&emsp;{{sumsmodel.f_oughtamount}}</td>
298
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总用气金额:&emsp;&emsp;{{sumsmodel.f_oughtfee}}</td>
299
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费条数:&emsp;&emsp;{{sumsmodel.qianfei_num}}</td>
300
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费气量:&emsp;{{sumsmodel.f_totalowe_gas}}</td>
301
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费金额:&emsp;{{sumsmodel.f_totalowe_fee}}</td>
302
+ </tr>
303
+ </table>
304
+ </div>
305
+ <div class="flex" v-if="show">
306
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
307
+ </div>
308
+ </div></div>
309
+ </template>
310
+ <script>
311
+ /**
312
+ *用户档案查询列表以及添加操作组件
313
+ */
314
+ import { PagedList } from 'vue-client'
315
+ import Vue from 'vue'
316
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
317
+ import exportConfig from "./config/exportConfig";
318
+
319
+ let readySomething = async function (self) {
320
+ await self.$MagLoadParams.loadParam()
321
+ self.initParams()
322
+ self.initSlice(self.$login.f.orgid)
323
+ let year = new Date().getFullYear()
324
+ self.$refs.paged.$refs.cri.model.startDate = year+'-01-01 00:00:00'
325
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
326
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
327
+ }
328
+ export default {
329
+ title: '用气稽查',
330
+ data () {
331
+ return {
332
+ other:[],
333
+ footer:[],
334
+ org:[this.$login.f.orgid],
335
+ criteriaShow: false,
336
+ filialeNameStr: null,
337
+ filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
338
+ userid: this.$login.f.id,
339
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
340
+ model: new PagedList('api/af-revenue/sql/getGasInspection', 50,{mycondition:'this.model.model.mycondition'},{
341
+ f_oughtamount:0,
342
+ f_oughtfee:0,
343
+ qianfei_num:0,
344
+ f_totalowe_gas:0,
345
+ f_totalowe_fee:0
346
+ }),
347
+ rows: null,
348
+ //orgid:'',
349
+ sumsmodel: {},
350
+ sqlName:'getGasInspection',
351
+ config: {
352
+ defaultPrint: ['f_userinfo_code','f_user_id']
353
+ },
354
+ show:false,
355
+ rowdata:{},
356
+ initres: {
357
+ org:[this.$login.f.orgid],
358
+ dep:[],
359
+ user:[],
360
+ },
361
+ // qianfei_month_nummin:null,
362
+ // qianfei_month_nummax:null,
363
+ // qianfei_nummin:null,
364
+ // qianfei_nummax:null,
365
+ // qianfei_avg_gasmin:null,
366
+ // qianfei_avg_gasmax:null,
367
+ // f_totalowe_feemin:null,
368
+ // f_totalowe_feemax:null,
369
+ // f_totalowe_gasmin:null,
370
+ // f_totalowe_gasmax:null,
371
+ mycondition:null,
372
+ defaultfield: [],
373
+ meterbrands: [],
374
+ // 表册片区
375
+ bookSlice:[]
376
+ }
377
+ },
378
+ watch:{
379
+ sumsmodel:{
380
+ handler: function(val) {
381
+ this.getotherfooter();
382
+ },
383
+ deep: true
384
+ }
385
+ },
386
+ ready () {
387
+ readySomething(this).then(() => {
388
+ this.$emit('ready')
389
+ }).catch((error) => {
390
+ this.$emit('error', error)
391
+ })
392
+ },
393
+ methods: {
394
+ // 初始化抄表册片区
395
+ async initSlice (val) {
396
+ if (val) {
397
+ let getAllArea = await this.$resetpost('/rs/search', {
398
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
399
+ userid: this.$login.f.id
400
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
401
+ let arr = getAllArea.data.filter((res) => {
402
+ return res.parentid == val
403
+ })
404
+ this.bookSlice = [{label: '全部',value: ''}]
405
+ arr.forEach((res) => {
406
+ this.bookSlice.push({label: res.name, value: res.name})
407
+ })
408
+ }
409
+ },
410
+ initParams () {
411
+ // 初始化气表品牌
412
+ let brandArr = []
413
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
414
+ let temp = {}
415
+ temp.label = item.label
416
+ temp.value = item.value.f_meter_brand
417
+ brandArr.push(temp)
418
+ })
419
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
420
+ },
421
+ getotherfooter(){
422
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
423
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
424
+ this.other=[];
425
+ this.footer=[];
426
+ // let exportdata = this.$refs.paged.$refs.cri.model.model.mycondition;
427
+ let otherInData=[];
428
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
429
+ let footerData=[],exportfield=this.getfield;
430
+ footerData.push("合计");
431
+ let self = this;
432
+ for(var field in self.sumsmodel){
433
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
434
+ }
435
+ this.footer.push(footerData);
436
+ this.other.push(otherInData);
437
+ },
438
+ cancel() {
439
+ this.show = false
440
+ },
441
+ showmsg(obj){
442
+ this.rowdata=obj
443
+ this.show=true
444
+ },
445
+ async getorg (obj) {
446
+ console.log('组织变化',obj)
447
+ if(obj && obj.resids && obj.resids[0]){
448
+ this.initSlice(obj.resids[0])
449
+ }
450
+
451
+ if(obj.resids.length>0){
452
+ this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
453
+ }
454
+ else{
455
+ this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
456
+ }
457
+ },
458
+ userTypeChange () {
459
+ this.gasproperties=[]
460
+ if(this.$refs.paged.model.model !==null) {
461
+ this.$refs.paged.model.model.f_gasproperties=''
462
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
463
+ // this.gasproperties.push({label: '全部', value: ''})
464
+ console.log(this.gasproperties )
465
+ }
466
+ else{
467
+ this.gasproperties =[{label: '全部', value: ''}]
468
+ }
469
+ },
470
+ search () {
471
+ this.$refs.paged.$refs.cri.search()
472
+ },
473
+ selfSearch (args) {
474
+ let a = " and 1=1 "
475
+ let m=this.$refs.paged.$refs.cri.model.model;
476
+ if(m.qianfei_month_nummin!=null && m.qianfei_month_nummin!=''){
477
+ a += " and qianfei_month_num >= "+this.$refs.paged.$refs.cri.model.model.qianfei_month_nummin
478
+ }
479
+ if(m.qianfei_month_nummax!=null&&m.qianfei_month_nummax!=''){
480
+ a+=' and qianfei_month_num <= '+this.$refs.paged.$refs.cri.model.model.qianfei_month_nummax
481
+ }
482
+ if(m.qianfei_nummin!=null&&m.qianfei_nummin!=''){
483
+ a += " and qianfei_num >= "+this.$refs.paged.$refs.cri.model.model.qianfei_nummin
484
+ }
485
+ if(m.qianfei_nummax!=null&&m.qianfei_nummax!=''){
486
+ a +=" and qianfei_num <= "+this.$refs.paged.$refs.cri.model.model.qianfei_nummax
487
+ }
488
+ if(m.qianfei_avg_gasmin!=null&&m.qianfei_avg_gasmin!=''){
489
+ a +=" and qianfei_avg_gas >= "+this.$refs.paged.$refs.cri.model.model.qianfei_avg_gasmin
490
+ }
491
+ if(m.qianfei_avg_gasmax!=null&&m.qianfei_avg_gasmax!=''){
492
+ a += " and qianfei_avg_gas <= "+this.$refs.paged.$refs.cri.model.model.qianfei_avg_gasmax
493
+ }
494
+ if(m.f_totalowe_feemin!=null&&m.f_totalowe_feemin!=''){
495
+ a += " and f_totalowe_fee >= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_feemin
496
+ }
497
+ if(m.f_totalowe_feemax!=null&&m.f_totalowe_feemax!=''){
498
+ a += " and f_totalowe_fee <= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_feemax
499
+ }
500
+ if(m.f_totalowe_gasmin!=null&&m.f_totalowe_gasmin!=''){
501
+ a += " and f_totalowe_gas >= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_gasmin
502
+ }
503
+ if(m.f_totalowe_gasmax!=null&&m.f_totalowe_gasmax!=''){
504
+ a += " and f_totalowe_gas <= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_gasmax
505
+ }
506
+ if (m.f_oughtamount_min) {
507
+ a += " and f_oughtamount >= "+this.$refs.paged.$refs.cri.model.model.f_oughtamount_min
508
+ }
509
+ if (m.f_oughtamount_max) {
510
+ a += " and f_oughtamount <= "+this.$refs.paged.$refs.cri.model.model.f_oughtamount_max
511
+ }
512
+ if (m.f_book_slice_area) {
513
+ a += ` and f_book_slice_area = '${this.$refs.paged.$refs.cri.model.model.f_book_slice_area}'`
514
+ }
515
+ if(this.$refs.paged.$refs.cri.model.startDate){
516
+ this.model.params.startDate = `'${this.$refs.paged.$refs.cri.model.startDate}' `
517
+ }else{
518
+ this.model.params.startDate = this.$login.toStandardDateString() + ' 00:00:00'
519
+ }
520
+
521
+ if(this.$refs.paged.$refs.cri.model.endDate){
522
+ this.model.params.endDate = `'${this.$refs.paged.$refs.cri.model.endDate}' `
523
+ }else{
524
+ this.model.params.endDate = this.$login.toStandardDateString() + ' 23:59:59'
525
+ }
526
+ this.mycondition = a
527
+ args.condition = args.condition+ ` ${this.filialeCodeStr}`
528
+ args.condition = args.condition+ ` ${a}`
529
+ console.log("拼接的condition", args.condition, this.model)
530
+ this.model.search(args.condition, args.model)
531
+ },
532
+ hidden(){
533
+ this.criteriaShow = !this.criteriaShow
534
+ },
535
+ clear(){
536
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
537
+ if (key != 'startDate' && key != 'endDate')
538
+ if (key == 'model')
539
+ this.$refs.paged.$refs.cri.model[key] = {}
540
+ else
541
+ this.$refs.paged.$refs.cri.model[key] = []
542
+ })
543
+ this.$refs.paged.$refs.cri.model.contain_newfile='是'
544
+ let year = new Date().getFullYear()
545
+ this.$refs.paged.$refs.cri.model.startDate = year+'-01-01'
546
+ this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
547
+ }
548
+
549
+ },
550
+ computed: {
551
+ userstates (){
552
+ return this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : []
553
+ },
554
+ tablestate() {
555
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
556
+ },
557
+ getfield() {
558
+ return exportConfig.gasInspectionConfig
559
+ },
560
+ usertypes() {
561
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
562
+ },
563
+ gasproperties() {
564
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
565
+ },
566
+ f_meter_classify(){
567
+ return [{label: '全部', value: ''}, {label: '卡表', value: '卡表'},{label: '机表', value: '机表'},{label: '网表', value: '物联网表'} ]
568
+ // return [{label: '卡表', value: '卡表'}]
569
+ },
570
+ getCondition () {
571
+ let result = {
572
+ condition: '',
573
+ startDate: '',
574
+ endDate: '',
575
+ mycondition:''
576
+ }
577
+ result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
578
+ result.condition = result.condition + this.mycondition
579
+ let temp2 = this.$refs.paged.$refs.cri
580
+ if (temp2.model.startDate && temp2.model.endDate) {
581
+ result.startDate = ` '${temp2.model.startDate}'`
582
+ result.endDate = ` '${temp2.model.endDate}'`
583
+ } if (!temp2.model.startDate && !temp2.model.endDate) {
584
+ result.startDate = this.$login.toStandardDateString() + ' 00:00:00'
585
+ result.endDate = this.$login.toStandardDateString() + ' 23:59:59'
586
+ }
587
+ if (temp2.model.startDate&&!temp2.model.endDate) {
588
+ result.startDate = ` '${temp2.model.startDate}'`
589
+ result.endDate = this.$login.toStandardDateString() + ' 23:59:59'
590
+ } if (temp2.model.endDate&&!temp2.model.startDate) {
591
+ result.startDate = this.$login.toStandardDateString() + ' 00:00:00'
592
+ result.endDate = ` '${temp2.model.endDate}'`
593
+ }
594
+ if (temp2.model.contain_newfile==='否'){
595
+ result.condition = result.condition+" and f_open_date not between " + result.startDate + " and " + result.endDate
596
+ }
597
+ return result
598
+ }
599
+ }
600
+ }
601
+ </script>
602
+ <style media="screen">
603
+ .divtext {
604
+ min-width: 50px;
605
+ max-width: 200px;
606
+ border: 1px solid green;
607
+ display: inline-block;
608
+ }
609
+ </style>
610
+