manage-client 3.2.87-aode → 3.2.87-aodeToV4
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.
- package/.classpath +6 -6
- package/.eslintrc.js +16 -16
- package/.project +18 -18
- package/CHANGELOG.md +13 -13
- package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
- package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
- package/ManageClient.iml +12 -12
- package/build/dev-server.js +193 -193
- package/build/webpack.base.conf.js +80 -80
- package/build.gradle +13 -13
- package/config/index.js +38 -38
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +234 -234
- package/gradlew.bat +89 -89
- package/package.json +101 -101
- package/src/App.vue +28 -28
- package/src/ManageHome.js +269 -269
- package/src/Staff/StaffCompileList.vue +334 -334
- package/src/Staff/StaffList.vue +161 -161
- package/src/Util.js +383 -383
- package/src/components/ManageHome/Drill/DrillList.vue +320 -320
- package/src/components/ManageHome/Home/CallCenter.vue +124 -124
- package/src/components/ManageHome/Home/Monitor.vue +329 -329
- package/src/components/ManageHome/Home/UserModule.vue +367 -367
- package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHome/Monitor/NoContact.vue +232 -232
- package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
- package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
- package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
- package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +116 -116
- package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +115 -115
- package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +195 -195
- package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +177 -177
- package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +173 -173
- package/src/components/ManageHomeCS/Drill/DrillData.vue +792 -792
- package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
- package/src/components/ManageHomeCS/Home/CallCenter.vue +191 -191
- package/src/components/ManageHomeCS/Home/GasValue.vue +377 -377
- package/src/components/ManageHomeCS/Home/Home.vue +55 -55
- package/src/components/ManageHomeCS/Home/Monitor.vue +415 -415
- package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
- package/src/components/ManageHomeCS/Home/SafeCheck.vue +443 -443
- package/src/components/ManageHomeCS/Home/UserModule.vue +527 -527
- package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHomeCS/ManageHome.vue +149 -149
- package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
- package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +264 -264
- package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +221 -221
- package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +136 -136
- package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +233 -233
- package/src/components/ManageHomeCS/Monitor/NoContact.vue +246 -246
- package/src/components/ManageHomeCS/Monitor/NoGas.vue +212 -212
- package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
- package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHomeCS/NetWork/NetHome.vue +108 -108
- package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
- package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
- package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +64 -64
- package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +340 -340
- package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +206 -206
- package/src/components/ManageHomeCS/NewHome/TextProfit.vue +275 -275
- package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +79 -79
- package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
- package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +403 -403
- package/src/components/ManageHomeCS/NewHome/TextUser.vue +298 -298
- package/src/components/ManageHomeCS/NewHome/shanxi.vue +437 -437
- package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
- package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +263 -263
- package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
- package/src/components/ManageHomeCS/User/GasDistri.vue +343 -343
- package/src/components/ManageHomeCS/User/InspecDistri.vue +348 -348
- package/src/components/ManageHomeCS/User/SaleProportion.vue +336 -336
- package/src/components/ManageHomeCS/User/UseHome.vue +154 -154
- package/src/components/ManageHomeCS/User/UserGascontrast.vue +224 -224
- package/src/components/ManageHomeCS/User/UserNumber.vue +599 -599
- package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
- package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
- package/src/components/MeterManage/ChargeQuery.vue +79 -79
- package/src/components/MeterManage/FillCardQuery.vue +80 -80
- package/src/components/MeterManage/FillGasQuery.vue +80 -80
- package/src/components/MeterManage/HandQuery.vue +72 -72
- package/src/components/MeterManage/MeterList.vue +336 -336
- package/src/components/MeterManage/MeterMsg.vue +181 -181
- package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
- package/src/components/MeterManage/ReversalQuery.vue +77 -77
- package/src/components/MeterManage/TransferQuery.vue +72 -72
- package/src/components/SellReport/BankManager.vue +146 -146
- package/src/components/SellReport/BonSummary.vue +182 -182
- package/src/components/SellReport/BusSummary.vue +238 -238
- package/src/components/SellReport/ChargeBill.vue +186 -186
- package/src/components/SellReport/CollectFee.vue +184 -184
- package/src/components/SellReport/Contrast.vue +188 -188
- package/src/components/SellReport/FenxiangSell.vue +183 -183
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/GasPrice.vue +183 -183
- package/src/components/SellReport/GaspriceHas.vue +141 -141
- package/src/components/SellReport/GetSummary.vue +186 -186
- package/src/components/SellReport/GetUserNum.vue +166 -166
- package/src/components/SellReport/HandCollect.vue +189 -189
- package/src/components/SellReport/HandplanBili.vue +73 -73
- package/src/components/SellReport/JinChengBusSummary.vue +182 -182
- package/src/components/SellReport/JinChengHandGas.vue +182 -182
- package/src/components/SellReport/JinChengOperSummary.vue +182 -182
- package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
- package/src/components/SellReport/ManageBusSummary.vue +241 -241
- package/src/components/SellReport/ManageGasPrice.vue +183 -183
- package/src/components/SellReport/ManageHandInputtor.vue +241 -241
- package/src/components/SellReport/ManageMonthGas.vue +181 -181
- package/src/components/SellReport/ManageNewGasPrice.vue +240 -240
- package/src/components/SellReport/ManageSellType.vue +183 -183
- package/src/components/SellReport/ManageUserCollect.vue +177 -177
- package/src/components/SellReport/MeterBill.vue +185 -185
- package/src/components/SellReport/MeterInput.vue +185 -185
- package/src/components/SellReport/MeterReader.vue +203 -203
- package/src/components/SellReport/OweAging.vue +174 -174
- package/src/components/SellReport/QTXManageBusSummary.vue +234 -234
- package/src/components/SellReport/RefundQuery.vue +237 -237
- package/src/components/SellReport/ReportHistory.vue +80 -80
- package/src/components/SellReport/ReportItems.vue +39 -39
- package/src/components/SellReport/ReportPool.vue +40 -40
- package/src/components/SellReport/Selling.vue +188 -188
- package/src/components/SellReport/SiteManager.vue +151 -151
- package/src/components/SellReport/UsertypePie.vue +99 -99
- package/src/components/SellReport/VolumeStatistics.vue +226 -226
- package/src/components/SellReport/YuShou.vue +185 -185
- package/src/components/SellReport/getWebReport.vue +181 -181
- package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
- package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
- package/src/components/SellReport/jingwei/PaymentNotice.vue +316 -316
- package/src/components/SellReport/jingwei/handplanReport.vue +225 -225
- package/src/components/TelReport/TrafficAssess.vue +99 -99
- package/src/components/TelReport/TrafficBasic.vue +117 -117
- package/src/components/TelReport/ZhiHuanservice.vue +147 -147
- package/src/components/WebReport/AbnormalInfo.vue +197 -197
- package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
- package/src/components/WebReport/BatteryLow.vue +148 -148
- package/src/components/WebReport/BussinessType.vue +140 -140
- package/src/components/WebReport/Communication.vue +131 -131
- package/src/components/WebReport/EchartsBox.vue +110 -110
- package/src/components/WebReport/ElectroMagnetic.vue +142 -142
- package/src/components/WebReport/GaspriceHas.vue +141 -141
- package/src/components/WebReport/HandplanPrint.vue +167 -167
- package/src/components/WebReport/NotUpload.vue +165 -165
- package/src/components/WebReport/OweQuery.vue +169 -169
- package/src/components/WebReport/Paymentpie.vue +160 -160
- package/src/components/WebReport/ReportWorklist.vue +220 -220
- package/src/components/WebReport/SellType.vue +89 -89
- package/src/components/WebReport/Telemanlist.vue +221 -221
- package/src/components/WebReport/UserGasAll.vue +214 -214
- package/src/components/WebReport/UserGasEcharts.vue +107 -107
- package/src/components/WebReport/UsertypePie.vue +105 -105
- package/src/components/WebReport/ValueEcharts.vue +99 -99
- package/src/components/WebReport/ValueInfo.vue +194 -194
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
- package/src/components/sale/businessquery/BusinessManage.vue +109 -109
- package/src/components/sale/businessquery/CancelChargeQuery.vue +650 -650
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
- package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
- package/src/components/sale/businessquery/DeductionGas.vue +149 -149
- package/src/components/sale/businessquery/DisableQuery.vue +315 -315
- package/src/components/sale/businessquery/EnableQuery.vue +315 -315
- package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
- package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
- package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
- package/src/components/sale/businessquery/InspectListGas.vue +456 -456
- package/src/components/sale/businessquery/InspectListUser.vue +366 -366
- package/src/components/sale/businessquery/InspectManage.vue +37 -37
- package/src/components/sale/businessquery/NewAccountQuery.vue +511 -511
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +70 -70
- package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
- package/src/components/sale/businessquery/QueryUserState.vue +313 -313
- package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
- package/src/components/sale/businessquery/SellingHand.vue +340 -340
- package/src/components/sale/businessquery/TransferQuery.vue +363 -363
- package/src/components/sale/businessquery/errorHandplanQuery.vue +246 -246
- package/src/components/sale/businessquery/ncpushQuery.vue +304 -304
- package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
- package/src/components/sale/common/TabButton.vue +149 -149
- package/src/components/sale/common/Tabs.vue +67 -67
- package/src/components/sale/config/exportConfig.js +271 -271
- package/src/components/sale/filesquery/ArchivesManage.vue +35 -35
- package/src/components/sale/filesquery/ChangeUserQuery.vue +396 -396
- package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
- package/src/components/sale/filesquery/MeterQuery.vue +613 -613
- package/src/components/sale/filesquery/UserQuery.vue +556 -556
- package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
- package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
- package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
- package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
- package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
- package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
- package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
- package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
- package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
- package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
- package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
- package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
- package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
- package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
- package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
- package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
- package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
- package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
- package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
- package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
- package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
- package/src/components/sale/ncpush/ncpushmanage/NCpushManage.vue +50 -50
- package/src/components/sale/ncpush/ncpushmanage/NCpushSummary.vue +110 -110
- package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +252 -252
- package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +166 -166
- package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
- package/src/components/sale/ncpush/pushconfirmManage.vue +271 -271
- package/src/components/sale/ncpush/pushconfirmadd.vue +420 -420
- package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
- package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
- package/src/components/sale/report/aode/DayReport.vue +50 -50
- package/src/components/sale/report/aode/DayReportList.vue +553 -553
- package/src/components/sale/report/aode/DayReportSummary.vue +112 -112
- package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
- package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
- package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
- package/src/components/sale/report/aode/YearByUserType.vue +351 -351
- package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
- package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -387
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +324 -324
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +487 -487
- package/src/components/sale/report/aode/life/LifeYearReport.vue +216 -216
- package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -50
- package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +414 -414
- package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -240
- package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +68 -68
- package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
- package/src/components/sale/report/aode/widget/DayReportListPrint.vue +310 -310
- package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +233 -233
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +170 -170
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +160 -160
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +246 -246
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
- package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
- package/src/components/webmeter/ArreasuserQuery.vue +193 -193
- package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +159 -159
- package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
- package/src/components/webmeter/DrillData/NewUserGasAll.vue +592 -592
- package/src/components/webmeter/DrillData/UserGasAll.vue +538 -538
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +209 -209
- package/src/components/webmeter/DrillData/UserGasEform.vue +226 -226
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +527 -527
- package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
- package/src/components/webmeter/IOTArrears/arrears.vue +325 -325
- package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +378 -378
- package/src/components/webmeter/IOTArrears/valueConfig.js +14 -14
- package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
- package/src/components/webmeter/OperatorCount.vue +189 -189
- package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
- package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
- package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
- package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
- package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
- package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
- package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
- package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +712 -712
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
- package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +324 -324
- package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -245
- package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +258 -258
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
- package/src/components/webmeter/report/ReportList.vue +211 -211
- package/src/index.js +9 -9
- package/src/main.js +56 -56
- package/src/newmanage.js +288 -288
- package/src/plugins/GetLoginInfoService.js +505 -505
- package/src/plugins/LodopFuncs.js +124 -124
- package/src/reportManage.js +208 -208
- package/src/saleManage.js +263 -263
- package/src/stores/DataSql.js +585 -585
- package/src/stores/DrillECharts.js +601 -601
- package/src/stores/DrillSql.js +675 -675
- package/src/stores/MagGetSaleParams.js +138 -138
- package/src/stores/MagLoadParams.js +63 -63
- package/src/webmeterManage.js +99 -99
- package/yarn-error.log +7394 -7394
|
@@ -1,310 +1,310 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<button class="button_export button_spacing" @click="stamp()">打印</button>
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
|
-
<script>
|
|
6
|
-
import getLodop from '../../../../../plugins/LodopFuncs'
|
|
7
|
-
import {PagedList} from "vue-client";
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
name: "DayReportListPrint",
|
|
11
|
-
title: '日报表打印',
|
|
12
|
-
props: {
|
|
13
|
-
countmodel:{
|
|
14
|
-
type:Object,
|
|
15
|
-
default:{}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
data() {
|
|
19
|
-
return {
|
|
20
|
-
modelval: [],
|
|
21
|
-
fields: {},
|
|
22
|
-
thead: '',
|
|
23
|
-
tfoot: '',
|
|
24
|
-
model:{},
|
|
25
|
-
sumsmodel:{},
|
|
26
|
-
orgname: '',
|
|
27
|
-
depname: '0'
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
methods: {
|
|
31
|
-
async stamp() {
|
|
32
|
-
this.model = this.countmodel.model,
|
|
33
|
-
this.sumsmodel = this.countmodel.sumsmodel,
|
|
34
|
-
this.orgname = this.countmodel.orgname,
|
|
35
|
-
this.depname = this.countmodel.depname
|
|
36
|
-
// 验证,必须选择用气性质
|
|
37
|
-
if (this.model.model.f_gasproperties.length == 0 || this.model.model.f_gasproperties[0]=='') {
|
|
38
|
-
this.$showAlert('请选择用气性质条件,点击查询之后再进行打印!!', 'warning', 3000)
|
|
39
|
-
return
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
//默认选择要打印的列
|
|
43
|
-
this.modelval = [
|
|
44
|
-
"f_userinfo_code",
|
|
45
|
-
"f_user_name",
|
|
46
|
-
"f_state",
|
|
47
|
-
"f_type",
|
|
48
|
-
"f_pregas",
|
|
49
|
-
"f_preamount",
|
|
50
|
-
"f_stair1amount",
|
|
51
|
-
"f_stair1price",
|
|
52
|
-
"f_stair2amount",
|
|
53
|
-
"f_stair2price",
|
|
54
|
-
"f_stair3amount",
|
|
55
|
-
"f_stair3price",
|
|
56
|
-
"f_collection",
|
|
57
|
-
"f_payment",
|
|
58
|
-
"f_operator",
|
|
59
|
-
"f_comments"
|
|
60
|
-
];
|
|
61
|
-
this.fields = {
|
|
62
|
-
"f_userinfo_code": "客户编号",
|
|
63
|
-
"f_user_name": "客户姓名",
|
|
64
|
-
"f_state":"操作状态",
|
|
65
|
-
"f_operate_date": "充值时间",
|
|
66
|
-
"f_stair1amount": "1气量",
|
|
67
|
-
"f_stair1price": "1单价",
|
|
68
|
-
"f_stair2amount": "2气量",
|
|
69
|
-
"f_stair2price": "2单价",
|
|
70
|
-
"f_stair3amount": "3气量",
|
|
71
|
-
"f_stair3price": "3单价",
|
|
72
|
-
"f_pregas": "气量",
|
|
73
|
-
"f_preamount": "应收金额",
|
|
74
|
-
"f_collection": "实收金额",
|
|
75
|
-
"f_balance": "上期结余",
|
|
76
|
-
"f_curbalance": "本期结余",
|
|
77
|
-
"f_payment": "付款方式",
|
|
78
|
-
"f_type": "收费类型",
|
|
79
|
-
"f_operator": "操作员",
|
|
80
|
-
"f_user_type": "用户类型",
|
|
81
|
-
"f_comments": "备注"
|
|
82
|
-
};
|
|
83
|
-
this.put();
|
|
84
|
-
await this.print();
|
|
85
|
-
this.clear();
|
|
86
|
-
},
|
|
87
|
-
clear(){
|
|
88
|
-
this.model={};
|
|
89
|
-
this.sumsmodel={};
|
|
90
|
-
this.orgname= '';
|
|
91
|
-
this.depname= 0;
|
|
92
|
-
},
|
|
93
|
-
put() {
|
|
94
|
-
this.thead = `
|
|
95
|
-
<tr>
|
|
96
|
-
<th class="biaoti" colspan=${this.modelval.length} style="font-size: 6mm">
|
|
97
|
-
${this.orgname}${this.depname ? this.depname : ''}统计报表 ${this.model.model.f_gasproperties ? this.model.model.f_gasproperties : ''}
|
|
98
|
-
${this.model.model.f_type ? this.model.model.f_type : ''}
|
|
99
|
-
</th>
|
|
100
|
-
</tr>
|
|
101
|
-
<tr>
|
|
102
|
-
<th class="biaoti" colspan=${this.modelval.length}>统计日期:${this.model.model.f_startDate} ~ ${this.model.model.f_endDate}</th></tr>
|
|
103
|
-
<tr>
|
|
104
|
-
<tr>
|
|
105
|
-
<th class="biaoti" colspan=${this.modelval.length}>制单人:${this.$login.f.name} 打印时间: ${this.$login.toStandardTimeString()}</th></tr>
|
|
106
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
107
|
-
<th colspan=${this.modelval.length}>
|
|
108
|
-
<span>发卡人次: ${this.sumsmodel.f_count_open}</span>
|
|
109
|
-
<span>再购人次: ${this.sumsmodel.f_count_zg}</span>
|
|
110
|
-
<span>补气人次: ${this.sumsmodel.f_count_bq}</span>
|
|
111
|
-
<span>补卡人次: ${this.sumsmodel.f_count_bk}</span>
|
|
112
|
-
<span>换表人次: ${this.sumsmodel.f_count_hb}</span>
|
|
113
|
-
<span>冲正人次: ${this.sumsmodel.f_count_cz}</span>
|
|
114
|
-
<span>业务人次: ${this.sumsmodel.f_sum_count}</span>
|
|
115
|
-
</th>
|
|
116
|
-
</tr>
|
|
117
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
118
|
-
<th colspan=${this.modelval.length}>
|
|
119
|
-
<span>发卡气量: ${this.sumsmodel.f_pregas_open}</span>
|
|
120
|
-
<span>再购气量: ${this.sumsmodel.f_pregas_zg}</span>
|
|
121
|
-
<span>补气气量: ${this.sumsmodel.f_pregas_bq}</span>
|
|
122
|
-
<span>补卡气量: ${this.sumsmodel.f_pregas_bk}</span>
|
|
123
|
-
<span>换表气量: ${this.sumsmodel.f_pregas_hb}</span>
|
|
124
|
-
<span>冲正气量: ${this.sumsmodel.f_pregas_cz}</span>
|
|
125
|
-
<span>业务气量: ${this.sumsmodel.f_shouru_gas}</span>
|
|
126
|
-
</th>
|
|
127
|
-
</tr>
|
|
128
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
129
|
-
<th colspan=${this.modelval.length}>
|
|
130
|
-
<span>发卡金额: ${this.sumsmodel.f_collection_open}</span>
|
|
131
|
-
<span>再购金额: ${this.sumsmodel.f_collection_zg}</span>
|
|
132
|
-
<span>补气金额: ${this.sumsmodel.f_collection_bq}</span>
|
|
133
|
-
<span>补卡金额: ${this.sumsmodel.f_collection_bk}</span>
|
|
134
|
-
<span>换表金额: ${this.sumsmodel.f_collection_hb}</span>
|
|
135
|
-
<span>冲正金额: ${this.sumsmodel.f_collection_cz}</span>
|
|
136
|
-
<span>实收金额: ${this.sumsmodel.f_shouru_fee}</span>
|
|
137
|
-
</th>
|
|
138
|
-
</tr>
|
|
139
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
140
|
-
<th colspan=${this.modelval.length}>
|
|
141
|
-
<span>应收金额: ${this.sumsmodel.f_yingshou_fee}</span>
|
|
142
|
-
<span>本期新增结余: ${this.sumsmodel.f_benqi_fee}</span>
|
|
143
|
-
<span>本期使用结余: ${this.sumsmodel.f_usebenqi_fee}</span>
|
|
144
|
-
<span>柜台微信: ${this.sumsmodel.f_sumgtwx}</span>
|
|
145
|
-
<span>财务收款: ${this.sumsmodel.f_sumcwsf}</span>
|
|
146
|
-
<span>现金缴费: ${this.sumsmodel.f_sumxjjf}</span>
|
|
147
|
-
<span>柜台支付宝: ${this.sumsmodel.f_sumzfb}</span>
|
|
148
|
-
</th>
|
|
149
|
-
</tr>
|
|
150
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
151
|
-
<th colspan=${this.modelval.length}>
|
|
152
|
-
<span>pos: ${this.sumsmodel.f_sumpos}</span>
|
|
153
|
-
<span>销售气票: ${this.sumsmodel.f_sumqp}</span>
|
|
154
|
-
<span>银行码收款: ${this.sumsmodel.f_sumyysk}</span>
|
|
155
|
-
<span>降价补气:${this.sumsmodel.f_sumjjbq}</span>
|
|
156
|
-
<span>煤改气补贴款:${this.sumsmodel.f_sumbtk}</span>
|
|
157
|
-
<span>涨价补费人次: ${this.sumsmodel.f_count_zjbf}</span>
|
|
158
|
-
<span>涨价补费金额: ${this.sumsmodel.f_collection_zjbf}</span>
|
|
159
|
-
</th>
|
|
160
|
-
</tr>
|
|
161
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
162
|
-
<th colspan=${this.modelval.length}>
|
|
163
|
-
<span>物联网补费人次:${this.sumsmodel.f_count_iotbf}</span>
|
|
164
|
-
<span>物联网补费金额:${this.sumsmodel.f_collection_iotbf}</span>
|
|
165
|
-
<span>物联网扣费人次:${this.sumsmodel.f_count_iotkf}</span>
|
|
166
|
-
<span>物联网扣费金额:${this.sumsmodel.f_collection_iotkf}</span>
|
|
167
|
-
<span>预收款人次: ${this.sumsmodel.f_count_ysk}</span>
|
|
168
|
-
<span>预收款费金额: ${this.sumsmodel.f_collection_ysk}</span>
|
|
169
|
-
<span></span>
|
|
170
|
-
</th>
|
|
171
|
-
</tr>
|
|
172
|
-
`
|
|
173
|
-
this.thead += '<tr>';
|
|
174
|
-
for (let key of this.modelval) {
|
|
175
|
-
if (this.fields[key] == '客户姓名') {
|
|
176
|
-
this.thead += '<th class="khxm">' + this.fields[key] + '</th>'
|
|
177
|
-
} else if (this.fields[key] == '备注') {
|
|
178
|
-
this.thead += '<th class="bz">' + this.fields[key] + '</th>'
|
|
179
|
-
} else if(this.fields[key] == '气量'){
|
|
180
|
-
this.thead += '<th class="bz2">' + this.fields[key] + '</th>'
|
|
181
|
-
} else if(this.fields[key] == '应收金额'){
|
|
182
|
-
this.thead += '<th class="bz2">' + this.fields[key] + '</th>'
|
|
183
|
-
} else {
|
|
184
|
-
this.thead += '<th class="other">' + this.fields[key] + '</th>'
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
this.thead += '</tr>'
|
|
188
|
-
},
|
|
189
|
-
async print() {
|
|
190
|
-
// 开始打印
|
|
191
|
-
let lodop = getLodop()
|
|
192
|
-
lodop.PRINT_INIT('打印')
|
|
193
|
-
|
|
194
|
-
// 是否横向打印
|
|
195
|
-
console.log('是否横向打印??', this.model.model.f_gasproperties[0])
|
|
196
|
-
let isHeng = this.model.model.f_gasproperties[0] === '民用用气' ? 1 : 2
|
|
197
|
-
console.log("isHeng----"+isHeng)
|
|
198
|
-
lodop.SET_PRINT_PAGESIZE(isHeng, 0, 0, "A4");
|
|
199
|
-
|
|
200
|
-
// 定义样式
|
|
201
|
-
let style;
|
|
202
|
-
if (isHeng == 2) {//横向打印
|
|
203
|
-
style = '' +
|
|
204
|
-
'<style>table {border-collapse: collapse;font-size:2.8mm} ' +
|
|
205
|
-
'table th {border-collapse: collapse;width: 264mm;border: 0.2mm solid black} ' +
|
|
206
|
-
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
207
|
-
'.biaoti {border-color: transparent} ' +
|
|
208
|
-
'table span {width: 36mm;text-align: left;display:inline-block}' +
|
|
209
|
-
'.comments {text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;width:34.32mm;} ' +
|
|
210
|
-
'.khxm {border-top: 0;width: 44.88mm} ' +
|
|
211
|
-
'.bz {border-top: 0;width: 34.32mm;} ' +
|
|
212
|
-
'.bz2 {border-top: 0;width: 13.20mm} ' +
|
|
213
|
-
'.other {border-top: 0;width: 13.20mm}</style>'
|
|
214
|
-
} else {//竖向打印
|
|
215
|
-
// 定义样式
|
|
216
|
-
style = '<style>table {border-collapse: collapse;font-size:2.8mm}' +
|
|
217
|
-
'table th {border-collapse: collapse;width: 180mm;border: 0.2mm solid black;}' +
|
|
218
|
-
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
219
|
-
'.biaoti {border-color: transparent} ' +
|
|
220
|
-
'table span {width: 25mm;text-align:left;display:inline-block;}' +
|
|
221
|
-
'.comments {width:16.6mm;text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;} ' +
|
|
222
|
-
'.khxm {border-top: 0;width: 14.4mm} ' +
|
|
223
|
-
'.bz {border-top: 0;width: 16.6mm;} ' +
|
|
224
|
-
'.bz2 {border-top: 0;width: 11.0mm} ' +
|
|
225
|
-
'.other {border-top: 0;width: 10.2mm}</style>'
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
let tHtml = style + '<table><thead>' + this.thead + '</thead><tbody>'
|
|
230
|
-
for (var i = 1; i <= this.model.totalPage; i++) {
|
|
231
|
-
await this.model.loadPage(i)
|
|
232
|
-
for (let j = 0; j < this.model.rows.length; j++) {
|
|
233
|
-
tHtml += '<tr>'
|
|
234
|
-
for (let field of this.modelval) {
|
|
235
|
-
if (field && this.model.rows[j]) {
|
|
236
|
-
if (field === 'f_comments' && this.model.rows[j][field]) {
|
|
237
|
-
tHtml += '<td ><div class="comments">' +
|
|
238
|
-
this.model.rows[j][field].substring(0, 10)
|
|
239
|
-
+ '</div></td>'
|
|
240
|
-
} else {
|
|
241
|
-
tHtml += '<td>' + this.model.rows[j][field] + '</td>'
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
tHtml += '</tr>'
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
this.tfoot = `
|
|
249
|
-
<tr>
|
|
250
|
-
<td class="defaulttd" colspan='2' >
|
|
251
|
-
合计
|
|
252
|
-
</td>
|
|
253
|
-
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
254
|
-
<font color="#0000FF" tindex="5">###</font>
|
|
255
|
-
</td>
|
|
256
|
-
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="left">
|
|
257
|
-
<font color="#0000FF" tindex="6">###</font>
|
|
258
|
-
</td>
|
|
259
|
-
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
260
|
-
<font color="#0000FF" tindex="7">###方</font>
|
|
261
|
-
</td>
|
|
262
|
-
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="left">
|
|
263
|
-
<font color="#0000FF" tindex="9">###方</font>
|
|
264
|
-
</td>
|
|
265
|
-
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
266
|
-
<font color="#0000FF" tindex="11">###方</font>
|
|
267
|
-
</td>
|
|
268
|
-
<td class="defaulttd" colspan='3' tdata="allSum" format="#,##0.00" align="left">
|
|
269
|
-
<font color="#0000FF" tindex="13">###元</font>
|
|
270
|
-
</td>
|
|
271
|
-
<td class="defaulttd" colspan='1' >
|
|
272
|
-
</td>
|
|
273
|
-
|
|
274
|
-
</tr>`
|
|
275
|
-
|
|
276
|
-
// 如果有表尾,则添加表尾,如果内容翻页的话,表尾每一页都要打印
|
|
277
|
-
tHtml += `</tbody><tfoot>${this.tfoot}</tfoot></table>`
|
|
278
|
-
console.log('打印的html', tHtml)
|
|
279
|
-
//ADD_PRINT_TABLE(intTop,intLeft,intWidth,intHeight,strHtml)增加表格项
|
|
280
|
-
if (isHeng == 2) {//横向打印
|
|
281
|
-
lodop.ADD_PRINT_TABLE(0, 0, "264mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
282
|
-
} else {
|
|
283
|
-
lodop.ADD_PRINT_TABLE(0, 0, "200mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
284
|
-
}
|
|
285
|
-
lodop.SET_PRINT_STYLEA(0, "Horient", 2);//打印项在纸张中水平居中
|
|
286
|
-
// lodop.SET_PRINT_STYLEA(0,"Vorient",2);//打印项在纸张中垂直居中
|
|
287
|
-
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
288
|
-
|
|
289
|
-
// 设置页脚
|
|
290
|
-
lodop.ADD_PRINT_HTM("96%", "45%", 100, 50, `<font style="margin-top:2px;" color='#0000ff' format='##'><span tdata='pageNO'>第##页</span>/<span tdata='pageCount'>共##页</span></font>`);//增加超文本项
|
|
291
|
-
lodop.SET_PRINT_STYLEA(0, "ItemType", 1);
|
|
292
|
-
lodop.SET_PRINT_STYLEA(0, "Horient", 2);
|
|
293
|
-
|
|
294
|
-
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
295
|
-
// 设置打印方式 (横向|纵向)
|
|
296
|
-
lodop.SET_SHOW_MODE("LANDSCAPE_DEFROTATED", 1);
|
|
297
|
-
// 打印维护
|
|
298
|
-
// lodop.PRINT_SETUP()
|
|
299
|
-
// 使用打印预览是为了方便调整打印格式。例如:横向打印
|
|
300
|
-
lodop.PREVIEW()
|
|
301
|
-
},
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
</script>
|
|
307
|
-
|
|
308
|
-
<style scoped>
|
|
309
|
-
|
|
310
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<button class="button_export button_spacing" @click="stamp()">打印</button>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import getLodop from '../../../../../plugins/LodopFuncs'
|
|
7
|
+
import {PagedList} from "vue-client";
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
name: "DayReportListPrint",
|
|
11
|
+
title: '日报表打印',
|
|
12
|
+
props: {
|
|
13
|
+
countmodel:{
|
|
14
|
+
type:Object,
|
|
15
|
+
default:{}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
modelval: [],
|
|
21
|
+
fields: {},
|
|
22
|
+
thead: '',
|
|
23
|
+
tfoot: '',
|
|
24
|
+
model:{},
|
|
25
|
+
sumsmodel:{},
|
|
26
|
+
orgname: '',
|
|
27
|
+
depname: '0'
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
async stamp() {
|
|
32
|
+
this.model = this.countmodel.model,
|
|
33
|
+
this.sumsmodel = this.countmodel.sumsmodel,
|
|
34
|
+
this.orgname = this.countmodel.orgname,
|
|
35
|
+
this.depname = this.countmodel.depname
|
|
36
|
+
// 验证,必须选择用气性质
|
|
37
|
+
if (this.model.model.f_gasproperties.length == 0 || this.model.model.f_gasproperties[0]=='') {
|
|
38
|
+
this.$showAlert('请选择用气性质条件,点击查询之后再进行打印!!', 'warning', 3000)
|
|
39
|
+
return
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
//默认选择要打印的列
|
|
43
|
+
this.modelval = [
|
|
44
|
+
"f_userinfo_code",
|
|
45
|
+
"f_user_name",
|
|
46
|
+
"f_state",
|
|
47
|
+
"f_type",
|
|
48
|
+
"f_pregas",
|
|
49
|
+
"f_preamount",
|
|
50
|
+
"f_stair1amount",
|
|
51
|
+
"f_stair1price",
|
|
52
|
+
"f_stair2amount",
|
|
53
|
+
"f_stair2price",
|
|
54
|
+
"f_stair3amount",
|
|
55
|
+
"f_stair3price",
|
|
56
|
+
"f_collection",
|
|
57
|
+
"f_payment",
|
|
58
|
+
"f_operator",
|
|
59
|
+
"f_comments"
|
|
60
|
+
];
|
|
61
|
+
this.fields = {
|
|
62
|
+
"f_userinfo_code": "客户编号",
|
|
63
|
+
"f_user_name": "客户姓名",
|
|
64
|
+
"f_state":"操作状态",
|
|
65
|
+
"f_operate_date": "充值时间",
|
|
66
|
+
"f_stair1amount": "1气量",
|
|
67
|
+
"f_stair1price": "1单价",
|
|
68
|
+
"f_stair2amount": "2气量",
|
|
69
|
+
"f_stair2price": "2单价",
|
|
70
|
+
"f_stair3amount": "3气量",
|
|
71
|
+
"f_stair3price": "3单价",
|
|
72
|
+
"f_pregas": "气量",
|
|
73
|
+
"f_preamount": "应收金额",
|
|
74
|
+
"f_collection": "实收金额",
|
|
75
|
+
"f_balance": "上期结余",
|
|
76
|
+
"f_curbalance": "本期结余",
|
|
77
|
+
"f_payment": "付款方式",
|
|
78
|
+
"f_type": "收费类型",
|
|
79
|
+
"f_operator": "操作员",
|
|
80
|
+
"f_user_type": "用户类型",
|
|
81
|
+
"f_comments": "备注"
|
|
82
|
+
};
|
|
83
|
+
this.put();
|
|
84
|
+
await this.print();
|
|
85
|
+
this.clear();
|
|
86
|
+
},
|
|
87
|
+
clear(){
|
|
88
|
+
this.model={};
|
|
89
|
+
this.sumsmodel={};
|
|
90
|
+
this.orgname= '';
|
|
91
|
+
this.depname= 0;
|
|
92
|
+
},
|
|
93
|
+
put() {
|
|
94
|
+
this.thead = `
|
|
95
|
+
<tr>
|
|
96
|
+
<th class="biaoti" colspan=${this.modelval.length} style="font-size: 6mm">
|
|
97
|
+
${this.orgname}${this.depname ? this.depname : ''}统计报表 ${this.model.model.f_gasproperties ? this.model.model.f_gasproperties : ''}
|
|
98
|
+
${this.model.model.f_type ? this.model.model.f_type : ''}
|
|
99
|
+
</th>
|
|
100
|
+
</tr>
|
|
101
|
+
<tr>
|
|
102
|
+
<th class="biaoti" colspan=${this.modelval.length}>统计日期:${this.model.model.f_startDate} ~ ${this.model.model.f_endDate}</th></tr>
|
|
103
|
+
<tr>
|
|
104
|
+
<tr>
|
|
105
|
+
<th class="biaoti" colspan=${this.modelval.length}>制单人:${this.$login.f.name} 打印时间: ${this.$login.toStandardTimeString()}</th></tr>
|
|
106
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
107
|
+
<th colspan=${this.modelval.length}>
|
|
108
|
+
<span>发卡人次: ${this.sumsmodel.f_count_open}</span>
|
|
109
|
+
<span>再购人次: ${this.sumsmodel.f_count_zg}</span>
|
|
110
|
+
<span>补气人次: ${this.sumsmodel.f_count_bq}</span>
|
|
111
|
+
<span>补卡人次: ${this.sumsmodel.f_count_bk}</span>
|
|
112
|
+
<span>换表人次: ${this.sumsmodel.f_count_hb}</span>
|
|
113
|
+
<span>冲正人次: ${this.sumsmodel.f_count_cz}</span>
|
|
114
|
+
<span>业务人次: ${this.sumsmodel.f_sum_count}</span>
|
|
115
|
+
</th>
|
|
116
|
+
</tr>
|
|
117
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
118
|
+
<th colspan=${this.modelval.length}>
|
|
119
|
+
<span>发卡气量: ${this.sumsmodel.f_pregas_open}</span>
|
|
120
|
+
<span>再购气量: ${this.sumsmodel.f_pregas_zg}</span>
|
|
121
|
+
<span>补气气量: ${this.sumsmodel.f_pregas_bq}</span>
|
|
122
|
+
<span>补卡气量: ${this.sumsmodel.f_pregas_bk}</span>
|
|
123
|
+
<span>换表气量: ${this.sumsmodel.f_pregas_hb}</span>
|
|
124
|
+
<span>冲正气量: ${this.sumsmodel.f_pregas_cz}</span>
|
|
125
|
+
<span>业务气量: ${this.sumsmodel.f_shouru_gas}</span>
|
|
126
|
+
</th>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
129
|
+
<th colspan=${this.modelval.length}>
|
|
130
|
+
<span>发卡金额: ${this.sumsmodel.f_collection_open}</span>
|
|
131
|
+
<span>再购金额: ${this.sumsmodel.f_collection_zg}</span>
|
|
132
|
+
<span>补气金额: ${this.sumsmodel.f_collection_bq}</span>
|
|
133
|
+
<span>补卡金额: ${this.sumsmodel.f_collection_bk}</span>
|
|
134
|
+
<span>换表金额: ${this.sumsmodel.f_collection_hb}</span>
|
|
135
|
+
<span>冲正金额: ${this.sumsmodel.f_collection_cz}</span>
|
|
136
|
+
<span>实收金额: ${this.sumsmodel.f_shouru_fee}</span>
|
|
137
|
+
</th>
|
|
138
|
+
</tr>
|
|
139
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
140
|
+
<th colspan=${this.modelval.length}>
|
|
141
|
+
<span>应收金额: ${this.sumsmodel.f_yingshou_fee}</span>
|
|
142
|
+
<span>本期新增结余: ${this.sumsmodel.f_benqi_fee}</span>
|
|
143
|
+
<span>本期使用结余: ${this.sumsmodel.f_usebenqi_fee}</span>
|
|
144
|
+
<span>柜台微信: ${this.sumsmodel.f_sumgtwx}</span>
|
|
145
|
+
<span>财务收款: ${this.sumsmodel.f_sumcwsf}</span>
|
|
146
|
+
<span>现金缴费: ${this.sumsmodel.f_sumxjjf}</span>
|
|
147
|
+
<span>柜台支付宝: ${this.sumsmodel.f_sumzfb}</span>
|
|
148
|
+
</th>
|
|
149
|
+
</tr>
|
|
150
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
151
|
+
<th colspan=${this.modelval.length}>
|
|
152
|
+
<span>pos: ${this.sumsmodel.f_sumpos}</span>
|
|
153
|
+
<span>销售气票: ${this.sumsmodel.f_sumqp}</span>
|
|
154
|
+
<span>银行码收款: ${this.sumsmodel.f_sumyysk}</span>
|
|
155
|
+
<span>降价补气:${this.sumsmodel.f_sumjjbq}</span>
|
|
156
|
+
<span>煤改气补贴款:${this.sumsmodel.f_sumbtk}</span>
|
|
157
|
+
<span>涨价补费人次: ${this.sumsmodel.f_count_zjbf}</span>
|
|
158
|
+
<span>涨价补费金额: ${this.sumsmodel.f_collection_zjbf}</span>
|
|
159
|
+
</th>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
162
|
+
<th colspan=${this.modelval.length}>
|
|
163
|
+
<span>物联网补费人次:${this.sumsmodel.f_count_iotbf}</span>
|
|
164
|
+
<span>物联网补费金额:${this.sumsmodel.f_collection_iotbf}</span>
|
|
165
|
+
<span>物联网扣费人次:${this.sumsmodel.f_count_iotkf}</span>
|
|
166
|
+
<span>物联网扣费金额:${this.sumsmodel.f_collection_iotkf}</span>
|
|
167
|
+
<span>预收款人次: ${this.sumsmodel.f_count_ysk}</span>
|
|
168
|
+
<span>预收款费金额: ${this.sumsmodel.f_collection_ysk}</span>
|
|
169
|
+
<span></span>
|
|
170
|
+
</th>
|
|
171
|
+
</tr>
|
|
172
|
+
`
|
|
173
|
+
this.thead += '<tr>';
|
|
174
|
+
for (let key of this.modelval) {
|
|
175
|
+
if (this.fields[key] == '客户姓名') {
|
|
176
|
+
this.thead += '<th class="khxm">' + this.fields[key] + '</th>'
|
|
177
|
+
} else if (this.fields[key] == '备注') {
|
|
178
|
+
this.thead += '<th class="bz">' + this.fields[key] + '</th>'
|
|
179
|
+
} else if(this.fields[key] == '气量'){
|
|
180
|
+
this.thead += '<th class="bz2">' + this.fields[key] + '</th>'
|
|
181
|
+
} else if(this.fields[key] == '应收金额'){
|
|
182
|
+
this.thead += '<th class="bz2">' + this.fields[key] + '</th>'
|
|
183
|
+
} else {
|
|
184
|
+
this.thead += '<th class="other">' + this.fields[key] + '</th>'
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
this.thead += '</tr>'
|
|
188
|
+
},
|
|
189
|
+
async print() {
|
|
190
|
+
// 开始打印
|
|
191
|
+
let lodop = getLodop()
|
|
192
|
+
lodop.PRINT_INIT('打印')
|
|
193
|
+
|
|
194
|
+
// 是否横向打印
|
|
195
|
+
console.log('是否横向打印??', this.model.model.f_gasproperties[0])
|
|
196
|
+
let isHeng = this.model.model.f_gasproperties[0] === '民用用气' ? 1 : 2
|
|
197
|
+
console.log("isHeng----"+isHeng)
|
|
198
|
+
lodop.SET_PRINT_PAGESIZE(isHeng, 0, 0, "A4");
|
|
199
|
+
|
|
200
|
+
// 定义样式
|
|
201
|
+
let style;
|
|
202
|
+
if (isHeng == 2) {//横向打印
|
|
203
|
+
style = '' +
|
|
204
|
+
'<style>table {border-collapse: collapse;font-size:2.8mm} ' +
|
|
205
|
+
'table th {border-collapse: collapse;width: 264mm;border: 0.2mm solid black} ' +
|
|
206
|
+
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
207
|
+
'.biaoti {border-color: transparent} ' +
|
|
208
|
+
'table span {width: 36mm;text-align: left;display:inline-block}' +
|
|
209
|
+
'.comments {text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;width:34.32mm;} ' +
|
|
210
|
+
'.khxm {border-top: 0;width: 44.88mm} ' +
|
|
211
|
+
'.bz {border-top: 0;width: 34.32mm;} ' +
|
|
212
|
+
'.bz2 {border-top: 0;width: 13.20mm} ' +
|
|
213
|
+
'.other {border-top: 0;width: 13.20mm}</style>'
|
|
214
|
+
} else {//竖向打印
|
|
215
|
+
// 定义样式
|
|
216
|
+
style = '<style>table {border-collapse: collapse;font-size:2.8mm}' +
|
|
217
|
+
'table th {border-collapse: collapse;width: 180mm;border: 0.2mm solid black;}' +
|
|
218
|
+
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
219
|
+
'.biaoti {border-color: transparent} ' +
|
|
220
|
+
'table span {width: 25mm;text-align:left;display:inline-block;}' +
|
|
221
|
+
'.comments {width:16.6mm;text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;} ' +
|
|
222
|
+
'.khxm {border-top: 0;width: 14.4mm} ' +
|
|
223
|
+
'.bz {border-top: 0;width: 16.6mm;} ' +
|
|
224
|
+
'.bz2 {border-top: 0;width: 11.0mm} ' +
|
|
225
|
+
'.other {border-top: 0;width: 10.2mm}</style>'
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
let tHtml = style + '<table><thead>' + this.thead + '</thead><tbody>'
|
|
230
|
+
for (var i = 1; i <= this.model.totalPage; i++) {
|
|
231
|
+
await this.model.loadPage(i)
|
|
232
|
+
for (let j = 0; j < this.model.rows.length; j++) {
|
|
233
|
+
tHtml += '<tr>'
|
|
234
|
+
for (let field of this.modelval) {
|
|
235
|
+
if (field && this.model.rows[j]) {
|
|
236
|
+
if (field === 'f_comments' && this.model.rows[j][field]) {
|
|
237
|
+
tHtml += '<td ><div class="comments">' +
|
|
238
|
+
this.model.rows[j][field].substring(0, 10)
|
|
239
|
+
+ '</div></td>'
|
|
240
|
+
} else {
|
|
241
|
+
tHtml += '<td>' + this.model.rows[j][field] + '</td>'
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
tHtml += '</tr>'
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
this.tfoot = `
|
|
249
|
+
<tr>
|
|
250
|
+
<td class="defaulttd" colspan='2' >
|
|
251
|
+
合计
|
|
252
|
+
</td>
|
|
253
|
+
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
254
|
+
<font color="#0000FF" tindex="5">###</font>
|
|
255
|
+
</td>
|
|
256
|
+
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="left">
|
|
257
|
+
<font color="#0000FF" tindex="6">###</font>
|
|
258
|
+
</td>
|
|
259
|
+
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
260
|
+
<font color="#0000FF" tindex="7">###方</font>
|
|
261
|
+
</td>
|
|
262
|
+
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="left">
|
|
263
|
+
<font color="#0000FF" tindex="9">###方</font>
|
|
264
|
+
</td>
|
|
265
|
+
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
266
|
+
<font color="#0000FF" tindex="11">###方</font>
|
|
267
|
+
</td>
|
|
268
|
+
<td class="defaulttd" colspan='3' tdata="allSum" format="#,##0.00" align="left">
|
|
269
|
+
<font color="#0000FF" tindex="13">###元</font>
|
|
270
|
+
</td>
|
|
271
|
+
<td class="defaulttd" colspan='1' >
|
|
272
|
+
</td>
|
|
273
|
+
|
|
274
|
+
</tr>`
|
|
275
|
+
|
|
276
|
+
// 如果有表尾,则添加表尾,如果内容翻页的话,表尾每一页都要打印
|
|
277
|
+
tHtml += `</tbody><tfoot>${this.tfoot}</tfoot></table>`
|
|
278
|
+
console.log('打印的html', tHtml)
|
|
279
|
+
//ADD_PRINT_TABLE(intTop,intLeft,intWidth,intHeight,strHtml)增加表格项
|
|
280
|
+
if (isHeng == 2) {//横向打印
|
|
281
|
+
lodop.ADD_PRINT_TABLE(0, 0, "264mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
282
|
+
} else {
|
|
283
|
+
lodop.ADD_PRINT_TABLE(0, 0, "200mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
284
|
+
}
|
|
285
|
+
lodop.SET_PRINT_STYLEA(0, "Horient", 2);//打印项在纸张中水平居中
|
|
286
|
+
// lodop.SET_PRINT_STYLEA(0,"Vorient",2);//打印项在纸张中垂直居中
|
|
287
|
+
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
288
|
+
|
|
289
|
+
// 设置页脚
|
|
290
|
+
lodop.ADD_PRINT_HTM("96%", "45%", 100, 50, `<font style="margin-top:2px;" color='#0000ff' format='##'><span tdata='pageNO'>第##页</span>/<span tdata='pageCount'>共##页</span></font>`);//增加超文本项
|
|
291
|
+
lodop.SET_PRINT_STYLEA(0, "ItemType", 1);
|
|
292
|
+
lodop.SET_PRINT_STYLEA(0, "Horient", 2);
|
|
293
|
+
|
|
294
|
+
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
295
|
+
// 设置打印方式 (横向|纵向)
|
|
296
|
+
lodop.SET_SHOW_MODE("LANDSCAPE_DEFROTATED", 1);
|
|
297
|
+
// 打印维护
|
|
298
|
+
// lodop.PRINT_SETUP()
|
|
299
|
+
// 使用打印预览是为了方便调整打印格式。例如:横向打印
|
|
300
|
+
lodop.PREVIEW()
|
|
301
|
+
},
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
}
|
|
306
|
+
</script>
|
|
307
|
+
|
|
308
|
+
<style scoped>
|
|
309
|
+
|
|
310
|
+
</style>
|