manage-client 3.2.36 → 3.2.37

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 (442) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.eslintrc.js +20 -20
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  6. package/.project +18 -18
  7. package/CHANGELOG.md +15 -15
  8. package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
  9. package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
  10. package/ManageClient.iml +13 -13
  11. package/README.md +38 -38
  12. package/build/dev-server.js +174 -193
  13. package/build/webpack.base.conf.js +82 -82
  14. package/build.gradle +13 -13
  15. package/config/dev.env.js +6 -6
  16. package/config/index.js +40 -40
  17. package/config/prod.env.js +3 -3
  18. package/config/test.env.js +6 -6
  19. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  20. package/gradlew.bat +100 -100
  21. package/index.html +28 -28
  22. package/package.json +1 -1
  23. package/release.bat +5 -5
  24. package/src/ManageHome.js +269 -269
  25. package/src/Staff/StaffCompileList.vue +334 -334
  26. package/src/Staff/StaffList.vue +161 -161
  27. package/src/Staff/StaffListManage.vue +49 -49
  28. package/src/Util.js +367 -367
  29. package/src/components/BasisEcharts/BarChart.vue +247 -247
  30. package/src/components/BasisEcharts/LineChart.vue +243 -243
  31. package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
  32. package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
  33. package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
  34. package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
  35. package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
  36. package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
  37. package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
  38. package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
  39. package/src/components/ManageHome/Drill/DrillData.vue +791 -791
  40. package/src/components/ManageHome/Drill/DrillList.vue +320 -320
  41. package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
  42. package/src/components/ManageHome/Home/CallCenter.vue +124 -124
  43. package/src/components/ManageHome/Home/CallFix.vue +172 -172
  44. package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
  45. package/src/components/ManageHome/Home/GasValue.vue +233 -233
  46. package/src/components/ManageHome/Home/Home.vue +138 -138
  47. package/src/components/ManageHome/Home/Monitor.vue +329 -329
  48. package/src/components/ManageHome/Home/NetWork.vue +202 -202
  49. package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
  50. package/src/components/ManageHome/Home/UserModule.vue +367 -367
  51. package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
  52. package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
  53. package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
  54. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  55. package/src/components/ManageHome/ManageHome.vue +292 -292
  56. package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
  57. package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
  58. package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
  59. package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
  60. package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
  61. package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
  62. package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
  63. package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
  64. package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
  65. package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
  66. package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
  67. package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
  68. package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
  69. package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
  70. package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
  71. package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
  72. package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
  73. package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
  74. package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
  75. package/src/components/ManageHome/User/GasDistri.vue +271 -271
  76. package/src/components/ManageHome/User/InspecDistri.vue +272 -272
  77. package/src/components/ManageHome/User/SaleProportion.vue +309 -309
  78. package/src/components/ManageHome/User/UseHome.vue +155 -155
  79. package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
  80. package/src/components/ManageHome/User/UserNumber.vue +519 -519
  81. package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
  82. package/src/components/ManageHome/loading.vue +23 -23
  83. package/src/components/ManageHomeCS/Cockpit.vue +43 -43
  84. package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
  85. package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
  86. package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +146 -146
  87. package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
  88. package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
  89. package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
  90. package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
  91. package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
  92. package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
  93. package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
  94. package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
  95. package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
  96. package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
  97. package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
  98. package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
  99. package/src/components/ManageHomeCS/Home/Home.vue +57 -57
  100. package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
  101. package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
  102. package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
  103. package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
  104. package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
  105. package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
  106. package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
  107. package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
  108. package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
  109. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  110. package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
  111. package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
  112. package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
  113. package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
  114. package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
  115. package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
  116. package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
  117. package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
  118. package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
  119. package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
  120. package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
  121. package/src/components/ManageHomeCS/NetWork/NetHome.vue +106 -106
  122. package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
  123. package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
  124. package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
  125. package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
  126. package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
  127. package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
  128. package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
  129. package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
  130. package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
  131. package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
  132. package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
  133. package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
  134. package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
  135. package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
  136. package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
  137. package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
  138. package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
  139. package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
  140. package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
  141. package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
  142. package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
  143. package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
  144. package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
  145. package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
  146. package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
  147. package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
  148. package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
  149. package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
  150. package/src/components/ManageHomeCS/loading.vue +39 -39
  151. package/src/components/ManageHomeCS/test.vue +88 -88
  152. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  153. package/src/components/MeterManage/ChargeQuery.vue +79 -79
  154. package/src/components/MeterManage/FillCardQuery.vue +80 -80
  155. package/src/components/MeterManage/FillGasQuery.vue +80 -80
  156. package/src/components/MeterManage/HandQuery.vue +72 -72
  157. package/src/components/MeterManage/MeterInfoManage.vue +107 -107
  158. package/src/components/MeterManage/MeterList.vue +336 -336
  159. package/src/components/MeterManage/MeterMsg.vue +181 -181
  160. package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
  161. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  162. package/src/components/MeterManage/TransferQuery.vue +72 -72
  163. package/src/components/SellReport/BankManager.vue +146 -146
  164. package/src/components/SellReport/CaiManageDayGas.vue +280 -280
  165. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  166. package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
  167. package/src/components/SellReport/ChManageMonthGas.vue +285 -285
  168. package/src/components/SellReport/ChOtherfee.vue +251 -251
  169. package/src/components/SellReport/CollectFee.vue +184 -184
  170. package/src/components/SellReport/Contrast.vue +188 -188
  171. package/src/components/SellReport/DayStairMoney.vue +256 -256
  172. package/src/components/SellReport/FenxiangSell.vue +183 -183
  173. package/src/components/SellReport/FxGasTable.vue +220 -220
  174. package/src/components/SellReport/GasCollect.vue +174 -174
  175. package/src/components/SellReport/GaspriceHas.vue +141 -141
  176. package/src/components/SellReport/HandCollect.vue +189 -189
  177. package/src/components/SellReport/JinChengBusSummary.vue +182 -182
  178. package/src/components/SellReport/JinChengHandGas.vue +182 -182
  179. package/src/components/SellReport/JinChengOperSummary.vue +182 -182
  180. package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
  181. package/src/components/SellReport/ManageBusTable.vue +207 -207
  182. package/src/components/SellReport/ManageGasFee.vue +247 -247
  183. package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
  184. package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
  185. package/src/components/SellReport/ManageMonthGas.vue +249 -249
  186. package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
  187. package/src/components/SellReport/ManageReceivable.vue +254 -254
  188. package/src/components/SellReport/ManageUserCollect.vue +183 -183
  189. package/src/components/SellReport/MeterBill.vue +185 -185
  190. package/src/components/SellReport/MeterGasMoney.vue +226 -226
  191. package/src/components/SellReport/MeterInput.vue +250 -250
  192. package/src/components/SellReport/MonthStairMoney.vue +256 -256
  193. package/src/components/SellReport/OweAging.vue +174 -174
  194. package/src/components/SellReport/ReportHistory.vue +80 -80
  195. package/src/components/SellReport/ReportPool.vue +60 -60
  196. package/src/components/SellReport/Selling.vue +188 -188
  197. package/src/components/SellReport/SiteManager.vue +147 -147
  198. package/src/components/SellReport/UserStateStatistics.vue +188 -188
  199. package/src/components/SellReport/UsertypePie.vue +101 -101
  200. package/src/components/SellReport/XianYangDate.vue +227 -227
  201. package/src/components/SellReport/XianYangOperator.vue +228 -228
  202. package/src/components/SellReport/XyDateCharge.vue +227 -227
  203. package/src/components/SellReport/XyOperatorCharge.vue +256 -256
  204. package/src/components/SellReport/YuShouTableTwo.vue +309 -309
  205. package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
  206. package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
  207. package/src/components/SellReport/jingwei/PaymentNotice.vue +479 -479
  208. package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
  209. package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
  210. package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
  211. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
  212. package/src/components/WebReport/AbnormalInfo.vue +197 -197
  213. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  214. package/src/components/WebReport/BatteryLow.vue +148 -148
  215. package/src/components/WebReport/BusinessHall.vue +85 -85
  216. package/src/components/WebReport/BussinessType.vue +137 -137
  217. package/src/components/WebReport/Communication.vue +131 -131
  218. package/src/components/WebReport/CompanyUser.vue +79 -79
  219. package/src/components/WebReport/EchartsBox.vue +110 -110
  220. package/src/components/WebReport/ElectroMagnetic.vue +142 -142
  221. package/src/components/WebReport/GaspriceHas.vue +141 -141
  222. package/src/components/WebReport/HandplanPrint.vue +167 -167
  223. package/src/components/WebReport/NotUpload.vue +165 -165
  224. package/src/components/WebReport/OweQuery.vue +169 -169
  225. package/src/components/WebReport/PaymentDistributed.vue +176 -176
  226. package/src/components/WebReport/Paymentpie.vue +157 -157
  227. package/src/components/WebReport/ReportWorklist.vue +220 -220
  228. package/src/components/WebReport/SellType.vue +89 -89
  229. package/src/components/WebReport/Telemanlist.vue +221 -221
  230. package/src/components/WebReport/UserGasAll.vue +214 -214
  231. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  232. package/src/components/WebReport/UsertypePie.vue +105 -105
  233. package/src/components/WebReport/ValueEcharts.vue +99 -99
  234. package/src/components/WebReport/ValueInfo.vue +194 -194
  235. package/src/components/qinhua/BarChartLine.vue +288 -288
  236. package/src/components/qinhua/ManageMain.vue +162 -162
  237. package/src/components/qinhua/Ring.vue +165 -165
  238. package/src/components/qinhua/SafeCheckRing.vue +149 -149
  239. package/src/components/qinhua/SafecheckBarChart.vue +209 -209
  240. package/src/components/qinhua/Scada.vue +93 -93
  241. package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
  242. package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
  243. package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
  244. package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
  245. package/src/components/safecheck/planCheck/inFamily.vue +185 -185
  246. package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
  247. package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
  248. package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
  249. package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
  250. package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
  251. package/src/components/sale/businessquery/ChargeQuery.vue +1254 -1250
  252. package/src/components/sale/businessquery/DisableQuery.vue +451 -451
  253. package/src/components/sale/businessquery/EnableQuery.vue +408 -408
  254. package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
  255. package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
  256. package/src/components/sale/businessquery/InspectManage.vue +47 -47
  257. package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
  258. package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
  259. package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
  260. package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
  261. package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
  262. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  263. package/src/components/sale/businessquery/TongjiManage.vue +74 -74
  264. package/src/components/sale/businessquery/TransferQuery.vue +418 -418
  265. package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
  266. package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
  267. package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
  268. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  269. package/src/components/sale/businessquery/weChatBind.vue +361 -361
  270. package/src/components/sale/common/PrintData.vue +171 -171
  271. package/src/components/sale/common/PrintDataSelf.vue +225 -225
  272. package/src/components/sale/common/PrintTable.vue +228 -228
  273. package/src/components/sale/common/PrintTableSelf.vue +251 -251
  274. package/src/components/sale/common/TabButton.vue +155 -155
  275. package/src/components/sale/common/Tabs.vue +67 -67
  276. package/src/components/sale/common/handplanUser.vue +112 -112
  277. package/src/components/sale/config/DefaultPrint.js +6 -6
  278. package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
  279. package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
  280. package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
  281. package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
  282. package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
  283. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  284. package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
  285. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  286. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  287. package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
  288. package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
  289. package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
  290. package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
  291. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  292. package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
  293. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
  294. package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
  295. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  296. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  297. package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
  298. package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
  299. package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
  300. package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
  301. package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
  302. package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
  303. package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
  304. package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
  305. package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
  306. package/src/components/sale/report/aode/DayReport.vue +50 -50
  307. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  308. package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
  309. package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
  310. package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
  311. package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
  312. package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
  313. package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
  314. package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
  315. package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
  316. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  317. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  318. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  319. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  320. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  321. package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
  322. package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
  323. package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
  324. package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
  325. package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
  326. package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
  327. package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
  328. package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
  329. package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
  330. package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
  331. package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
  332. package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
  333. package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
  334. package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
  335. package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
  336. package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
  337. package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
  338. package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
  339. package/src/components/statistical/DendrogramManage.vue +239 -239
  340. package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
  341. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  342. package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
  343. package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
  344. package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
  345. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  346. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  347. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  348. package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
  349. package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
  350. package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
  351. package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
  352. package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
  353. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  354. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
  355. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  356. package/src/components/yulin/GuanWang.vue +24 -24
  357. package/src/components/yulin/SingleBarLine.vue +352 -352
  358. package/src/components/yulin/Weather.vue +157 -157
  359. package/src/expandcss.less +26 -26
  360. package/src/filiale/WEINAN/InspectListUser.vue +492 -492
  361. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  362. package/src/filiale/aode/ArchivesManage.vue +38 -38
  363. package/src/filiale/aode/BusinessManage.vue +94 -94
  364. package/src/filiale/aode/DefaultPrint.js +6 -6
  365. package/src/filiale/aode/HandplanQuery.vue +632 -632
  366. package/src/filiale/aode/Tabs.vue +67 -67
  367. package/src/filiale/aode/UserQuery.vue +599 -599
  368. package/src/filiale/aode/sale.js +17 -17
  369. package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
  370. package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
  371. package/src/filiale/ceshi/CollectManage.vue +94 -94
  372. package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
  373. package/src/filiale/ceshi/TabButton.vue +149 -149
  374. package/src/filiale/ceshi/Tabs.vue +69 -69
  375. package/src/filiale/ceshi/reportManage.js +5 -5
  376. package/src/filiale/ceshi/sale.js +11 -11
  377. package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
  378. package/src/filiale/gaomi/config/tableConfig.js +47 -47
  379. package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
  380. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
  381. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  382. package/src/filiale/liaoyuan/sale.js +11 -11
  383. package/src/filiale/macheng/MeterQuery.vue +921 -921
  384. package/src/filiale/macheng/config/DefaultPrint.js +12 -12
  385. package/src/filiale/pingxiang/sale.js +9 -9
  386. package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
  387. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  388. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  389. package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
  390. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  391. package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
  392. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  393. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  394. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  395. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  396. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  397. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  398. package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
  399. package/src/filiale/shennongjia/config/tableConfig.js +47 -47
  400. package/src/filiale/shennongjia/sale.js +10 -10
  401. package/src/filiale/tongchuan/ChargeQuery.vue +1270 -1270
  402. package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
  403. package/src/main.js +9 -9
  404. package/src/plugins/GetLoginInfoService.js +505 -505
  405. package/src/plugins/LodopFuncs.js +124 -124
  406. package/src/plugins/getAllInputtor.js +29 -29
  407. package/src/safeCheck.js +63 -63
  408. package/src/stores/AppData.js +62 -62
  409. package/src/stores/DataSql.js +585 -585
  410. package/src/stores/DrillECharts.js +602 -602
  411. package/src/stores/DrillSql.js +888 -888
  412. package/src/stores/GetParames.js +15 -15
  413. package/src/stores/MagGetSaleParams.js +156 -156
  414. package/src/stores/MagLoadParams.js +63 -63
  415. package/src/stores/Util.js +132 -132
  416. package/src/stores/shanxi1.js +26 -26
  417. package/src/stores/yulin.js +27 -27
  418. package/static/china.json +1 -1
  419. package/static/qh.json +2410 -2410
  420. package/static/res.json +58411 -58411
  421. package/static/shanxi1.json +1 -1
  422. package/static/yulin.json +1 -1
  423. package/static//345/261/261/344/270/234/347/234/201.json +1 -1
  424. package/test/unit/.eslintrc +5 -5
  425. package/test/unit/TestUtil.js +35 -35
  426. package/test/unit/context.html +20 -20
  427. package/test/unit/index.js +13 -13
  428. package/test/unit/init.js +11 -11
  429. package/test/unit/karma.conf.js +45 -45
  430. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  431. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  432. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  433. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  434. package/webstorm.config.js +13 -13
  435. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  436. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  437. package/.gradle/5.4.1/gc.properties +0 -0
  438. package/src/.idea/misc.xml +0 -9
  439. package/src/.idea/modules.xml +0 -8
  440. package/src/.idea/src.iml +0 -9
  441. package/src/.idea/vcs.xml +0 -6
  442. package/src/.idea/workspace.xml +0 -93
@@ -1,1250 +1,1254 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged @sort="sort">
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_operate_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_operate_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
- <div class="col-sm-2 form-group">
35
- <label class="font_normal_body">客户名称</label>
36
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
37
- condition="f_user_name like '%{}%'" placeholder="客户名称">
38
- </div>
39
-
40
- <div class="span" style="float:right;">
41
- <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
42
- <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
43
- <button class="button_search button_spacing" @click="search()">查询</button>
44
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
45
-
46
- <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
- :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
- :defaultselect="$parent.$parent.defaultexport"
49
- sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
50
- :choose-col="true">
51
- </export-excel>
52
-
53
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
54
- :defaultfield="$parent.$parent.defaultfield"
55
- titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
56
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
- <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>
58
-
59
- </div>
60
- </div>
61
- <div class="row" v-show="$parent.$parent.criteriaShow">
62
- <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
63
- <div class="col-sm-2 form-group">
64
- <label class="font_normal_body">收费编号</label>
65
- <input type="text" style="width:60%" class="input_search" v-model="model.id"
66
- condition="id = '{}'" placeholder="收费编号">
67
- </div>
68
- <div class="col-sm-2 form-group">
69
- <label class="font_normal_body">客户电话</label>
70
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
71
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
72
- </div>
73
- <div class="col-sm-2 form-group">
74
- <label class="font_normal_body">身份证号</label>
75
- <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
76
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
77
- </div>
78
- <div class="col-sm-2 form-group">
79
- <label class="font_normal_body">客户地址</label>
80
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
81
- condition="f_address like '%{}%'" placeholder='客户地址'>
82
- </div>
83
- <div class="col-sm-2 form-group">
84
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
85
- <v-select :value.sync="model.f_residential_area"
86
- class="select_list select"
87
- v-model="model.f_residential_area"
88
- style="width: 60%"
89
- multiple
90
- condition="f_residential_area in {}"
91
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
92
- close-on-select>
93
-
94
- </v-select>
95
- </div>
96
- <div class="col-sm-2 form-group">
97
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
98
- <v-select :value.sync="model.f_payment" multiple
99
- v-model="model.f_payment"
100
- :options='$parent.$parent.payment' placeholder='请选择'
101
- condition="f_payment in {}"
102
- close-on-select></v-select>
103
- </div>
104
- <div class="col-sm-2 form-group">
105
- <label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
106
- <v-select :value.sync="model.f_bank_type" multiple
107
- v-model="model.f_bank_type"
108
- :options='$parent.$parent.banktype' placeholder='请选择'
109
- condition="f_bank_type in {}"
110
- close-on-select></v-select>
111
- </div>
112
- <div class="col-sm-2 form-group">
113
- <label class="font_normal_body">收费类型</label>
114
- <!-- <v-select :value.sync="model.f_type"
115
- v-model="model.f_type"
116
- :options='$parent.$parent.chargetype' placeholder='请选择'
117
- condition="f_type = '{}'"
118
- close-on-select></v-select>-->
119
- <v-select :value.sync="model.f_type" multiple
120
- :options='$parent.$parent.chargetype' placeholder='请选择'
121
- close-on-select clear-button
122
- condition="f_type in {}"
123
- v-model="model.f_type"></v-select>
124
- </div>
125
- <div class="col-sm-2 form-group">
126
- <label class="font_normal_body">客户类型</label>
127
- <v-select :value.sync="model.f_user_type"
128
- @change="$parent.$parent.userTypeChange()"
129
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
130
- condition="f_user_type = '{}'"
131
- close-on-select></v-select>
132
- </div>
133
- <div class="col-sm-2 form-group">
134
- <label class="font_normal_body">用气性质</label>
135
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
136
- :options='$parent.$parent.gasproperties' placeholder='请选择'
137
- condition="f_gasproperties = '{}'"
138
- close-on-select></v-select>
139
- </div>
140
- <div class="col-sm-2 form-group">
141
- <label class="font_normal_body">气价类型</label>
142
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
143
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
144
- close-on-select v-ref:type>
145
- </v-select>
146
- </div>
147
- <div class="col-sm-2 form-group">
148
- <label class="font_normal_body">气价名称</label>
149
- <v-select :value.sync="model.f_price_name"
150
- v-model="model.f_price_name"
151
- multiple
152
- :options="$parent.$parent.getPricenames"
153
- condition="f_price_name in {}"
154
- ></v-select>
155
- </div>
156
- <div class="col-sm-2 form-group">
157
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
158
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
159
- condition="f_user_id = '{}'" placeholder='表编号'>
160
- </div>
161
- <div class="col-sm-2 form-group">
162
- <label class="font_normal_body">表&emsp;&emsp;号</label>
163
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
164
- condition="f_meternumber = '{}'" placeholder='表号'>
165
- </div>
166
- <div class="col-sm-2 form-group">
167
- <label class="font_normal_body">卡&emsp;&emsp;号</label>
168
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
169
- condition="f_card_id = '{}'" placeholder='卡号'>
170
- </div>
171
- <div class="col-sm-2 form-group">
172
- <label class="font_normal_body">气表类型</label>
173
- <v-select :value.sync="model.f_meter_type" multiple
174
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
175
- condition="f_meter_type in {}"
176
- close-on-select></v-select>
177
- </div>
178
- <div class="col-sm-2 form-group">
179
- <label class="font_normal_body">气表品牌</label>
180
- <v-select :value.sync="model.f_meter_brand" multiple
181
- v-model="model.f_meter_brand"
182
- :options='$parent.$parent.meterbrands' placeholder='请选择'
183
- condition="f_meter_brand in {}"
184
- close-on-select></v-select>
185
- </div>
186
-
187
- <div class="col-sm-2 form-group">
188
- <label class="font_normal_body">收费状态</label>
189
- <v-select :value.sync="model.f_state" multiple
190
- v-model="model.f_state"
191
- :options='$parent.$parent.charge_state' placeholder='请选择'
192
- condition="f_state in {}"
193
- close-on-select></v-select>
194
- </div>
195
- <div class="col-sm-2 form-group">
196
- <label class="font_normal_body">银行名称</label>
197
- <v-select :value.sync="model.f_bank_name"
198
- v-model="model.f_bank_name"
199
- :options='$parent.$parent.bank' placeholder='请选择'
200
- condition="f_bank_name = '{}'"
201
- close-on-select></v-select>
202
- </div>
203
- <div class="col-sm-2 form-group">
204
- <label class="font_normal_body">是否优惠</label>
205
- <v-select :value.sync="model.f_privilege_money"
206
- v-model="model.f_privilege_money"
207
- :options='$parent.$parent.privilege_money' placeholder='请选择'
208
- condition="f_privilege_money {}"
209
- close-on-select></v-select>
210
- </div>
211
- <div class="col-sm-2 form-group">
212
- <label class="font_normal_body">收&ensp;据&ensp;号</label>
213
- <input type="text" style="width:30%" class="input_search" title="大于等于"
214
- v-model="model.f_bill_number_big" condition="f_bill_number >= {}" placeholder='大于等于'>
215
- <input type="text" style="width:30%" class="input_search" title="小于等于"
216
- v-model="model.f_bill_number_small" condition="f_bill_number <= {}" placeholder='小于等于'>
217
- </div>
218
- <div class="col-sm-2 form-group">
219
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
220
- <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
221
- condition="f_serial_id = '{}'" placeholder='流水号'>
222
- </div>
223
- <div class="col-sm-2 form-group">
224
- <label class="font_normal_body">发票号码</label>
225
- <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
226
- condition="f_invoice_num = '{}'" placeholder='发票号码'>
227
- </div>
228
- <div class="col-sm-2 form-group">
229
- <label class="font_normal_body" title="发票类型查询">发票类型</label>
230
- <v-select :value.sync="model.f_invoice_type"
231
- v-model="model.f_invoice_type"
232
- :options='$parent.$parent.invoiceType' placeholder='请选择'
233
- condition="f_invoice_type = '{}'"
234
- close-on-select :value-single="true" :search="false">
235
- </v-select>
236
- </div>
237
- <div class="col-sm-2 form-group">
238
- <label class="font_normal_body">开&ensp;票&ensp;人</label>
239
- <input type="text" style="width:60%" class="input_search" v-model="model.f_invoiceuse_operator"
240
- condition="f_invoiceuse_operator like '%{}%'" placeholder='开票人'>
241
- </div>
242
- <div class="col-sm-2 form-group">
243
- <label for="startDate" class="font_normal_body">开票时间</label>
244
- <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
245
- v-model="model.invoice_startDate"
246
- :value.sync="model.invoice_startDate"
247
- :format="'yyyy-MM-dd'"
248
- :show-reset-button="true"
249
- condition="f_invoice_date >= '{}'">
250
- </datepicker>
251
- </div>
252
- <div class="col-sm-2 form-group">
253
- <label for="endDate" class="font_normal_body">开票时间</label>
254
- <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
255
- v-model="model.invoice_endDate"
256
- :value.sync="model.invoice_endDate"
257
- :format="'yyyy-MM-dd'"
258
- :show-reset-button="true"
259
- condition="f_invoice_date <= '{}'">
260
- </datepicker>
261
- </div>
262
- <div class="col-sm-2 form-group">
263
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
264
- <v-select :value.sync="model.f_inputtor"
265
- v-model="model.f_inputtor"
266
- :options='$parent.$parent.inputtores' placeholder='请选择'
267
- condition="f_inputtor = '{}'"
268
- close-on-select :search="false">
269
- </v-select>
270
- </div>
271
- <div class="col-sm-2 form-group">
272
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
273
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
274
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
275
- style="width:60%"
276
- close-on-select
277
- condition="f_meter_book_num = '{}'"></v-select>
278
- </div>
279
- <div class="col-sm-2 form-group">
280
- <label class="font_normal_body">写卡状态</label>
281
- <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
282
- :options='$parent.$parent.writecard' placeholder='写卡状态'
283
- style="width:60%"
284
- close-on-select
285
- condition="f_write_card = '{}'"></v-select>
286
- </div>
287
- <div class="col-sm-2 form-group">
288
- <label class="font_normal_body">街&ensp;&ensp;&ensp;&ensp;道</label>
289
- <input type="text" style="width:60%" class="input_search" v-model="model.f_street"
290
- condition="f_street like '%{}%'" placeholder='街道'>
291
- </div>
292
- <div class="col-sm-2 form-group">
293
- <label class="font_normal_body">数&ensp;据&ensp;包</label>
294
- <v-select :value.sync="model.f_bluetooth_package" v-model="model.f_bluetooth_package"
295
- :options='$parent.$parent.bluetoothpackage' placeholder='数据包状态'
296
- style="width:60%"
297
- close-on-select
298
- condition="f_bluetooth_package = '{}'"></v-select>
299
- </div>
300
- <div class="col-sm-2 form-group">
301
- <label class="font_normal_body">pos设备&nbsp;</label>
302
- <v-select :value.sync="model.f_terminal_name" multiple
303
- v-model="model.f_terminal_name"
304
- :options='$parent.$parent.posEquipment' placeholder='请选择'
305
- condition="f_operator in {}"
306
- close-on-select></v-select>
307
- </div>
308
- </div>
309
- </div>
310
- </criteria>
311
-
312
- <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
313
- <template partial='head'>
314
- <tr>
315
- <th>
316
- <nobr>收费编号</nobr>
317
- </th>
318
- <th>
319
- <!-- <nobr>客户编号</nobr>-->
320
- <data-order field="f_userinfo_code" name="客户编号"
321
- :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
322
- </th>
323
- <th><nobr>街道</nobr></th>
324
- <th>
325
- <nobr>客户名称</nobr>
326
- </th>
327
- <th>
328
- <nobr>片区</nobr>
329
- </th>
330
- <th>
331
- <!-- <nobr>客户地址</nobr>-->
332
- <data-order field="f_address" name="客户地址"
333
- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
334
- </th>
335
- <th>
336
- <nobr>客户类型</nobr>
337
- </th>
338
- <th>
339
- <nobr>用气性质</nobr>
340
- </th>
341
- <th>
342
- <nobr>表号</nobr>
343
- </th>
344
- <th>
345
- <nobr>气表品牌</nobr>
346
- </th>
347
- <th>
348
- <nobr>卡号</nobr>
349
- </th>
350
- <th>
351
- <nobr>购气次数</nobr>
352
- </th>
353
- <th>
354
- <nobr>气量</nobr>
355
- </th>
356
- <th>
357
- <nobr>金额</nobr>
358
- </th>
359
- <th>
360
- <nobr>滞纳金</nobr>
361
- </th>
362
- <th>
363
- <nobr>燃气费</nobr>
364
- </th>
365
- <th>
366
- <nobr>清缴金额</nobr>
367
- </th>
368
- <th>
369
- <nobr>预存金额</nobr>
370
- </th>
371
- <th>
372
- <nobr>上期结余</nobr>
373
- </th>
374
- <th>
375
- <nobr>收款</nobr>
376
- </th>
377
- <!--<th>-->
378
- <!--&lt;!&ndash; <nobr>所属年月</nobr>&ndash;&gt;-->
379
- <!--<data-order field="f_rest_date" name="所属年月"-->
380
- <!--:order.sync="$parent.$parent.$parent.orderFields.f_rest_date"></data-order>-->
381
-
382
- <!--</th>-->
383
- <th>
384
- <!-- <nobr>收费日期</nobr>-->
385
- <data-order field="f_operate_date" name="收费日期"
386
- :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
387
- </th>
388
- <th>
389
- <nobr>优惠金额</nobr>
390
- </th>
391
- <th>
392
- <nobr>本期结余</nobr>
393
- </th>
394
- <th>
395
- <nobr>付款方式</nobr>
396
- </th>
397
- <th>
398
- <nobr>写卡状态</nobr>
399
- </th>
400
- <th>
401
- <nobr>支付渠道</nobr>
402
- </th>
403
- <th>
404
- <nobr>银行名称</nobr>
405
- </th>
406
- <th>
407
- <nobr>收费类型</nobr>
408
- </th>
409
- <th>
410
- <nobr>终端号</nobr>
411
- </th>
412
- <th>
413
- <nobr>蓝牙数据包状态</nobr>
414
- </th>
415
- <th>
416
- <nobr>状态</nobr>
417
- </th>
418
-
419
- <th>
420
- <nobr>备注</nobr>
421
- </th>
422
- <th>
423
- <nobr>补打次数</nobr>
424
- </th>
425
- <th>
426
- <nobr>人员</nobr>
427
- </th>
428
- <th>
429
- <nobr>部门</nobr>
430
- </th>
431
- <th>
432
- <nobr>公司</nobr>
433
- </th>
434
- <th>
435
- <nobr>流水号</nobr>
436
- </th>
437
- <th>
438
- <nobr>收据号</nobr>
439
- </th>
440
- <th>
441
- <nobr>业务单号</nobr>
442
- </th>
443
- <th>
444
- <nobr>发票号码</nobr>
445
- </th>
446
- <th>
447
- <nobr>发票类型</nobr>
448
- </th>
449
- <th>
450
- <nobr>开票人</nobr>
451
- </th>
452
- <th>
453
- <nobr>开票时间</nobr>
454
- </th>
455
- <th>
456
- <nobr>累计写卡气量</nobr>
457
- </th>
458
- <th>
459
- <nobr>实际写卡金额</nobr>
460
- </th>
461
- <th>
462
- <nobr>冲正人</nobr>
463
- </th>
464
- <th>
465
- <nobr>冲正时间</nobr>
466
- </th>
467
- <th>
468
- <nobr>一阶气量</nobr>
469
- </th>
470
- <th>
471
- <nobr>一阶单价</nobr>
472
- </th>
473
- <th>
474
- <nobr>一阶气费</nobr>
475
- </th>
476
- <th>
477
- <nobr>二阶气量</nobr>
478
- </th>
479
- <th>
480
- <nobr>二阶单价</nobr>
481
- </th>
482
- <th>
483
- <nobr>二阶气费</nobr>
484
- </th>
485
- <th>
486
- <nobr>三阶气量</nobr>
487
- </th>
488
- <th>
489
- <nobr>三阶单价</nobr>
490
- </th>
491
- <th>
492
- <nobr>三阶气费</nobr>
493
- </th>
494
- <th><nobr>附件</nobr></th>
495
- </tr>
496
- </template>
497
- <template partial='body'>
498
- <td style="text-align: center;">
499
- <nobr>{{row.id}}</nobr>
500
- </td>
501
- <td style="text-align: center;"><nobr>
502
- <nobr>{{row.f_userinfo_code}}</nobr>
503
- </nobr> </td>
504
- <td style="text-align: center;">
505
- <nobr>{{row.f_street}}</nobr>
506
- </td>
507
- <td style="text-align: center;">
508
- <nobr>{{row.f_user_name}}</nobr>
509
- </td>
510
- <td style="text-align: center;">
511
- <nobr>{{row.f_zones}}</nobr>
512
- </td>
513
- <td style="text-align: center;">
514
- <nobr>{{row.f_address}}</nobr>
515
- </td>
516
- <td style="text-align: center;">
517
- <nobr>{{row.f_user_type}}</nobr>
518
- </td>
519
- <td style="text-align: center;">
520
- <nobr>{{row.f_gasproperties}}</nobr>
521
- </td>
522
- <td style="text-align: center;">
523
- <nobr>{{row.f_meternumber}}</nobr>
524
- </td>
525
- <td style="text-align: center;">
526
- <nobr>{{row.f_meter_brand}}</nobr>
527
- </td>
528
- <td style="text-align: center;">
529
- <nobr>{{row.f_card_id}}</nobr>
530
- </td>
531
- <td style="text-align: center;">
532
- <nobr>{{row.f_times}}</nobr>
533
- </td>
534
- <td style="text-align: center;">
535
- <nobr>{{row.f_pregas}}</nobr>
536
- </td>
537
- <td style="text-align: center;">
538
- <nobr>{{row.fee}}</nobr>
539
- </td>
540
- <td style="text-align: center;">
541
- <nobr>{{row.f_delaypay}}</nobr>
542
- </td>
543
- <td style="text-align: center;">
544
- <nobr>{{row.f_preamount}}</nobr>
545
- </td>
546
- <td style="text-align: center;">
547
- <nobr>{{row.f_charge_money}}</nobr>
548
- </td>
549
- <td style="text-align: center;">
550
- <nobr>{{row.f_yucun}}</nobr>
551
- </td>
552
- <td style="text-align: center;">
553
- <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_balance_amount}}</nobr>
554
- <nobr v-else>{{row.f_balance}}</nobr>
555
- </td>
556
- <td style="text-align: center;">
557
- <nobr>{{row.f_collection}}</nobr>
558
- </td>
559
- <!--<td style="text-align: center;">-->
560
- <!--<nobr>{{row.f_rest_date}}</nobr>-->
561
- <!--</td>-->
562
- <td style="text-align: center;">
563
- <nobr>{{row.f_operate_date}}</nobr>
564
- </td>
565
- <td style="text-align: center;">
566
- <nobr>{{row.f_privilege_money}}</nobr>
567
- </td>
568
-
569
-
570
- <td style="text-align: center;">
571
- <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_curbalance_amount}}</nobr>
572
- <nobr v-else>{{row.f_curbalance}}</nobr>
573
- </td>
574
- <td style="text-align: center;">
575
- <nobr>{{row.f_payment}}</nobr>
576
- </td>
577
- <td style="text-align: center;">
578
- <nobr>{{row.f_write_card}}</nobr>
579
- </td>
580
- <td style="text-align: center;">
581
- <nobr>{{row.f_bank_type}}</nobr>
582
- </td>
583
- <td style="text-align: center;">
584
- <nobr>{{row.f_bank_name}}</nobr>
585
- </td>
586
- <td style="text-align: center;">
587
- <nobr>{{row.f_type}}</nobr>
588
- </td>
589
- <td style="text-align: center;">
590
- <nobr>{{row.f_terminal_num}}</nobr>
591
- </td>
592
- <td style="text-align: center;">
593
- <nobr>{{row.f_bluetooth_package}}</nobr>
594
- </td>
595
- <td style="text-align: center;">
596
- <nobr>{{row.f_state}}</nobr>
597
- </td>
598
-
599
- <td style="text-align: center;">
600
- <nobr>{{row.f_comments}}</nobr>
601
- </td>
602
- <td style="text-align: center;">
603
- <nobr>{{row.filltimes}}</nobr>
604
- </td>
605
- <td style="text-align: center;">
606
- <nobr>{{row.f_operator}}</nobr>
607
- </td>
608
- <td style="text-align: center;">
609
- <nobr>{{row.f_depname}}</nobr>
610
- </td>
611
- <td style="text-align: center;">
612
- <nobr>{{row.f_orgname}}</nobr>
613
- </td>
614
- <td style="text-align: center;">
615
- <nobr>{{row.f_serial_id}}</nobr>
616
- </td>
617
- <td style="text-align: center;">
618
- <nobr>{{row.f_bill_number}}</nobr>
619
- </td>
620
- <td style="text-align: center;">
621
- <nobr>{{row.f_serial_number}}</nobr>
622
- </td>
623
- <td style="text-align: center;">
624
- <nobr>{{row.f_invoice_num}}</nobr>
625
- </td>
626
- <td style="text-align: center;">
627
- <nobr>{{row.f_invoice_type}}</nobr>
628
- </td>
629
- <td style="text-align: center;">
630
- <nobr>{{row.f_invoiceuse_operator}}</nobr>
631
- </td>
632
- <td style="text-align: center;">
633
- <nobr>{{row.f_invoice_date}}</nobr>
634
- </td>
635
- <td style="text-align: center;">
636
- <nobr>{{row.f_write_totalgas}}</nobr>
637
- </td>
638
- <td style="text-align: center;">
639
- <nobr>{{row.f_write_money}}</nobr>
640
- </td>
641
- <td style="text-align: center;">
642
- <nobr>{{row.f_corr_operator}}</nobr>
643
- </td>
644
- <td style="text-align: center;">
645
- <nobr>{{row.f_corr_operate_date}}</nobr>
646
- </td>
647
- <td style="text-align: center;">
648
- <nobr>{{row.f_stairamount1}}</nobr>
649
- </td>
650
- <td style="text-align: center;">
651
- <nobr>{{row.f_stair1price}}</nobr>
652
- </td>
653
- <td style="text-align: center;">
654
- <nobr>{{(row.f_stair1fee - 0).toFixed(2)}}</nobr>
655
- </td>
656
- <td style="text-align: center;">
657
- <nobr>{{row.f_stair2amount}}</nobr>
658
- </td>
659
- <td style="text-align: center;">
660
- <nobr>{{row.f_stair2price}}</nobr>
661
- </td>
662
- <td style="text-align: center;">
663
- <nobr>{{(row.f_stair2fee - 0).toFixed(2)}}</nobr>
664
- </td>
665
- <td style="text-align: center;">
666
- <nobr>{{row.f_stair3amount}}</nobr>
667
- </td>
668
- <td style="text-align: center;">
669
- <nobr>{{row.f_stair3price}}</nobr>
670
- </td>
671
- <td style="text-align: center;">
672
- <nobr>{{(row.f_stair3fee - 0).toFixed(2)}}</nobr>
673
- </td>
674
- <td style="text-align: center;"><nobr>
675
- <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
676
- </nobr></td>
677
- </template>
678
- <template partial='foot'></template>
679
- </data-grid>
680
- </criteria-paged>
681
- <table class="table-hover">
682
- <tr style="position: relative" class="table-bordered">
683
- <td
684
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
685
- 汇总信息
686
- </td>
687
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
688
- 气量合计:&emsp;{{sumsmodel.f_pregas}}
689
- </td>
690
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
691
- 应交金额合计:&emsp;{{sumsmodel.fee}}
692
- </td>
693
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
694
- 滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
695
- </td>
696
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
697
- 燃气费合计:&emsp;{{sumsmodel.f_preamount}}
698
- </td>
699
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
700
- 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
701
- </td>
702
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
703
- 收款合计:&emsp;{{sumsmodel.f_collection}}
704
- </td>
705
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
706
- 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
707
- </td>
708
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
709
- 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
710
- </td>
711
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
712
- 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
713
- </td>
714
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
715
- 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
716
- </td>
717
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
718
- 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
719
- </td>
720
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
721
- 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
722
- </td>
723
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
724
- 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
725
- </td>
726
- </tr>
727
- </table>
728
- </div>
729
- <!--<div v-if="show">-->
730
- <!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
731
- <!--</div>-->
732
- </div>
733
- <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
734
- <article slot="modal-body">
735
- <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="%收费" :isremark="false" style="width:auto" ></upload>
736
- </article>
737
- <footer slot="modal-footer" class="modal-footer">
738
- </footer>
739
- </modal>
740
- </div>
741
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
742
- </template>
743
-
744
- <script>
745
- import {HttpResetClass, PagedList} from 'vue-client'
746
- import exportConfig from '../config/exportConfig'
747
- let cardBtnGen = async function (self, val) {
748
- self.cardInfo = val.data
749
-
750
- // 判断读卡是否需要卡密码
751
- console.log('读卡上的信息', self.cardInfo)
752
-
753
- if (self.cardInfo.NewParam) {
754
- if (self.cardInfo.NewParam.error) {
755
- if (self.cardInfo.NewParam.error === '0001') {
756
- // 需要重新读卡并传卡密码
757
- if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
758
- self.readCardParam = self.model.rows[0].f_card_password
759
- self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
760
- } else {
761
- self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
762
- return
763
- }
764
- }
765
- }
766
- }
767
- self.card=self.cardInfo.CardID
768
- self.search()
769
- }
770
- let readySomething = async function (self) {
771
- //加载抄表册
772
- self.initmeterbook();
773
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
774
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
775
- self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
776
- self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
777
- // self.$refs.paged.$refs.cri.model.f_state=['有效'];
778
- // self.$refs.paged.$refs.cri.search()
779
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
780
- await self.$MagLoadParams.loadParam()
781
- self.initParams()
782
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
783
- }
784
- export default {
785
- props:['data'],
786
- title: '收费查询',
787
- data() {
788
- return {
789
- IdCardInfo:'',
790
- card:'',
791
- isSingleUser: null,
792
- startDate1:'',
793
- endDate1:'',
794
- resshow:['company','department','operator','slicearea'],
795
- other:[],
796
-
797
- footer:[],
798
- config: {
799
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount','f_operate_date']
800
- },
801
- //排序
802
- orderitem:'f_operate_date desc',
803
- orderFields: {
804
- f_operate_date: 'no'
805
- },
806
- //f_price_name:[],
807
- gasproperties:[],
808
- showinfo: false,
809
- data: {},
810
- getstart:'',
811
- show:false,
812
- rowdata:{},
813
- initres: {
814
- org:[this.$login.f.orgid],
815
- dep:[],
816
- user:[]
817
- },
818
- model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
819
- f_pregas: 0,
820
- f_preamount: 0,
821
- f_delaypay: 0,
822
- fee:0,
823
- f_yucun:0,
824
- f_privilege_money: 0,
825
- f_collection: 0,
826
- f_stairamount1:0,
827
- f_stair1fee:0,
828
- f_stair2amount:0,
829
- f_stair2fee:0,
830
- f_stair3amount:0,
831
- f_stair3fee:0,
832
- }),
833
- criteriaShow: false,
834
- orgCondtionStr: '',
835
- // 下拉框
836
- meterbrands: [],
837
- pricenames: [],
838
- prices: [],
839
- area: [],
840
- //默认打印列
841
- defaultfield: [],
842
- //小区
843
- residentialArea: [],
844
- sumsmodel: {},
845
- f_filialeid: this.$login.f.orgid,
846
- wxstate:[
847
- {label: '全部', value: ''},
848
- {label: '已退款', value: `= '3'`},
849
- {label: '未退款', value: `!= '3'`}
850
- ],
851
- privilege_money:[
852
- {label: '全部', value: ''},
853
- {label: '已优惠', value: '> 0'},
854
- {label: '未优惠', value: '= 0'}
855
- ],
856
- showupload:false,
857
- selected:{},
858
- meterbooks:[{label: '全部',value: ''}], //抄表册
859
- inputtores:[{label: '全部',value: ''}],
860
- writecard:[{label: '全部',value: ''},{label: '已写卡',value: '已写卡'},{label: '未写卡',value: '未写卡'}],
861
- bluetoothpackage:[{label: '全部',value: ''},{label: '发送成功',value: '发送成功'},{label: '执行成功',value: '执行成功'}],
862
- allorgid:[],
863
- tempfalg :false,
864
- lastorgstr:'',
865
- // pos设备列表
866
- posEquipment: [{label: '全部',value: ''}],
867
- showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
868
- }
869
- },
870
- ready() {
871
- this.$refs.paged.$refs.cri.model.f_state=['有效']
872
- this.getaddress()
873
- this.getEquipment()
874
- //加载抄表册
875
- this.$MagGetSaleParam.initinputtor();
876
- this.getinputtores();
877
- // this.initres.dep.push(this.$login.f.depids)
878
- readySomething(this).then(() => {
879
- this.$emit('ready')
880
- }).catch((error) => {
881
- this.$emit('error', error)
882
- })
883
- },
884
- methods: {
885
- // 获取设备下拉选
886
- async getEquipment () {
887
- let HttpReset = new HttpResetClass()
888
- let param = {
889
- items: 'f_terminal_name',
890
- tablename: 't_equipment',
891
- condition: `f_equipment_type = 'POS' and f_state = '正常' and f_orgid = '${this.$login.f.orgid}'`,
892
- orderitem: 'id'
893
- }
894
- var data = await HttpReset.load('POST', 'rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
895
- for (let row of data.data) {
896
- this.posEquipment.push({label: row.f_terminal_name, value: row.f_terminal_name})
897
- }
898
- },
899
- ReadIDCard(){
900
- this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
901
- console.log('======',msg)
902
- if(msg.err !== 0){ return}
903
- this.IdCardInfo=msg.strID
904
- })
905
- if(this.IdCardInfo) {
906
- this.search()
907
- }else{
908
- alert("读取失败,找不到用户信息")
909
- }
910
- },
911
- cardBtn (val) {
912
- // this.clear()
913
- cardBtnGen(this, val)
914
- },
915
- async initmeterbook(orgstr){
916
- if(orgstr == null ){
917
- orgstr = this.f_filialeid;
918
- }
919
- //获取新的抄表册,先去清理所有的抄表册
920
- this.$GetSaleParam.meterbooks = [];
921
- //开始加载新的抄表册
922
- await this.$LoadParams.loadMeterBook(orgstr)
923
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
924
- },
925
- async getinputtores () {
926
- // 获取抄表员
927
- let rs = []
928
- if (this.$login.f.f_gasman.length > 0) {
929
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
930
- let temp = {
931
- label: this.$login.f.f_gasman[i].name,
932
- value: this.$login.f.f_gasman[i].name
933
- }
934
- rs.push(temp)
935
- }
936
- }
937
- this.inputtores = [{label: '全部', value: ''}, ...rs]
938
- },
939
- //显示附件
940
- view(row){
941
- this.showupload = true
942
- this.selected= row
943
- },
944
- getotherfooter () {
945
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
946
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
947
- this.other = [];
948
- this.footer = [];
949
- let exportdata = this.getCondition;
950
- let otherInData = [];
951
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
952
- let footerData = [], exportfield = this.getfield;
953
- footerData.push("合计");
954
- let self = this;
955
- for (var field in self.sumsmodel) {
956
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
957
- }
958
- this.footer.push(footerData);
959
- this.other.push(otherInData);
960
- },
961
- async getaddress(){
962
- let HttpReset = new HttpResetClass()
963
- var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
964
- data: {
965
- condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
966
- }
967
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
968
- console.log('小区',data)
969
- let house = [{label: '全部', value: ''}]
970
- for (let row of data.data){
971
- house.push({label: row.f_residential_area, value: row.f_residential_area})
972
- }
973
- this.residentialArea = house
974
- },
975
- //把数据库查询数据转换为下拉数据
976
- calculate(rows){
977
- let data = []
978
- rows.forEach((row, n) => {
979
- data[n] = {label: row.f_residential_area, value: row.id}
980
- })
981
- return data
982
- },
983
-
984
- search(){
985
-
986
- this.$refs.paged.$refs.cri.search()
987
- },
988
- cancel() {
989
- this.show = false
990
- },
991
- showmsg(obj){
992
- this.rowdata=obj
993
- this.show=true
994
- },
995
- userTypeChange () {
996
- this.gasproperties=[]
997
- if(this.$refs.paged.$refs.cri.model !==null) {
998
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
999
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1000
- }
1001
- else{
1002
- this.gasproperties =[{label: '全部', value: ''}]
1003
- }
1004
- },
1005
- initParams() {
1006
- // 初始化气表品牌
1007
- let brandArr = []
1008
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
1009
- let temp = {}
1010
- temp.label = item.label
1011
- temp.value = item.value.f_meter_brand
1012
- brandArr.push(temp)
1013
- })
1014
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
1015
- //初始化气表价格
1016
- this.prices = this.$MagGetSaleParam.getPrices();
1017
- },
1018
- selfSearch(args) {
1019
- if (this.data) {
1020
- this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1021
- this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
1022
- }
1023
-
1024
- let f_orgstr = this.orgCondtionStr
1025
- args.condition = `${args.condition} ` + f_orgstr
1026
- if(this.card!=''){
1027
- args.condition+=` and f_card_id='${this.card}'`
1028
- }
1029
- if(this.IdCardInfo!=''){
1030
- args.condition +=` and f_idnumber='${this.IdCardInfo}'`
1031
- }
1032
- this.model.search(args.condition, args.model)
1033
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1034
- this.card=''
1035
- this.IdCardInfo=''
1036
- },
1037
- clear() {
1038
- //清空部门和人员
1039
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1040
- //部门和人员变为全选
1041
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1042
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1043
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1044
- this.$refs.paged.$refs.cri.model[key] = []
1045
- })
1046
-
1047
- },
1048
- dealmsg(val,startDate,endDate) {
1049
- val.model = this.model.model
1050
- startDate=this.startDate1
1051
- endDate=this.endDate1
1052
- this.$dispatch('deal-msg', val,startDate,endDate)
1053
- },
1054
- show() {
1055
- this.criteriaShow = true
1056
- },
1057
- hidden() {
1058
- this.criteriaShow = !this.criteriaShow
1059
- },
1060
- async getRes(condition,obj) {
1061
- this.orgCondtionStr = condition
1062
- this.orgname = obj.orgnames[0]
1063
- this.depname = obj.depnames[0]
1064
-
1065
-
1066
- },
1067
- async updateParams() {
1068
- await this.$MagLoadParams.loadParam(this.f_filialeid)
1069
- this.inputtores = [];
1070
- this.inputtores.push({label: "全部", value: ""})
1071
- if(this.allorgid!=null){
1072
- this.allorgid.forEach((res)=>{
1073
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1074
- })
1075
- }
1076
- this.initParams()
1077
- },
1078
- sort (field, rule) {
1079
- // 将所有排序方式设为不排序,实现相互排斥
1080
- for (let key in this.orderFields) {
1081
- if (key === field) {
1082
- this.orderFields[key] = rule
1083
- } else {
1084
- this.orderFields[key] = 'no'
1085
- }
1086
- }
1087
- // 如果新规则不排序,还原为默认排序
1088
- if (rule === 'no') {
1089
- this.model.paramSource.orderitem = `'${this.orderitem}'`
1090
- } else {
1091
- this.model.paramSource.orderitem = `'${field} ${rule}'`
1092
- }
1093
-
1094
- this.search()
1095
- }
1096
-
1097
- },
1098
- events:{
1099
- 'getidcard'(IdCard){
1100
- // console.log(param)
1101
- this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
1102
- }
1103
- },
1104
- watch: {
1105
- 'model.rows'(val) {
1106
- //如果有合计 这里为true, 其他为false ,反正相反
1107
- this.showbottomsum=true;
1108
- if(val.length === 0){
1109
- this.sumsmodel = {}
1110
- this.showbottomsum=false;
1111
- }
1112
- },
1113
- 'model.rows.length' () {
1114
- this.isSingleUser = this.model.rows
1115
- },
1116
- async 'orgCondtionStr'(val) {
1117
- //更新抄表册
1118
- this.$refs.paged.$refs.cri.model.f_inputtor=[]
1119
- this.$refs.paged.$refs.cri.model.f_meter_book = []
1120
- this.meterbooks = [{label: '全部',value: ''}];
1121
- if(this.lastorgstr != val){
1122
- this.tempfalg = true;
1123
- this.lastorgstr = val;
1124
- }
1125
- if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1126
- this.tempfalg = false;
1127
- let a = val.substring(val.indexOf("(")+2)
1128
- await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1129
- }
1130
- let res = val.match(/'(.*?)'/)
1131
- console.log('正则提取:',res && res[1])
1132
- if (res) {
1133
- this.f_filialeid = res[1]
1134
- if(res.input !=null){
1135
- let resorgid = res.input.substring(res.input.indexOf("'"));
1136
- if(resorgid!= null && resorgid!=''){
1137
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1138
- // resorgid = resorgid.replaceAll("'","");
1139
- resorgid = resorgid.replace(/'/g,"");
1140
- this.allorgid = resorgid.split(",")
1141
- }
1142
- }
1143
- this.updateParams()
1144
- }
1145
- },
1146
- sumsmodel:{
1147
- handler: function(val) {
1148
- this.getotherfooter();
1149
- },
1150
- deep: true
1151
- }
1152
- },
1153
- computed: {
1154
- getstart(){
1155
- return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
1156
- },
1157
- chooserow(){
1158
- let aaa= true
1159
- if(this.$login.r && this.$login.r.includes('打印项选择')){
1160
- aaa = false
1161
- }
1162
- return aaa
1163
- },
1164
- getPricenames() {
1165
- let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1166
- let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1167
- let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1168
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1169
- if(this.$refs.paged.$refs.cri.model !==null) {
1170
- let rs = []
1171
- let priceArr = []
1172
- if ( pricetype.length >0) {
1173
- let params = {
1174
- f_price_type: pricetype[0],
1175
- filter: this.f_filialeid,
1176
- prices: this.prices
1177
- }
1178
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1179
- let temp = {}
1180
- temp.label = item.label
1181
- temp.value = item.value.f_price_name
1182
- priceArr.push(temp)
1183
- })
1184
- if(priceArr.length == 0 ){
1185
- rs= [{label: '全部', value: ''}]
1186
- }else{
1187
- rs = [ ...priceArr]
1188
- }
1189
- }
1190
- if (rs.length === 0) {
1191
- console.log('rs读出来是空')
1192
- this.$refs.paged.$refs.cri.model.f_price_name = ''
1193
- }
1194
- return rs
1195
- }
1196
- },
1197
- getCondition() {
1198
- return {
1199
- startDate: this.$refs.paged.$refs.cri.model.startDate,
1200
- endDate: this.$refs.paged.$refs.cri.model.endDate,
1201
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
1202
- orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
1203
- }
1204
- },
1205
- getfield() {
1206
- return exportConfig.chargeConfig
1207
- },
1208
- defaultexport() {
1209
- return exportConfig.chargeexportConfig
1210
- },
1211
- pricetypes() {
1212
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1213
- },
1214
-
1215
- invoiceType() {
1216
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
1217
- },
1218
- usertypes() {
1219
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
1220
- },
1221
- metertypes() {
1222
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1223
- },
1224
-
1225
- tablestate() {
1226
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
1227
- },
1228
- chargetype() {
1229
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
1230
- },
1231
- payment() {
1232
- return [...this.$appdata.getParam('付款方式查询')]
1233
- },
1234
- banktype() {
1235
- return [...this.$appdata.getParam('支付渠道查询')]
1236
- },
1237
- charge_state() {
1238
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
1239
- },
1240
- bank(){
1241
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
1242
- }
1243
- }
1244
- }
1245
- </script>
1246
- <style scoped>
1247
- .showbottom{
1248
- height:95%
1249
- }
1250
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
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_operate_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_operate_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
+ <div class="col-sm-2 form-group">
35
+ <label class="font_normal_body">客户名称</label>
36
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
37
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
38
+ </div>
39
+
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
42
+ <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
43
+ <button class="button_search button_spacing" @click="search()">查询</button>
44
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
45
+
46
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
+ :defaultselect="$parent.$parent.defaultexport"
49
+ sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
50
+ :choose-col="true">
51
+ </export-excel>
52
+
53
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
54
+ :defaultfield="$parent.$parent.defaultfield"
55
+ titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
56
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
57
+ <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>
58
+
59
+ </div>
60
+ </div>
61
+ <div class="row" v-show="$parent.$parent.criteriaShow">
62
+ <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">收费编号</label>
65
+ <input type="text" style="width:60%" class="input_search" v-model="model.id"
66
+ condition="id = '{}'" placeholder="收费编号">
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">客户电话</label>
70
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
71
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">身份证号</label>
75
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
76
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
77
+ </div>
78
+ <div class="col-sm-2 form-group">
79
+ <label class="font_normal_body">客户地址</label>
80
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
81
+ condition="f_address like '%{}%'" placeholder='客户地址'>
82
+ </div>
83
+ <div class="col-sm-2 form-group">
84
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
85
+ <v-select :value.sync="model.f_residential_area"
86
+ class="select_list select"
87
+ v-model="model.f_residential_area"
88
+ style="width: 60%"
89
+ multiple
90
+ condition="f_residential_area in {}"
91
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
92
+ close-on-select>
93
+
94
+ </v-select>
95
+ </div>
96
+ <div class="col-sm-2 form-group">
97
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
98
+ <v-select :value.sync="model.f_payment" multiple
99
+ v-model="model.f_payment"
100
+ :options='$parent.$parent.payment' placeholder='请选择'
101
+ condition="f_payment in {}"
102
+ close-on-select></v-select>
103
+ </div>
104
+ <div class="col-sm-2 form-group">
105
+ <label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
106
+ <v-select :value.sync="model.f_bank_type" multiple
107
+ v-model="model.f_bank_type"
108
+ :options='$parent.$parent.banktype' placeholder='请选择'
109
+ condition="f_bank_type in {}"
110
+ close-on-select></v-select>
111
+ </div>
112
+ <div class="col-sm-2 form-group">
113
+ <label class="font_normal_body">收费类型</label>
114
+ <!-- <v-select :value.sync="model.f_type"
115
+ v-model="model.f_type"
116
+ :options='$parent.$parent.chargetype' placeholder='请选择'
117
+ condition="f_type = '{}'"
118
+ close-on-select></v-select>-->
119
+ <v-select :value.sync="model.f_type" multiple
120
+ :options='$parent.$parent.chargetype' placeholder='请选择'
121
+ close-on-select clear-button
122
+ condition="f_type in {}"
123
+ v-model="model.f_type"></v-select>
124
+ </div>
125
+ <div class="col-sm-2 form-group">
126
+ <label class="font_normal_body">客户类型</label>
127
+ <v-select :value.sync="model.f_user_type"
128
+ @change="$parent.$parent.userTypeChange()"
129
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
130
+ condition="f_user_type = '{}'"
131
+ close-on-select></v-select>
132
+ </div>
133
+ <div class="col-sm-2 form-group">
134
+ <label class="font_normal_body">用气性质</label>
135
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
136
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
137
+ condition="f_gasproperties = '{}'"
138
+ close-on-select></v-select>
139
+ </div>
140
+ <div class="col-sm-2 form-group">
141
+ <label class="font_normal_body">气价类型</label>
142
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
143
+ @change="$parent.$parent.pricetypechanged"
144
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
145
+ close-on-select v-ref:type>
146
+ </v-select>
147
+ </div>
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">气价名称</label>
150
+ <v-select :value.sync="model.f_price_name"
151
+ v-model="model.f_price_name"
152
+ multiple
153
+ :options="$parent.$parent.getPricenames"
154
+ condition="f_price_name in {}"
155
+ ></v-select>
156
+ </div>
157
+ <div class="col-sm-2 form-group">
158
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表编号</label>
159
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_id"
160
+ condition="f_user_id = '{}'" placeholder='表编号'>
161
+ </div>
162
+ <div class="col-sm-2 form-group">
163
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
164
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
165
+ condition="f_meternumber = '{}'" placeholder='表号'>
166
+ </div>
167
+ <div class="col-sm-2 form-group">
168
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
169
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
170
+ condition="f_card_id = '{}'" placeholder='卡号'>
171
+ </div>
172
+ <div class="col-sm-2 form-group">
173
+ <label class="font_normal_body">气表类型</label>
174
+ <v-select :value.sync="model.f_meter_type" multiple
175
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
176
+ condition="f_meter_type in {}"
177
+ close-on-select></v-select>
178
+ </div>
179
+ <div class="col-sm-2 form-group">
180
+ <label class="font_normal_body">气表品牌</label>
181
+ <v-select :value.sync="model.f_meter_brand" multiple
182
+ v-model="model.f_meter_brand"
183
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
184
+ condition="f_meter_brand in {}"
185
+ close-on-select></v-select>
186
+ </div>
187
+
188
+ <div class="col-sm-2 form-group">
189
+ <label class="font_normal_body">收费状态</label>
190
+ <v-select :value.sync="model.f_state" multiple
191
+ v-model="model.f_state"
192
+ :options='$parent.$parent.charge_state' placeholder='请选择'
193
+ condition="f_state in {}"
194
+ close-on-select></v-select>
195
+ </div>
196
+ <div class="col-sm-2 form-group">
197
+ <label class="font_normal_body">银行名称</label>
198
+ <v-select :value.sync="model.f_bank_name"
199
+ v-model="model.f_bank_name"
200
+ :options='$parent.$parent.bank' placeholder='请选择'
201
+ condition="f_bank_name = '{}'"
202
+ close-on-select></v-select>
203
+ </div>
204
+ <div class="col-sm-2 form-group">
205
+ <label class="font_normal_body">是否优惠</label>
206
+ <v-select :value.sync="model.f_privilege_money"
207
+ v-model="model.f_privilege_money"
208
+ :options='$parent.$parent.privilege_money' placeholder='请选择'
209
+ condition="f_privilege_money {}"
210
+ close-on-select></v-select>
211
+ </div>
212
+ <div class="col-sm-2 form-group">
213
+ <label class="font_normal_body">收&ensp;据&ensp;号</label>
214
+ <input type="text" style="width:30%" class="input_search" title="大于等于"
215
+ v-model="model.f_bill_number_big" condition="f_bill_number >= {}" placeholder='大于等于'>
216
+ <input type="text" style="width:30%" class="input_search" title="小于等于"
217
+ v-model="model.f_bill_number_small" condition="f_bill_number <= {}" placeholder='小于等于'>
218
+ </div>
219
+ <div class="col-sm-2 form-group">
220
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
221
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
222
+ condition="f_serial_id = '{}'" placeholder='流水号'>
223
+ </div>
224
+ <div class="col-sm-2 form-group">
225
+ <label class="font_normal_body">发票号码</label>
226
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
227
+ condition="f_invoice_num = '{}'" placeholder='发票号码'>
228
+ </div>
229
+ <div class="col-sm-2 form-group">
230
+ <label class="font_normal_body" title="发票类型查询">发票类型</label>
231
+ <v-select :value.sync="model.f_invoice_type"
232
+ v-model="model.f_invoice_type"
233
+ :options='$parent.$parent.invoiceType' placeholder='请选择'
234
+ condition="f_invoice_type = '{}'"
235
+ close-on-select :value-single="true" :search="false">
236
+ </v-select>
237
+ </div>
238
+ <div class="col-sm-2 form-group">
239
+ <label class="font_normal_body">开&ensp;票&ensp;人</label>
240
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_invoiceuse_operator"
241
+ condition="f_invoiceuse_operator like '%{}%'" placeholder='开票人'>
242
+ </div>
243
+ <div class="col-sm-2 form-group">
244
+ <label for="startDate" class="font_normal_body">开票时间</label>
245
+ <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
246
+ v-model="model.invoice_startDate"
247
+ :value.sync="model.invoice_startDate"
248
+ :format="'yyyy-MM-dd'"
249
+ :show-reset-button="true"
250
+ condition="f_invoice_date >= '{}'">
251
+ </datepicker>
252
+ </div>
253
+ <div class="col-sm-2 form-group">
254
+ <label for="endDate" class="font_normal_body">开票时间</label>
255
+ <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
256
+ v-model="model.invoice_endDate"
257
+ :value.sync="model.invoice_endDate"
258
+ :format="'yyyy-MM-dd'"
259
+ :show-reset-button="true"
260
+ condition="f_invoice_date <= '{}'">
261
+ </datepicker>
262
+ </div>
263
+ <div class="col-sm-2 form-group">
264
+ <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
265
+ <v-select :value.sync="model.f_inputtor"
266
+ v-model="model.f_inputtor"
267
+ :options='$parent.$parent.inputtores' placeholder='请选择'
268
+ condition="f_inputtor = '{}'"
269
+ close-on-select :search="false">
270
+ </v-select>
271
+ </div>
272
+ <div class="col-sm-2 form-group">
273
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
274
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
275
+ :options='$parent.$parent.meterbooks' placeholder='抄表册'
276
+ style="width:60%"
277
+ close-on-select
278
+ condition="f_meter_book_num = '{}'"></v-select>
279
+ </div>
280
+ <div class="col-sm-2 form-group">
281
+ <label class="font_normal_body">写卡状态</label>
282
+ <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
283
+ :options='$parent.$parent.writecard' placeholder='写卡状态'
284
+ style="width:60%"
285
+ close-on-select
286
+ condition="f_write_card = '{}'"></v-select>
287
+ </div>
288
+ <div class="col-sm-2 form-group">
289
+ <label class="font_normal_body">街&ensp;&ensp;&ensp;&ensp;道</label>
290
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_street"
291
+ condition="f_street like '%{}%'" placeholder='街道'>
292
+ </div>
293
+ <div class="col-sm-2 form-group">
294
+ <label class="font_normal_body">数&ensp;据&ensp;包</label>
295
+ <v-select :value.sync="model.f_bluetooth_package" v-model="model.f_bluetooth_package"
296
+ :options='$parent.$parent.bluetoothpackage' placeholder='数据包状态'
297
+ style="width:60%"
298
+ close-on-select
299
+ condition="f_bluetooth_package = '{}'"></v-select>
300
+ </div>
301
+ <div class="col-sm-2 form-group">
302
+ <label class="font_normal_body">pos设备&nbsp;</label>
303
+ <v-select :value.sync="model.f_terminal_name" multiple
304
+ v-model="model.f_terminal_name"
305
+ :options='$parent.$parent.posEquipment' placeholder='请选择'
306
+ condition="f_operator in {}"
307
+ close-on-select></v-select>
308
+ </div>
309
+ </div>
310
+ </div>
311
+ </criteria>
312
+
313
+ <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
314
+ <template partial='head'>
315
+ <tr>
316
+ <th>
317
+ <nobr>收费编号</nobr>
318
+ </th>
319
+ <th>
320
+ <!-- <nobr>客户编号</nobr>-->
321
+ <data-order field="f_userinfo_code" name="客户编号"
322
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
323
+ </th>
324
+ <th><nobr>街道</nobr></th>
325
+ <th>
326
+ <nobr>客户名称</nobr>
327
+ </th>
328
+ <th>
329
+ <nobr>片区</nobr>
330
+ </th>
331
+ <th>
332
+ <!-- <nobr>客户地址</nobr>-->
333
+ <data-order field="f_address" name="客户地址"
334
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
335
+ </th>
336
+ <th>
337
+ <nobr>客户类型</nobr>
338
+ </th>
339
+ <th>
340
+ <nobr>用气性质</nobr>
341
+ </th>
342
+ <th>
343
+ <nobr>表号</nobr>
344
+ </th>
345
+ <th>
346
+ <nobr>气表品牌</nobr>
347
+ </th>
348
+ <th>
349
+ <nobr>卡号</nobr>
350
+ </th>
351
+ <th>
352
+ <nobr>购气次数</nobr>
353
+ </th>
354
+ <th>
355
+ <nobr>气量</nobr>
356
+ </th>
357
+ <th>
358
+ <nobr>金额</nobr>
359
+ </th>
360
+ <th>
361
+ <nobr>滞纳金</nobr>
362
+ </th>
363
+ <th>
364
+ <nobr>燃气费</nobr>
365
+ </th>
366
+ <th>
367
+ <nobr>清缴金额</nobr>
368
+ </th>
369
+ <th>
370
+ <nobr>预存金额</nobr>
371
+ </th>
372
+ <th>
373
+ <nobr>上期结余</nobr>
374
+ </th>
375
+ <th>
376
+ <nobr>收款</nobr>
377
+ </th>
378
+ <!--<th>-->
379
+ <!--&lt;!&ndash; <nobr>所属年月</nobr>&ndash;&gt;-->
380
+ <!--<data-order field="f_rest_date" name="所属年月"-->
381
+ <!--:order.sync="$parent.$parent.$parent.orderFields.f_rest_date"></data-order>-->
382
+
383
+ <!--</th>-->
384
+ <th>
385
+ <!-- <nobr>收费日期</nobr>-->
386
+ <data-order field="f_operate_date" name="收费日期"
387
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
388
+ </th>
389
+ <th>
390
+ <nobr>优惠金额</nobr>
391
+ </th>
392
+ <th>
393
+ <nobr>本期结余</nobr>
394
+ </th>
395
+ <th>
396
+ <nobr>付款方式</nobr>
397
+ </th>
398
+ <th>
399
+ <nobr>写卡状态</nobr>
400
+ </th>
401
+ <th>
402
+ <nobr>支付渠道</nobr>
403
+ </th>
404
+ <th>
405
+ <nobr>银行名称</nobr>
406
+ </th>
407
+ <th>
408
+ <nobr>收费类型</nobr>
409
+ </th>
410
+ <th>
411
+ <nobr>终端号</nobr>
412
+ </th>
413
+ <th>
414
+ <nobr>蓝牙数据包状态</nobr>
415
+ </th>
416
+ <th>
417
+ <nobr>状态</nobr>
418
+ </th>
419
+
420
+ <th>
421
+ <nobr>备注</nobr>
422
+ </th>
423
+ <th>
424
+ <nobr>补打次数</nobr>
425
+ </th>
426
+ <th>
427
+ <nobr>人员</nobr>
428
+ </th>
429
+ <th>
430
+ <nobr>部门</nobr>
431
+ </th>
432
+ <th>
433
+ <nobr>公司</nobr>
434
+ </th>
435
+ <th>
436
+ <nobr>流水号</nobr>
437
+ </th>
438
+ <th>
439
+ <nobr>收据号</nobr>
440
+ </th>
441
+ <th>
442
+ <nobr>业务单号</nobr>
443
+ </th>
444
+ <th>
445
+ <nobr>发票号码</nobr>
446
+ </th>
447
+ <th>
448
+ <nobr>发票类型</nobr>
449
+ </th>
450
+ <th>
451
+ <nobr>开票人</nobr>
452
+ </th>
453
+ <th>
454
+ <nobr>开票时间</nobr>
455
+ </th>
456
+ <th>
457
+ <nobr>累计写卡气量</nobr>
458
+ </th>
459
+ <th>
460
+ <nobr>实际写卡金额</nobr>
461
+ </th>
462
+ <th>
463
+ <nobr>冲正人</nobr>
464
+ </th>
465
+ <th>
466
+ <nobr>冲正时间</nobr>
467
+ </th>
468
+ <th>
469
+ <nobr>一阶气量</nobr>
470
+ </th>
471
+ <th>
472
+ <nobr>一阶单价</nobr>
473
+ </th>
474
+ <th>
475
+ <nobr>一阶气费</nobr>
476
+ </th>
477
+ <th>
478
+ <nobr>二阶气量</nobr>
479
+ </th>
480
+ <th>
481
+ <nobr>二阶单价</nobr>
482
+ </th>
483
+ <th>
484
+ <nobr>二阶气费</nobr>
485
+ </th>
486
+ <th>
487
+ <nobr>三阶气量</nobr>
488
+ </th>
489
+ <th>
490
+ <nobr>三阶单价</nobr>
491
+ </th>
492
+ <th>
493
+ <nobr>三阶气费</nobr>
494
+ </th>
495
+ <th><nobr>附件</nobr></th>
496
+ </tr>
497
+ </template>
498
+ <template partial='body'>
499
+ <td style="text-align: center;">
500
+ <nobr>{{row.id}}</nobr>
501
+ </td>
502
+ <td style="text-align: center;"><nobr>
503
+ <nobr>{{row.f_userinfo_code}}</nobr>
504
+ </nobr> </td>
505
+ <td style="text-align: center;">
506
+ <nobr>{{row.f_street}}</nobr>
507
+ </td>
508
+ <td style="text-align: center;">
509
+ <nobr>{{row.f_user_name}}</nobr>
510
+ </td>
511
+ <td style="text-align: center;">
512
+ <nobr>{{row.f_zones}}</nobr>
513
+ </td>
514
+ <td style="text-align: center;">
515
+ <nobr>{{row.f_address}}</nobr>
516
+ </td>
517
+ <td style="text-align: center;">
518
+ <nobr>{{row.f_user_type}}</nobr>
519
+ </td>
520
+ <td style="text-align: center;">
521
+ <nobr>{{row.f_gasproperties}}</nobr>
522
+ </td>
523
+ <td style="text-align: center;">
524
+ <nobr>{{row.f_meternumber}}</nobr>
525
+ </td>
526
+ <td style="text-align: center;">
527
+ <nobr>{{row.f_meter_brand}}</nobr>
528
+ </td>
529
+ <td style="text-align: center;">
530
+ <nobr>{{row.f_card_id}}</nobr>
531
+ </td>
532
+ <td style="text-align: center;">
533
+ <nobr>{{row.f_times}}</nobr>
534
+ </td>
535
+ <td style="text-align: center;">
536
+ <nobr>{{row.f_pregas}}</nobr>
537
+ </td>
538
+ <td style="text-align: center;">
539
+ <nobr>{{row.fee}}</nobr>
540
+ </td>
541
+ <td style="text-align: center;">
542
+ <nobr>{{row.f_delaypay}}</nobr>
543
+ </td>
544
+ <td style="text-align: center;">
545
+ <nobr>{{row.f_preamount}}</nobr>
546
+ </td>
547
+ <td style="text-align: center;">
548
+ <nobr>{{row.f_charge_money}}</nobr>
549
+ </td>
550
+ <td style="text-align: center;">
551
+ <nobr>{{row.f_yucun}}</nobr>
552
+ </td>
553
+ <td style="text-align: center;">
554
+ <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_balance_amount}}</nobr>
555
+ <nobr v-else>{{row.f_balance}}</nobr>
556
+ </td>
557
+ <td style="text-align: center;">
558
+ <nobr>{{row.f_collection}}</nobr>
559
+ </td>
560
+ <!--<td style="text-align: center;">-->
561
+ <!--<nobr>{{row.f_rest_date}}</nobr>-->
562
+ <!--</td>-->
563
+ <td style="text-align: center;">
564
+ <nobr>{{row.f_operate_date}}</nobr>
565
+ </td>
566
+ <td style="text-align: center;">
567
+ <nobr>{{row.f_privilege_money}}</nobr>
568
+ </td>
569
+
570
+
571
+ <td style="text-align: center;">
572
+ <nobr v-if="row.f_meter_type === '物联网表'">{{row.f_curbalance_amount}}</nobr>
573
+ <nobr v-else>{{row.f_curbalance}}</nobr>
574
+ </td>
575
+ <td style="text-align: center;">
576
+ <nobr>{{row.f_payment}}</nobr>
577
+ </td>
578
+ <td style="text-align: center;">
579
+ <nobr>{{row.f_write_card}}</nobr>
580
+ </td>
581
+ <td style="text-align: center;">
582
+ <nobr>{{row.f_bank_type}}</nobr>
583
+ </td>
584
+ <td style="text-align: center;">
585
+ <nobr>{{row.f_bank_name}}</nobr>
586
+ </td>
587
+ <td style="text-align: center;">
588
+ <nobr>{{row.f_type}}</nobr>
589
+ </td>
590
+ <td style="text-align: center;">
591
+ <nobr>{{row.f_terminal_num}}</nobr>
592
+ </td>
593
+ <td style="text-align: center;">
594
+ <nobr>{{row.f_bluetooth_package}}</nobr>
595
+ </td>
596
+ <td style="text-align: center;">
597
+ <nobr>{{row.f_state}}</nobr>
598
+ </td>
599
+
600
+ <td style="text-align: center;">
601
+ <nobr>{{row.f_comments}}</nobr>
602
+ </td>
603
+ <td style="text-align: center;">
604
+ <nobr>{{row.filltimes}}</nobr>
605
+ </td>
606
+ <td style="text-align: center;">
607
+ <nobr>{{row.f_operator}}</nobr>
608
+ </td>
609
+ <td style="text-align: center;">
610
+ <nobr>{{row.f_depname}}</nobr>
611
+ </td>
612
+ <td style="text-align: center;">
613
+ <nobr>{{row.f_orgname}}</nobr>
614
+ </td>
615
+ <td style="text-align: center;">
616
+ <nobr>{{row.f_serial_id}}</nobr>
617
+ </td>
618
+ <td style="text-align: center;">
619
+ <nobr>{{row.f_bill_number}}</nobr>
620
+ </td>
621
+ <td style="text-align: center;">
622
+ <nobr>{{row.f_serial_number}}</nobr>
623
+ </td>
624
+ <td style="text-align: center;">
625
+ <nobr>{{row.f_invoice_num}}</nobr>
626
+ </td>
627
+ <td style="text-align: center;">
628
+ <nobr>{{row.f_invoice_type}}</nobr>
629
+ </td>
630
+ <td style="text-align: center;">
631
+ <nobr>{{row.f_invoiceuse_operator}}</nobr>
632
+ </td>
633
+ <td style="text-align: center;">
634
+ <nobr>{{row.f_invoice_date}}</nobr>
635
+ </td>
636
+ <td style="text-align: center;">
637
+ <nobr>{{row.f_write_totalgas}}</nobr>
638
+ </td>
639
+ <td style="text-align: center;">
640
+ <nobr>{{row.f_write_money}}</nobr>
641
+ </td>
642
+ <td style="text-align: center;">
643
+ <nobr>{{row.f_corr_operator}}</nobr>
644
+ </td>
645
+ <td style="text-align: center;">
646
+ <nobr>{{row.f_corr_operate_date}}</nobr>
647
+ </td>
648
+ <td style="text-align: center;">
649
+ <nobr>{{row.f_stairamount1}}</nobr>
650
+ </td>
651
+ <td style="text-align: center;">
652
+ <nobr>{{row.f_stair1price}}</nobr>
653
+ </td>
654
+ <td style="text-align: center;">
655
+ <nobr>{{(row.f_stair1fee - 0).toFixed(2)}}</nobr>
656
+ </td>
657
+ <td style="text-align: center;">
658
+ <nobr>{{row.f_stair2amount}}</nobr>
659
+ </td>
660
+ <td style="text-align: center;">
661
+ <nobr>{{row.f_stair2price}}</nobr>
662
+ </td>
663
+ <td style="text-align: center;">
664
+ <nobr>{{(row.f_stair2fee - 0).toFixed(2)}}</nobr>
665
+ </td>
666
+ <td style="text-align: center;">
667
+ <nobr>{{row.f_stair3amount}}</nobr>
668
+ </td>
669
+ <td style="text-align: center;">
670
+ <nobr>{{row.f_stair3price}}</nobr>
671
+ </td>
672
+ <td style="text-align: center;">
673
+ <nobr>{{(row.f_stair3fee - 0).toFixed(2)}}</nobr>
674
+ </td>
675
+ <td style="text-align: center;"><nobr>
676
+ <button style=" height: 28px;line-height: 16px;" class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
677
+ </nobr></td>
678
+ </template>
679
+ <template partial='foot'></template>
680
+ </data-grid>
681
+ </criteria-paged>
682
+ <table class="table-hover">
683
+ <tr style="position: relative" class="table-bordered">
684
+ <td
685
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
686
+ 汇总信息
687
+ </td>
688
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
689
+ 气量合计:&emsp;{{sumsmodel.f_pregas}}
690
+ </td>
691
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
692
+ 应交金额合计:&emsp;{{sumsmodel.fee}}
693
+ </td>
694
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
695
+ 滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
696
+ </td>
697
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
698
+ 燃气费合计:&emsp;{{sumsmodel.f_preamount}}
699
+ </td>
700
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
701
+ 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
702
+ </td>
703
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
704
+ 收款合计:&emsp;{{sumsmodel.f_collection}}
705
+ </td>
706
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
707
+ 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
708
+ </td>
709
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
710
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
711
+ </td>
712
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
713
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
714
+ </td>
715
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
716
+ 二阶气量合计:&emsp;{{sumsmodel.f_stair2amount}}
717
+ </td>
718
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
719
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
720
+ </td>
721
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
722
+ 三阶气量合计:&emsp;{{sumsmodel.f_stair3amount}}
723
+ </td>
724
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
725
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
726
+ </td>
727
+ </tr>
728
+ </table>
729
+ </div>
730
+ <!--<div v-if="show">-->
731
+ <!--<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>-->
732
+ <!--</div>-->
733
+ </div>
734
+ <modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
735
+ <article slot="modal-body">
736
+ <upload :blodid="selected.f_userinfo_id" :businessid="selected.id" v-ref:upload isupload="false" takeimg="false" fusetype="%收费" :isremark="false" style="width:auto" ></upload>
737
+ </article>
738
+ <footer slot="modal-footer" class="modal-footer">
739
+ </footer>
740
+ </modal>
741
+ </div>
742
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
743
+ </template>
744
+
745
+ <script>
746
+ import {HttpResetClass, PagedList} from 'vue-client'
747
+ import exportConfig from '../config/exportConfig'
748
+ let cardBtnGen = async function (self, val) {
749
+ self.cardInfo = val.data
750
+
751
+ // 判断读卡是否需要卡密码
752
+ console.log('读卡上的信息', self.cardInfo)
753
+
754
+ if (self.cardInfo.NewParam) {
755
+ if (self.cardInfo.NewParam.error) {
756
+ if (self.cardInfo.NewParam.error === '0001') {
757
+ // 需要重新读卡并传卡密码
758
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
759
+ self.readCardParam = self.model.rows[0].f_card_password
760
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
761
+ } else {
762
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
763
+ return
764
+ }
765
+ }
766
+ }
767
+ }
768
+ self.card=self.cardInfo.CardID
769
+ self.search()
770
+ }
771
+ let readySomething = async function (self) {
772
+ //加载抄表册
773
+ self.initmeterbook();
774
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
775
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
776
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
777
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
778
+ // self.$refs.paged.$refs.cri.model.f_state=['有效'];
779
+ // self.$refs.paged.$refs.cri.search()
780
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
781
+ await self.$MagLoadParams.loadParam()
782
+ self.initParams()
783
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
784
+ }
785
+ export default {
786
+ props:['data'],
787
+ title: '收费查询',
788
+ data() {
789
+ return {
790
+ IdCardInfo:'',
791
+ card:'',
792
+ isSingleUser: null,
793
+ startDate1:'',
794
+ endDate1:'',
795
+ resshow:['company','department','operator','slicearea'],
796
+ other:[],
797
+
798
+ footer:[],
799
+ config: {
800
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount','f_operate_date']
801
+ },
802
+ //排序
803
+ orderitem:'f_operate_date desc',
804
+ orderFields: {
805
+ f_operate_date: 'no'
806
+ },
807
+ //f_price_name:[],
808
+ gasproperties:[],
809
+ showinfo: false,
810
+ data: {},
811
+ getstart:'',
812
+ show:false,
813
+ rowdata:{},
814
+ initres: {
815
+ org:[this.$login.f.orgid],
816
+ dep:[],
817
+ user:[]
818
+ },
819
+ model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
820
+ f_pregas: 0,
821
+ f_preamount: 0,
822
+ f_delaypay: 0,
823
+ fee:0,
824
+ f_yucun:0,
825
+ f_privilege_money: 0,
826
+ f_collection: 0,
827
+ f_stairamount1:0,
828
+ f_stair1fee:0,
829
+ f_stair2amount:0,
830
+ f_stair2fee:0,
831
+ f_stair3amount:0,
832
+ f_stair3fee:0,
833
+ }),
834
+ criteriaShow: false,
835
+ orgCondtionStr: '',
836
+ // 下拉框
837
+ meterbrands: [],
838
+ pricenames: [],
839
+ prices: [],
840
+ area: [],
841
+ //默认打印列
842
+ defaultfield: [],
843
+ //小区
844
+ residentialArea: [],
845
+ sumsmodel: {},
846
+ f_filialeid: this.$login.f.orgid,
847
+ wxstate:[
848
+ {label: '全部', value: ''},
849
+ {label: '已退款', value: `= '3'`},
850
+ {label: '未退款', value: `!= '3'`}
851
+ ],
852
+ privilege_money:[
853
+ {label: '全部', value: ''},
854
+ {label: '已优惠', value: '> 0'},
855
+ {label: '未优惠', value: '= 0'}
856
+ ],
857
+ showupload:false,
858
+ selected:{},
859
+ meterbooks:[{label: '全部',value: ''}], //抄表册
860
+ inputtores:[{label: '全部',value: ''}],
861
+ writecard:[{label: '全部',value: ''},{label: '已写卡',value: '已写卡'},{label: '未写卡',value: '未写卡'}],
862
+ bluetoothpackage:[{label: '全部',value: ''},{label: '发送成功',value: '发送成功'},{label: '执行成功',value: '执行成功'}],
863
+ allorgid:[],
864
+ tempfalg :false,
865
+ lastorgstr:'',
866
+ // pos设备列表
867
+ posEquipment: [{label: '全部',value: ''}],
868
+ showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
869
+ }
870
+ },
871
+ ready() {
872
+ this.$refs.paged.$refs.cri.model.f_state=['有效']
873
+ this.getaddress()
874
+ this.getEquipment()
875
+ //加载抄表册
876
+ this.$MagGetSaleParam.initinputtor();
877
+ this.getinputtores();
878
+ // this.initres.dep.push(this.$login.f.depids)
879
+ readySomething(this).then(() => {
880
+ this.$emit('ready')
881
+ }).catch((error) => {
882
+ this.$emit('error', error)
883
+ })
884
+ },
885
+ methods: {
886
+ pricetypechanged(){
887
+ this.$refs.paged.$refs.cri.model.f_price_name = []
888
+ },
889
+ // 获取设备下拉选
890
+ async getEquipment () {
891
+ let HttpReset = new HttpResetClass()
892
+ let param = {
893
+ items: 'f_terminal_name',
894
+ tablename: 't_equipment',
895
+ condition: `f_equipment_type = 'POS' and f_state = '正常' and f_orgid = '${this.$login.f.orgid}'`,
896
+ orderitem: 'id'
897
+ }
898
+ var data = await HttpReset.load('POST', 'rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
899
+ for (let row of data.data) {
900
+ this.posEquipment.push({label: row.f_terminal_name, value: row.f_terminal_name})
901
+ }
902
+ },
903
+ ReadIDCard(){
904
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
905
+ console.log('======',msg)
906
+ if(msg.err !== 0){ return}
907
+ this.IdCardInfo=msg.strID
908
+ })
909
+ if(this.IdCardInfo) {
910
+ this.search()
911
+ }else{
912
+ alert("读取失败,找不到用户信息")
913
+ }
914
+ },
915
+ cardBtn (val) {
916
+ // this.clear()
917
+ cardBtnGen(this, val)
918
+ },
919
+ async initmeterbook(orgstr){
920
+ if(orgstr == null ){
921
+ orgstr = this.f_filialeid;
922
+ }
923
+ //获取新的抄表册,先去清理所有的抄表册
924
+ this.$GetSaleParam.meterbooks = [];
925
+ //开始加载新的抄表册
926
+ await this.$LoadParams.loadMeterBook(orgstr)
927
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
928
+ },
929
+ async getinputtores () {
930
+ // 获取抄表员
931
+ let rs = []
932
+ if (this.$login.f.f_gasman.length > 0) {
933
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
934
+ let temp = {
935
+ label: this.$login.f.f_gasman[i].name,
936
+ value: this.$login.f.f_gasman[i].name
937
+ }
938
+ rs.push(temp)
939
+ }
940
+ }
941
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
942
+ },
943
+ //显示附件
944
+ view(row){
945
+ this.showupload = true
946
+ this.selected= row
947
+ },
948
+ getotherfooter () {
949
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
950
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
951
+ this.other = [];
952
+ this.footer = [];
953
+ let exportdata = this.getCondition;
954
+ let otherInData = [];
955
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
956
+ let footerData = [], exportfield = this.getfield;
957
+ footerData.push("合计");
958
+ let self = this;
959
+ for (var field in self.sumsmodel) {
960
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
961
+ }
962
+ this.footer.push(footerData);
963
+ this.other.push(otherInData);
964
+ },
965
+ async getaddress(){
966
+ let HttpReset = new HttpResetClass()
967
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
968
+ data: {
969
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
970
+ }
971
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
972
+ console.log('小区',data)
973
+ let house = [{label: '全部', value: ''}]
974
+ for (let row of data.data){
975
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
976
+ }
977
+ this.residentialArea = house
978
+ },
979
+ //把数据库查询数据转换为下拉数据
980
+ calculate(rows){
981
+ let data = []
982
+ rows.forEach((row, n) => {
983
+ data[n] = {label: row.f_residential_area, value: row.id}
984
+ })
985
+ return data
986
+ },
987
+
988
+ search(){
989
+
990
+ this.$refs.paged.$refs.cri.search()
991
+ },
992
+ cancel() {
993
+ this.show = false
994
+ },
995
+ showmsg(obj){
996
+ this.rowdata=obj
997
+ this.show=true
998
+ },
999
+ userTypeChange () {
1000
+ this.gasproperties=[]
1001
+ if(this.$refs.paged.$refs.cri.model !==null) {
1002
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
1003
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1004
+ }
1005
+ else{
1006
+ this.gasproperties =[{label: '全部', value: ''}]
1007
+ }
1008
+ },
1009
+ initParams() {
1010
+ // 初始化气表品牌
1011
+ let brandArr = []
1012
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
1013
+ let temp = {}
1014
+ temp.label = item.label
1015
+ temp.value = item.value.f_meter_brand
1016
+ brandArr.push(temp)
1017
+ })
1018
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
1019
+ //初始化气表价格
1020
+ this.prices = this.$MagGetSaleParam.getPrices();
1021
+ },
1022
+ selfSearch(args) {
1023
+ if (this.data) {
1024
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
1025
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
1026
+ }
1027
+
1028
+ let f_orgstr = this.orgCondtionStr
1029
+ args.condition = `${args.condition} ` + f_orgstr
1030
+ if(this.card!=''){
1031
+ args.condition+=` and f_card_id='${this.card}'`
1032
+ }
1033
+ if(this.IdCardInfo!=''){
1034
+ args.condition +=` and f_idnumber='${this.IdCardInfo}'`
1035
+ }
1036
+ this.model.search(args.condition, args.model)
1037
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1038
+ this.card=''
1039
+ this.IdCardInfo=''
1040
+ },
1041
+ clear() {
1042
+ //清空部门和人员
1043
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
1044
+ //部门和人员变为全选
1045
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
1046
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
1047
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1048
+ this.$refs.paged.$refs.cri.model[key] = []
1049
+ })
1050
+
1051
+ },
1052
+ dealmsg(val,startDate,endDate) {
1053
+ val.model = this.model.model
1054
+ startDate=this.startDate1
1055
+ endDate=this.endDate1
1056
+ this.$dispatch('deal-msg', val,startDate,endDate)
1057
+ },
1058
+ show() {
1059
+ this.criteriaShow = true
1060
+ },
1061
+ hidden() {
1062
+ this.criteriaShow = !this.criteriaShow
1063
+ },
1064
+ async getRes(condition,obj) {
1065
+ this.orgCondtionStr = condition
1066
+ this.orgname = obj.orgnames[0]
1067
+ this.depname = obj.depnames[0]
1068
+
1069
+
1070
+ },
1071
+ async updateParams() {
1072
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
1073
+ this.inputtores = [];
1074
+ this.inputtores.push({label: "全部", value: ""})
1075
+ if(this.allorgid!=null){
1076
+ this.allorgid.forEach((res)=>{
1077
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1078
+ })
1079
+ }
1080
+ this.initParams()
1081
+ },
1082
+ sort (field, rule) {
1083
+ // 将所有排序方式设为不排序,实现相互排斥
1084
+ for (let key in this.orderFields) {
1085
+ if (key === field) {
1086
+ this.orderFields[key] = rule
1087
+ } else {
1088
+ this.orderFields[key] = 'no'
1089
+ }
1090
+ }
1091
+ // 如果新规则不排序,还原为默认排序
1092
+ if (rule === 'no') {
1093
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
1094
+ } else {
1095
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
1096
+ }
1097
+
1098
+ this.search()
1099
+ }
1100
+
1101
+ },
1102
+ events:{
1103
+ 'getidcard'(IdCard){
1104
+ // console.log(param)
1105
+ this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
1106
+ }
1107
+ },
1108
+ watch: {
1109
+ 'model.rows'(val) {
1110
+ //如果有合计 这里为true, 其他为false ,反正相反
1111
+ this.showbottomsum=true;
1112
+ if(val.length === 0){
1113
+ this.sumsmodel = {}
1114
+ this.showbottomsum=false;
1115
+ }
1116
+ },
1117
+ 'model.rows.length' () {
1118
+ this.isSingleUser = this.model.rows
1119
+ },
1120
+ async 'orgCondtionStr'(val) {
1121
+ //更新抄表册
1122
+ this.$refs.paged.$refs.cri.model.f_inputtor=[]
1123
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
1124
+ this.meterbooks = [{label: '全部',value: ''}];
1125
+ if(this.lastorgstr != val){
1126
+ this.tempfalg = true;
1127
+ this.lastorgstr = val;
1128
+ }
1129
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
1130
+ this.tempfalg = false;
1131
+ let a = val.substring(val.indexOf("(")+2)
1132
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
1133
+ }
1134
+ let res = val.match(/'(.*?)'/)
1135
+ console.log('正则提取:',res && res[1])
1136
+ if (res) {
1137
+ this.f_filialeid = res[1]
1138
+ if(res.input !=null){
1139
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1140
+ if(resorgid!= null && resorgid!=''){
1141
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1142
+ // resorgid = resorgid.replaceAll("'","");
1143
+ resorgid = resorgid.replace(/'/g,"");
1144
+ this.allorgid = resorgid.split(",")
1145
+ }
1146
+ }
1147
+ this.updateParams()
1148
+ }
1149
+ },
1150
+ sumsmodel:{
1151
+ handler: function(val) {
1152
+ this.getotherfooter();
1153
+ },
1154
+ deep: true
1155
+ }
1156
+ },
1157
+ computed: {
1158
+ getstart(){
1159
+ return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
1160
+ },
1161
+ chooserow(){
1162
+ let aaa= true
1163
+ if(this.$login.r && this.$login.r.includes('打印项选择')){
1164
+ aaa = false
1165
+ }
1166
+ return aaa
1167
+ },
1168
+ getPricenames() {
1169
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
1170
+ let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
1171
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
1172
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
1173
+ if(this.$refs.paged.$refs.cri.model !==null) {
1174
+ let rs = []
1175
+ let priceArr = []
1176
+ if ( pricetype.length >0) {
1177
+ let params = {
1178
+ f_price_type: pricetype[0],
1179
+ filter: this.f_filialeid,
1180
+ prices: this.prices
1181
+ }
1182
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
1183
+ let temp = {}
1184
+ temp.label = item.label
1185
+ temp.value = item.value.f_price_name
1186
+ priceArr.push(temp)
1187
+ })
1188
+ if(priceArr.length == 0 ){
1189
+ rs= [{label: '全部', value: ''}]
1190
+ }else{
1191
+ rs = [ ...priceArr]
1192
+ }
1193
+ }
1194
+ if (rs.length === 0) {
1195
+ console.log('rs读出来是空')
1196
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
1197
+ }
1198
+ return rs
1199
+ }
1200
+ },
1201
+ getCondition() {
1202
+ return {
1203
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
1204
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
1205
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
1206
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
1207
+ }
1208
+ },
1209
+ getfield() {
1210
+ return exportConfig.chargeConfig
1211
+ },
1212
+ defaultexport() {
1213
+ return exportConfig.chargeexportConfig
1214
+ },
1215
+ pricetypes() {
1216
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1217
+ },
1218
+
1219
+ invoiceType() {
1220
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
1221
+ },
1222
+ usertypes() {
1223
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
1224
+ },
1225
+ metertypes() {
1226
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1227
+ },
1228
+
1229
+ tablestate() {
1230
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表状态')]
1231
+ },
1232
+ chargetype() {
1233
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
1234
+ },
1235
+ payment() {
1236
+ return [...this.$appdata.getParam('付款方式查询')]
1237
+ },
1238
+ banktype() {
1239
+ return [...this.$appdata.getParam('支付渠道查询')]
1240
+ },
1241
+ charge_state() {
1242
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
1243
+ },
1244
+ bank(){
1245
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
1246
+ }
1247
+ }
1248
+ }
1249
+ </script>
1250
+ <style scoped>
1251
+ .showbottom{
1252
+ height:95%
1253
+ }
1254
+ </style>