sale-client 3.6.310 → 3.6.311
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/build/dev-server.js +108 -108
- package/build/versionCheck.js +29 -29
- package/package.json +120 -120
- package/src/components/FilesManage/AddHostMeterUserList.vue +185 -185
- package/src/components/FilesManage/AddSubMeterUserList.vue +185 -185
- package/src/components/FilesManage/FileAddressList.vue +141 -141
- package/src/components/FilesManage/FileMergeInfo.vue +68 -68
- package/src/components/FilesManage/FileUserAddress.vue +776 -776
- package/src/components/FilesManage/FileUserAddressChange.vue +65 -65
- package/src/components/FilesManage/FileUserFiles.vue +1073 -1073
- package/src/components/FilesManage/FileUserMerge.vue +203 -203
- package/src/components/FilesManage/HostMeterAdd.vue +219 -219
- package/src/components/FilesManage/HostMeterList.vue +323 -323
- package/src/components/FilesManage/HostMeterUserList.vue +270 -270
- package/src/components/FilesManage/MeterinfoTest.vue +1207 -1207
- package/src/components/FilesManage/TemplateManage.vue +167 -167
- package/src/components/FilesManage/TotalSplit/SplitList.vue +154 -154
- package/src/components/FilesManage/TotalSplit/TotalSplitList.vue +83 -83
- package/src/components/FilesManage/UserAddressCollection.vue +694 -694
- package/src/components/FilesManage/UserAddressInFile.vue +646 -646
- package/src/components/FilesManage/UserDeviceInfoTest.vue +410 -410
- package/src/components/FilesManage/UserEssentialInfoTest.vue +602 -602
- package/src/components/FilesManage/UserGeneralInfoTest.vue +800 -800
- package/src/components/FilesManage/UserPaperInfoTest.vue +63 -63
- package/src/components/FilesManageNew/FileAddressList.vue +138 -138
- package/src/components/FilesManageNew/FileMergeInfo.vue +68 -68
- package/src/components/FilesManageNew/FileUserAddress.vue +484 -484
- package/src/components/FilesManageNew/FileUserAddressChange.vue +65 -65
- package/src/components/FilesManageNew/FileUserFiles.vue +749 -749
- package/src/components/FilesManageNew/FileUserMerge.vue +202 -202
- package/src/components/FilesManageNew/MeterinfoTest.vue +831 -831
- package/src/components/FilesManageNew/TotalSplit/SplitList.vue +154 -154
- package/src/components/FilesManageNew/TotalSplit/TotalSplitList.vue +83 -83
- package/src/components/FilesManageNew/UserGeneralInfoTest.vue +692 -692
- package/src/components/MaterialsManage/MaterialsBase.vue +163 -163
- package/src/components/MaterialsManage/MaterialsList.vue +186 -186
- package/src/components/SellGasCharge/ChargeCancel/CardMeterChargeCancel.vue +395 -395
- package/src/components/SellGasCharge/MeterCharge/CustomInvoice.vue +282 -282
- package/src/components/SellGasCharge/MeterChargeforUser/ChargeUserCenter.vue +183 -183
- package/src/components/SellGasCharge/MeterChargeforUser/ChargeUserManager.vue +112 -112
- package/src/components/SellGasCharge/MeterChargeforUser/ChargeUserlist.vue +82 -82
- package/src/components/SellGasCharge/MeterTrace/MeterList.vue +142 -142
- package/src/components/SellGasCharge/MeterTrace/MeterTrace.vue +222 -222
- package/src/components/UserFiles/AdjustableBox/AddBox.vue +343 -343
- package/src/components/UserFiles/AdjustableBox/BOXUserList.vue +54 -54
- package/src/components/UserFiles/AdjustableBox/BoxList.vue +186 -186
- package/src/components/UserFiles/AreaList.vue +84 -84
- package/src/components/UserFiles/Meterinfo.vue +428 -428
- package/src/components/UserFiles/NewAreaInfo.vue +556 -556
- package/src/components/UserFiles/UserFiles.vue +459 -459
- package/src/components/UserFiles/UserGeneralInfo.vue +378 -378
- package/src/components/UserFiles/UserPriceChangeHistory.vue +66 -66
- package/src/components/UserFiles/UserPriceChangeManage.vue +662 -662
- package/src/components/UserFiles/XieKaUser/AddUser.vue +208 -208
- package/src/components/UserFiles/XieKaUser/UsersList.vue +269 -269
- package/src/components/UserFiles/XieKaUser/XieKaManager.vue +148 -148
- package/src/components/UserFiles/admissibility.vue +46 -46
- package/src/components/UserFiles/batchUpdateInputtor.vue +347 -347
- package/src/components/WechatManage/Knowledge.vue +439 -439
- package/src/components/WechatManage/KnowledgeAdd.vue +326 -326
- package/src/components/WechatManage/KnowledgeModify.vue +325 -325
- package/src/components/WechatManage/KnowledgeRecord.vue +64 -64
- package/src/components/WechatManage/OrderCenter/Step.vue +153 -153
- package/src/components/WechatManage/OrderCenter/orderList.vue +258 -258
- package/src/components/WechatManage/OutLets.vue +461 -461
- package/src/components/WechatManage/OutLetsRecord.vue +65 -65
- package/src/components/WechatManage/Stopgas.vue +240 -240
- package/src/components/WechatManage/UserNoticeList.vue +745 -745
- package/src/components/WechatManage/UserNoticeRecord.vue +106 -106
- package/src/components/archives/ArchivesAdd.vue +190 -190
- package/src/components/archives/ArchivesList.vue +219 -219
- package/src/components/archives/UserfilesList.vue +351 -351
- package/src/components/baichuan/ChangeTable.vue +284 -284
- package/src/components/baichuan/newTableInfo.vue +202 -202
- package/src/components/charge/ChargeList.vue +948 -948
- package/src/components/charge/ChargeManage.vue +316 -316
- package/src/components/charge/ChargeManageOther.vue +204 -204
- package/src/components/charge/ChargeManageSell.vue +202 -202
- package/src/components/charge/ChargeModal.vue +101 -101
- package/src/components/charge/ChargeOper.vue +285 -285
- package/src/components/charge/ChargeOtherOper.vue +195 -195
- package/src/components/charge/HandList.vue +121 -121
- package/src/components/charge/NfcCardReplacement.vue +88 -88
- package/src/components/charge/business/CardChangeFill.vue +627 -627
- package/src/components/charge/business/CardMeterCenter.vue +980 -980
- package/src/components/charge/business/ChangeMeterAddGas.vue +559 -559
- package/src/components/charge/business/DigitalCharge.vue +440 -440
- package/src/components/charge/business/FilesComplete.vue +254 -254
- package/src/components/charge/business/IOT/IotChangeFill.vue +488 -488
- package/src/components/charge/business/IOTMeterCenter.vue +871 -871
- package/src/components/charge/business/IotOpen.vue +78 -78
- package/src/components/charge/business/NoCardMeterCenter.vue +498 -498
- package/src/components/charge/business/OtherCharge.vue +341 -341
- package/src/components/charge/business/OtherChargeByPay.vue +477 -477
- package/src/components/charge/business/OtherChargeNew.vue +614 -614
- package/src/components/charge/business/PriceChangeCompensation/IotCompensation.vue +307 -307
- package/src/components/charge/business/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/components/charge/business/PriceChangeCompensation/SurplusRecordDetail.vue +72 -72
- package/src/components/charge/business/RepairCharge.vue +347 -347
- package/src/components/charge/business/ReturnMoneyExamine.vue +274 -274
- package/src/components/charge/business/ShowCardSellGas.vue +931 -931
- package/src/components/charge/business/ShowCardSellGasJB.vue +202 -202
- package/src/components/charge/business/ShowCardSellGasWeb.vue +203 -203
- package/src/components/charge/business/ShowCiTiaoCard.vue +169 -169
- package/src/components/charge/business/depositCharge/DepositCharge.vue +461 -461
- package/src/components/charge/business/machine/MachineChangeFill.vue +81 -81
- package/src/components/charge/business/machine/MachineCharge.vue +173 -173
- package/src/components/charge/business/machine/MachineMeterCenter.vue +691 -691
- package/src/components/charge/business/machine/MachineMeterPartCenter.vue +389 -389
- package/src/components/charge/business/machine/MachinePartCharge.vue +143 -143
- package/src/components/charge/business/machine/OweList.vue +157 -157
- package/src/components/charge/business/refund/DropTableRefund.vue +229 -229
- package/src/components/charge/business/refund/IOTRefund.vue +267 -267
- package/src/components/charge/business/refund/machineRefund.vue +223 -223
- package/src/components/charge/business/refund_copy/IOTRefund.vue +237 -237
- package/src/components/charge/business/refund_copy/machineRefund.vue +193 -193
- package/src/components/charge/bzjcancel.vue +309 -309
- package/src/components/charge/detailinfo/DevicesDetail.vue +69 -69
- package/src/components/charge/detailinfo/OldmeterDetail.vue +88 -88
- package/src/components/charge/detailinfo/OtherChargeRecord.vue +81 -81
- package/src/components/charge/detailinfo/UserfilesDetail.vue +79 -79
- package/src/components/charge/detailinfo/UserinfoDetail.vue +66 -66
- package/src/components/charge/detailinfo/price/MixpriceDetail.vue +48 -48
- package/src/components/charge/detailinfo/price/StairpriceDetail.vue +129 -129
- package/src/components/charge/gasloss/gasLossDetail.vue +262 -262
- package/src/components/charge/gasloss/gasLossForm.vue +90 -90
- package/src/components/charge/gasloss/gasLossOperate.vue +383 -383
- package/src/components/charge/gasloss/gasLossRecords.vue +294 -294
- package/src/components/charge/gasmove.vue +249 -249
- package/src/components/chargeBatch/BatchCharge.vue +374 -374
- package/src/components/chargeBatch/BatchChargeDetail.vue +72 -72
- package/src/components/chargeBatch/CardList.vue +518 -518
- package/src/components/chargeBatch/ChargeBatchList.vue +460 -460
- package/src/components/chargeBatch/ChargeGroupList.vue +337 -337
- package/src/components/chargeBatch/ChargeManageBatch.vue +214 -214
- package/src/components/chargeBatch/ChargeManageGroup.vue +216 -216
- package/src/components/chargeBatch/OweRecordQuery.vue +126 -126
- package/src/components/chargeBatch/RecordCancel.vue +346 -346
- package/src/components/chargeBatch/ReissueBillBatch.vue +97 -97
- package/src/components/chargeBatch/groupFeeDeduction.vue +118 -118
- package/src/components/chargeBatch/groupRefund.vue +181 -181
- package/src/components/chargeNew/BookBill.vue +121 -121
- package/src/components/chargeNew/ChargeList.vue +934 -934
- package/src/components/chargeNew/ChargeManageNew.vue +232 -232
- package/src/components/chargeNew/ChargeOper.vue +234 -234
- package/src/components/chargeNew/MeterReset.vue +81 -81
- package/src/components/chargeNew/SendBook.vue +107 -107
- package/src/components/chargeNew/thirdSurplus.vue +356 -356
- package/src/components/common/limit/LimitHistory.vue +299 -299
- package/src/components/common/limit/LimitList.vue +634 -634
- package/src/components/common/searchuploadfile/uploadFileSearch.vue +138 -138
- package/src/components/common/searchuploadfile/uploadFilesHistory.vue +187 -187
- package/src/components/common/userinfo_detail/SplitPrice.vue +354 -354
- package/src/components/common/userinfo_detail/TableUsageChart.vue +81 -81
- package/src/components/common/userinfo_detail/UserBaseInfo.vue +379 -379
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +672 -672
- package/src/components/common/userinfo_detail/UserInfoDetailManage.vue +143 -143
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +218 -218
- package/src/components/common/userinfo_detail/contractSig.vue +51 -51
- package/src/components/common/userinfo_detail/contractSigningBrain.vue +109 -109
- package/src/components/common/userinfo_detail/ic_detail/AutomaticPurse.vue +299 -299
- package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +268 -268
- package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +240 -240
- package/src/components/common/userinfo_detail/ic_detail/ChangeRecord.vue +235 -235
- package/src/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +530 -530
- package/src/components/common/userinfo_detail/ic_detail/ChargeRecordQuery.vue +102 -102
- package/src/components/common/userinfo_detail/ic_detail/DeveiceRecord.vue +251 -251
- package/src/components/common/userinfo_detail/ic_detail/FillCardQueryUser.vue +210 -210
- package/src/components/common/userinfo_detail/ic_detail/FillGasQueryUser.vue +229 -229
- package/src/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +387 -387
- package/src/components/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +261 -261
- package/src/components/common/userinfo_detail/ic_detail/MeterParam.vue +152 -152
- package/src/components/common/userinfo_detail/ic_detail/OtherChargeQueryUser.vue +251 -251
- package/src/components/common/userinfo_detail/ic_detail/OtherChargeQueryUserDetail.vue +81 -81
- package/src/components/common/userinfo_detail/ic_detail/PriceAdjustmentQueryUser.vue +313 -313
- package/src/components/common/userinfo_detail/ic_detail/PriceChangeQueryUser.vue +194 -194
- package/src/components/common/userinfo_detail/ic_detail/RecordQueryUser.vue +252 -252
- package/src/components/common/userinfo_detail/ic_detail/Repurchase.vue +132 -132
- package/src/components/common/userinfo_detail/ic_detail/TransferQueryUser.vue +223 -223
- package/src/components/common/userinfo_detail/ic_detail/UserDeviceQuery.vue +252 -252
- package/src/components/common/userinfo_detail/ic_detail/WebAutomaticPurse.vue +298 -298
- package/src/components/common/userinfo_detail/ic_detail/WebChargeQueryUser.vue +378 -378
- package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +368 -368
- package/src/components/common/userinfo_detail/ic_detail/contractSigningList.vue +117 -117
- package/src/components/common/userinfo_detail/iot_detail/QueryHistoryInstruct.vue +304 -304
- package/src/components/common/userinfo_detail/iot_detail/QueryInstruct.vue +342 -342
- package/src/components/common/userinfo_detail/iot_detail/WatchCollection.vue +115 -115
- package/src/components/common/userinfo_detail/iot_detail/WatchDealWarning.vue +236 -236
- package/src/components/cooker/WareRecord.vue +85 -85
- package/src/components/matchmakingManagement/PlatformAddEdit.vue +145 -145
- package/src/components/matchmakingManagement/PlatformList.vue +150 -150
- package/src/components/meterBook/MeterList.vue +187 -187
- package/src/components/meterBook/MeterMsg.vue +194 -194
- package/src/components/meterBook/addMeterBook.vue +153 -153
- package/src/components/meterBook/addUserToBook.vue +155 -155
- package/src/components/newBill/CardList.vue +536 -536
- package/src/components/newBill/CardMeterCenter.vue +902 -902
- package/src/components/newBill/IOTMeterCenter.vue +797 -797
- package/src/components/newBill/NoCardMeterCenter.vue +466 -466
- package/src/components/newBill/PrintBill.vue +146 -146
- package/src/components/newBill/ReissueBill.vue +329 -329
- package/src/components/newpriceadjustment/NewPriceAdjustment.vue +906 -906
- package/src/components/newpriceadjustment/NewPriceAdjustmentSell.vue +596 -596
- package/src/components/newpriceadjustment/NewPriceAdjustmentWebmeter.vue +600 -600
- package/src/components/priceadjustment/adjustPrice.vue +121 -121
- package/src/components/priceadjustment/adjustUser.vue +247 -247
- package/src/components/revenue/Common/EticketModal.vue +95 -95
- package/src/components/revenue/Common/EticketPrint.vue +230 -230
- package/src/components/revenue/Common/EticketPrintAsync.vue +196 -196
- package/src/components/revenue/Common/LimitGas.vue +231 -231
- package/src/components/revenue/Common/MeterMessage.vue +184 -184
- package/src/components/revenue/Common/Movemeter.vue +467 -467
- package/src/components/revenue/Common/PaymentCode.vue +159 -159
- package/src/components/revenue/Common/PrintBill.vue +134 -134
- package/src/components/revenue/Common/ReissueBill.vue +294 -294
- package/src/components/revenue/Common/ValidateBill.vue +56 -56
- package/src/components/revenue/Common/batchDisable.vue +503 -503
- package/src/components/revenue/Common/uploadFiles.vue +503 -503
- package/src/components/revenue/Common/userFlowSheet.vue +154 -154
- package/src/components/revenue/HandManager/CardHand.vue +873 -873
- package/src/components/revenue/HandManager/EstimateCardManager.vue +1184 -1184
- package/src/components/revenue/HandManager/EstimateManager.vue +1769 -1769
- package/src/components/revenue/HandManager/HandManager.vue +1831 -1831
- package/src/components/revenue/HandManager/HandManagerCard.vue +1163 -1163
- package/src/components/revenue/HandManager/MbpeopleList.vue +498 -498
- package/src/components/revenue/HandManager/MeterBookAdd.vue +396 -396
- package/src/components/revenue/HandManager/MeterBookList.vue +488 -488
- package/src/components/revenue/HandManager/MeterBookUser.vue +724 -724
- package/src/components/revenue/HandManager/OverdueSetList.vue +295 -295
- package/src/components/revenue/HandManager/OverdueSetUser.vue +93 -93
- package/src/components/revenue/HandManager/PriceAdjustment.vue +377 -377
- package/src/components/revenue/HandManager/PriceAdjustmentCard.vue +377 -377
- package/src/components/revenue/HandManager/PriceAdjustmentSelling.vue +377 -377
- package/src/components/revenue/HandManager/PriceAdjustmentWebmeter.vue +430 -430
- package/src/components/revenue/HandManager/RemainAdjustment.vue +282 -282
- package/src/components/revenue/HandManager/VolumeAdjustment/VolumeAdjustmentManage.vue +406 -406
- package/src/components/revenue/HandManager/meterbookEntry.vue +90 -90
- package/src/components/revenue/HandManager/openEticket/HandUserManage.vue +154 -154
- package/src/components/revenue/HandManager/openEticket/HasOpenHand.vue +149 -149
- package/src/components/revenue/HandManager/openEticket/HasOpenReceipt.vue +137 -137
- package/src/components/revenue/HandManager/openEticket/UnOpenHand.vue +167 -167
- package/src/components/revenue/HandManager/openEticket/UnOpenReceipt.vue +221 -221
- package/src/components/revenue/HandManager/qtxCardHand/GassaleHand.vue +228 -228
- package/src/components/revenue/HandManager/qtxCardHand/TrqtmHand.vue +292 -292
- package/src/components/revenue/IssuanceManagement/batchCardIssuance.vue +339 -339
- package/src/components/revenue/analysis/FarawayQuery.vue +392 -392
- package/src/components/revenue/analysis/outStockQuery.vue +288 -288
- package/src/components/revenue/bank/BankForm.vue +156 -156
- package/src/components/revenue/bank/BankList.vue +143 -143
- package/src/components/revenue/bank/bankOffer.vue +199 -199
- package/src/components/revenue/bank/bankReturn.vue +217 -217
- package/src/components/revenue/base/GasWaterSearch.vue +195 -195
- package/src/components/revenue/base/PurchaseWater.vue +237 -237
- package/src/components/revenue/base/UserList.vue +480 -480
- package/src/components/revenue/base/leftview/CheckGas.vue +55 -55
- package/src/components/revenue/base/leftview/MeterUse.vue +140 -140
- package/src/components/revenue/base/leftview/MixPriceInfo.vue +60 -60
- package/src/components/revenue/base/leftview/RecordStoryinfo.vue +131 -131
- package/src/components/revenue/base/leftview/SafeCheck.vue +339 -339
- package/src/components/revenue/base/leftview/ServiceRepair.vue +128 -128
- package/src/components/revenue/base/leftview/Stairinfo.vue +156 -156
- package/src/components/revenue/base/leftview/UserFees.vue +57 -57
- package/src/components/revenue/base/leftview/Userinfo.vue +279 -279
- package/src/components/revenue/base/leftview/billMessage.vue +125 -125
- package/src/components/revenue/base/rightview/CardList.vue +558 -558
- package/src/components/revenue/base/rightview/InstallCardList.vue +298 -298
- package/src/components/revenue/base/rightview/RecordCancel.vue +338 -338
- package/src/components/revenue/base/rightview/canceldetail/AutoaccountsCancelDetail.vue +82 -82
- package/src/components/revenue/base/rightview/canceldetail/CardmetercenterCancelDetail.vue +64 -64
- package/src/components/revenue/base/rightview/canceldetail/ChangeMeterCancelDetail.vue +76 -76
- package/src/components/revenue/base/rightview/canceldetail/IOTMeterCenterCancelDetail.vue +62 -62
- package/src/components/revenue/base/rightview/canceldetail/MachinemetercenterCancelDetail.vue +86 -86
- package/src/components/revenue/base/rightview/canceldetail/OtherchargeCancelDetail.vue +62 -62
- package/src/components/revenue/base/rightview/canceldetail/ReplacecardmanageCancelDetail.vue +59 -59
- package/src/components/revenue/base/rightview/canceldetail/TransfermanageCancelDetail.vue +63 -63
- package/src/components/revenue/base/rightview/carddetail/AddUserDetail.vue +62 -62
- package/src/components/revenue/base/rightview/carddetail/AdvanceDeliveryDetail.vue +50 -50
- package/src/components/revenue/base/rightview/carddetail/AutoAccountsDetail.vue +77 -77
- package/src/components/revenue/base/rightview/carddetail/BankDKDetail.vue +77 -77
- package/src/components/revenue/base/rightview/carddetail/BankPay.vue +79 -79
- package/src/components/revenue/base/rightview/carddetail/BlacklistDetail.vue +63 -63
- package/src/components/revenue/base/rightview/carddetail/BuildFeeDetail.vue +77 -77
- package/src/components/revenue/base/rightview/carddetail/CancellationDetail.vue +58 -58
- package/src/components/revenue/base/rightview/carddetail/CardMeterCenterDetail.vue +72 -72
- package/src/components/revenue/base/rightview/carddetail/CardOverUserDetail.vue +64 -64
- package/src/components/revenue/base/rightview/carddetail/ChangeFeeDetail.vue +116 -116
- package/src/components/revenue/base/rightview/carddetail/ChangeFlowmeterDetail.vue +119 -119
- package/src/components/revenue/base/rightview/carddetail/ChangeMeterDetail.vue +80 -80
- package/src/components/revenue/base/rightview/carddetail/DisableManageDetail.vue +60 -60
- package/src/components/revenue/base/rightview/carddetail/EnableManageDetail.vue +53 -53
- package/src/components/revenue/base/rightview/carddetail/FeeDeductionDetail.vue +70 -70
- package/src/components/revenue/base/rightview/carddetail/GarbageDetail.vue +59 -59
- package/src/components/revenue/base/rightview/carddetail/GasLossDetail.vue +52 -52
- package/src/components/revenue/base/rightview/carddetail/GasPriceChangeDetail.vue +58 -58
- package/src/components/revenue/base/rightview/carddetail/IOTMeterCenterDetail.vue +62 -62
- package/src/components/revenue/base/rightview/carddetail/InputtorChangeDetail.vue +59 -59
- package/src/components/revenue/base/rightview/carddetail/MachineMeterCenterDetail.vue +72 -72
- package/src/components/revenue/base/rightview/carddetail/OffGasAddGasDetail.vue +68 -68
- package/src/components/revenue/base/rightview/carddetail/OpenMeterDetail.vue +48 -48
- package/src/components/revenue/base/rightview/carddetail/OtherChargeDetail.vue +67 -67
- package/src/components/revenue/base/rightview/carddetail/OverUserChangeDetail.vue +61 -61
- package/src/components/revenue/base/rightview/carddetail/PriceAdjustmentDetail.vue +76 -76
- package/src/components/revenue/base/rightview/carddetail/ReduceFeeDetail.vue +77 -77
- package/src/components/revenue/base/rightview/carddetail/RefundDetail.vue +62 -62
- package/src/components/revenue/base/rightview/carddetail/ReissueBill.vue +111 -111
- package/src/components/revenue/base/rightview/carddetail/RepairFeeDeduction.vue +70 -70
- package/src/components/revenue/base/rightview/carddetail/ReplaceCardManageDetail.vue +51 -51
- package/src/components/revenue/base/rightview/carddetail/ReturnMoney.vue +52 -52
- package/src/components/revenue/base/rightview/carddetail/SalecardgasDetail.vue +62 -62
- package/src/components/revenue/base/rightview/carddetail/StopApplyDetail.vue +70 -70
- package/src/components/revenue/base/rightview/carddetail/TransferManageDetail.vue +61 -61
- package/src/components/revenue/base/rightview/carddetail/UserChangeDetail.vue +79 -79
- package/src/components/revenue/base/rightview/carddetail/WeChatPay.vue +79 -79
- package/src/components/revenue/base/rightview/carddetail/WithGas.vue +70 -70
- package/src/components/revenue/base/rightview/carddetail/machineCardDetail.vue +48 -48
- package/src/components/revenue/base/rightview/carddetail/movegasDetail.vue +66 -66
- package/src/components/revenue/base/rightview/carddetail/movemeterdetail.vue +74 -74
- package/src/components/revenue/base/rightview/reissuebill/OtherBill.vue +197 -197
- package/src/components/revenue/base/rightview/valueaddinfo.vue +325 -325
- package/src/components/revenue/batchDeduction/batchDeduction.vue +47 -47
- package/src/components/revenue/batchDeduction/batchDeductionList.vue +238 -238
- package/src/components/revenue/batchDeduction/batchDeductionOper.vue +119 -119
- package/src/components/revenue/batchPreloads/batchPreloads.vue +41 -41
- package/src/components/revenue/batchPreloads/batchPreloadsCharge.vue +117 -117
- package/src/components/revenue/batchPreloads/batchPreloadsList.vue +234 -234
- package/src/components/revenue/cancelHandplan/IotHandplanCanel.vue +88 -88
- package/src/components/revenue/cardHandManage/cardDown.vue +1112 -1112
- package/src/components/revenue/cardHandManage/cardHandAudit.vue +483 -483
- package/src/components/revenue/cardHandManage/cardsHand.vue +891 -891
- package/src/components/revenue/changeInsurance/InsuranceAdd.vue +411 -411
- package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +405 -405
- package/src/components/revenue/changeInsurance/InsuranceList.vue +264 -264
- package/src/components/revenue/changeInsurance/InsuranceRecord.vue +129 -129
- package/src/components/revenue/changeInsurance/UserInsurance.vue +77 -77
- package/src/components/revenue/comprehen/Bill/CustQueryEticket.vue +271 -271
- package/src/components/revenue/comprehen/Bill/CustomInvoice.vue +327 -327
- package/src/components/revenue/comprehen/Bill/Eticket/EticketOpenCard.vue +331 -331
- package/src/components/revenue/comprehen/Bill/Eticket/EticketOpenJBPage.vue +311 -311
- package/src/components/revenue/comprehen/Bill/Eticket/EticketOpenPage.vue +329 -329
- package/src/components/revenue/comprehen/Bill/Eticket/EticketRecordList.vue +269 -269
- package/src/components/revenue/comprehen/Bill/EticketManage.vue +198 -198
- package/src/components/revenue/comprehen/Bill/EticketRecordList.vue +354 -354
- package/src/components/revenue/comprehen/Bill/EticketV4/CustQueryEticket.vue +333 -333
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketManage.vue +67 -67
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenCard.vue +348 -348
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenJBPage.vue +349 -349
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketOpenPage.vue +340 -340
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketRecordList.vue +400 -400
- package/src/components/revenue/comprehen/Bill/asyncEticket/CustQueryEticketAsync.vue +308 -308
- package/src/components/revenue/comprehen/Bill/paper/AddBill.vue +186 -186
- package/src/components/revenue/comprehen/Bill/paper/BillChangeDetail.vue +57 -57
- package/src/components/revenue/comprehen/Bill/paper/BillDetail.vue +289 -289
- package/src/components/revenue/comprehen/Bill/paper/BillList.vue +238 -238
- package/src/components/revenue/comprehen/Bill/paperbill/DistributionDetail.vue +186 -186
- package/src/components/revenue/comprehen/Bill/paperbill/DistributionGather.vue +139 -139
- package/src/components/revenue/comprehen/CardManage/CardAllotEdit.vue +171 -171
- package/src/components/revenue/comprehen/CardManage/CardAllotList.vue +110 -110
- package/src/components/revenue/comprehen/CardManage/CardDetailEdit.vue +130 -130
- package/src/components/revenue/comprehen/CardManage/CardDetailList.vue +110 -110
- package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +300 -300
- package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPaymentConstrast.vue +301 -301
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellation.vue +245 -245
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/ChangeMeterReader.vue +93 -93
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferManage.vue +533 -533
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferRecords.vue +236 -236
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeAccount/Transferlist.vue +209 -209
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeMeter/ChangeNewMeter.vue +562 -562
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeMeter/IOTMeter.vue +133 -133
- package/src/components/revenue/comprehen/ComprehenOperation/ChangeMeter/MachineMeter.vue +114 -114
- package/src/components/revenue/comprehen/ComprehenOperation/FeeDeduction/feeDeduction.vue +201 -201
- package/src/components/revenue/comprehen/ComprehenOperation/FeeDeduction/feeMachine.vue +169 -169
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +255 -255
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/iotTable.vue +162 -162
- package/src/components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage.vue +95 -95
- package/src/components/revenue/comprehen/ComprehenOperation/MeterEnable/EnableManage.vue +186 -186
- package/src/components/revenue/comprehen/ComprehenOperation/OffGasAddGas/OffGasAddGas.vue +335 -335
- package/src/components/revenue/comprehen/ComprehenOperation/OrderDetails/OrderDetails.vue +412 -412
- package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +508 -508
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +438 -438
- package/src/components/revenue/comprehen/ComprehenOperation/PriceJustment/priceJustment.vue +124 -124
- package/src/components/revenue/comprehen/ComprehenOperation/RefundManage/RefundManage.vue +254 -254
- package/src/components/revenue/comprehen/ComprehenOperation/ReplaceCard/MachineCardBill.vue +92 -92
- package/src/components/revenue/comprehen/ComprehenOperation/ReplaceCard/ReplaceCardManage.vue +415 -415
- package/src/components/revenue/comprehen/ComprehenOperation/SellRecordChange/SellRecord.vue +83 -83
- package/src/components/revenue/comprehen/ComprehenOperation/SellRecordChange/UserinfoList.vue +74 -74
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +1149 -1149
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ResetMeter.vue +1101 -1101
- package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +235 -235
- package/src/components/revenue/comprehen/ComprehenOperation/removeTableCancel.vue +136 -136
- package/src/components/revenue/comprehen/ComprehenOperation/resetShowCardgas/ResetShowCardGas.vue +163 -163
- package/src/components/revenue/comprehen/ComprehenOperation/wallheating/WallheatingInfoAdd.vue +174 -174
- package/src/components/revenue/comprehen/Exemption/GasFeeReduction.vue +250 -250
- package/src/components/revenue/comprehen/Maintenance/T+MoneyDocking/moneyDocking.vue +202 -202
- package/src/components/revenue/comprehen/Maintenance/T+MoneyDocking/moneyDockingTow.vue +169 -169
- package/src/components/revenue/comprehen/Maintenance/bill/billListMaintain.vue +160 -160
- package/src/components/revenue/comprehen/Maintenance/bill/billOperate.vue +266 -266
- package/src/components/revenue/comprehen/Maintenance/bill/billRecordMaintain.vue +119 -119
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterListMaintain.vue +374 -374
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperate.vue +283 -283
- package/src/components/revenue/comprehen/Maintenance/changeMeter/maintenanceChangeMeterRecords.vue +148 -148
- package/src/components/revenue/comprehen/Maintenance/fillgas/fillgasRecordMaintain.vue +148 -148
- package/src/components/revenue/comprehen/Maintenance/fillgas/fillgasRecordMaintainList.vue +337 -337
- package/src/components/revenue/comprehen/Maintenance/fillgas/fillgasSpecific.vue +297 -297
- package/src/components/revenue/comprehen/Maintenance/group/MeterOperatemaingroup.vue +394 -394
- package/src/components/revenue/comprehen/Maintenance/group/StockListmaingroup.vue +477 -477
- package/src/components/revenue/comprehen/Maintenance/group/maintenancegroup.vue +149 -149
- package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +640 -640
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/comprehen/Maintenance/hand/maintenanceHandmeterRecords.vue +148 -148
- package/src/components/revenue/comprehen/Maintenance/otherRecords/OtherMaintenanceLists.vue +233 -233
- package/src/components/revenue/comprehen/Maintenance/otherRecords/Otherrecordmaintenance.vue +173 -173
- package/src/components/revenue/comprehen/Maintenance/otherRecords/specificInformation.vue +416 -416
- package/src/components/revenue/comprehen/Maintenance/pictureManage/pictureListMaintain.vue +377 -377
- package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +397 -397
- package/src/components/revenue/comprehen/Maintenance/revenue/StockListmain.vue +529 -529
- package/src/components/revenue/comprehen/Maintenance/revenue/maintenance.vue +150 -150
- package/src/components/revenue/comprehen/Message/AllUser.vue +608 -608
- package/src/components/revenue/comprehen/Message/AllUserNew.vue +617 -617
- package/src/components/revenue/comprehen/Message/ArrearsList.vue +397 -397
- package/src/components/revenue/comprehen/Message/MessageList.vue +635 -635
- package/src/components/revenue/comprehen/Message/TemplateMessage.vue +92 -92
- package/src/components/revenue/comprehen/Message/UserDefinedMessage.vue +90 -90
- package/src/components/revenue/comprehen/Message/UserDefinedMessageNew.vue +114 -114
- package/src/components/revenue/comprehen/PreferentialPolicies/PrivilegeEdit.vue +257 -257
- package/src/components/revenue/comprehen/PreferentialPolicies/PrivilegeList.vue +135 -135
- package/src/components/revenue/comprehen/ResourceRecord/ResourceRecordQuery.vue +186 -186
- package/src/components/revenue/comprehen/SpecialUser/BasicLiving/BasicLiving.vue +277 -277
- package/src/components/revenue/comprehen/SpecialUser/BasicLiving/BasicLivingList.vue +280 -280
- package/src/components/revenue/comprehen/SpecialUser/BasicLiving/UpdateBasicLiving.vue +59 -59
- package/src/components/revenue/comprehen/SpecialUser/BasicLiving/stopBasicLiving.vue +171 -171
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackList.vue +290 -290
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListDetail.vue +71 -71
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListList.vue +275 -275
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListRecord.vue +62 -62
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackModal.vue +211 -211
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackRecordQuery.vue +211 -211
- package/src/components/revenue/comprehen/StairPrice/GasPrice.vue +521 -521
- package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +319 -319
- package/src/components/revenue/comprehen/StairPrice/GasPriceUser.vue +485 -485
- package/src/components/revenue/comprehen/StairPrice/PriceChangeDetail.vue +76 -76
- package/src/components/revenue/comprehen/StairPrice/PriceChangeHistory.vue +71 -71
- package/src/components/revenue/comprehen/StairPrice/PriceRecord.vue +138 -138
- package/src/components/revenue/comprehen/StairPrice/UpdateInfo.vue +68 -68
- package/src/components/revenue/comprehen/ToolCard/CardTypeDetail.vue +191 -191
- package/src/components/revenue/comprehen/TotalSplit/AllUserFiles.vue +120 -120
- package/src/components/revenue/comprehen/TotalSplit/SplitList.vue +264 -264
- package/src/components/revenue/comprehen/TotalSplit/TotalSplitList.vue +126 -126
- package/src/components/revenue/comprehen/TotalSplit/TotalSplitManage.vue +46 -46
- package/src/components/revenue/comprehen/alipay/alipayConstrast.vue +291 -291
- package/src/components/revenue/comprehen/alipay/alipayDetail.vue +395 -395
- package/src/components/revenue/comprehen/batch/batchEditFiles.vue +237 -237
- package/src/components/revenue/comprehen/batch/batchEditHistory.vue +93 -93
- package/src/components/revenue/comprehen/batch/batchEditManage.vue +131 -131
- package/src/components/revenue/comprehen/batch/batchUserList.vue +327 -327
- package/src/components/revenue/comprehen/closeaccount/Closeaccount.vue +190 -190
- package/src/components/revenue/comprehen/closeaccount/battchcancelaudit.vue +419 -419
- package/src/components/revenue/comprehen/common/ImportExcel.vue +133 -133
- package/src/components/revenue/comprehen/device/deviceEdit.vue +106 -106
- package/src/components/revenue/comprehen/device/deviceList.vue +146 -146
- package/src/components/revenue/comprehen/gasbrand/AddGasBrand.vue +512 -512
- package/src/components/revenue/comprehen/gasbrand/AddGasMeterInitParam.vue +153 -153
- package/src/components/revenue/comprehen/gasbrand/AddGasModel.vue +122 -122
- package/src/components/revenue/comprehen/gasbrand/AddGasModelInfo.vue +128 -128
- package/src/components/revenue/comprehen/gasbrand/AddJsonParameter.vue +163 -163
- package/src/components/revenue/comprehen/gasbrand/AddUseringOrg.vue +177 -177
- package/src/components/revenue/comprehen/gasbrand/GasBrandList.vue +241 -241
- package/src/components/revenue/comprehen/gasbrand/GasBrandUser.vue +185 -185
- package/src/components/revenue/comprehen/gasbrand/GasModelInfo.vue +93 -93
- package/src/components/revenue/comprehen/gasbrand/Parames.vue +293 -293
- package/src/components/revenue/comprehen/gasbrand/ViewOrg.vue +43 -43
- package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +392 -392
- package/src/components/revenue/comprehen/insurance/insuranceGuanL.vue +337 -337
- package/src/components/revenue/comprehen/ovdue/Overduetax.vue +624 -624
- package/src/components/revenue/comprehen/posQuery/PosQueryList.vue +430 -430
- package/src/components/revenue/comprehen/replacement/replaceMentList.vue +412 -412
- package/src/components/revenue/comprehen/replacement/replacementHandInfoRecord.vue +155 -155
- package/src/components/revenue/comprehen/replacement/replacementSingleInfoOperation.vue +296 -296
- package/src/components/revenue/comprehen/wechatpay/WeChatPayContrast.vue +327 -327
- package/src/components/revenue/comprehen/wechatpay/WeChatPayDetail.vue +448 -448
- package/src/components/revenue/comprehen/wechatpay/WeChatPayPos.vue +177 -177
- package/src/components/revenue/comprehen/wechatpay/wechatValidateManage.vue +303 -303
- package/src/components/revenue/concentrator/ncAddressList.vue +141 -141
- package/src/components/revenue/concentrator/ncArchivesAdd.vue +646 -646
- package/src/components/revenue/concentrator/ncArchivesList.vue +199 -199
- package/src/components/revenue/concentrator/ncUserfilesList.vue +391 -391
- package/src/components/revenue/concentrator/ncUserfilesList2.vue +478 -478
- package/src/components/revenue/dispatch/dispatchDown.vue +402 -402
- package/src/components/revenue/dispatch/dispatchList.vue +430 -430
- package/src/components/revenue/dispatch/showList.vue +83 -83
- package/src/components/revenue/invoiceuse/CompanyTitleInput.vue +98 -98
- package/src/components/revenue/invoiceuse/InvoiceChargeList.vue +301 -301
- package/src/components/revenue/invoiceuse/InvoiceEntry.vue +78 -78
- package/src/components/revenue/invoiceuse/InvoiceGoodsInfoEntry.vue +140 -140
- package/src/components/revenue/invoiceuse/InvoiceGoodsInput.vue +90 -90
- package/src/components/revenue/invoiceuse/InvoiceInfoEntry.vue +142 -142
- package/src/components/revenue/invoiceuse/InvoiceInformationInput.vue +110 -110
- package/src/components/revenue/invoiceuse/InvoiceUse.vue +269 -269
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +919 -919
- package/src/components/revenue/machineHandManage/HandplanQuery.vue +1350 -1350
- package/src/components/revenue/machineHandManage/machineDown.vue +1148 -1148
- package/src/components/revenue/machineHandManage/machineHand.vue +2071 -2071
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +773 -773
- package/src/components/revenue/machineHandManage/machineUploaded.vue +316 -316
- package/src/components/revenue/priceAdjustment/CardPriceAdjustment.vue +169 -169
- package/src/components/revenue/priceAdjustment/cardMange/cardSellingDifference.vue +331 -331
- package/src/components/revenue/printing/PrintingFileUserFiles.vue +867 -867
- package/src/components/revenue/regionalgas/regionalList.vue +232 -232
- package/src/components/revenue/regionalgas/regionalListRecord.vue +72 -72
- package/src/components/revenue/regionalgas/regionaladd.vue +267 -267
- package/src/components/revenue/stopairmanage/stopairList.vue +201 -201
- package/src/components/revenue/stopairmanage/stopairListRecord.vue +82 -82
- package/src/components/revenue/stopairmanage/stopairadd.vue +228 -228
- package/src/components/revenue/third/rizhao/transferAudit.vue +205 -205
- package/src/components/revenue/third/rizhao/transferAuditDisposeBasics.vue +220 -220
- package/src/components/revenue/third/transferAudit.vue +205 -205
- package/src/components/revenue/third/transferAuditDisposeBasics.vue +213 -213
- package/src/components/revenue/todoList/CompileList.vue +93 -93
- package/src/components/revenue/todoList/TodoList.vue +129 -129
- package/src/components/service/BluetoothSell.js +76 -76
- package/src/components/service/PCSell.js +77 -77
- package/src/components/service/Save.js +77 -77
- package/src/components/valueaddserver/valueaddservershow.vue +253 -253
- package/src/components/webMeter/MeterManage/WebMeterBatchOperate.vue +200 -200
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +818 -818
- package/src/components/webMeter/NewWebMeterHandPlan.vue +716 -716
- package/src/components/webMeter/WebBalanceQuery.vue +532 -532
- package/src/components/webMeter/WebmeterFlowmeter.vue +1064 -1064
- package/src/components/webMeter/approvalHandleList.vue +548 -548
- package/src/components/webMeter/common/MeterMsg.vue +596 -596
- package/src/components/webMeter/common/NewWatchMsg.vue +586 -586
- package/src/components/webMeter/common/QueryInstruct.vue +244 -244
- package/src/components/webMeter/common/SignParameter.vue +278 -278
- package/src/components/webMeter/common/WatchCollection.vue +96 -96
- package/src/components/webMeter/common/WatchCost.vue +101 -101
- package/src/components/webMeter/common/WatchDealWarning.vue +231 -231
- package/src/components/webMeter/common/WatchRecharge.vue +159 -159
- package/src/components/webMeter/common/WebMeterInfoManage.vue +124 -124
- package/src/components/webMeter/common/batteryEcharts.vue +159 -159
- package/src/components/webMeter/common/signalEcharts.vue +155 -155
- package/src/components/webMeter/dataCollection/NewWebMeterHandPlan.vue +810 -810
- package/src/components/webMeter/iotBalanceAnalyse.vue +374 -374
- package/src/components/webMeter/meterinfo/NewMeterList.vue +706 -706
- package/src/components/webMeter/paramSave/ParamHistory.vue +115 -115
- package/src/components/webMeter/paramSave/ParamSet.vue +668 -668
- package/src/components/webMeter/paramSave/ParamSetForm.vue +344 -344
- package/src/components/webMeter/paramSaveNew/ParamExceptions.vue +56 -56
- package/src/components/webMeter/paramSaveNew/ParamHistory.vue +164 -164
- package/src/components/webMeter/paramSaveNew/ParamSet.vue +596 -596
- package/src/components/webMeter/paramSaveNew/ParamSetDefault.vue +221 -221
- package/src/components/webMeter/paramSaveNew/ParamSetDefaultList.vue +68 -68
- package/src/components/webMeter/paramSaveNew/ParamSetForm.vue +507 -507
- package/src/components/webMeter/webInfo/EditWebMeterInfo.vue +278 -278
- package/src/components/webMeter/webInfo/MeterHistory.vue +74 -74
- package/src/components/webMeter/webInfo/UseWebMeter.vue +185 -185
- package/src/components/webMeter/webInfo/WebMeterInfo.vue +80 -80
- package/src/components/webMeter/webInfo/WebMeterList.vue +430 -430
- package/src/components/webMeter/webInfo/qinhua/EditWebMeterInfo.vue +247 -247
- package/src/components/webMeter/webInfo/qinhua/MeterHistory.vue +74 -74
- package/src/components/webMeter/webInfo/qinhua/WebMeterInfo.vue +79 -79
- package/src/components/webMeter/webInfo/qinhua/WebMeterList.vue +357 -357
- package/src/components/weinan/YuShou.vue +116 -116
- package/src/components/weinan/tree/Hhhh.vue +194 -194
- package/src/components/weinan/tree/ShowMessage.vue +136 -136
- package/src/components/zhoukou/DeveloperInfo.vue +327 -327
- package/src/components/zhoukou/LogRecordList.vue +188 -188
- package/src/filiale/alashan/UserBaseInfoNew.vue +481 -481
- package/src/filiale/ancheng/NewMeterList.vue +607 -607
- package/src/filiale/bayan/CardMeterCenter.vue +956 -956
- package/src/filiale/bayan/CardService.js +2237 -2237
- package/src/filiale/bayan/ChargeManage.vue +316 -316
- package/src/filiale/bayan/ChargeOper.vue +312 -312
- package/src/filiale/bayan/IOTMeterCenter.vue +873 -873
- package/src/filiale/bayan/MachineMeterCenter.vue +665 -665
- package/src/filiale/bayan/NoCardMeterCenter.vue +501 -501
- package/src/filiale/bayan/OtherChargeNew.vue +643 -643
- package/src/filiale/bayan/ReplaceCardManage.vue +419 -419
- package/src/filiale/bayan/ShowCardSellGas.vue +935 -935
- package/src/filiale/bayan/UnWriteCardCenter.vue +112 -112
- package/src/filiale/bayan/Userinfo.vue +280 -280
- package/src/filiale/bayan/sale.js +30 -30
- package/src/filiale/dexin/TransferManage.vue +534 -534
- package/src/filiale/dexin/sale.js +7 -7
- package/src/filiale/dongguan/components/common/userinfo_detail/UserBaseInfoNew.vue +504 -504
- package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +789 -789
- package/src/filiale/ganquan/components/UserFiles/UserPaperInfoTest.vue +81 -81
- package/src/filiale/gehua/UserBaseInfoNew.vue +469 -469
- package/src/filiale/gehua/machineHandManage/HandplanQuery.vue +1259 -1259
- package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +788 -788
- package/src/filiale/haile/UserBaseInfoNew.vue +463 -463
- package/src/filiale/haile/machineHand.vue +2135 -2135
- package/src/filiale/haile/unHandplanQuery.vue +760 -760
- package/src/filiale/jingyang/ChangeMeter.vue +1171 -1171
- package/src/filiale/jingyang/EticketPrint.vue +228 -228
- package/src/filiale/jingyang/EticketV4/CustQueryEticket.vue +417 -417
- package/src/filiale/jingyang/EticketV4/EticketManage.vue +67 -67
- package/src/filiale/jingyang/EticketV4/EticketOpenCard.vue +411 -411
- package/src/filiale/jingyang/EticketV4/EticketOpenPage.vue +431 -431
- package/src/filiale/jingyang/EticketV4/EticketRecordList.vue +448 -448
- package/src/filiale/jingyang/GovernmentSell.vue +361 -361
- package/src/filiale/jingyang/charge/IOTMeterCenter.vue +872 -872
- package/src/filiale/jingyang/sale.js +26 -26
- package/src/filiale/kelai/FeeDeduction/deductionManage.vue +25 -25
- package/src/filiale/kelai/FeeDeduction/feeDeduction.vue +211 -211
- package/src/filiale/kelai/FeeDeduction/feeMachine.vue +169 -169
- package/src/filiale/kelai/meterinfodetail.vue +255 -255
- package/src/filiale/kelai/sale.js +52 -52
- package/src/filiale/liaoyuan/CardList.vue +559 -559
- package/src/filiale/liaoyuan/FileManage/MeterinfoTest.vue +581 -581
- package/src/filiale/liaoyuan/UserBaseInfoNew.vue +472 -472
- package/src/filiale/liaoyuan/sale.js +57 -57
- package/src/filiale/lixianV3/MachineMeterCenter.vue +691 -691
- package/src/filiale/lixianV3/OweDetailList.vue +79 -79
- package/src/filiale/lixianV3/OweList.vue +157 -157
- package/src/filiale/lixianV3/sale.js +21 -21
- package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +373 -373
- package/src/filiale/macheng/HandManager.vue +1597 -1597
- package/src/filiale/macheng/UserBaseInfoNew.vue +353 -353
- package/src/filiale/macheng/UserEssentialInfoTest.vue +368 -368
- package/src/filiale/meihekou/ChargeList.vue +807 -807
- package/src/filiale/meihekou/FileUserFiles.vue +986 -986
- package/src/filiale/meihekou/HandManager.vue +1789 -1789
- package/src/filiale/meihekou/MbpeopleList.vue +573 -573
- package/src/filiale/meihekou/MeterBookAdd.vue +410 -410
- package/src/filiale/meihekou/MeterinfoTest.vue +635 -635
- package/src/filiale/meihekou/UserBaseInfoNew.vue +488 -488
- package/src/filiale/meihekou/meterinfodetail.vue +240 -240
- package/src/filiale/meihekou/sale.js +52 -52
- package/src/filiale/ningjin/HandplanQuery.vue +1194 -1194
- package/src/filiale/qianneng/ArrearsList.vue +417 -417
- package/src/filiale/qianneng/components/common/userinfo_detail/UserBaseInfoNew.vue +470 -470
- package/src/filiale/qianneng/revenue/common/ic_detail/HandQueryUser.vue +419 -419
- package/src/filiale/qianneng/sale.js +103 -103
- package/src/filiale/qingtongxia/UserBaseInfoNew.vue +603 -603
- package/src/filiale/qingtongxia/sale.js +17 -17
- package/src/filiale/rizhao/ChargeList.vue +1062 -1062
- package/src/filiale/rizhao/IOTMeterCenter.vue +795 -795
- package/src/filiale/rizhao/UserBaseInfoNew.vue +452 -452
- package/src/filiale/rizhao/otherinfo.vue +92 -92
- package/src/filiale/rongchuang/CardMeterCenter.vue +918 -918
- package/src/filiale/rongchuang/DepositCharge.vue +373 -373
- package/src/filiale/rongchuang/EticketPrint.vue +503 -503
- package/src/filiale/rongchuang/EticketRecordList.vue +265 -265
- package/src/filiale/rongchuang/GasPriceList.vue +359 -359
- package/src/filiale/rongchuang/IOTMeterCenter.vue +809 -809
- package/src/filiale/rongchuang/LimitGas.vue +233 -233
- package/src/filiale/rongchuang/MeterinfoTest.vue +752 -752
- package/src/filiale/rongchuang/NoCardMeterCenter.vue +469 -469
- package/src/filiale/rongchuang/OtherChargeNew.vue +445 -445
- package/src/filiale/rongchuang/OtherGas.vue +329 -329
- package/src/filiale/rongchuang/OverUseCharge.vue +435 -435
- package/src/filiale/rongchuang/PrintBill.vue +113 -113
- package/src/filiale/rongchuang/ReissueBill.vue +294 -294
- package/src/filiale/rongchuang/ReplaceCardManage.vue +412 -412
- package/src/filiale/rongchuang/ShowCardSellGas.vue +852 -852
- package/src/filiale/rongchuang/Userinfo.vue +176 -176
- package/src/filiale/rongchuang/bill/CustQueryEticket.vue +439 -439
- package/src/filiale/rongchuang/bill/EticketOpenCard.vue +264 -264
- package/src/filiale/rongchuang/bill/EticketOpenJBPage.vue +261 -261
- package/src/filiale/rongchuang/bill/EticketOpenPage.vue +249 -249
- package/src/filiale/rongchuang/bill/EticketRecordList.vue +277 -277
- package/src/filiale/rongchuang/handListMaintain.vue +641 -641
- package/src/filiale/rongchuang/handOperate.vue +454 -454
- package/src/filiale/rongchuang/sale.js +50 -50
- package/src/filiale/shangluo/ChangeMeter.vue +1184 -1184
- package/src/filiale/shangluo/sale.js +19 -19
- package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +792 -792
- package/src/filiale/shanxian/components/webMeter/meterinfo/NewMeterList.vue +602 -602
- package/src/filiale/shaoguan/HandplanQuery.vue +1329 -1329
- package/src/filiale/shaoguan/base/UserBaseInfoNew.vue +474 -474
- package/src/filiale/shexian/ChargeList.vue +1026 -1026
- package/src/filiale/shexian/UserBaseInfoNew.vue +469 -469
- package/src/filiale/shexian/revenue/newchangemeter/ChangeMeter.vue +1168 -1168
- package/src/filiale/shiquan/GasPriceList.vue +342 -342
- package/src/filiale/shiquan/sale.js +31 -31
- package/src/filiale/taizhoukesi/ChangeMeterQueryUser.vue +244 -244
- package/src/filiale/taizhoukesi/UserInfoDetailManageNew.vue +214 -214
- package/src/filiale/taizhoukesi/sale.js +6 -6
- package/src/filiale/tongchuan/EticketManage.vue +60 -60
- package/src/filiale/tongchuan/Maintenance/revenue/MeterOperatemain.vue +319 -319
- package/src/filiale/tongchuan/UserBaseInfoNew.vue +378 -378
- package/src/filiale/tongchuan/bill/CustQueryEticketQueryV4.vue +337 -337
- package/src/filiale/tongchuan/bill/EticketOpenCard.vue +323 -323
- package/src/filiale/tongchuan/bill/EticketOpenIotSalePage.vue +333 -333
- package/src/filiale/tongchuan/bill/EticketOpenJBPage.vue +386 -386
- package/src/filiale/tongchuan/bill/EticketOpenPage.vue +347 -347
- package/src/filiale/tongchuan/bill/EticketPrint.vue +483 -483
- package/src/filiale/tongchuan/bill/EticketRecordList.vue +278 -278
- package/src/filiale/tongchuan/paperaudit.vue +310 -310
- package/src/filiale/tongchuan/sale.js +154 -154
- package/src/filiale/wenxi/DisableManage.vue +150 -150
- package/src/filiale/wenxi/cardsHand.vue +974 -974
- package/src/filiale/wenxi/plugging/UserPlugging.vue +100 -100
- package/src/filiale/xinkang/UserBaseInfoNew.vue +446 -446
- package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +789 -789
- package/src/filiale/yangchun/CardList.vue +559 -559
- package/src/filiale/yangchun/CardMeterCenter.vue +992 -965
- package/src/filiale/yangchun/ChangeMeter.vue +1191 -1191
- package/src/filiale/yangchun/EticketModal.vue +95 -95
- package/src/filiale/yangchun/EticketV4/CustQueryEticket.vue +334 -334
- package/src/filiale/yangchun/EticketV4/EticketManage.vue +64 -64
- package/src/filiale/yangchun/EticketV4/EticketOpenCard.vue +349 -349
- package/src/filiale/yangchun/EticketV4/EticketOpenJBPage.vue +350 -350
- package/src/filiale/yangchun/EticketV4/EticketOpenPage.vue +341 -341
- package/src/filiale/yangchun/FilesManage/UserEssentialInfoTest.vue +643 -643
- package/src/filiale/yangchun/FilesManage/UserGeneralInfoTest.vue +810 -810
- package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +63 -63
- package/src/filiale/yangchun/OtherChargeDetail.vue +97 -97
- package/src/filiale/yangchun/OtherChargeNew.vue +702 -702
- package/src/filiale/yangchun/plugins/LogicService.js +496 -496
- package/src/filiale/yangchun/sale.js +65 -65
- package/src/filiale/yuansheng/UserBaseInfoNew.vue +447 -447
- package/src/filiale/yuncheng/ChargeManage.vue +316 -316
- package/src/filiale/yuncheng/ChargeOper.vue +286 -286
- package/src/filiale/yuncheng/HandplanQuery.vue +1377 -1377
- package/src/filiale/yuncheng/Mulitinfo.vue +75 -75
- package/src/filiale/yuncheng/deviceinfodetail.vue +144 -144
- package/src/filiale/yuncheng/machineDown.vue +1151 -1151
- package/src/filiale/yuncheng/machineHandAudit.vue +893 -893
- package/src/filiale/yuncheng/sale.js +52 -52
- package/src/filiale/zhongsheng/charge/UserBaseInfoNew.vue +451 -451
- package/src/filiale/zhongyi/HandplanQuery.vue +1198 -1198
- package/src/filiale/zhongyi/common/MeterMessage.vue +184 -184
- package/src/filiale/zhongyi/machineHand.vue +2212 -2212
- package/src/filiale/zhongyi/sale.js +40 -40
- package/src/main.js +33 -33
- package/src/plugins/BillService.js +63 -63
- package/src/plugins/CancelService.js +298 -298
- package/src/plugins/CardManageService.js +21 -21
- package/src/plugins/CardService.js +2119 -2119
- package/src/plugins/ChangeMeterService.js +760 -760
- package/src/plugins/CommonService.js +302 -302
- package/src/plugins/FileManageService.js +460 -460
- package/src/plugins/FileService.js +270 -270
- package/src/plugins/GetLoginInfoService.js +495 -495
- package/src/plugins/GetSaleParams.js +217 -217
- package/src/plugins/HandService.js +35 -35
- package/src/plugins/InvoiceService.js +80 -80
- package/src/plugins/LoadParams.js +117 -117
- package/src/plugins/LogicService.js +491 -491
- package/src/plugins/MachineChargeService.js +120 -120
- package/src/plugins/OffGasAddGasService.js +176 -176
- package/src/plugins/PrintService.js +134 -134
- package/src/plugins/SelectService.js +44 -44
- package/src/plugins/jsign.js +168 -168
- package/src/project/State.js +17 -17
- package/src/sale.js +1212 -1212
- package/src/sign.html +399 -399
- package/src/stores/MagLoadParams.js +61 -61
|
@@ -1,795 +1,795 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="span" style="overflow-y: auto;">
|
|
4
|
-
<validator name='v'>
|
|
5
|
-
<form novalidate class="form-horizontal">
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="col-sm-4 form-group" :class="[$v.payment.required ? 'select-error' : '']">
|
|
8
|
-
<label class=" font_normal_body" title="参数名称:付款方式">收款方式</label>
|
|
9
|
-
<input type="text" v-show="false" v-model="$refs.payment.selectedItems" v-validate:payment='{required: true }'>
|
|
10
|
-
<v-select v-model="f_payment"
|
|
11
|
-
placeholder='请选择'
|
|
12
|
-
:value.sync="model.f_payment"
|
|
13
|
-
close-on-select
|
|
14
|
-
:options='paytype' clear-button v-ref:payment></v-select>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<div class="col-sm-4 form-group"
|
|
18
|
-
:class="[$v.f_pregas.required || $v.f_pregas.dctest? 'has-error' : 'has-success']">
|
|
19
|
-
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
20
|
-
<input class="input_search" style="width:60%" type="number" id="pregasFocue"
|
|
21
|
-
@blur="pregas()" v-model="model.f_pregas"
|
|
22
|
-
v-validate:f_pregas='{required: true, dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
23
|
-
v-next-el='sk' >
|
|
24
|
-
</div>
|
|
25
|
-
<!-- <div class="col-sm-4 form-group" v-if="row.f_collection_type == '按金额'">
|
|
26
|
-
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
27
|
-
<input class="input_search" style="width:60%" type="number" v-model="model.f_pregas" placeholder="预购气量" disabled>
|
|
28
|
-
</div>-->
|
|
29
|
-
|
|
30
|
-
<div class="col-sm-4 form-group"
|
|
31
|
-
:class="[$v.f_preamount.required || $v.f_preamount.dctest? 'has-error' : 'has-success']">
|
|
32
|
-
<label for="f_preamount" class=" font_normal_body">预购金额</label>
|
|
33
|
-
<input class="input_search" style="width:60%" @blur="preamount()" type="number" v-model="model.f_preamount"
|
|
34
|
-
v-validate:f_preamount='{required: true, dctest: [maxmoney, "<=" ] }'
|
|
35
|
-
v-scale="[model.f_preamount, 2]" placeholder="预购金额" >
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
<div class="row" style="margin-top:6px;">
|
|
39
|
-
<div class="col-sm-4 form-group" :class="[$v.printstyle.required ? 'select-error' : '']">
|
|
40
|
-
<label for="f_print" class="font_normal_body">打印格式</label>
|
|
41
|
-
<input type="text" v-show="false" v-model="$refs.printstyle.selectedItems" v-validate:printstyle='{required: true }'>
|
|
42
|
-
<v-select id="print"
|
|
43
|
-
v-model="f_print"
|
|
44
|
-
placeholder='请选择'
|
|
45
|
-
:multiple="false"
|
|
46
|
-
:value.sync="model.f_print"
|
|
47
|
-
:options='printstyle'
|
|
48
|
-
close-on-select clear-button v-ref:printstyle>
|
|
49
|
-
</v-select>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="col-sm-4 form-group" v-if="hasLimit&&limitgas">
|
|
52
|
-
<label class="font_normal_body">购气上限</label>
|
|
53
|
-
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxgas"
|
|
54
|
-
v-scale="[maxgas, 2]" placeholder='限购余气' disabled>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="col-sm-4 form-group" v-if="hasLimit&&limitmoney">
|
|
57
|
-
<label class="font_normal_body">金额上限</label>
|
|
58
|
-
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxmoney"
|
|
59
|
-
v-scale="[maxmoney, 2]" placeholder='限购金额' disabled>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="col-sm-4 form-group" v-if="!hasLimit">
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<div class="col-sm-4 form-group"
|
|
65
|
-
:class="[$v.f_totalcost.required || $v.f_totalcost.dctest ? 'has-error' : 'has-success']">
|
|
66
|
-
<label for="f_temp_amount" v-if="row.f_collection_type === '按气量'"
|
|
67
|
-
class=" font_normal_body">应收金额</label>
|
|
68
|
-
<label for="f_temp_amount" v-if="row.f_collection_type === '按金额'"
|
|
69
|
-
class=" font_normal_body">本次缴费</label>
|
|
70
|
-
<input class="input_search" style="width:60%" type="number"
|
|
71
|
-
@blur="preamount()" v-model="model.f_totalcost"
|
|
72
|
-
v-validate:f_totalcost='{required: true, dctest: [0, ">=" ] }' placeholder="应收金额"
|
|
73
|
-
v-next-el='sk' v-scale="[model.f_totalcost, 2]" disabled>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="row">
|
|
77
|
-
<div class="col-sm-4 form-group">
|
|
78
|
-
<label for="f_balance" class="font_normal_body">上期结余</label>
|
|
79
|
-
<input class="input_search" style="width:60%" type="number" v-model="model.f_balance"
|
|
80
|
-
v-scale="[model.f_balance, 2]" placeholder="上期结余" disabled>
|
|
81
|
-
</div>
|
|
82
|
-
|
|
83
|
-
<div class="col-sm-4 form-group">
|
|
84
|
-
<label for="f_curbalance" class="font_normal_body">本期结余</label>
|
|
85
|
-
<input class="input_search" style="width:60%" type="number" v-model="curbalance"
|
|
86
|
-
v-scale="[model.f_curbalance, 2]" placeholder="本期结余" disabled>
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
<!-- <div class="col-sm-3 form-group" v-if="row.f_collection_type === '按气量' && model.f_payment!='赠气'"-->
|
|
90
|
-
<!-- :class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error' : 'has-success']">-->
|
|
91
|
-
<!-- <label for="f_collection" class=" font_normal_body"> 收款 </label>-->
|
|
92
|
-
<!-- <input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"-->
|
|
93
|
-
<!-- v-validate:f_collection='{required: true, dctest: [(model.f_totalcost - 0), ">=" ] }'-->
|
|
94
|
-
<!-- v-el:sk v-scale="[model.f_totalcost, 2]" :disabled="$refs.givechange.promptText != ''">-->
|
|
95
|
-
<!-- </div>-->
|
|
96
|
-
<!-- <div class="col-sm-3 form-group" v-if="row.f_collection_type === '按气量' && model.f_payment=='赠气'"-->
|
|
97
|
-
<!-- :class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error' : 'has-success']">-->
|
|
98
|
-
<!-- <label for="f_collection" class=" font_normal_body"> 收款 </label>-->
|
|
99
|
-
<!-- <input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"-->
|
|
100
|
-
<!-- v-el:sk v-scale="[model.f_totalcost, 2]" :disabled="$refs.givechange.promptText != ''">-->
|
|
101
|
-
<!-- </div>-->
|
|
102
|
-
<div class="col-sm-3 form-group">
|
|
103
|
-
<label for="f_collection" class=" font_normal_body"> 收款 </label>
|
|
104
|
-
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"
|
|
105
|
-
v-el:sk v-scale="[model.f_collection, 2]" disabled>
|
|
106
|
-
</div>
|
|
107
|
-
<div class="col-sm-1 form-group">
|
|
108
|
-
<give-change :curbalance="curbalance" :collection.sync="model.f_collection" v-ref:givechange></give-change>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
<div class="row" style="margin-top:5px;">
|
|
112
|
-
<div class="col-sm-9">
|
|
113
|
-
</div>
|
|
114
|
-
<div class="col-sm-3">
|
|
115
|
-
<span v-if="$v.f_collection.dctest" style="color:red ">收款不能小于应收金额</span>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
<div class="row" style="margin-top:5px;" v-show="authArr.includes('优惠权限')">
|
|
119
|
-
<div class="col-sm-4 form-group">
|
|
120
|
-
<label class="font_normal_body">优惠方式</label>
|
|
121
|
-
<v-select v-model="model.f_privilege_id" @blur.native.capture="privilegeCalculate"
|
|
122
|
-
placeholder='请选择'
|
|
123
|
-
:value.sync="model.f_privilege_id"
|
|
124
|
-
:options='privilegeList' clear-button value-single>
|
|
125
|
-
</v-select>
|
|
126
|
-
</div>
|
|
127
|
-
<div class="col-sm-4 form-group">
|
|
128
|
-
<label for="f_preamount" class=" font_normal_body"> 优惠金额</label>
|
|
129
|
-
<input class="input_search" style="width:60%" type="number" v-model="model.f_privilege_money"
|
|
130
|
-
v-scale="[model.f_privilege_money, 2]" placeholder="优惠金额" disabled>
|
|
131
|
-
</div>
|
|
132
|
-
<div class="col-sm-4 form-group">
|
|
133
|
-
<label for="f_preamount" class=" font_normal_body"> 实际收款</label>
|
|
134
|
-
<input class="input_search" style="width:60%" type="number" v-model="model.f_after_discount"
|
|
135
|
-
v-scale="[model.f_after_discount, 2]" placeholder="优惠后收款" disabled>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="row" v-if="model.f_payment[0].includes('POS')">
|
|
139
|
-
<div class="col-sm-4 form-group">
|
|
140
|
-
<label for="f_voucher_number" class="font_normal_body">凭证号</label>
|
|
141
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_voucher_number" placeholder="凭证号">
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
<div class="row" style="padding-top: 0.5em;">
|
|
145
|
-
<div class="col-sm-4" v-if="!mjshow" >
|
|
146
|
-
<label for="f_serial_number" class=" font_normal_body">业务单号</label>
|
|
147
|
-
<input class="input_search" style="width:60%" type="text"
|
|
148
|
-
v-model="model.f_serial_number" placeholder="业务单号">
|
|
149
|
-
</div>
|
|
150
|
-
<div class="col-sm-4" v-if="mjshow" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
|
|
151
|
-
<label for="f_serial_number" class=" font_normal_body">业务单号</label>
|
|
152
|
-
<input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
|
|
153
|
-
v-model="model.f_serial_number" placeholder="业务单号">
|
|
154
|
-
</div>
|
|
155
|
-
|
|
156
|
-
<div class="col-sm-8">
|
|
157
|
-
<label for="f_comments" class="font_normal_body"> 备 注 </label>
|
|
158
|
-
<input class="input_search" style="width:77%" v-model="model.f_comments" rows="1" placeholder="备注">
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
|
|
162
|
-
<div v-if="paymentModel.length >1">
|
|
163
|
-
<div class="row" style="margin-top:10px;" >
|
|
164
|
-
<p class="col-sm-2 text-left" style="padding: 10px;"><img src="../../../static/juxing.png"/><strong style="margin-left: 4%">付款明细</strong></p>
|
|
165
|
-
</div>
|
|
166
|
-
<div class="row" style="margin-top:10px;" >
|
|
167
|
-
<div class="col-sm-4 form-group " v-for="pay in paymentModel" >
|
|
168
|
-
<label class="font_normal_body">{{pay.f_payment}}:</label>
|
|
169
|
-
<input id="f_money" type="text" class="input_search" style="width:60%" v-model="pay.f_money">
|
|
170
|
-
</div>
|
|
171
|
-
<div class="col-sm-4 form-group ">
|
|
172
|
-
<strong v-if="!islegal" style="color: red">所输入的金额必须等于收款金额</strong>
|
|
173
|
-
</div>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
</form>
|
|
177
|
-
<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
|
|
178
|
-
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
179
|
-
<div style="text-align:right; height: 25%">
|
|
180
|
-
<strong style="color:red;margin-right: 5px">{{ $refs.givechange.promptText }}</strong>
|
|
181
|
-
<strong style="font-size: large" v-if="!config.notShowFormula">计算公式:{{calculatedetail ? calculatedetail : ' 暂无'}}</strong><br/>
|
|
182
|
-
<payment-code-button :clickable="!$v.valid || validateOk || !islegal || clickConfirm"
|
|
183
|
-
:payment.sync="model.f_payment" :payment-data="paytype"
|
|
184
|
-
@confirm-payment="confirm()">
|
|
185
|
-
</payment-code-button>
|
|
186
|
-
<button class="button_search btn-gn" type="submit" @click="checkInvoiceMsg()" :disabled='!$v.valid || validateOk || !islegal || clickConfirm'>确认</button>
|
|
187
|
-
<button class="button_clear btn-gn" @click="clean()">取消</button>
|
|
188
|
-
</div>
|
|
189
|
-
</validator>
|
|
190
|
-
</div>
|
|
191
|
-
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row" :money="model.f_after_discount"></payment-code>
|
|
192
|
-
</div>
|
|
193
|
-
<eticket-modal :show="eticket_msg" @closemodalshow="eticket_msg = false" :row="row" @confirm="confirm"></eticket-modal>
|
|
194
|
-
<ticket-print :show="eticket_show" @toggle="eticket_toggle" v-ref:eticketbill></ticket-print>
|
|
195
|
-
<upload :blodid="row.f_userinfo_id" v-if="config.showupload" isremark="true" fusetype="物联网表收费"></upload>
|
|
196
|
-
<!-- <modal :show.sync="showfiles" width="80%"style="width:auto;" v-ref:modal middle backdrop="false">-->
|
|
197
|
-
<!-- <article slot="modal-body">-->
|
|
198
|
-
<!-- <upload :blodid="row.f_userinfo_id" v-ref:upload :fusetype="uploadText" isremark="true" style="width:auto" ></upload>-->
|
|
199
|
-
<!-- </article>-->
|
|
200
|
-
<!-- <footer slot="modal-footer" class="modal-footer">-->
|
|
201
|
-
<!-- </footer>-->
|
|
202
|
-
<!-- </modal>-->
|
|
203
|
-
|
|
204
|
-
</template>
|
|
205
|
-
<script>
|
|
206
|
-
/**
|
|
207
|
-
*综合业务
|
|
208
|
-
*卡表收费组件
|
|
209
|
-
*/
|
|
210
|
-
|
|
211
|
-
import {HttpResetClass} from 'vue-client'
|
|
212
|
-
|
|
213
|
-
// 输入金额,换算气量
|
|
214
|
-
/* let preamountGen = async function (self) {
|
|
215
|
-
let calFee = (self.model.f_totalcost - 0) + (self.row.f_balance - 0)
|
|
216
|
-
self.model.f_preamount = calFee
|
|
217
|
-
self.model.f_collection = self.model.f_totalcost
|
|
218
|
-
} */
|
|
219
|
-
let preamountGen = async function (self) {
|
|
220
|
-
let calFee = self.model.f_preamount
|
|
221
|
-
let getGas = await self.$CommonService.feeCalculate(self.model, calFee)
|
|
222
|
-
if (getGas.data.gas) {
|
|
223
|
-
if (self.row.f_isdecimal === '是') {
|
|
224
|
-
if (self.row.f_alias === 'QiaoSong') {
|
|
225
|
-
self.model.f_pregas = (getGas.data.gas - 0).toFixed(1)
|
|
226
|
-
} else {
|
|
227
|
-
self.model.f_pregas = (getGas.data.gas - 0).toFixed(4)
|
|
228
|
-
}
|
|
229
|
-
self.dymoney = 0
|
|
230
|
-
} else {
|
|
231
|
-
// 如果不支持小数,将划价出的多余非整数气量进行划价为金额
|
|
232
|
-
let tempnum = Math.floor(getGas.data.gas - 0)
|
|
233
|
-
if (getGas.data.gas > tempnum) { // getGas.data.gas-tempnum-0
|
|
234
|
-
let dymoney1 = await self.$CommonService.gasCalculate(self.model, (tempnum).toFixed(4))
|
|
235
|
-
if (dymoney1.data.money) {
|
|
236
|
-
self.dymoney = (getGas.data.money - 0).toFixed(2) - (dymoney1.data.money - 0).toFixed(2)
|
|
237
|
-
}
|
|
238
|
-
} else {
|
|
239
|
-
self.dymoney = 0
|
|
240
|
-
}
|
|
241
|
-
self.model.f_pregas = Math.floor(getGas.data.gas - 0)
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
// 不划气量,归零
|
|
245
|
-
if (self.config.priceCalculation) {
|
|
246
|
-
self.model.f_pregas = 0
|
|
247
|
-
}
|
|
248
|
-
self.model.f_totalcost = ((self.row.f_balance - 0) > (self.model.f_preamount - 0) ? 0 : ((self.model.f_preamount - 0) - (self.row.f_balance - 0)).toFixed(4))
|
|
249
|
-
|
|
250
|
-
self.model.chargeprice = getGas.data.chargeprice
|
|
251
|
-
Object.assign(self.model, self.model, getGas.data)
|
|
252
|
-
self.model.f_totalcost = ((self.model.f_totalcost - 0) - (self.dymoney - 0)).toFixed(2)
|
|
253
|
-
if (self.config.floor) {
|
|
254
|
-
self.model.f_totalcost = Math.ceil(self.model.f_totalcost)
|
|
255
|
-
}
|
|
256
|
-
// self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
|
|
257
|
-
self.model.f_collection = self.model.f_totalcost
|
|
258
|
-
self.model.f_preamount = ((getGas.data.chargenum - 0) - (self.dymoney - 0))
|
|
259
|
-
if (self.model.f_payment == '赠气') {
|
|
260
|
-
self.model.f_totalcost = self.model.f_preamount
|
|
261
|
-
self.model.f_collection = 0
|
|
262
|
-
}
|
|
263
|
-
self.calText(getGas.data.chargeprice)
|
|
264
|
-
}
|
|
265
|
-
// 输入气量,换算金额
|
|
266
|
-
let pregasGen = async function (self) {
|
|
267
|
-
if (self.row.f_isdecimal === '是') {
|
|
268
|
-
self.model.f_pregas = (self.model.f_pregas - 0).toFixed(4)
|
|
269
|
-
} else {
|
|
270
|
-
self.model.f_pregas = (self.model.f_pregas - 0).toFixed(0)
|
|
271
|
-
}
|
|
272
|
-
if ((self.model.f_pregas - 0) - (self.maxgas - 0) <= 0) {
|
|
273
|
-
self.model.f_meter_type = self.row.f_meter_type
|
|
274
|
-
let getAmount = await self.$CommonService.gasCalculate(self.model, self.model.f_pregas)
|
|
275
|
-
self.model.f_preamount = getAmount.data.chargenum
|
|
276
|
-
self.model.f_totalcost = (self.row.f_balance - 0) > (getAmount.data.chargenum - 0) ? 0 : ((getAmount.data.chargenum - 0) - (self.row.f_balance - 0)).toFixed(4)
|
|
277
|
-
Object.assign(self.model, self.model, getAmount.data)
|
|
278
|
-
self.model.chargeprice = getAmount.data.chargeprice
|
|
279
|
-
if (self.config.floor) {
|
|
280
|
-
self.model.f_totalcost = Math.ceil(self.model.f_totalcost)
|
|
281
|
-
}
|
|
282
|
-
self.model.f_collection = self.model.f_totalcost
|
|
283
|
-
if (self.model.f_payment == '赠气') {
|
|
284
|
-
self.model.f_totalcost = getAmount.data.chargenum
|
|
285
|
-
self.model.f_collection = 0
|
|
286
|
-
}
|
|
287
|
-
self.calText(getAmount.data.chargeprice)
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
let IOTChargeGen = async function (self) {
|
|
292
|
-
try {
|
|
293
|
-
if (self.paymentModel.length === 0) {
|
|
294
|
-
self.paymentModel = [{
|
|
295
|
-
f_payment: self.model.f_payment[0],
|
|
296
|
-
f_money: self.model.f_preamount
|
|
297
|
-
}]
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
self.model.payments = self.paymentModel
|
|
301
|
-
|
|
302
|
-
let param = Object.assign({}, {}, self.model)
|
|
303
|
-
param.f_payment = self.model.f_payment.toString()
|
|
304
|
-
param.f_print = self.model.f_print.toString()
|
|
305
|
-
param.f_serial_number = self.model.f_serial_number ? self.model.f_serial_number : ''
|
|
306
|
-
// 加入扫码盒付款码支付流水号
|
|
307
|
-
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
|
|
308
|
-
let res = await self.$resetpost('rs/logic/sale_IOTCharge_logic', {data: param}, {
|
|
309
|
-
resolveMsg: '物联网收费成功!!',
|
|
310
|
-
rejectMsg: '物联网收费出错!!!'
|
|
311
|
-
})
|
|
312
|
-
let localeSustainMoney = window.localStorage.getItem('sustainMoney')
|
|
313
|
-
if (localeSustainMoney != null) {
|
|
314
|
-
localeSustainMoney = (localeSustainMoney - 0) + (param.f_collection - 0)
|
|
315
|
-
window.localStorage.setItem('sustainMoney', localeSustainMoney)
|
|
316
|
-
}
|
|
317
|
-
let param1 = []
|
|
318
|
-
for (let row of self.resid) {
|
|
319
|
-
param1.push({id: row.id})
|
|
320
|
-
}
|
|
321
|
-
let data = {
|
|
322
|
-
param: param1,
|
|
323
|
-
f_blobid: res.data.id
|
|
324
|
-
}
|
|
325
|
-
await self.$resetpost('rs/logic/updatefiles', data)
|
|
326
|
-
console.log('物联网收费返回。。。', res.data.id)
|
|
327
|
-
// 开始打票
|
|
328
|
-
console.log('开始打票', self.config)
|
|
329
|
-
if (self.config.hasPrint) {
|
|
330
|
-
if (self.model.f_print.indexOf('电子发票') == -1) {
|
|
331
|
-
console.log('self.config.hasBillManage', self.config.hasBillManage)
|
|
332
|
-
if (self.$login.r.includes('非民用纸质票据拆分')) {
|
|
333
|
-
if (self.row.f_user_type === '非民用') {
|
|
334
|
-
self.billData.url = 'rs/report/fmy_iot_bill'
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
if (self.config.hasBillManage) {
|
|
338
|
-
// 启用发票管理,获取票据管理中的票号并存储记录
|
|
339
|
-
self.row.id = res.data.id
|
|
340
|
-
self.row.f_bill_type = '物联网收费'
|
|
341
|
-
self.row.f_bill_style = self.model.f_print[0]
|
|
342
|
-
self.print = true
|
|
343
|
-
} else {
|
|
344
|
-
self.row.id = res.data.id
|
|
345
|
-
self.print = true
|
|
346
|
-
}
|
|
347
|
-
} else if (self.config.printType === '国税发票') {
|
|
348
|
-
// TODO
|
|
349
|
-
} else if (self.model.f_print[0] === '电子发票') {
|
|
350
|
-
self.eticket_show = true
|
|
351
|
-
await self.$refs.eticketbill.openETicket([res.data.id], self.row, self.invoice_show_gas, self.invoice_is_pax, '物联网收费')
|
|
352
|
-
|
|
353
|
-
// self.$CommonService.openEticket(res.data.id, '其他收费')
|
|
354
|
-
// self.$dispatch('success')
|
|
355
|
-
}
|
|
356
|
-
} else {
|
|
357
|
-
self.$dispatch('success', '物联网收费', self.row)
|
|
358
|
-
}
|
|
359
|
-
} catch (error) {
|
|
360
|
-
if (error.status === 301) {
|
|
361
|
-
self.$dispatch('refresh')
|
|
362
|
-
} else {
|
|
363
|
-
if (error) {
|
|
364
|
-
self.$showAlert(error, 'danger', 0)
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
self.$dispatch('refresh')
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
let asyncCardMeterCenter = async function (self) {
|
|
372
|
-
await self.$getConfig(self, 'IOTMeterCenter')
|
|
373
|
-
console.log('卡表收费config', self.config)
|
|
374
|
-
|
|
375
|
-
// 添加 “系统余额透支” 付款方式
|
|
376
|
-
let i = -1
|
|
377
|
-
for (const index in self.paytype) {
|
|
378
|
-
if (self.paytype[index].value == '系统余额透支') {
|
|
379
|
-
i = index
|
|
380
|
-
break
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
if (self.canOverdraftBalance()) {
|
|
384
|
-
if (i == -1) {
|
|
385
|
-
self.paytype.push({
|
|
386
|
-
label: '系统余额透支',
|
|
387
|
-
value: '系统余额透支'
|
|
388
|
-
})
|
|
389
|
-
}
|
|
390
|
-
} else {
|
|
391
|
-
if (i != -1) {
|
|
392
|
-
self.paytype.splice(i, 1)
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
// 默认打印格式
|
|
397
|
-
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
398
|
-
self.model.f_payment = [self.config.payment]
|
|
399
|
-
self.mulPrint = self.config.printType instanceof Array
|
|
400
|
-
|
|
401
|
-
// 获取当前票号用
|
|
402
|
-
self.model.f_use_type = self.config.billType
|
|
403
|
-
self.model.f_bill_type = self.model.f_print
|
|
404
|
-
self.hasValidateBill = self.config.hasBillManage
|
|
405
|
-
|
|
406
|
-
// 判断限购
|
|
407
|
-
let limit_param = {
|
|
408
|
-
f_userinfo_id: self.row.f_userinfo_id,
|
|
409
|
-
f_user_id: self.row.f_user_id,
|
|
410
|
-
f_stairprice_id: self.row.f_stairprice_id
|
|
411
|
-
}
|
|
412
|
-
let getLimit = await self.$resetpost('rs/logic/sale_getLimitGas', {data: limit_param}, {resolveMsg: null, rejectMsg: '获取限购值失败!!'})
|
|
413
|
-
console.log('获取限购值', getLimit)
|
|
414
|
-
self.hasLimit = getLimit.data.hasLimit
|
|
415
|
-
if (self.hasLimit) {
|
|
416
|
-
if (getLimit.data.f_limit_value || getLimit.data.f_limit_amount) {
|
|
417
|
-
if (getLimit.data.f_limit_value < 0 && getLimit.data.f_limit_amount < 0) {
|
|
418
|
-
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
419
|
-
self.$dispatch('refresh')
|
|
420
|
-
} else {
|
|
421
|
-
if (getLimit.data.f_limit_value) {
|
|
422
|
-
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
423
|
-
self.limitgas = true
|
|
424
|
-
}
|
|
425
|
-
if (getLimit.data.f_limit_amount) {
|
|
426
|
-
self.maxmoney = (getLimit.data.f_limit_amount - 0)
|
|
427
|
-
self.limitmoney = true
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
export default {
|
|
434
|
-
title: '物联网收费',
|
|
435
|
-
data () {
|
|
436
|
-
return {
|
|
437
|
-
resid: [], // 存放新增的f_files表中id
|
|
438
|
-
config: {
|
|
439
|
-
notShowFormula: false, // 不显示计算公式,默认显示
|
|
440
|
-
priceCalculation: false, // 划气量控制
|
|
441
|
-
showupload: true, // 默认显示附件上传组件
|
|
442
|
-
hasPrint: false, // 默认打票
|
|
443
|
-
floor: true, // 是否取整收费
|
|
444
|
-
hasBillManage: false, // 默认不启用发票管理
|
|
445
|
-
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
446
|
-
printType: '普通收据', // 收据/电子票/专用发票/国税发票
|
|
447
|
-
payment: '现金缴费',
|
|
448
|
-
overdraftBalance: false // 是否支持系统余额透支
|
|
449
|
-
},
|
|
450
|
-
model: {
|
|
451
|
-
f_purchase: 0,
|
|
452
|
-
f_payment: [],
|
|
453
|
-
f_pregas: 0,
|
|
454
|
-
f_preamount: 0,
|
|
455
|
-
f_totalcost: 0,
|
|
456
|
-
f_curbalance: 0,
|
|
457
|
-
f_collection: '',
|
|
458
|
-
f_balance: 0,
|
|
459
|
-
f_print: [],
|
|
460
|
-
f_meter_type: '',
|
|
461
|
-
f_voucher_number: '',
|
|
462
|
-
f_privilege_id: 0,
|
|
463
|
-
f_privilege_money: 0,
|
|
464
|
-
f_after_discount: 0,
|
|
465
|
-
f_sys_balance: 0
|
|
466
|
-
},
|
|
467
|
-
eticket_msg: false,
|
|
468
|
-
eticket_show: false,
|
|
469
|
-
invoice_is_pax: '不征税',
|
|
470
|
-
is_pax: [{label: '征税', value: '征税'}, {label: '不征税', value: '不征税'}],
|
|
471
|
-
|
|
472
|
-
calculatedetail: '',
|
|
473
|
-
// 启用发票管理需要对票号进行验证
|
|
474
|
-
hasValidateBill: false,
|
|
475
|
-
validateOk: false,
|
|
476
|
-
|
|
477
|
-
print: false,
|
|
478
|
-
billData: {
|
|
479
|
-
url: 'rs/report/iot_bill',
|
|
480
|
-
operator: this.$login.f.name,
|
|
481
|
-
billnumber: ''
|
|
482
|
-
},
|
|
483
|
-
hasLimit: false,
|
|
484
|
-
maxgas: 99999999, // 限购
|
|
485
|
-
maxmoney: 99999999,
|
|
486
|
-
limitmoney: false,
|
|
487
|
-
limitgas: false,
|
|
488
|
-
paymentModel: [], // 多笔付款方式
|
|
489
|
-
|
|
490
|
-
mulPrint: false,
|
|
491
|
-
clickConfirm: false, // 控制确认按钮只能点击一次
|
|
492
|
-
// 下拉框值
|
|
493
|
-
paytype: this.$appdata.getParam('付款方式'),
|
|
494
|
-
printstyle: this.$appdata.getParam('打印格式'),
|
|
495
|
-
privilegeList: [{label: '无优惠', value: '0'}],
|
|
496
|
-
showfiles: false,
|
|
497
|
-
serialShow: false,
|
|
498
|
-
mjshow: false,
|
|
499
|
-
dymoney: 0
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
props: ['row'],
|
|
503
|
-
mounted () {
|
|
504
|
-
this.$refs.email.focus()
|
|
505
|
-
},
|
|
506
|
-
ready () {
|
|
507
|
-
console.log('wulianwang缴费-------------------------------------')
|
|
508
|
-
this.paytype = this.$appdata.getParam('付款方式')
|
|
509
|
-
if (!this.$login.r.includes('免交充值付款')) {
|
|
510
|
-
this.paytype = this.paytype.filter((item) => {
|
|
511
|
-
return item.label != '免交'
|
|
512
|
-
})
|
|
513
|
-
}
|
|
514
|
-
// this.getPurchase()
|
|
515
|
-
this.model.f_price_id = this.row.f_price_id
|
|
516
|
-
this.model.f_user_id = this.row.f_user_id
|
|
517
|
-
this.model.f_userfiles_id = this.row.f_userfiles_id
|
|
518
|
-
this.model.f_userinfo_id = this.row.f_userinfo_id
|
|
519
|
-
this.model.f_balance = this.row.f_alias === 'QiaoSong' ? Math.trunc(this.row.f_balance) : this.row.f_balance
|
|
520
|
-
this.model.f_preamount = ''
|
|
521
|
-
this.model.f_pregas = ''
|
|
522
|
-
document.getElementById('pregasFocue').focus()
|
|
523
|
-
asyncCardMeterCenter(this)
|
|
524
|
-
},
|
|
525
|
-
watch: {
|
|
526
|
-
'model.f_payment.length' (val) {
|
|
527
|
-
console.log('付款方式多选。。', val)
|
|
528
|
-
if (val > 1 && !this.model.f_preamount) {
|
|
529
|
-
this.model.f_payment = ['现金缴费']
|
|
530
|
-
this.$showAlert('请先计算付款金额', 'warning', 2000)
|
|
531
|
-
} else {
|
|
532
|
-
this.paymentModel = []
|
|
533
|
-
|
|
534
|
-
this.model.f_payment.forEach((res) => {
|
|
535
|
-
let temp = {
|
|
536
|
-
f_payment: res,
|
|
537
|
-
f_money: 0
|
|
538
|
-
}
|
|
539
|
-
this.paymentModel.push(temp)
|
|
540
|
-
})
|
|
541
|
-
this.$resetValidation()
|
|
542
|
-
|
|
543
|
-
// 获取计算优惠
|
|
544
|
-
this.getPrivilegeList()
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
'model.f_collection' (val) {
|
|
548
|
-
// 获取计算优惠
|
|
549
|
-
this.getPrivilegeList()
|
|
550
|
-
},
|
|
551
|
-
'model.f_payment' (val) {
|
|
552
|
-
if (val == '免交') {
|
|
553
|
-
this.mjshow = true
|
|
554
|
-
} else if (val == '赠气' && (this.model.f_preamount || this.model.f_preamount != '')) {
|
|
555
|
-
if (this.row.f_collection_type == '按气量') {
|
|
556
|
-
this.pregas()
|
|
557
|
-
} else {
|
|
558
|
-
this.preamount()
|
|
559
|
-
}
|
|
560
|
-
} else {
|
|
561
|
-
this.mjshow = false
|
|
562
|
-
}
|
|
563
|
-
if (this.row.f_collection_type == '按气量') {
|
|
564
|
-
this.pregas()
|
|
565
|
-
} else {
|
|
566
|
-
this.preamount()
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
events: {
|
|
571
|
-
// 删除Resid数组元素
|
|
572
|
-
'delResid' (val) {
|
|
573
|
-
this.resid.$remove({id: val, f_biobid: ''})
|
|
574
|
-
// this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
|
|
575
|
-
},
|
|
576
|
-
// 增加Resid数组元素
|
|
577
|
-
'resid' (val) {
|
|
578
|
-
console.log('-=', val)
|
|
579
|
-
this.resid.push({id: val, f_biobid: ''})
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
methods: {
|
|
583
|
-
// 校验发票信息
|
|
584
|
-
checkInvoiceMsg () {
|
|
585
|
-
// 校验是否超出最大透支余额
|
|
586
|
-
if (this.model.f_payment == '系统余额透支') {
|
|
587
|
-
const maxOverdraftBalance = -(((this.$appdata.getSingleValue('最大透支余额') - 0) || 1000) - 0)
|
|
588
|
-
const curSysBalance = ((this.row.f_sys_balance || 0) - 0) - (this.model.f_totalcost - 0)
|
|
589
|
-
if (curSysBalance < maxOverdraftBalance) {
|
|
590
|
-
this.$showAlert('您的系统余额将超出最大透支余额,请使用别的付款方式!', 'danger', 5000)
|
|
591
|
-
return
|
|
592
|
-
}
|
|
593
|
-
this.model.f_sys_balance = curSysBalance
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
if (this.model.f_print[0] === '电子发票') {
|
|
597
|
-
if (!this.row.f_taxpayer_id) {
|
|
598
|
-
this.row.f_taxpayer_id = this.row.f_idnumber
|
|
599
|
-
}
|
|
600
|
-
if (!this.row.f_paper_name) {
|
|
601
|
-
this.row.f_paper_name = this.row.f_user_name
|
|
602
|
-
}
|
|
603
|
-
if (!this.row.f_address_phone) {
|
|
604
|
-
this.row.f_address_phone = this.row.f_address + ' ' + this.row.f_user_phone
|
|
605
|
-
}
|
|
606
|
-
this.eticket_msg = true
|
|
607
|
-
} else {
|
|
608
|
-
this.confirm()
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
eticket_toggle () {
|
|
612
|
-
this.eticket_show = false
|
|
613
|
-
this.$dispatch('success', '物联网收费', this.row)
|
|
614
|
-
},
|
|
615
|
-
async confirm () {
|
|
616
|
-
let res = await this.$showMessage(`确定对客户${this.row.f_user_name}进行物联网表缴费吗?`, ['confirm', 'cancel'])
|
|
617
|
-
if (res != 'confirm') return
|
|
618
|
-
// 先调用付款码支付组件流程
|
|
619
|
-
let ss = await this.$refs.paymentcode.flowPath()
|
|
620
|
-
this.$refs.paymentcode.paymentCodeShow = false
|
|
621
|
-
console.log('付款码操作返回', ss)
|
|
622
|
-
if (!ss.result) return
|
|
623
|
-
this.eticket_msg = false
|
|
624
|
-
this.clickConfirm = true
|
|
625
|
-
this.model.f_curbalance = this.curbalance
|
|
626
|
-
this.$dispatch('no-button')
|
|
627
|
-
console.log('model and row', this.model, this.row)
|
|
628
|
-
this.model.f_userinfo_id = this.row.f_userinfo_id
|
|
629
|
-
this.model.f_userfiles_id = this.row.f_userfiles_id
|
|
630
|
-
this.model.f_user_id = this.row.f_user_id
|
|
631
|
-
this.model.userinfo_version = this.row.userinfo_version
|
|
632
|
-
this.model.version = this.row.version
|
|
633
|
-
this.model.f_total_fee = (this.row.f_total_fee - 0) + (this.model.f_preamount - 0)
|
|
634
|
-
this.model.f_total_gas = (this.row.f_total_gas - 0) + (this.model.f_pregas - 0)
|
|
635
|
-
this.model.f_operator = this.$login.f.name
|
|
636
|
-
this.model.f_operatorid = this.$login.f.id
|
|
637
|
-
this.model.f_orgid = this.$login.f.orgid
|
|
638
|
-
this.model.f_orgname = this.$login.f.orgs
|
|
639
|
-
this.model.f_depid = this.$login.f.depids
|
|
640
|
-
this.model.f_depname = this.$login.f.deps
|
|
641
|
-
IOTChargeGen(this)
|
|
642
|
-
},
|
|
643
|
-
clean () {
|
|
644
|
-
this.$info('取消操作')
|
|
645
|
-
this.$dispatch('refresh', this.row)
|
|
646
|
-
},
|
|
647
|
-
validateBill (val) {
|
|
648
|
-
this.validateOk = !val.isOk
|
|
649
|
-
this.billData.bill = val.bill
|
|
650
|
-
},
|
|
651
|
-
printok () {
|
|
652
|
-
// 收据打完,判断是否还有其他票据进行请求
|
|
653
|
-
for (let i = 0; i < this.model.f_print.length; i++) {
|
|
654
|
-
if (this.model.f_print[i] === '电子发票') {
|
|
655
|
-
this.$CommonService.openEticket(this.row.id, '售气收费')
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
this.$dispatch('success', '物联网收费', this.row)
|
|
659
|
-
},
|
|
660
|
-
pregas () {
|
|
661
|
-
this.dymoney = 0
|
|
662
|
-
if (this.model.f_pregas && this.model.f_pregas > 0) {
|
|
663
|
-
try {
|
|
664
|
-
pregasGen(this)
|
|
665
|
-
} catch (error) {
|
|
666
|
-
this.$showAlert(`发卡售气划价错误,错误类型:${error}`, 'danger', 0)
|
|
667
|
-
this.$dispatch('error', '发卡售气', this.model, error)
|
|
668
|
-
}
|
|
669
|
-
} else {
|
|
670
|
-
this.model.f_pregas = null
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
preamount () {
|
|
674
|
-
if (this.model.f_preamount && this.model.f_preamount > 0) {
|
|
675
|
-
try {
|
|
676
|
-
preamountGen(this)
|
|
677
|
-
} catch (error) {
|
|
678
|
-
this.$showAlert(`发卡售气划价错误,错误类型:${error}`, 'danger', 0)
|
|
679
|
-
this.$dispatch('error', '发卡售气', this.model, error)
|
|
680
|
-
}
|
|
681
|
-
} else {
|
|
682
|
-
this.model.f_preamount = null
|
|
683
|
-
}
|
|
684
|
-
},
|
|
685
|
-
calText (val) {
|
|
686
|
-
let str = ''
|
|
687
|
-
val.forEach((item) => {
|
|
688
|
-
str = str + item.f_price + ' x ' + item.f_gas + '+'
|
|
689
|
-
})
|
|
690
|
-
str = str.slice(0, str.length - 1)
|
|
691
|
-
this.calculatedetail = str
|
|
692
|
-
},
|
|
693
|
-
close () {
|
|
694
|
-
this.print = false
|
|
695
|
-
this.clean()
|
|
696
|
-
},
|
|
697
|
-
// 根据选择的付款方式 获取优惠列表
|
|
698
|
-
async getPrivilegeList () {
|
|
699
|
-
// 初始化下拉选择列表
|
|
700
|
-
this.privilegeList = [{label: '无优惠', value: '0'}]
|
|
701
|
-
// 初始为无优惠
|
|
702
|
-
this.model.f_privilege_id = '0'
|
|
703
|
-
if (this.model.f_payment && this.model.f_payment.length) {
|
|
704
|
-
// 查询条件
|
|
705
|
-
let payments = JSON.stringify(this.model.f_payment)
|
|
706
|
-
payments = payments.replace('[', '(').replace(']', ')').replace(/"/g, '\'')
|
|
707
|
-
let HttpReset = new HttpResetClass()
|
|
708
|
-
let privilege = await HttpReset.load('POST', 'rs/sql/singleTable_OrderBy', {
|
|
709
|
-
data: {
|
|
710
|
-
items: 'id,f_privilege_name,f_privilege_type',
|
|
711
|
-
tablename: 't_privilege',
|
|
712
|
-
condition: `f_payment in ${payments} and f_gasproperties = '${this.row.f_gasproperties}' and f_user_type = '${this.row.f_user_type}' and f_perform_date <= GETDATE() and f_end_date >= GETDATE() and f_state = '有效'`,
|
|
713
|
-
orderitem: 'id'
|
|
714
|
-
}
|
|
715
|
-
}, {resolveMsg: null, rejectMsg: '查询优惠信息失败'})
|
|
716
|
-
// 查询结果放到下拉列表
|
|
717
|
-
for (let p of privilege.data) {
|
|
718
|
-
this.privilegeList.push({label: p.f_privilege_name, value: p.id, type: p.f_privilege_type})
|
|
719
|
-
}
|
|
720
|
-
this.privilegeCalculate()
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
// 优惠计算
|
|
724
|
-
async privilegeCalculate () {
|
|
725
|
-
// 初始化减免金额
|
|
726
|
-
this.model.f_privilege_money = 0
|
|
727
|
-
this.model.f_after_discount = this.model.f_collection
|
|
728
|
-
// 判断是否是自定义优惠
|
|
729
|
-
if (parseInt(this.data.f_privilege_id)) {
|
|
730
|
-
for (let p of this.privilegeList) {
|
|
731
|
-
if (p.value == this.data.f_privilege_id && p.type == '自定义') {
|
|
732
|
-
this.data.f_privilege_money = window.prompt('请输入你想优惠的金额')
|
|
733
|
-
if (!(/^[1-9]\d*(\.\d+)?$/).test(this.data.f_privilege_money) || !(/^[1-9]\d*(\.\d+)?$/).test(this.data.f_privilege_money)) {
|
|
734
|
-
this.$showMessage('金额输入格式不正确!')
|
|
735
|
-
this.data.f_privilege_money = 0
|
|
736
|
-
return
|
|
737
|
-
}
|
|
738
|
-
if ((this.data.f_privilege_money - 0) >= this.data.f_collection) {
|
|
739
|
-
this.$showMessage('减免金额不能大于等于收款金额')
|
|
740
|
-
this.data.f_privilege_money = 0
|
|
741
|
-
return
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
// 优惠方式, 收款 缺一不计算
|
|
747
|
-
if (this.model.f_payment && this.model.f_payment.length && parseInt(this.model.f_privilege_id) && this.model.f_collection) {
|
|
748
|
-
let c = {
|
|
749
|
-
f_privilege_id: this.model.f_privilege_id,
|
|
750
|
-
f_collection: this.model.f_collection,
|
|
751
|
-
f_privilege_money: this.data.f_privilege_money
|
|
752
|
-
}
|
|
753
|
-
let privilegeData = await this.$resetpost('rs/logic/calculatePrivilege', c, {resolveMsg: null, rejectMsg: '计算优惠金额出错'})
|
|
754
|
-
// 减免金额
|
|
755
|
-
this.model.f_privilege_money = privilegeData.data.f_privilege_money
|
|
756
|
-
// 减免后收款金额
|
|
757
|
-
this.model.f_after_discount = privilegeData.data.f_collection
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
// 判断当前用户是否可以使用系统余额透支
|
|
761
|
-
canOverdraftBalance () {
|
|
762
|
-
return this.config.overdraftBalance && this.row.f_user_type != '民用'
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
computed: {
|
|
766
|
-
authArr () {
|
|
767
|
-
return this.$login.r ? this.$login.r : []
|
|
768
|
-
},
|
|
769
|
-
'curbalance' () {
|
|
770
|
-
if (this.model.f_payment == '赠气') {
|
|
771
|
-
return this.row.f_balance
|
|
772
|
-
}
|
|
773
|
-
if (this.model.f_preamount) {
|
|
774
|
-
return ((this.model.f_collection - 0) - (this.model.f_preamount - 0) + (this.row.f_balance - 0)).toFixed(2) - 0
|
|
775
|
-
} else {
|
|
776
|
-
return 0
|
|
777
|
-
}
|
|
778
|
-
},
|
|
779
|
-
'islegal' () {
|
|
780
|
-
if (this.paymentModel.length > 1 && this.model.f_collection) {
|
|
781
|
-
let sum = 0
|
|
782
|
-
this.paymentModel.forEach((res) => {
|
|
783
|
-
sum += (res.f_money - 0)
|
|
784
|
-
})
|
|
785
|
-
return (this.model.f_collection - 0) === (sum - 0)
|
|
786
|
-
} else {
|
|
787
|
-
return true
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
</script>
|
|
793
|
-
|
|
794
|
-
<style>
|
|
795
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="span" style="overflow-y: auto;">
|
|
4
|
+
<validator name='v'>
|
|
5
|
+
<form novalidate class="form-horizontal">
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-4 form-group" :class="[$v.payment.required ? 'select-error' : '']">
|
|
8
|
+
<label class=" font_normal_body" title="参数名称:付款方式">收款方式</label>
|
|
9
|
+
<input type="text" v-show="false" v-model="$refs.payment.selectedItems" v-validate:payment='{required: true }'>
|
|
10
|
+
<v-select v-model="f_payment"
|
|
11
|
+
placeholder='请选择'
|
|
12
|
+
:value.sync="model.f_payment"
|
|
13
|
+
close-on-select
|
|
14
|
+
:options='paytype' clear-button v-ref:payment></v-select>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div class="col-sm-4 form-group"
|
|
18
|
+
:class="[$v.f_pregas.required || $v.f_pregas.dctest? 'has-error' : 'has-success']">
|
|
19
|
+
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
20
|
+
<input class="input_search" style="width:60%" type="number" id="pregasFocue"
|
|
21
|
+
@blur="pregas()" v-model="model.f_pregas"
|
|
22
|
+
v-validate:f_pregas='{required: true, dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
23
|
+
v-next-el='sk' >
|
|
24
|
+
</div>
|
|
25
|
+
<!-- <div class="col-sm-4 form-group" v-if="row.f_collection_type == '按金额'">
|
|
26
|
+
<label for="f_pregas" class=" font_normal_body">预购气量</label>
|
|
27
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_pregas" placeholder="预购气量" disabled>
|
|
28
|
+
</div>-->
|
|
29
|
+
|
|
30
|
+
<div class="col-sm-4 form-group"
|
|
31
|
+
:class="[$v.f_preamount.required || $v.f_preamount.dctest? 'has-error' : 'has-success']">
|
|
32
|
+
<label for="f_preamount" class=" font_normal_body">预购金额</label>
|
|
33
|
+
<input class="input_search" style="width:60%" @blur="preamount()" type="number" v-model="model.f_preamount"
|
|
34
|
+
v-validate:f_preamount='{required: true, dctest: [maxmoney, "<=" ] }'
|
|
35
|
+
v-scale="[model.f_preamount, 2]" placeholder="预购金额" >
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row" style="margin-top:6px;">
|
|
39
|
+
<div class="col-sm-4 form-group" :class="[$v.printstyle.required ? 'select-error' : '']">
|
|
40
|
+
<label for="f_print" class="font_normal_body">打印格式</label>
|
|
41
|
+
<input type="text" v-show="false" v-model="$refs.printstyle.selectedItems" v-validate:printstyle='{required: true }'>
|
|
42
|
+
<v-select id="print"
|
|
43
|
+
v-model="f_print"
|
|
44
|
+
placeholder='请选择'
|
|
45
|
+
:multiple="false"
|
|
46
|
+
:value.sync="model.f_print"
|
|
47
|
+
:options='printstyle'
|
|
48
|
+
close-on-select clear-button v-ref:printstyle>
|
|
49
|
+
</v-select>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-4 form-group" v-if="hasLimit&&limitgas">
|
|
52
|
+
<label class="font_normal_body">购气上限</label>
|
|
53
|
+
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxgas"
|
|
54
|
+
v-scale="[maxgas, 2]" placeholder='限购余气' disabled>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-sm-4 form-group" v-if="hasLimit&&limitmoney">
|
|
57
|
+
<label class="font_normal_body">金额上限</label>
|
|
58
|
+
<input class="input_search" style="width:60%" style="width:60%" type="number" v-model="maxmoney"
|
|
59
|
+
v-scale="[maxmoney, 2]" placeholder='限购金额' disabled>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-4 form-group" v-if="!hasLimit">
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<div class="col-sm-4 form-group"
|
|
65
|
+
:class="[$v.f_totalcost.required || $v.f_totalcost.dctest ? 'has-error' : 'has-success']">
|
|
66
|
+
<label for="f_temp_amount" v-if="row.f_collection_type === '按气量'"
|
|
67
|
+
class=" font_normal_body">应收金额</label>
|
|
68
|
+
<label for="f_temp_amount" v-if="row.f_collection_type === '按金额'"
|
|
69
|
+
class=" font_normal_body">本次缴费</label>
|
|
70
|
+
<input class="input_search" style="width:60%" type="number"
|
|
71
|
+
@blur="preamount()" v-model="model.f_totalcost"
|
|
72
|
+
v-validate:f_totalcost='{required: true, dctest: [0, ">=" ] }' placeholder="应收金额"
|
|
73
|
+
v-next-el='sk' v-scale="[model.f_totalcost, 2]" disabled>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="row">
|
|
77
|
+
<div class="col-sm-4 form-group">
|
|
78
|
+
<label for="f_balance" class="font_normal_body">上期结余</label>
|
|
79
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_balance"
|
|
80
|
+
v-scale="[model.f_balance, 2]" placeholder="上期结余" disabled>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<div class="col-sm-4 form-group">
|
|
84
|
+
<label for="f_curbalance" class="font_normal_body">本期结余</label>
|
|
85
|
+
<input class="input_search" style="width:60%" type="number" v-model="curbalance"
|
|
86
|
+
v-scale="[model.f_curbalance, 2]" placeholder="本期结余" disabled>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<!-- <div class="col-sm-3 form-group" v-if="row.f_collection_type === '按气量' && model.f_payment!='赠气'"-->
|
|
90
|
+
<!-- :class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error' : 'has-success']">-->
|
|
91
|
+
<!-- <label for="f_collection" class=" font_normal_body"> 收款 </label>-->
|
|
92
|
+
<!-- <input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"-->
|
|
93
|
+
<!-- v-validate:f_collection='{required: true, dctest: [(model.f_totalcost - 0), ">=" ] }'-->
|
|
94
|
+
<!-- v-el:sk v-scale="[model.f_totalcost, 2]" :disabled="$refs.givechange.promptText != ''">-->
|
|
95
|
+
<!-- </div>-->
|
|
96
|
+
<!-- <div class="col-sm-3 form-group" v-if="row.f_collection_type === '按气量' && model.f_payment=='赠气'"-->
|
|
97
|
+
<!-- :class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error' : 'has-success']">-->
|
|
98
|
+
<!-- <label for="f_collection" class=" font_normal_body"> 收款 </label>-->
|
|
99
|
+
<!-- <input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"-->
|
|
100
|
+
<!-- v-el:sk v-scale="[model.f_totalcost, 2]" :disabled="$refs.givechange.promptText != ''">-->
|
|
101
|
+
<!-- </div>-->
|
|
102
|
+
<div class="col-sm-3 form-group">
|
|
103
|
+
<label for="f_collection" class=" font_normal_body"> 收款 </label>
|
|
104
|
+
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"
|
|
105
|
+
v-el:sk v-scale="[model.f_collection, 2]" disabled>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="col-sm-1 form-group">
|
|
108
|
+
<give-change :curbalance="curbalance" :collection.sync="model.f_collection" v-ref:givechange></give-change>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="row" style="margin-top:5px;">
|
|
112
|
+
<div class="col-sm-9">
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-3">
|
|
115
|
+
<span v-if="$v.f_collection.dctest" style="color:red ">收款不能小于应收金额</span>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="row" style="margin-top:5px;" v-show="authArr.includes('优惠权限')">
|
|
119
|
+
<div class="col-sm-4 form-group">
|
|
120
|
+
<label class="font_normal_body">优惠方式</label>
|
|
121
|
+
<v-select v-model="model.f_privilege_id" @blur.native.capture="privilegeCalculate"
|
|
122
|
+
placeholder='请选择'
|
|
123
|
+
:value.sync="model.f_privilege_id"
|
|
124
|
+
:options='privilegeList' clear-button value-single>
|
|
125
|
+
</v-select>
|
|
126
|
+
</div>
|
|
127
|
+
<div class="col-sm-4 form-group">
|
|
128
|
+
<label for="f_preamount" class=" font_normal_body"> 优惠金额</label>
|
|
129
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_privilege_money"
|
|
130
|
+
v-scale="[model.f_privilege_money, 2]" placeholder="优惠金额" disabled>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="col-sm-4 form-group">
|
|
133
|
+
<label for="f_preamount" class=" font_normal_body"> 实际收款</label>
|
|
134
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_after_discount"
|
|
135
|
+
v-scale="[model.f_after_discount, 2]" placeholder="优惠后收款" disabled>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="row" v-if="model.f_payment[0].includes('POS')">
|
|
139
|
+
<div class="col-sm-4 form-group">
|
|
140
|
+
<label for="f_voucher_number" class="font_normal_body">凭证号</label>
|
|
141
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_voucher_number" placeholder="凭证号">
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="row" style="padding-top: 0.5em;">
|
|
145
|
+
<div class="col-sm-4" v-if="!mjshow" >
|
|
146
|
+
<label for="f_serial_number" class=" font_normal_body">业务单号</label>
|
|
147
|
+
<input class="input_search" style="width:60%" type="text"
|
|
148
|
+
v-model="model.f_serial_number" placeholder="业务单号">
|
|
149
|
+
</div>
|
|
150
|
+
<div class="col-sm-4" v-if="mjshow" :class="[$v.f_serial_number.required || $v.f_serial_number.dctest ? 'has-error' : 'has-success']">
|
|
151
|
+
<label for="f_serial_number" class=" font_normal_body">业务单号</label>
|
|
152
|
+
<input class="input_search" style="width:60%" type="text" v-validate:f_serial_number='{required: true }'
|
|
153
|
+
v-model="model.f_serial_number" placeholder="业务单号">
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div class="col-sm-8">
|
|
157
|
+
<label for="f_comments" class="font_normal_body"> 备 注 </label>
|
|
158
|
+
<input class="input_search" style="width:77%" v-model="model.f_comments" rows="1" placeholder="备注">
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
<div v-if="paymentModel.length >1">
|
|
163
|
+
<div class="row" style="margin-top:10px;" >
|
|
164
|
+
<p class="col-sm-2 text-left" style="padding: 10px;"><img src="../../../static/juxing.png"/><strong style="margin-left: 4%">付款明细</strong></p>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="row" style="margin-top:10px;" >
|
|
167
|
+
<div class="col-sm-4 form-group " v-for="pay in paymentModel" >
|
|
168
|
+
<label class="font_normal_body">{{pay.f_payment}}:</label>
|
|
169
|
+
<input id="f_money" type="text" class="input_search" style="width:60%" v-model="pay.f_money">
|
|
170
|
+
</div>
|
|
171
|
+
<div class="col-sm-4 form-group ">
|
|
172
|
+
<strong v-if="!islegal" style="color: red">所输入的金额必须等于收款金额</strong>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
</form>
|
|
177
|
+
<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
|
|
178
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
179
|
+
<div style="text-align:right; height: 25%">
|
|
180
|
+
<strong style="color:red;margin-right: 5px">{{ $refs.givechange.promptText }}</strong>
|
|
181
|
+
<strong style="font-size: large" v-if="!config.notShowFormula">计算公式:{{calculatedetail ? calculatedetail : ' 暂无'}}</strong><br/>
|
|
182
|
+
<payment-code-button :clickable="!$v.valid || validateOk || !islegal || clickConfirm"
|
|
183
|
+
:payment.sync="model.f_payment" :payment-data="paytype"
|
|
184
|
+
@confirm-payment="confirm()">
|
|
185
|
+
</payment-code-button>
|
|
186
|
+
<button class="button_search btn-gn" type="submit" @click="checkInvoiceMsg()" :disabled='!$v.valid || validateOk || !islegal || clickConfirm'>确认</button>
|
|
187
|
+
<button class="button_clear btn-gn" @click="clean()">取消</button>
|
|
188
|
+
</div>
|
|
189
|
+
</validator>
|
|
190
|
+
</div>
|
|
191
|
+
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="row" :money="model.f_after_discount"></payment-code>
|
|
192
|
+
</div>
|
|
193
|
+
<eticket-modal :show="eticket_msg" @closemodalshow="eticket_msg = false" :row="row" @confirm="confirm"></eticket-modal>
|
|
194
|
+
<ticket-print :show="eticket_show" @toggle="eticket_toggle" v-ref:eticketbill></ticket-print>
|
|
195
|
+
<upload :blodid="row.f_userinfo_id" v-if="config.showupload" isremark="true" fusetype="物联网表收费"></upload>
|
|
196
|
+
<!-- <modal :show.sync="showfiles" width="80%"style="width:auto;" v-ref:modal middle backdrop="false">-->
|
|
197
|
+
<!-- <article slot="modal-body">-->
|
|
198
|
+
<!-- <upload :blodid="row.f_userinfo_id" v-ref:upload :fusetype="uploadText" isremark="true" style="width:auto" ></upload>-->
|
|
199
|
+
<!-- </article>-->
|
|
200
|
+
<!-- <footer slot="modal-footer" class="modal-footer">-->
|
|
201
|
+
<!-- </footer>-->
|
|
202
|
+
<!-- </modal>-->
|
|
203
|
+
|
|
204
|
+
</template>
|
|
205
|
+
<script>
|
|
206
|
+
/**
|
|
207
|
+
*综合业务
|
|
208
|
+
*卡表收费组件
|
|
209
|
+
*/
|
|
210
|
+
|
|
211
|
+
import {HttpResetClass} from 'vue-client'
|
|
212
|
+
|
|
213
|
+
// 输入金额,换算气量
|
|
214
|
+
/* let preamountGen = async function (self) {
|
|
215
|
+
let calFee = (self.model.f_totalcost - 0) + (self.row.f_balance - 0)
|
|
216
|
+
self.model.f_preamount = calFee
|
|
217
|
+
self.model.f_collection = self.model.f_totalcost
|
|
218
|
+
} */
|
|
219
|
+
let preamountGen = async function (self) {
|
|
220
|
+
let calFee = self.model.f_preamount
|
|
221
|
+
let getGas = await self.$CommonService.feeCalculate(self.model, calFee)
|
|
222
|
+
if (getGas.data.gas) {
|
|
223
|
+
if (self.row.f_isdecimal === '是') {
|
|
224
|
+
if (self.row.f_alias === 'QiaoSong') {
|
|
225
|
+
self.model.f_pregas = (getGas.data.gas - 0).toFixed(1)
|
|
226
|
+
} else {
|
|
227
|
+
self.model.f_pregas = (getGas.data.gas - 0).toFixed(4)
|
|
228
|
+
}
|
|
229
|
+
self.dymoney = 0
|
|
230
|
+
} else {
|
|
231
|
+
// 如果不支持小数,将划价出的多余非整数气量进行划价为金额
|
|
232
|
+
let tempnum = Math.floor(getGas.data.gas - 0)
|
|
233
|
+
if (getGas.data.gas > tempnum) { // getGas.data.gas-tempnum-0
|
|
234
|
+
let dymoney1 = await self.$CommonService.gasCalculate(self.model, (tempnum).toFixed(4))
|
|
235
|
+
if (dymoney1.data.money) {
|
|
236
|
+
self.dymoney = (getGas.data.money - 0).toFixed(2) - (dymoney1.data.money - 0).toFixed(2)
|
|
237
|
+
}
|
|
238
|
+
} else {
|
|
239
|
+
self.dymoney = 0
|
|
240
|
+
}
|
|
241
|
+
self.model.f_pregas = Math.floor(getGas.data.gas - 0)
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
// 不划气量,归零
|
|
245
|
+
if (self.config.priceCalculation) {
|
|
246
|
+
self.model.f_pregas = 0
|
|
247
|
+
}
|
|
248
|
+
self.model.f_totalcost = ((self.row.f_balance - 0) > (self.model.f_preamount - 0) ? 0 : ((self.model.f_preamount - 0) - (self.row.f_balance - 0)).toFixed(4))
|
|
249
|
+
|
|
250
|
+
self.model.chargeprice = getGas.data.chargeprice
|
|
251
|
+
Object.assign(self.model, self.model, getGas.data)
|
|
252
|
+
self.model.f_totalcost = ((self.model.f_totalcost - 0) - (self.dymoney - 0)).toFixed(2)
|
|
253
|
+
if (self.config.floor) {
|
|
254
|
+
self.model.f_totalcost = Math.ceil(self.model.f_totalcost)
|
|
255
|
+
}
|
|
256
|
+
// self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
|
|
257
|
+
self.model.f_collection = self.model.f_totalcost
|
|
258
|
+
self.model.f_preamount = ((getGas.data.chargenum - 0) - (self.dymoney - 0))
|
|
259
|
+
if (self.model.f_payment == '赠气') {
|
|
260
|
+
self.model.f_totalcost = self.model.f_preamount
|
|
261
|
+
self.model.f_collection = 0
|
|
262
|
+
}
|
|
263
|
+
self.calText(getGas.data.chargeprice)
|
|
264
|
+
}
|
|
265
|
+
// 输入气量,换算金额
|
|
266
|
+
let pregasGen = async function (self) {
|
|
267
|
+
if (self.row.f_isdecimal === '是') {
|
|
268
|
+
self.model.f_pregas = (self.model.f_pregas - 0).toFixed(4)
|
|
269
|
+
} else {
|
|
270
|
+
self.model.f_pregas = (self.model.f_pregas - 0).toFixed(0)
|
|
271
|
+
}
|
|
272
|
+
if ((self.model.f_pregas - 0) - (self.maxgas - 0) <= 0) {
|
|
273
|
+
self.model.f_meter_type = self.row.f_meter_type
|
|
274
|
+
let getAmount = await self.$CommonService.gasCalculate(self.model, self.model.f_pregas)
|
|
275
|
+
self.model.f_preamount = getAmount.data.chargenum
|
|
276
|
+
self.model.f_totalcost = (self.row.f_balance - 0) > (getAmount.data.chargenum - 0) ? 0 : ((getAmount.data.chargenum - 0) - (self.row.f_balance - 0)).toFixed(4)
|
|
277
|
+
Object.assign(self.model, self.model, getAmount.data)
|
|
278
|
+
self.model.chargeprice = getAmount.data.chargeprice
|
|
279
|
+
if (self.config.floor) {
|
|
280
|
+
self.model.f_totalcost = Math.ceil(self.model.f_totalcost)
|
|
281
|
+
}
|
|
282
|
+
self.model.f_collection = self.model.f_totalcost
|
|
283
|
+
if (self.model.f_payment == '赠气') {
|
|
284
|
+
self.model.f_totalcost = getAmount.data.chargenum
|
|
285
|
+
self.model.f_collection = 0
|
|
286
|
+
}
|
|
287
|
+
self.calText(getAmount.data.chargeprice)
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
let IOTChargeGen = async function (self) {
|
|
292
|
+
try {
|
|
293
|
+
if (self.paymentModel.length === 0) {
|
|
294
|
+
self.paymentModel = [{
|
|
295
|
+
f_payment: self.model.f_payment[0],
|
|
296
|
+
f_money: self.model.f_preamount
|
|
297
|
+
}]
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
self.model.payments = self.paymentModel
|
|
301
|
+
|
|
302
|
+
let param = Object.assign({}, {}, self.model)
|
|
303
|
+
param.f_payment = self.model.f_payment.toString()
|
|
304
|
+
param.f_print = self.model.f_print.toString()
|
|
305
|
+
param.f_serial_number = self.model.f_serial_number ? self.model.f_serial_number : ''
|
|
306
|
+
// 加入扫码盒付款码支付流水号
|
|
307
|
+
param.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
|
|
308
|
+
let res = await self.$resetpost('rs/logic/sale_IOTCharge_logic', {data: param}, {
|
|
309
|
+
resolveMsg: '物联网收费成功!!',
|
|
310
|
+
rejectMsg: '物联网收费出错!!!'
|
|
311
|
+
})
|
|
312
|
+
let localeSustainMoney = window.localStorage.getItem('sustainMoney')
|
|
313
|
+
if (localeSustainMoney != null) {
|
|
314
|
+
localeSustainMoney = (localeSustainMoney - 0) + (param.f_collection - 0)
|
|
315
|
+
window.localStorage.setItem('sustainMoney', localeSustainMoney)
|
|
316
|
+
}
|
|
317
|
+
let param1 = []
|
|
318
|
+
for (let row of self.resid) {
|
|
319
|
+
param1.push({id: row.id})
|
|
320
|
+
}
|
|
321
|
+
let data = {
|
|
322
|
+
param: param1,
|
|
323
|
+
f_blobid: res.data.id
|
|
324
|
+
}
|
|
325
|
+
await self.$resetpost('rs/logic/updatefiles', data)
|
|
326
|
+
console.log('物联网收费返回。。。', res.data.id)
|
|
327
|
+
// 开始打票
|
|
328
|
+
console.log('开始打票', self.config)
|
|
329
|
+
if (self.config.hasPrint) {
|
|
330
|
+
if (self.model.f_print.indexOf('电子发票') == -1) {
|
|
331
|
+
console.log('self.config.hasBillManage', self.config.hasBillManage)
|
|
332
|
+
if (self.$login.r.includes('非民用纸质票据拆分')) {
|
|
333
|
+
if (self.row.f_user_type === '非民用') {
|
|
334
|
+
self.billData.url = 'rs/report/fmy_iot_bill'
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
if (self.config.hasBillManage) {
|
|
338
|
+
// 启用发票管理,获取票据管理中的票号并存储记录
|
|
339
|
+
self.row.id = res.data.id
|
|
340
|
+
self.row.f_bill_type = '物联网收费'
|
|
341
|
+
self.row.f_bill_style = self.model.f_print[0]
|
|
342
|
+
self.print = true
|
|
343
|
+
} else {
|
|
344
|
+
self.row.id = res.data.id
|
|
345
|
+
self.print = true
|
|
346
|
+
}
|
|
347
|
+
} else if (self.config.printType === '国税发票') {
|
|
348
|
+
// TODO
|
|
349
|
+
} else if (self.model.f_print[0] === '电子发票') {
|
|
350
|
+
self.eticket_show = true
|
|
351
|
+
await self.$refs.eticketbill.openETicket([res.data.id], self.row, self.invoice_show_gas, self.invoice_is_pax, '物联网收费')
|
|
352
|
+
|
|
353
|
+
// self.$CommonService.openEticket(res.data.id, '其他收费')
|
|
354
|
+
// self.$dispatch('success')
|
|
355
|
+
}
|
|
356
|
+
} else {
|
|
357
|
+
self.$dispatch('success', '物联网收费', self.row)
|
|
358
|
+
}
|
|
359
|
+
} catch (error) {
|
|
360
|
+
if (error.status === 301) {
|
|
361
|
+
self.$dispatch('refresh')
|
|
362
|
+
} else {
|
|
363
|
+
if (error) {
|
|
364
|
+
self.$showAlert(error, 'danger', 0)
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
self.$dispatch('refresh')
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
let asyncCardMeterCenter = async function (self) {
|
|
372
|
+
await self.$getConfig(self, 'IOTMeterCenter')
|
|
373
|
+
console.log('卡表收费config', self.config)
|
|
374
|
+
|
|
375
|
+
// 添加 “系统余额透支” 付款方式
|
|
376
|
+
let i = -1
|
|
377
|
+
for (const index in self.paytype) {
|
|
378
|
+
if (self.paytype[index].value == '系统余额透支') {
|
|
379
|
+
i = index
|
|
380
|
+
break
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
if (self.canOverdraftBalance()) {
|
|
384
|
+
if (i == -1) {
|
|
385
|
+
self.paytype.push({
|
|
386
|
+
label: '系统余额透支',
|
|
387
|
+
value: '系统余额透支'
|
|
388
|
+
})
|
|
389
|
+
}
|
|
390
|
+
} else {
|
|
391
|
+
if (i != -1) {
|
|
392
|
+
self.paytype.splice(i, 1)
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
// 默认打印格式
|
|
397
|
+
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
398
|
+
self.model.f_payment = [self.config.payment]
|
|
399
|
+
self.mulPrint = self.config.printType instanceof Array
|
|
400
|
+
|
|
401
|
+
// 获取当前票号用
|
|
402
|
+
self.model.f_use_type = self.config.billType
|
|
403
|
+
self.model.f_bill_type = self.model.f_print
|
|
404
|
+
self.hasValidateBill = self.config.hasBillManage
|
|
405
|
+
|
|
406
|
+
// 判断限购
|
|
407
|
+
let limit_param = {
|
|
408
|
+
f_userinfo_id: self.row.f_userinfo_id,
|
|
409
|
+
f_user_id: self.row.f_user_id,
|
|
410
|
+
f_stairprice_id: self.row.f_stairprice_id
|
|
411
|
+
}
|
|
412
|
+
let getLimit = await self.$resetpost('rs/logic/sale_getLimitGas', {data: limit_param}, {resolveMsg: null, rejectMsg: '获取限购值失败!!'})
|
|
413
|
+
console.log('获取限购值', getLimit)
|
|
414
|
+
self.hasLimit = getLimit.data.hasLimit
|
|
415
|
+
if (self.hasLimit) {
|
|
416
|
+
if (getLimit.data.f_limit_value || getLimit.data.f_limit_amount) {
|
|
417
|
+
if (getLimit.data.f_limit_value < 0 && getLimit.data.f_limit_amount < 0) {
|
|
418
|
+
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
419
|
+
self.$dispatch('refresh')
|
|
420
|
+
} else {
|
|
421
|
+
if (getLimit.data.f_limit_value) {
|
|
422
|
+
self.maxgas = (getLimit.data.f_limit_value - 0)
|
|
423
|
+
self.limitgas = true
|
|
424
|
+
}
|
|
425
|
+
if (getLimit.data.f_limit_amount) {
|
|
426
|
+
self.maxmoney = (getLimit.data.f_limit_amount - 0)
|
|
427
|
+
self.limitmoney = true
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
export default {
|
|
434
|
+
title: '物联网收费',
|
|
435
|
+
data () {
|
|
436
|
+
return {
|
|
437
|
+
resid: [], // 存放新增的f_files表中id
|
|
438
|
+
config: {
|
|
439
|
+
notShowFormula: false, // 不显示计算公式,默认显示
|
|
440
|
+
priceCalculation: false, // 划气量控制
|
|
441
|
+
showupload: true, // 默认显示附件上传组件
|
|
442
|
+
hasPrint: false, // 默认打票
|
|
443
|
+
floor: true, // 是否取整收费
|
|
444
|
+
hasBillManage: false, // 默认不启用发票管理
|
|
445
|
+
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
446
|
+
printType: '普通收据', // 收据/电子票/专用发票/国税发票
|
|
447
|
+
payment: '现金缴费',
|
|
448
|
+
overdraftBalance: false // 是否支持系统余额透支
|
|
449
|
+
},
|
|
450
|
+
model: {
|
|
451
|
+
f_purchase: 0,
|
|
452
|
+
f_payment: [],
|
|
453
|
+
f_pregas: 0,
|
|
454
|
+
f_preamount: 0,
|
|
455
|
+
f_totalcost: 0,
|
|
456
|
+
f_curbalance: 0,
|
|
457
|
+
f_collection: '',
|
|
458
|
+
f_balance: 0,
|
|
459
|
+
f_print: [],
|
|
460
|
+
f_meter_type: '',
|
|
461
|
+
f_voucher_number: '',
|
|
462
|
+
f_privilege_id: 0,
|
|
463
|
+
f_privilege_money: 0,
|
|
464
|
+
f_after_discount: 0,
|
|
465
|
+
f_sys_balance: 0
|
|
466
|
+
},
|
|
467
|
+
eticket_msg: false,
|
|
468
|
+
eticket_show: false,
|
|
469
|
+
invoice_is_pax: '不征税',
|
|
470
|
+
is_pax: [{label: '征税', value: '征税'}, {label: '不征税', value: '不征税'}],
|
|
471
|
+
|
|
472
|
+
calculatedetail: '',
|
|
473
|
+
// 启用发票管理需要对票号进行验证
|
|
474
|
+
hasValidateBill: false,
|
|
475
|
+
validateOk: false,
|
|
476
|
+
|
|
477
|
+
print: false,
|
|
478
|
+
billData: {
|
|
479
|
+
url: 'rs/report/iot_bill',
|
|
480
|
+
operator: this.$login.f.name,
|
|
481
|
+
billnumber: ''
|
|
482
|
+
},
|
|
483
|
+
hasLimit: false,
|
|
484
|
+
maxgas: 99999999, // 限购
|
|
485
|
+
maxmoney: 99999999,
|
|
486
|
+
limitmoney: false,
|
|
487
|
+
limitgas: false,
|
|
488
|
+
paymentModel: [], // 多笔付款方式
|
|
489
|
+
|
|
490
|
+
mulPrint: false,
|
|
491
|
+
clickConfirm: false, // 控制确认按钮只能点击一次
|
|
492
|
+
// 下拉框值
|
|
493
|
+
paytype: this.$appdata.getParam('付款方式'),
|
|
494
|
+
printstyle: this.$appdata.getParam('打印格式'),
|
|
495
|
+
privilegeList: [{label: '无优惠', value: '0'}],
|
|
496
|
+
showfiles: false,
|
|
497
|
+
serialShow: false,
|
|
498
|
+
mjshow: false,
|
|
499
|
+
dymoney: 0
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
props: ['row'],
|
|
503
|
+
mounted () {
|
|
504
|
+
this.$refs.email.focus()
|
|
505
|
+
},
|
|
506
|
+
ready () {
|
|
507
|
+
console.log('wulianwang缴费-------------------------------------')
|
|
508
|
+
this.paytype = this.$appdata.getParam('付款方式')
|
|
509
|
+
if (!this.$login.r.includes('免交充值付款')) {
|
|
510
|
+
this.paytype = this.paytype.filter((item) => {
|
|
511
|
+
return item.label != '免交'
|
|
512
|
+
})
|
|
513
|
+
}
|
|
514
|
+
// this.getPurchase()
|
|
515
|
+
this.model.f_price_id = this.row.f_price_id
|
|
516
|
+
this.model.f_user_id = this.row.f_user_id
|
|
517
|
+
this.model.f_userfiles_id = this.row.f_userfiles_id
|
|
518
|
+
this.model.f_userinfo_id = this.row.f_userinfo_id
|
|
519
|
+
this.model.f_balance = this.row.f_alias === 'QiaoSong' ? Math.trunc(this.row.f_balance) : this.row.f_balance
|
|
520
|
+
this.model.f_preamount = ''
|
|
521
|
+
this.model.f_pregas = ''
|
|
522
|
+
document.getElementById('pregasFocue').focus()
|
|
523
|
+
asyncCardMeterCenter(this)
|
|
524
|
+
},
|
|
525
|
+
watch: {
|
|
526
|
+
'model.f_payment.length' (val) {
|
|
527
|
+
console.log('付款方式多选。。', val)
|
|
528
|
+
if (val > 1 && !this.model.f_preamount) {
|
|
529
|
+
this.model.f_payment = ['现金缴费']
|
|
530
|
+
this.$showAlert('请先计算付款金额', 'warning', 2000)
|
|
531
|
+
} else {
|
|
532
|
+
this.paymentModel = []
|
|
533
|
+
|
|
534
|
+
this.model.f_payment.forEach((res) => {
|
|
535
|
+
let temp = {
|
|
536
|
+
f_payment: res,
|
|
537
|
+
f_money: 0
|
|
538
|
+
}
|
|
539
|
+
this.paymentModel.push(temp)
|
|
540
|
+
})
|
|
541
|
+
this.$resetValidation()
|
|
542
|
+
|
|
543
|
+
// 获取计算优惠
|
|
544
|
+
this.getPrivilegeList()
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
'model.f_collection' (val) {
|
|
548
|
+
// 获取计算优惠
|
|
549
|
+
this.getPrivilegeList()
|
|
550
|
+
},
|
|
551
|
+
'model.f_payment' (val) {
|
|
552
|
+
if (val == '免交') {
|
|
553
|
+
this.mjshow = true
|
|
554
|
+
} else if (val == '赠气' && (this.model.f_preamount || this.model.f_preamount != '')) {
|
|
555
|
+
if (this.row.f_collection_type == '按气量') {
|
|
556
|
+
this.pregas()
|
|
557
|
+
} else {
|
|
558
|
+
this.preamount()
|
|
559
|
+
}
|
|
560
|
+
} else {
|
|
561
|
+
this.mjshow = false
|
|
562
|
+
}
|
|
563
|
+
if (this.row.f_collection_type == '按气量') {
|
|
564
|
+
this.pregas()
|
|
565
|
+
} else {
|
|
566
|
+
this.preamount()
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
events: {
|
|
571
|
+
// 删除Resid数组元素
|
|
572
|
+
'delResid' (val) {
|
|
573
|
+
this.resid.$remove({id: val, f_biobid: ''})
|
|
574
|
+
// this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
|
|
575
|
+
},
|
|
576
|
+
// 增加Resid数组元素
|
|
577
|
+
'resid' (val) {
|
|
578
|
+
console.log('-=', val)
|
|
579
|
+
this.resid.push({id: val, f_biobid: ''})
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
methods: {
|
|
583
|
+
// 校验发票信息
|
|
584
|
+
checkInvoiceMsg () {
|
|
585
|
+
// 校验是否超出最大透支余额
|
|
586
|
+
if (this.model.f_payment == '系统余额透支') {
|
|
587
|
+
const maxOverdraftBalance = -(((this.$appdata.getSingleValue('最大透支余额') - 0) || 1000) - 0)
|
|
588
|
+
const curSysBalance = ((this.row.f_sys_balance || 0) - 0) - (this.model.f_totalcost - 0)
|
|
589
|
+
if (curSysBalance < maxOverdraftBalance) {
|
|
590
|
+
this.$showAlert('您的系统余额将超出最大透支余额,请使用别的付款方式!', 'danger', 5000)
|
|
591
|
+
return
|
|
592
|
+
}
|
|
593
|
+
this.model.f_sys_balance = curSysBalance
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
if (this.model.f_print[0] === '电子发票') {
|
|
597
|
+
if (!this.row.f_taxpayer_id) {
|
|
598
|
+
this.row.f_taxpayer_id = this.row.f_idnumber
|
|
599
|
+
}
|
|
600
|
+
if (!this.row.f_paper_name) {
|
|
601
|
+
this.row.f_paper_name = this.row.f_user_name
|
|
602
|
+
}
|
|
603
|
+
if (!this.row.f_address_phone) {
|
|
604
|
+
this.row.f_address_phone = this.row.f_address + ' ' + this.row.f_user_phone
|
|
605
|
+
}
|
|
606
|
+
this.eticket_msg = true
|
|
607
|
+
} else {
|
|
608
|
+
this.confirm()
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
eticket_toggle () {
|
|
612
|
+
this.eticket_show = false
|
|
613
|
+
this.$dispatch('success', '物联网收费', this.row)
|
|
614
|
+
},
|
|
615
|
+
async confirm () {
|
|
616
|
+
let res = await this.$showMessage(`确定对客户${this.row.f_user_name}进行物联网表缴费吗?`, ['confirm', 'cancel'])
|
|
617
|
+
if (res != 'confirm') return
|
|
618
|
+
// 先调用付款码支付组件流程
|
|
619
|
+
let ss = await this.$refs.paymentcode.flowPath()
|
|
620
|
+
this.$refs.paymentcode.paymentCodeShow = false
|
|
621
|
+
console.log('付款码操作返回', ss)
|
|
622
|
+
if (!ss.result) return
|
|
623
|
+
this.eticket_msg = false
|
|
624
|
+
this.clickConfirm = true
|
|
625
|
+
this.model.f_curbalance = this.curbalance
|
|
626
|
+
this.$dispatch('no-button')
|
|
627
|
+
console.log('model and row', this.model, this.row)
|
|
628
|
+
this.model.f_userinfo_id = this.row.f_userinfo_id
|
|
629
|
+
this.model.f_userfiles_id = this.row.f_userfiles_id
|
|
630
|
+
this.model.f_user_id = this.row.f_user_id
|
|
631
|
+
this.model.userinfo_version = this.row.userinfo_version
|
|
632
|
+
this.model.version = this.row.version
|
|
633
|
+
this.model.f_total_fee = (this.row.f_total_fee - 0) + (this.model.f_preamount - 0)
|
|
634
|
+
this.model.f_total_gas = (this.row.f_total_gas - 0) + (this.model.f_pregas - 0)
|
|
635
|
+
this.model.f_operator = this.$login.f.name
|
|
636
|
+
this.model.f_operatorid = this.$login.f.id
|
|
637
|
+
this.model.f_orgid = this.$login.f.orgid
|
|
638
|
+
this.model.f_orgname = this.$login.f.orgs
|
|
639
|
+
this.model.f_depid = this.$login.f.depids
|
|
640
|
+
this.model.f_depname = this.$login.f.deps
|
|
641
|
+
IOTChargeGen(this)
|
|
642
|
+
},
|
|
643
|
+
clean () {
|
|
644
|
+
this.$info('取消操作')
|
|
645
|
+
this.$dispatch('refresh', this.row)
|
|
646
|
+
},
|
|
647
|
+
validateBill (val) {
|
|
648
|
+
this.validateOk = !val.isOk
|
|
649
|
+
this.billData.bill = val.bill
|
|
650
|
+
},
|
|
651
|
+
printok () {
|
|
652
|
+
// 收据打完,判断是否还有其他票据进行请求
|
|
653
|
+
for (let i = 0; i < this.model.f_print.length; i++) {
|
|
654
|
+
if (this.model.f_print[i] === '电子发票') {
|
|
655
|
+
this.$CommonService.openEticket(this.row.id, '售气收费')
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
this.$dispatch('success', '物联网收费', this.row)
|
|
659
|
+
},
|
|
660
|
+
pregas () {
|
|
661
|
+
this.dymoney = 0
|
|
662
|
+
if (this.model.f_pregas && this.model.f_pregas > 0) {
|
|
663
|
+
try {
|
|
664
|
+
pregasGen(this)
|
|
665
|
+
} catch (error) {
|
|
666
|
+
this.$showAlert(`发卡售气划价错误,错误类型:${error}`, 'danger', 0)
|
|
667
|
+
this.$dispatch('error', '发卡售气', this.model, error)
|
|
668
|
+
}
|
|
669
|
+
} else {
|
|
670
|
+
this.model.f_pregas = null
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
preamount () {
|
|
674
|
+
if (this.model.f_preamount && this.model.f_preamount > 0) {
|
|
675
|
+
try {
|
|
676
|
+
preamountGen(this)
|
|
677
|
+
} catch (error) {
|
|
678
|
+
this.$showAlert(`发卡售气划价错误,错误类型:${error}`, 'danger', 0)
|
|
679
|
+
this.$dispatch('error', '发卡售气', this.model, error)
|
|
680
|
+
}
|
|
681
|
+
} else {
|
|
682
|
+
this.model.f_preamount = null
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
calText (val) {
|
|
686
|
+
let str = ''
|
|
687
|
+
val.forEach((item) => {
|
|
688
|
+
str = str + item.f_price + ' x ' + item.f_gas + '+'
|
|
689
|
+
})
|
|
690
|
+
str = str.slice(0, str.length - 1)
|
|
691
|
+
this.calculatedetail = str
|
|
692
|
+
},
|
|
693
|
+
close () {
|
|
694
|
+
this.print = false
|
|
695
|
+
this.clean()
|
|
696
|
+
},
|
|
697
|
+
// 根据选择的付款方式 获取优惠列表
|
|
698
|
+
async getPrivilegeList () {
|
|
699
|
+
// 初始化下拉选择列表
|
|
700
|
+
this.privilegeList = [{label: '无优惠', value: '0'}]
|
|
701
|
+
// 初始为无优惠
|
|
702
|
+
this.model.f_privilege_id = '0'
|
|
703
|
+
if (this.model.f_payment && this.model.f_payment.length) {
|
|
704
|
+
// 查询条件
|
|
705
|
+
let payments = JSON.stringify(this.model.f_payment)
|
|
706
|
+
payments = payments.replace('[', '(').replace(']', ')').replace(/"/g, '\'')
|
|
707
|
+
let HttpReset = new HttpResetClass()
|
|
708
|
+
let privilege = await HttpReset.load('POST', 'rs/sql/singleTable_OrderBy', {
|
|
709
|
+
data: {
|
|
710
|
+
items: 'id,f_privilege_name,f_privilege_type',
|
|
711
|
+
tablename: 't_privilege',
|
|
712
|
+
condition: `f_payment in ${payments} and f_gasproperties = '${this.row.f_gasproperties}' and f_user_type = '${this.row.f_user_type}' and f_perform_date <= GETDATE() and f_end_date >= GETDATE() and f_state = '有效'`,
|
|
713
|
+
orderitem: 'id'
|
|
714
|
+
}
|
|
715
|
+
}, {resolveMsg: null, rejectMsg: '查询优惠信息失败'})
|
|
716
|
+
// 查询结果放到下拉列表
|
|
717
|
+
for (let p of privilege.data) {
|
|
718
|
+
this.privilegeList.push({label: p.f_privilege_name, value: p.id, type: p.f_privilege_type})
|
|
719
|
+
}
|
|
720
|
+
this.privilegeCalculate()
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
// 优惠计算
|
|
724
|
+
async privilegeCalculate () {
|
|
725
|
+
// 初始化减免金额
|
|
726
|
+
this.model.f_privilege_money = 0
|
|
727
|
+
this.model.f_after_discount = this.model.f_collection
|
|
728
|
+
// 判断是否是自定义优惠
|
|
729
|
+
if (parseInt(this.data.f_privilege_id)) {
|
|
730
|
+
for (let p of this.privilegeList) {
|
|
731
|
+
if (p.value == this.data.f_privilege_id && p.type == '自定义') {
|
|
732
|
+
this.data.f_privilege_money = window.prompt('请输入你想优惠的金额')
|
|
733
|
+
if (!(/^[1-9]\d*(\.\d+)?$/).test(this.data.f_privilege_money) || !(/^[1-9]\d*(\.\d+)?$/).test(this.data.f_privilege_money)) {
|
|
734
|
+
this.$showMessage('金额输入格式不正确!')
|
|
735
|
+
this.data.f_privilege_money = 0
|
|
736
|
+
return
|
|
737
|
+
}
|
|
738
|
+
if ((this.data.f_privilege_money - 0) >= this.data.f_collection) {
|
|
739
|
+
this.$showMessage('减免金额不能大于等于收款金额')
|
|
740
|
+
this.data.f_privilege_money = 0
|
|
741
|
+
return
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
// 优惠方式, 收款 缺一不计算
|
|
747
|
+
if (this.model.f_payment && this.model.f_payment.length && parseInt(this.model.f_privilege_id) && this.model.f_collection) {
|
|
748
|
+
let c = {
|
|
749
|
+
f_privilege_id: this.model.f_privilege_id,
|
|
750
|
+
f_collection: this.model.f_collection,
|
|
751
|
+
f_privilege_money: this.data.f_privilege_money
|
|
752
|
+
}
|
|
753
|
+
let privilegeData = await this.$resetpost('rs/logic/calculatePrivilege', c, {resolveMsg: null, rejectMsg: '计算优惠金额出错'})
|
|
754
|
+
// 减免金额
|
|
755
|
+
this.model.f_privilege_money = privilegeData.data.f_privilege_money
|
|
756
|
+
// 减免后收款金额
|
|
757
|
+
this.model.f_after_discount = privilegeData.data.f_collection
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
// 判断当前用户是否可以使用系统余额透支
|
|
761
|
+
canOverdraftBalance () {
|
|
762
|
+
return this.config.overdraftBalance && this.row.f_user_type != '民用'
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
computed: {
|
|
766
|
+
authArr () {
|
|
767
|
+
return this.$login.r ? this.$login.r : []
|
|
768
|
+
},
|
|
769
|
+
'curbalance' () {
|
|
770
|
+
if (this.model.f_payment == '赠气') {
|
|
771
|
+
return this.row.f_balance
|
|
772
|
+
}
|
|
773
|
+
if (this.model.f_preamount) {
|
|
774
|
+
return ((this.model.f_collection - 0) - (this.model.f_preamount - 0) + (this.row.f_balance - 0)).toFixed(2) - 0
|
|
775
|
+
} else {
|
|
776
|
+
return 0
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
'islegal' () {
|
|
780
|
+
if (this.paymentModel.length > 1 && this.model.f_collection) {
|
|
781
|
+
let sum = 0
|
|
782
|
+
this.paymentModel.forEach((res) => {
|
|
783
|
+
sum += (res.f_money - 0)
|
|
784
|
+
})
|
|
785
|
+
return (this.model.f_collection - 0) === (sum - 0)
|
|
786
|
+
} else {
|
|
787
|
+
return true
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
</script>
|
|
793
|
+
|
|
794
|
+
<style>
|
|
795
|
+
</style>
|