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,240 +1,240 @@
|
|
|
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_operate_date",
|
|
47
|
-
"f_state",
|
|
48
|
-
"f_type",
|
|
49
|
-
"f_number",
|
|
50
|
-
"f_unitprice",
|
|
51
|
-
"f_collection",
|
|
52
|
-
"f_payment",
|
|
53
|
-
"f_operator",
|
|
54
|
-
"f_comments"
|
|
55
|
-
];
|
|
56
|
-
this.fields = {
|
|
57
|
-
"f_userinfo_code": "客户编号",
|
|
58
|
-
"f_user_name": "客户姓名",
|
|
59
|
-
"f_operate_date": "充值时间",
|
|
60
|
-
"f_state":"操作状态",
|
|
61
|
-
"f_type": "收费类型",
|
|
62
|
-
"f_number": "数量",
|
|
63
|
-
"f_unitprice": "单价",
|
|
64
|
-
"f_collection": "实收金额",
|
|
65
|
-
"f_payment": "付款方式",
|
|
66
|
-
"f_operator": "操作员",
|
|
67
|
-
"f_comments": "备注"
|
|
68
|
-
};
|
|
69
|
-
this.put();
|
|
70
|
-
await this.print();
|
|
71
|
-
this.clear();
|
|
72
|
-
},
|
|
73
|
-
clear(){
|
|
74
|
-
this.model={};
|
|
75
|
-
this.sumsmodel={};
|
|
76
|
-
this.orgname= '';
|
|
77
|
-
this.depname= 0;
|
|
78
|
-
},
|
|
79
|
-
put() {
|
|
80
|
-
this.thead = `
|
|
81
|
-
<tr>
|
|
82
|
-
<th class="biaoti" colspan=${this.modelval.length} style="font-size: 6mm">
|
|
83
|
-
${this.orgname}${this.depname ? this.depname : ''}统计报表 ${this.model.model.f_gasproperties ? this.model.model.f_gasproperties : ''}
|
|
84
|
-
${this.model.model.f_type ? this.model.model.f_type : ''}
|
|
85
|
-
</th>
|
|
86
|
-
</tr>
|
|
87
|
-
<tr>
|
|
88
|
-
<th class="biaoti" colspan=${this.modelval.length}>统计日期:${this.model.model.f_startDate} ~ ${this.model.model.f_endDate}</th></tr>
|
|
89
|
-
<tr>
|
|
90
|
-
<tr>
|
|
91
|
-
<th class="biaoti" colspan=${this.modelval.length}>制单人:${this.$login.f.name} 打印时间: ${this.$login.toStandardTimeString()}</th></tr>
|
|
92
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
93
|
-
<th colspan=${this.modelval.length}>
|
|
94
|
-
<span>业务数量: ${this.sumsmodel.f_count_othercharge}</span>
|
|
95
|
-
<span>实收金额: ${this.sumsmodel.f_collection_othercharge}</span>
|
|
96
|
-
<span>应收金额: ${this.sumsmodel.f_collection_othercharge}</span>
|
|
97
|
-
<span>现金缴费: ${this.sumsmodel.f_sumxjjf}</span>
|
|
98
|
-
<span>柜台微信: ${this.sumsmodel.f_sumgtwx}</span>
|
|
99
|
-
<span>pos: ${this.sumsmodel.f_sumpos}</span>
|
|
100
|
-
</th>
|
|
101
|
-
</tr>
|
|
102
|
-
<tr style="text-align: left;font-family: 微软雅黑">
|
|
103
|
-
<th colspan=${this.modelval.length}>
|
|
104
|
-
<span>柜台支付宝: ${this.sumsmodel.f_sumzfb}</span>
|
|
105
|
-
<span>银行码收款: ${this.sumsmodel.f_sumyhm}</span>
|
|
106
|
-
<span>销售气票: ${this.sumsmodel.f_sumxsqp}</span>
|
|
107
|
-
<span>降价补气: ${this.sumsmodel.f_sumjjbq}</span>
|
|
108
|
-
<span>煤改气补贴款: ${this.sumsmodel.f_sumbtk}</span>
|
|
109
|
-
<span></span>
|
|
110
|
-
</th>
|
|
111
|
-
</tr>
|
|
112
|
-
`
|
|
113
|
-
this.thead += '<tr>';
|
|
114
|
-
for (let key of this.modelval) {
|
|
115
|
-
if (this.fields[key] == '客户姓名') {
|
|
116
|
-
this.thead += '<th class="khxm">' + this.fields[key] + '</th>'
|
|
117
|
-
} else if (this.fields[key] == '备注') {
|
|
118
|
-
this.thead += '<th class="bz">' + this.fields[key] + '</th>'
|
|
119
|
-
} else if(this.fields[key] == '应收金额'){
|
|
120
|
-
this.thead += '<th class="bz2">' + this.fields[key] + '</th>'
|
|
121
|
-
} else {
|
|
122
|
-
this.thead += '<th class="other">' + this.fields[key] + '</th>'
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
this.thead += '</tr>'
|
|
126
|
-
},
|
|
127
|
-
async print() {
|
|
128
|
-
// 开始打印
|
|
129
|
-
let lodop = getLodop()
|
|
130
|
-
lodop.PRINT_INIT('打印')
|
|
131
|
-
|
|
132
|
-
// 是否横向打印
|
|
133
|
-
console.log('是否横向打印??', this.model.model.f_gasproperties[0])
|
|
134
|
-
let isHeng = this.model.model.f_gasproperties[0] === '民用用气' ? 1 : 2
|
|
135
|
-
console.log("isHeng----"+isHeng)
|
|
136
|
-
lodop.SET_PRINT_PAGESIZE(isHeng, 0, 0, "A4");
|
|
137
|
-
|
|
138
|
-
// 定义样式
|
|
139
|
-
let style;
|
|
140
|
-
if (isHeng == 2) {//横向打印
|
|
141
|
-
style = '' +
|
|
142
|
-
'<style>table {border-collapse: collapse;font-size:2.8mm} ' +
|
|
143
|
-
'table th {border-collapse: collapse;width: 264mm;border: 0.2mm solid black} ' +
|
|
144
|
-
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
145
|
-
'.biaoti {border-color: transparent} ' +
|
|
146
|
-
'table span {width: 36mm;text-align: left;display:inline-block}' +
|
|
147
|
-
'.comments {text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;width:34.32mm;} ' +
|
|
148
|
-
'.khxm {border-top: 0;width: 44.88mm} ' +
|
|
149
|
-
'.bz {border-top: 0;width: 34.32mm;} ' +
|
|
150
|
-
'.bz2 {border-top: 0;width: 13.20mm} ' +
|
|
151
|
-
'.other {border-top: 0;width: 13.20mm}</style>'
|
|
152
|
-
} else {//竖向打印
|
|
153
|
-
// 定义样式
|
|
154
|
-
style = '<style>table {border-collapse: collapse;font-size:2.8mm}' +
|
|
155
|
-
'table th {border-collapse: collapse;width: 180mm;border: 0.2mm solid black;}' +
|
|
156
|
-
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
157
|
-
'.biaoti {border-color: transparent} ' +
|
|
158
|
-
'table span {width: 25mm;text-align:left;display:inline-block;}' +
|
|
159
|
-
'.comments {width:16.6mm;text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;} ' +
|
|
160
|
-
'.khxm {border-top: 0;width: 14.4mm} ' +
|
|
161
|
-
'.bz {border-top: 0;width: 16.6mm;} ' +
|
|
162
|
-
'.bz2 {border-top: 0;width: 11.0mm} ' +
|
|
163
|
-
'.other {border-top: 0;width: 10.2mm}</style>'
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
let tHtml = style + '<table><thead>' + this.thead + '</thead><tbody>'
|
|
168
|
-
for (var i = 1; i <= this.model.totalPage; i++) {
|
|
169
|
-
await this.model.loadPage(i)
|
|
170
|
-
for (let j = 0; j < this.model.rows.length; j++) {
|
|
171
|
-
tHtml += '<tr>'
|
|
172
|
-
for (let field of this.modelval) {
|
|
173
|
-
if (field && this.model.rows[j]) {
|
|
174
|
-
if (field === 'f_comments' && this.model.rows[j][field]) {
|
|
175
|
-
tHtml += '<td ><div class="comments">' +
|
|
176
|
-
this.model.rows[j][field].substring(0, 10)
|
|
177
|
-
+ '</div></td>'
|
|
178
|
-
} else {
|
|
179
|
-
tHtml += '<td>' + this.model.rows[j][field] + '</td>'
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
tHtml += '</tr>'
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
this.tfoot = `
|
|
187
|
-
<tr>
|
|
188
|
-
<td class="defaulttd" colspan='2' >
|
|
189
|
-
合计
|
|
190
|
-
</td>
|
|
191
|
-
<td class="defaulttd" colspan='3' tdata="allSum" format="#,##0" align="right">
|
|
192
|
-
</td>
|
|
193
|
-
<td class="defaulttd" colspan='1' tdata="allSum" format="#,##0" align="left">
|
|
194
|
-
<font color="#0000FF" tindex="6">###</font>
|
|
195
|
-
</td>
|
|
196
|
-
<td class="defaulttd" colspan='1' tdata="allSum" format="#,##0.00" align="right">
|
|
197
|
-
<font color="#0000FF" tindex="7">###</font>
|
|
198
|
-
</td>
|
|
199
|
-
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="left">
|
|
200
|
-
<font color="#0000FF" tindex="8">###</font>
|
|
201
|
-
</td>
|
|
202
|
-
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
203
|
-
</td>
|
|
204
|
-
</tr>`
|
|
205
|
-
|
|
206
|
-
// 如果有表尾,则添加表尾,如果内容翻页的话,表尾每一页都要打印
|
|
207
|
-
tHtml += `</tbody><tfoot>${this.tfoot}</tfoot></table>`
|
|
208
|
-
console.log('打印的html', tHtml)
|
|
209
|
-
//ADD_PRINT_TABLE(intTop,intLeft,intWidth,intHeight,strHtml)增加表格项
|
|
210
|
-
if (isHeng == 2) {//横向打印
|
|
211
|
-
lodop.ADD_PRINT_TABLE(0, 0, "264mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
212
|
-
} else {
|
|
213
|
-
lodop.ADD_PRINT_TABLE(0, 0, "200mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
214
|
-
}
|
|
215
|
-
lodop.SET_PRINT_STYLEA(0, "Horient", 2);//打印项在纸张中水平居中
|
|
216
|
-
// lodop.SET_PRINT_STYLEA(0,"Vorient",2);//打印项在纸张中垂直居中
|
|
217
|
-
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
218
|
-
|
|
219
|
-
// 设置页脚
|
|
220
|
-
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>`);//增加超文本项
|
|
221
|
-
lodop.SET_PRINT_STYLEA(0, "ItemType", 1);
|
|
222
|
-
lodop.SET_PRINT_STYLEA(0, "Horient", 2);
|
|
223
|
-
|
|
224
|
-
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
225
|
-
// 设置打印方式 (横向|纵向)
|
|
226
|
-
lodop.SET_SHOW_MODE("LANDSCAPE_DEFROTATED", 1);
|
|
227
|
-
// 打印维护
|
|
228
|
-
// lodop.PRINT_SETUP()
|
|
229
|
-
// 使用打印预览是为了方便调整打印格式。例如:横向打印
|
|
230
|
-
lodop.PREVIEW()
|
|
231
|
-
},
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
</script>
|
|
237
|
-
|
|
238
|
-
<style scoped>
|
|
239
|
-
|
|
240
|
-
</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_operate_date",
|
|
47
|
+
"f_state",
|
|
48
|
+
"f_type",
|
|
49
|
+
"f_number",
|
|
50
|
+
"f_unitprice",
|
|
51
|
+
"f_collection",
|
|
52
|
+
"f_payment",
|
|
53
|
+
"f_operator",
|
|
54
|
+
"f_comments"
|
|
55
|
+
];
|
|
56
|
+
this.fields = {
|
|
57
|
+
"f_userinfo_code": "客户编号",
|
|
58
|
+
"f_user_name": "客户姓名",
|
|
59
|
+
"f_operate_date": "充值时间",
|
|
60
|
+
"f_state":"操作状态",
|
|
61
|
+
"f_type": "收费类型",
|
|
62
|
+
"f_number": "数量",
|
|
63
|
+
"f_unitprice": "单价",
|
|
64
|
+
"f_collection": "实收金额",
|
|
65
|
+
"f_payment": "付款方式",
|
|
66
|
+
"f_operator": "操作员",
|
|
67
|
+
"f_comments": "备注"
|
|
68
|
+
};
|
|
69
|
+
this.put();
|
|
70
|
+
await this.print();
|
|
71
|
+
this.clear();
|
|
72
|
+
},
|
|
73
|
+
clear(){
|
|
74
|
+
this.model={};
|
|
75
|
+
this.sumsmodel={};
|
|
76
|
+
this.orgname= '';
|
|
77
|
+
this.depname= 0;
|
|
78
|
+
},
|
|
79
|
+
put() {
|
|
80
|
+
this.thead = `
|
|
81
|
+
<tr>
|
|
82
|
+
<th class="biaoti" colspan=${this.modelval.length} style="font-size: 6mm">
|
|
83
|
+
${this.orgname}${this.depname ? this.depname : ''}统计报表 ${this.model.model.f_gasproperties ? this.model.model.f_gasproperties : ''}
|
|
84
|
+
${this.model.model.f_type ? this.model.model.f_type : ''}
|
|
85
|
+
</th>
|
|
86
|
+
</tr>
|
|
87
|
+
<tr>
|
|
88
|
+
<th class="biaoti" colspan=${this.modelval.length}>统计日期:${this.model.model.f_startDate} ~ ${this.model.model.f_endDate}</th></tr>
|
|
89
|
+
<tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<th class="biaoti" colspan=${this.modelval.length}>制单人:${this.$login.f.name} 打印时间: ${this.$login.toStandardTimeString()}</th></tr>
|
|
92
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
93
|
+
<th colspan=${this.modelval.length}>
|
|
94
|
+
<span>业务数量: ${this.sumsmodel.f_count_othercharge}</span>
|
|
95
|
+
<span>实收金额: ${this.sumsmodel.f_collection_othercharge}</span>
|
|
96
|
+
<span>应收金额: ${this.sumsmodel.f_collection_othercharge}</span>
|
|
97
|
+
<span>现金缴费: ${this.sumsmodel.f_sumxjjf}</span>
|
|
98
|
+
<span>柜台微信: ${this.sumsmodel.f_sumgtwx}</span>
|
|
99
|
+
<span>pos: ${this.sumsmodel.f_sumpos}</span>
|
|
100
|
+
</th>
|
|
101
|
+
</tr>
|
|
102
|
+
<tr style="text-align: left;font-family: 微软雅黑">
|
|
103
|
+
<th colspan=${this.modelval.length}>
|
|
104
|
+
<span>柜台支付宝: ${this.sumsmodel.f_sumzfb}</span>
|
|
105
|
+
<span>银行码收款: ${this.sumsmodel.f_sumyhm}</span>
|
|
106
|
+
<span>销售气票: ${this.sumsmodel.f_sumxsqp}</span>
|
|
107
|
+
<span>降价补气: ${this.sumsmodel.f_sumjjbq}</span>
|
|
108
|
+
<span>煤改气补贴款: ${this.sumsmodel.f_sumbtk}</span>
|
|
109
|
+
<span></span>
|
|
110
|
+
</th>
|
|
111
|
+
</tr>
|
|
112
|
+
`
|
|
113
|
+
this.thead += '<tr>';
|
|
114
|
+
for (let key of this.modelval) {
|
|
115
|
+
if (this.fields[key] == '客户姓名') {
|
|
116
|
+
this.thead += '<th class="khxm">' + this.fields[key] + '</th>'
|
|
117
|
+
} else if (this.fields[key] == '备注') {
|
|
118
|
+
this.thead += '<th class="bz">' + this.fields[key] + '</th>'
|
|
119
|
+
} else if(this.fields[key] == '应收金额'){
|
|
120
|
+
this.thead += '<th class="bz2">' + this.fields[key] + '</th>'
|
|
121
|
+
} else {
|
|
122
|
+
this.thead += '<th class="other">' + this.fields[key] + '</th>'
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
this.thead += '</tr>'
|
|
126
|
+
},
|
|
127
|
+
async print() {
|
|
128
|
+
// 开始打印
|
|
129
|
+
let lodop = getLodop()
|
|
130
|
+
lodop.PRINT_INIT('打印')
|
|
131
|
+
|
|
132
|
+
// 是否横向打印
|
|
133
|
+
console.log('是否横向打印??', this.model.model.f_gasproperties[0])
|
|
134
|
+
let isHeng = this.model.model.f_gasproperties[0] === '民用用气' ? 1 : 2
|
|
135
|
+
console.log("isHeng----"+isHeng)
|
|
136
|
+
lodop.SET_PRINT_PAGESIZE(isHeng, 0, 0, "A4");
|
|
137
|
+
|
|
138
|
+
// 定义样式
|
|
139
|
+
let style;
|
|
140
|
+
if (isHeng == 2) {//横向打印
|
|
141
|
+
style = '' +
|
|
142
|
+
'<style>table {border-collapse: collapse;font-size:2.8mm} ' +
|
|
143
|
+
'table th {border-collapse: collapse;width: 264mm;border: 0.2mm solid black} ' +
|
|
144
|
+
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
145
|
+
'.biaoti {border-color: transparent} ' +
|
|
146
|
+
'table span {width: 36mm;text-align: left;display:inline-block}' +
|
|
147
|
+
'.comments {text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;width:34.32mm;} ' +
|
|
148
|
+
'.khxm {border-top: 0;width: 44.88mm} ' +
|
|
149
|
+
'.bz {border-top: 0;width: 34.32mm;} ' +
|
|
150
|
+
'.bz2 {border-top: 0;width: 13.20mm} ' +
|
|
151
|
+
'.other {border-top: 0;width: 13.20mm}</style>'
|
|
152
|
+
} else {//竖向打印
|
|
153
|
+
// 定义样式
|
|
154
|
+
style = '<style>table {border-collapse: collapse;font-size:2.8mm}' +
|
|
155
|
+
'table th {border-collapse: collapse;width: 180mm;border: 0.2mm solid black;}' +
|
|
156
|
+
'table td {border-collapse: collapse;text-align: center;border: 0.2mm solid black} ' +
|
|
157
|
+
'.biaoti {border-color: transparent} ' +
|
|
158
|
+
'table span {width: 25mm;text-align:left;display:inline-block;}' +
|
|
159
|
+
'.comments {width:16.6mm;text-overflow: ellipsis;overflow: hidden;height:5.25mm;white-space: nowrap;} ' +
|
|
160
|
+
'.khxm {border-top: 0;width: 14.4mm} ' +
|
|
161
|
+
'.bz {border-top: 0;width: 16.6mm;} ' +
|
|
162
|
+
'.bz2 {border-top: 0;width: 11.0mm} ' +
|
|
163
|
+
'.other {border-top: 0;width: 10.2mm}</style>'
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
let tHtml = style + '<table><thead>' + this.thead + '</thead><tbody>'
|
|
168
|
+
for (var i = 1; i <= this.model.totalPage; i++) {
|
|
169
|
+
await this.model.loadPage(i)
|
|
170
|
+
for (let j = 0; j < this.model.rows.length; j++) {
|
|
171
|
+
tHtml += '<tr>'
|
|
172
|
+
for (let field of this.modelval) {
|
|
173
|
+
if (field && this.model.rows[j]) {
|
|
174
|
+
if (field === 'f_comments' && this.model.rows[j][field]) {
|
|
175
|
+
tHtml += '<td ><div class="comments">' +
|
|
176
|
+
this.model.rows[j][field].substring(0, 10)
|
|
177
|
+
+ '</div></td>'
|
|
178
|
+
} else {
|
|
179
|
+
tHtml += '<td>' + this.model.rows[j][field] + '</td>'
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
tHtml += '</tr>'
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
this.tfoot = `
|
|
187
|
+
<tr>
|
|
188
|
+
<td class="defaulttd" colspan='2' >
|
|
189
|
+
合计
|
|
190
|
+
</td>
|
|
191
|
+
<td class="defaulttd" colspan='3' tdata="allSum" format="#,##0" align="right">
|
|
192
|
+
</td>
|
|
193
|
+
<td class="defaulttd" colspan='1' tdata="allSum" format="#,##0" align="left">
|
|
194
|
+
<font color="#0000FF" tindex="6">###</font>
|
|
195
|
+
</td>
|
|
196
|
+
<td class="defaulttd" colspan='1' tdata="allSum" format="#,##0.00" align="right">
|
|
197
|
+
<font color="#0000FF" tindex="7">###</font>
|
|
198
|
+
</td>
|
|
199
|
+
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="left">
|
|
200
|
+
<font color="#0000FF" tindex="8">###</font>
|
|
201
|
+
</td>
|
|
202
|
+
<td class="defaulttd" colspan='2' tdata="allSum" format="#,##0.00" align="right">
|
|
203
|
+
</td>
|
|
204
|
+
</tr>`
|
|
205
|
+
|
|
206
|
+
// 如果有表尾,则添加表尾,如果内容翻页的话,表尾每一页都要打印
|
|
207
|
+
tHtml += `</tbody><tfoot>${this.tfoot}</tfoot></table>`
|
|
208
|
+
console.log('打印的html', tHtml)
|
|
209
|
+
//ADD_PRINT_TABLE(intTop,intLeft,intWidth,intHeight,strHtml)增加表格项
|
|
210
|
+
if (isHeng == 2) {//横向打印
|
|
211
|
+
lodop.ADD_PRINT_TABLE(0, 0, "264mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
212
|
+
} else {
|
|
213
|
+
lodop.ADD_PRINT_TABLE(0, 0, "200mm", 'BottomMargin:' + 30, tHtml);//增加表格项
|
|
214
|
+
}
|
|
215
|
+
lodop.SET_PRINT_STYLEA(0, "Horient", 2);//打印项在纸张中水平居中
|
|
216
|
+
// lodop.SET_PRINT_STYLEA(0,"Vorient",2);//打印项在纸张中垂直居中
|
|
217
|
+
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
218
|
+
|
|
219
|
+
// 设置页脚
|
|
220
|
+
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>`);//增加超文本项
|
|
221
|
+
lodop.SET_PRINT_STYLEA(0, "ItemType", 1);
|
|
222
|
+
lodop.SET_PRINT_STYLEA(0, "Horient", 2);
|
|
223
|
+
|
|
224
|
+
// lodop.SET_PRINT_MODE('PRINT_PAGE_PERCENT', 'Full-width')
|
|
225
|
+
// 设置打印方式 (横向|纵向)
|
|
226
|
+
lodop.SET_SHOW_MODE("LANDSCAPE_DEFROTATED", 1);
|
|
227
|
+
// 打印维护
|
|
228
|
+
// lodop.PRINT_SETUP()
|
|
229
|
+
// 使用打印预览是为了方便调整打印格式。例如:横向打印
|
|
230
|
+
lodop.PREVIEW()
|
|
231
|
+
},
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
}
|
|
236
|
+
</script>
|
|
237
|
+
|
|
238
|
+
<style scoped>
|
|
239
|
+
|
|
240
|
+
</style>
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="margin: 3%">
|
|
3
|
-
<!-- 第一行数据-->
|
|
4
|
-
<div class="row" style="height: 60px">
|
|
5
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >业务数量</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_count_othercharge}}</label></div>
|
|
6
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >应收金额</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_collection_othercharge}}</label></div>
|
|
7
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >实收金额</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_collection_othercharge}}</label></div>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="row" style="height: 60px">
|
|
10
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >冲正人次</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_count_cz}}</label></div>
|
|
11
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >冲正金额</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_collection_cz}}</label></div>
|
|
12
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >柜台微信</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumgtwx}}</label></div>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<div class="row" style="height: 60px">
|
|
16
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >财务收款</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumcwsf}}</label></div>
|
|
17
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >现金缴费</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumxjjf}}</label></div>
|
|
18
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >柜台支付宝</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumzfb}}</label></div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="row" style="height: 60px">
|
|
21
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >pos</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumpos}}</label></div>
|
|
22
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >银行码收款</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumyhm}}</label></div>
|
|
23
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >销售气票</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumxsqp}}</label></div>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="row" style="height: 60px">
|
|
26
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >降价补气</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumjjbq}}</label></div>
|
|
27
|
-
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >煤改气补贴款</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumbtk}}</label></div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
|
|
32
|
-
<script>
|
|
33
|
-
export default {
|
|
34
|
-
name: "DayReportSummary",
|
|
35
|
-
props: {
|
|
36
|
-
sumsmodel: {}
|
|
37
|
-
},
|
|
38
|
-
watch: {
|
|
39
|
-
sumsmodel(val){
|
|
40
|
-
console.log(val,"====================")
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
</script>
|
|
45
|
-
|
|
46
|
-
<style scoped>
|
|
47
|
-
.datapanel {
|
|
48
|
-
color: #333;
|
|
49
|
-
background-color: white;
|
|
50
|
-
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
|
|
51
|
-
padding: 10px 30px 10px 30px;
|
|
52
|
-
border-radius:15px;
|
|
53
|
-
width: 100%;
|
|
54
|
-
}
|
|
55
|
-
.mystyleboder{
|
|
56
|
-
border: 0px;
|
|
57
|
-
text-align: left;
|
|
58
|
-
padding-left: 3px;
|
|
59
|
-
}
|
|
60
|
-
.mystylecenter{
|
|
61
|
-
border: 0px;
|
|
62
|
-
text-align: center;
|
|
63
|
-
padding-left: 3px;
|
|
64
|
-
}
|
|
65
|
-
.linelabel{
|
|
66
|
-
line-height: 60px!important;
|
|
67
|
-
}
|
|
68
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="margin: 3%">
|
|
3
|
+
<!-- 第一行数据-->
|
|
4
|
+
<div class="row" style="height: 60px">
|
|
5
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >业务数量</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_count_othercharge}}</label></div>
|
|
6
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >应收金额</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_collection_othercharge}}</label></div>
|
|
7
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >实收金额</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_collection_othercharge}}</label></div>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="row" style="height: 60px">
|
|
10
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >冲正人次</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_count_cz}}</label></div>
|
|
11
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >冲正金额</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_collection_cz}}</label></div>
|
|
12
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >柜台微信</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumgtwx}}</label></div>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<div class="row" style="height: 60px">
|
|
16
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >财务收款</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumcwsf}}</label></div>
|
|
17
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >现金缴费</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumxjjf}}</label></div>
|
|
18
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >柜台支付宝</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumzfb}}</label></div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row" style="height: 60px">
|
|
21
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >pos</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumpos}}</label></div>
|
|
22
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >银行码收款</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumyhm}}</label></div>
|
|
23
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >销售气票</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumxsqp}}</label></div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row" style="height: 60px">
|
|
26
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >降价补气</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumjjbq}}</label></div>
|
|
27
|
+
<div class="col-xs-2"><label type="text" class="form-control mystylecenter font_normal_body" >煤改气补贴款</label></div><div class="col-xs-2"><label type="text" class="mystyleboder font_bold_body linelabel" >{{sumsmodel.f_sumbtk}}</label></div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script>
|
|
33
|
+
export default {
|
|
34
|
+
name: "DayReportSummary",
|
|
35
|
+
props: {
|
|
36
|
+
sumsmodel: {}
|
|
37
|
+
},
|
|
38
|
+
watch: {
|
|
39
|
+
sumsmodel(val){
|
|
40
|
+
console.log(val,"====================")
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<style scoped>
|
|
47
|
+
.datapanel {
|
|
48
|
+
color: #333;
|
|
49
|
+
background-color: white;
|
|
50
|
+
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
|
|
51
|
+
padding: 10px 30px 10px 30px;
|
|
52
|
+
border-radius:15px;
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
55
|
+
.mystyleboder{
|
|
56
|
+
border: 0px;
|
|
57
|
+
text-align: left;
|
|
58
|
+
padding-left: 3px;
|
|
59
|
+
}
|
|
60
|
+
.mystylecenter{
|
|
61
|
+
border: 0px;
|
|
62
|
+
text-align: center;
|
|
63
|
+
padding-left: 3px;
|
|
64
|
+
}
|
|
65
|
+
.linelabel{
|
|
66
|
+
line-height: 60px!important;
|
|
67
|
+
}
|
|
68
|
+
</style>
|