manage-client 3.2.9 → 3.2.13

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