sale-client 4.1.230 → 4.2.1-ronghao
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 +29 -46
- package/package.json +2 -2
- package/src/App.vue +3 -3
- package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -4
- package/src/components/FilesManageNew/FileUserFiles.vue +2 -4
- package/src/components/FilesManageNew/MeterinfoTest.vue +9 -9
- package/src/components/FilesManageNew/UserEssentialInfoTest.vue +201 -227
- package/src/components/FilesManageNew/UserGeneralInfoTest.vue +0 -2
- package/src/components/charge/business/CardMeterCenter.vue +1 -1
- package/src/components/charge/business/FilesComplete.vue +3 -3
- package/src/components/charge/business/IOTMeterCenter.vue +1 -1
- package/src/components/charge/business/OtherChargeNew.vue +68 -48
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +10 -1
- package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/GarbageRecordList.vue +69 -0
- package/src/components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue +384 -0
- package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
- package/src/components/revenue/Common/MeterMessage.vue +1 -1
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/HandManager/WebHand.vue +7 -4
- package/src/components/revenue/base/leftview/SafeCheck.vue +41 -3
- package/src/components/revenue/base/leftview/UserFeeInfo.vue +76 -0
- package/src/components/revenue/base/leftview/otherinfo.vue +1 -0
- package/src/components/revenue/base/rightview/CardList.vue +7 -3
- package/src/components/revenue/batchDeduction/batchDeductionList.vue +1 -1
- package/src/components/revenue/cardHandManage/cardDown.vue +18 -0
- package/src/components/revenue/changeInsurance/InsuranceAdd.vue +1 -0
- package/src/components/revenue/changeInsurance/InsuranceRecord.vue +2 -1
- package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +4 -2
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +2 -2
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/components/revenue/machineHandManage/HandplanQuery.vue +1 -1
- package/src/components/revenue/machineHandManage/machineHand.vue +3 -2
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/dexin/MeterinfoTest.vue +1239 -0
- package/src/filiale/dexin/UserEssentialInfoTest.vue +602 -0
- package/src/filiale/dexin/sale.js +5 -0
- package/src/filiale/fugou/MeterinfoTest.vue +1 -1
- package/src/filiale/jiaxian/AutomaticPurse.vue +349 -0
- package/src/filiale/jiaxian/ChangeMeterQueryUser.vue +303 -0
- package/src/filiale/jiaxian/ChangeRecord.vue +44 -2
- package/src/filiale/jiaxian/FillCardQueryUser.vue +250 -0
- package/src/filiale/jiaxian/FillGasQueryUser.vue +270 -0
- package/src/filiale/jiaxian/OtherChargeQueryUser.vue +305 -0
- package/src/filiale/jiaxian/PriceAdjustmentQueryUser.vue +368 -0
- package/src/filiale/jiaxian/PriceChangeQueryUser.vue +243 -0
- package/src/filiale/jiaxian/QueryInstruct.vue +436 -0
- package/src/filiale/jiaxian/RecordQueryUser.vue +321 -0
- package/src/filiale/jiaxian/Repurchase.vue +181 -0
- package/src/filiale/jiaxian/TransferQueryUser.vue +274 -0
- package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +11 -11
- package/src/filiale/jiaxian/Userinfo.vue +426 -0
- package/src/filiale/jiaxian/WatchCollection.vue +54 -1
- package/src/filiale/jiaxian/WebAutomaticPurse.vue +348 -0
- package/src/filiale/jiaxian/contractSigningList.vue +149 -0
- package/src/filiale/jiaxian/sale.js +5 -0
- package/src/filiale/jinhong/AutoAccountsDetail.vue +63 -0
- package/src/filiale/jinhong/CardList.vue +572 -0
- package/src/filiale/jinhong/CardMeterCenter.vue +1 -1
- package/src/filiale/jinhong/CardMeterCenterInner.vue +61 -22
- package/src/filiale/jinhong/GarbageCharge.vue +1 -1
- package/src/filiale/jinhong/HandplanQuery.vue +1430 -0
- package/src/filiale/jinhong/IOTMeterCenterInner.vue +42 -14
- package/src/filiale/jinhong/InsuranceAdd.vue +27 -5
- package/src/filiale/jinhong/InsuranceChargesDetails.vue +11 -5
- package/src/filiale/jinhong/InsuranceRecord.vue +4 -5
- package/src/filiale/jinhong/InsuranceTemp.vue +33 -5
- package/src/filiale/jinhong/MachineChargeService.js +8 -0
- package/src/filiale/jinhong/MachineMeterCenter.vue +38 -11
- package/src/filiale/jinhong/ShowCardSellGasInner.vue +46 -14
- package/src/filiale/jinhong/Userinfo.vue +75 -1
- package/src/filiale/jinhong/insuranceGuanL.vue +349 -0
- package/src/filiale/jinhong/machineDown.vue +1205 -0
- package/src/filiale/jinhong/sale.js +9 -0
- package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +259 -0
- package/src/filiale/jinhuang/WebHand.vue +1026 -0
- package/src/filiale/jinhuang/WebHandQueryUser.vue +413 -0
- package/src/filiale/jinhuang/cardsHand.vue +911 -0
- package/src/filiale/jinhuang/sale.js +8 -0
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceAdd.vue +1 -0
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/CardMeterCenter.vue +991 -0
- package/src/filiale/meihekou/ChargeManage.vue +3 -2
- package/src/filiale/meihekou/ChargeOper.vue +279 -169
- package/src/filiale/meihekou/HandManager.vue +57 -2
- package/src/filiale/meihekou/NoCardMeterCenter.vue +542 -0
- package/src/filiale/meihekou/OverUseCharge.vue +1 -1
- package/src/filiale/meihekou/PrintBill.vue +48 -41
- package/src/filiale/meihekou/ReissueBill.vue +4 -1
- package/src/filiale/meihekou/ShowCardSellGas.vue +935 -0
- package/src/filiale/meihekou/TransferManage.vue +704 -0
- package/src/filiale/meihekou/Userinfo.vue +233 -5
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/meihekou/icTable.vue +233 -0
- package/src/filiale/meihekou/machineHand.vue +2158 -0
- package/src/filiale/meihekou/manualChargeCenter.vue +394 -0
- package/src/filiale/meihekou/meterTable.vue +220 -0
- package/src/filiale/meihekou/sale.js +15 -0
- package/src/filiale/qianneng/MeterMessage.vue +1 -1
- package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
- package/src/filiale/rizhao/InsuranceAdd.vue +1 -0
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardList.vue +19 -17
- package/src/filiale/ronghao/CardMeterChargeCancel.vue +5 -0
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/ChangeMeterService.js +1 -1
- package/src/filiale/ronghao/ChargeList.vue +17 -17
- package/src/filiale/ronghao/ChargeManage.vue +325 -0
- package/src/filiale/ronghao/ChargeOper.vue +330 -0
- package/src/filiale/ronghao/FilesManageNew/UserEssentialInfoTest.vue +457 -0
- package/src/filiale/ronghao/FilesManageNew/UserGeneralInfoTest.vue +690 -0
- package/src/filiale/ronghao/HandplanQuery.vue +13 -14
- package/src/filiale/ronghao/IOTMeterCenter.vue +15 -6
- package/src/filiale/ronghao/InsuranceAdd.vue +1 -0
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/Userinfo.vue +18 -18
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/machineRefund.vue +3 -1
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/sale.js +11 -0
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/ronghao/uploadFilesHistory.vue +214 -0
- package/src/filiale/ruihua/FilesManage/MeterinfoTest.vue +10 -0
- package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +1 -0
- package/src/filiale/wuan/MeterMessage.vue +1 -1
- package/src/filiale/yangchun/BasicLivingList.vue +281 -0
- package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +1 -0
- package/src/filiale/yangchun/CardChangeFill.vue +1 -1
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +3 -3
- package/src/filiale/yangchun/NewMeterList.vue +742 -0
- package/src/filiale/yangchun/sale.js +3 -0
- package/src/filiale/yuncheng/CardList.vue +1 -1
- package/src/filiale/yuncheng/IndustryCommerceHand.vue +1145 -0
- package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +794 -0
- package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +64 -0
- package/src/filiale/yuncheng/InsuranceAdd.vue +1 -0
- package/src/filiale/yuncheng/MeterBookUser.vue +781 -0
- package/src/filiale/yuncheng/UserDeviceInfoTest.vue +2 -2
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/yuncheng/industryDown.vue +1118 -0
- package/src/filiale/yuncheng/sale.js +11 -0
- package/src/filiale/yuncheng/uploadFilesHistory.vue +185 -0
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/plugins/CardService.js +2217 -2217
- package/src/sale.js +3 -1
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div @keyup.enter="search">
|
|
3
|
+
<partial-view v-ref:pv>
|
|
4
|
+
<criteria-paged :model="model" :pager="false" v-ref:paged>
|
|
5
|
+
<criteria @condition-changed='$parent.$parent.selfSearch' partial='criteria' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal" novalidate partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-4">
|
|
9
|
+
<!-- <label>用户编号:</label> -->
|
|
10
|
+
<input class="input_search" condition="f_userinfo_code = '{}'" placeholder='客户号' style="width: 80%"
|
|
11
|
+
type="text"
|
|
12
|
+
v-model="model.f_userinfo_code">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-4" style="flex: 1;width: max-content">
|
|
15
|
+
<!-- <label>操作类型:</label> -->
|
|
16
|
+
<v-select :options='$parent.$parent.$parent.operationtypes'
|
|
17
|
+
|
|
18
|
+
:value.sync="model.f_operat_type"
|
|
19
|
+
:width="'100%'"
|
|
20
|
+
close-on-select
|
|
21
|
+
condition="f_operat_type = '{}'"
|
|
22
|
+
id="f_paytype"
|
|
23
|
+
placeholder='操作类型'
|
|
24
|
+
style="width: 100%"
|
|
25
|
+
v-model="model.f_operat_type"></v-select>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-sm-2 button-range" style="padding-right: 10px">
|
|
28
|
+
<button @click="search()" class="button_search">查询</button>
|
|
29
|
+
<div
|
|
30
|
+
:class="{'button_shrink_top':$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.criteriaShow}"
|
|
31
|
+
@click="$parent.$parent.$parent.criteriaShow=!$parent.$parent.$parent.criteriaShow" class="button_spacing" style="float: right"></div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="form-group col-sm-5" v-show="$parent.$parent.$parent.criteriaShow">
|
|
34
|
+
<!-- <label>用户编号:</label> -->
|
|
35
|
+
<input class="input_search" condition="r.f_operator like '%{}%'" placeholder='操作员' style="width: 80%"
|
|
36
|
+
type="text"
|
|
37
|
+
v-model="model.f_operator">
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
<!-- <partial name="cardcriteria"></partial> -->
|
|
41
|
+
<!-- <div class="form-group">
|
|
42
|
+
<partial name="cardcriteria"></partial>
|
|
43
|
+
</div> -->
|
|
44
|
+
</div>
|
|
45
|
+
</criteria>
|
|
46
|
+
<div partial="list" style="overflow-y: scroll;height: 90%">
|
|
47
|
+
<accordion :one-at-atime="true" type="info" >
|
|
48
|
+
<panel :is-click="false" :is-open="true" type="info" v-for="row in model.rows" >
|
|
49
|
+
<span @click="$parent.$parent.$parent.selected(row)" class="panel-title row" slot="header"
|
|
50
|
+
style="cursor: pointer;">
|
|
51
|
+
<div class="col-sm-11">
|
|
52
|
+
<!-- <div class="row" v-if="row.f_state==='冲正' " style="color: red">-->
|
|
53
|
+
<!-- <strong :title="row.f_userinfo_code" class="col-sm-4" show-overflow-tooltip="true">{{row.f_userinfo_code.length>9?''+row.f_userinfo_code.substring(0,9)+'...':row.f_userinfo_code}}</strong>-->
|
|
54
|
+
<!-- <span class="col-sm-4">{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span>-->
|
|
55
|
+
<!-- <span class="col-sm-4">{{row.type}}</span>-->
|
|
56
|
+
<!-- </div>-->
|
|
57
|
+
<div class="row">
|
|
58
|
+
<strong :title="row.f_userinfo_code" class="col-sm-4" show-overflow-tooltip="true">{{row.f_userinfo_code.length>9?''+row.f_userinfo_code.substring(0,9)+'...':row.f_userinfo_code}}</strong>
|
|
59
|
+
<span class="col-sm-4">{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span>
|
|
60
|
+
<span class="col-sm-4">{{row.type}}</span>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="col-sm-1" v-if="$parent.$parent.$parent.isOperate" title="涉及权限:冲正权限">
|
|
64
|
+
<dropdown class="auto"
|
|
65
|
+
v-if="(row.type ==='机表收费撤销' || row.type ==='卡表收费撤销' || row.type ==='物联网收费撤销' || row.type ==='其他收费撤销'
|
|
66
|
+
|| row.type ==='气损收费撤销' || row.type ==='预存缴费' || row.type === '补卡' || row.type === '物联网收费' ||
|
|
67
|
+
row.type === '用户退费' || row.type === '机表收费' || row.type === '数码表收费' ||
|
|
68
|
+
row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' ||
|
|
69
|
+
row.type === '换表' || row.state === 1 || row.type==='调价补费' || row.type==='卡表赠气' ||
|
|
70
|
+
row.type==='物联网赠气'|| row.type==='物联网赠费'|| row.type==='卡表赠费'|| row.type==='卡表赠气'||
|
|
71
|
+
row.type==='卡表收费撤销'||row.type==='物联网补费' || row.type==='物联网扣费'||row.type==='机表补费'||
|
|
72
|
+
row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气'||row.type==='气损收费' ||
|
|
73
|
+
row.type === '气表清零' || row.type === '掉气补气' || row.type === '其他补气' || row.type === '清零补气' || row.type === '自动下账' ||
|
|
74
|
+
row.type === '换表补气' || row.type === '过户'|| row.type ==='价格补差' || row.type ==='价格补差撤销') && row.type!=='新增户档案' && row.type!=='转气转出' && row.type!=='转气转入'">
|
|
75
|
+
<button data-toggle="dropdown" style="border: 0px;background: none;" type="button"
|
|
76
|
+
v-if="row.f_user_state==='正常'||row.f_user_state==='预备'||row.type==='气损收费' ">
|
|
77
|
+
<span class="glyphicon glyphicon-th-list"></span>
|
|
78
|
+
</button>
|
|
79
|
+
<ul class="dropdown-menu dropdown-menu-right" slot="dropdown-menu" style=" min-width: 60px;" v-if="row.f_user_state==='正常'||row.f_user_state==='预备'||row.type==='气损收费' ">
|
|
80
|
+
<!-- <li-->
|
|
81
|
+
<!-- v-if="row.type === '换新表' || row.type === '气表清零' || row.type === '掉气补气' || row.type === '其他补气' || row.type === '清零补气' || row.type === '换表补气'-->
|
|
82
|
+
<!-- || row.type === '补卡' || row.type === '物联网开户' || row.type === '物联网收费' || row.type === '用户退费' || row.type === '机表收费' || row.type === '数码表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表' || row.type === '过户'|| row.type==='预存缴费'|| row.type==='退费'|| row.type==='调价补费' ||row.type==='卡表收费撤销'||row.type==='物联网补费' || row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气'||row.type==='气损收费' ">-->
|
|
83
|
+
<!-- <a @click.stop="$parent.$parent.$parent.operate('票据补打', row)" href="#">票据补打</a>-->
|
|
84
|
+
<!-- </li>-->
|
|
85
|
+
<!-- <li-->
|
|
86
|
+
<!-- v-if="row.state === 1 && (row.type === '其他收费欠费登记' || row.type === '迁表' || row.type === '调价预存' || row.type === '拆表' || row.type === '物联网开户' || row.type === '物联网收费'|| row.type === '卡表收费' || row.type === '其他收费'|| row.type === '气费减免'||row.type === '维修收费' || row.type === '过户' || row.type === '换新表' || row.type === '气表清零' || row.type === '机表收费' || row.type === '超用收费' || row.type === '其他收费' || row.type === '补卡'|| row.type === '调价补费'|| row.type=='预存缴费' || row.type==='卡表赠气'|| row.type==='物联网赠费'|| row.type==='卡表赠费'|| row.type==='物联网赠气')">-->
|
|
87
|
+
<!-- <a @click.stop="$parent.$parent.$parent.operate('撤销', row)" href="#">撤销</a>-->
|
|
88
|
+
<!-- </li>-->
|
|
89
|
+
<li>
|
|
90
|
+
<a @click.stop="$parent.$parent.$parent.operate('票据补打', row)" href="#">票据补打</a>
|
|
91
|
+
</li>
|
|
92
|
+
<li v-if="row.type !== '自动下账'">
|
|
93
|
+
<a @click.stop="$parent.$parent.$parent.operate('撤销', row)" href="#">撤销</a>
|
|
94
|
+
</li>
|
|
95
|
+
</ul>
|
|
96
|
+
</dropdown>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
</span>
|
|
100
|
+
<div class="panel-body" v-if="$parent.$parent.$parent.isSelected(row)">
|
|
101
|
+
<salecardgas-detail :data="row" v-if="row.type === '发卡售气'"></salecardgas-detail>
|
|
102
|
+
<movemeter-detail :data="row" v-if="row.type === '迁表'"></movemeter-detail>
|
|
103
|
+
<salecardgas-detail :data="row" v-if="row.type === '换表发卡'"></salecardgas-detail>
|
|
104
|
+
<cardmetercenter-detail :data="row" v-if="row.type === '卡表收费'||row.type === '数码表收费' "></cardmetercenter-detail>
|
|
105
|
+
<movegas-detail :data="row" v-if="row.type === '转气转出'"></movegas-detail>
|
|
106
|
+
<movegas-detail :data="row" v-if="row.type === '转气转入'"></movegas-detail>
|
|
107
|
+
<machinemetercenter-detail :data="row" v-if="row.type === '机表收费'"></machinemetercenter-detail>
|
|
108
|
+
<autoaccounts-detail :data="row" v-if="row.type === '自动下账'"></autoaccounts-detail>
|
|
109
|
+
<bankdk-detail :data="row" v-if="row.type === '银行代扣'"></bankdk-detail>
|
|
110
|
+
<bank-pay :data="row" v-if="row.type === '银行支付'"></bank-pay>
|
|
111
|
+
<wechat-pay :data="row" v-if="row.type === '微信支付'"></wechat-pay>
|
|
112
|
+
<disablemanage-detail :data="row" v-if="row.type === '停用'"></disablemanage-detail>
|
|
113
|
+
<enablemanage-detail :data="row" v-if="row.type === '启用'"></enablemanage-detail>
|
|
114
|
+
<replacecardmanage-detail :data="row" v-if="row.type === '补卡'"></replacecardmanage-detail>
|
|
115
|
+
<machinecard-detail :data="row" v-if="row.type === '机表补卡'"></machinecard-detail>
|
|
116
|
+
<transfermanage-detail :data="row" v-if="row.type === '过户'"></transfermanage-detail>
|
|
117
|
+
<othercharge-detail :data="row" v-if="row.type === '其他收费欠费登记'||row.type === '其他收费'||row.type === '维修收费'"></othercharge-detail>
|
|
118
|
+
<inputtorchange-detail :data="row" v-if="row.type === '抄表员变更'"></inputtorchange-detail>
|
|
119
|
+
<offgasaddgas-detail :data="row" v-if=" row.type === '换表补气' || row.type === '批量换表补气' || row.type === '其他补气' || row.type === '清零补气' || row.type === '掉气补气'||row.type==='物联网补费'||row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气'||row.type==='低保户导入补气' " ></offgasaddgas-detail>
|
|
120
|
+
<iotopen-detail :data="row" v-if="row.type === '开通'"></iotopen-detail>
|
|
121
|
+
<iotmetercenter-detail :data="row" v-if="row.type === '物联网收费' || row.type === '物联网开户' || row.type === '调价退费' || row.type === '调价补费'||row.type === '退押金' "></iotmetercenter-detail>
|
|
122
|
+
<overuserchange-detail :data="row" v-if="row.type === '超用收费'"></overuserchange-detail>
|
|
123
|
+
<adduser-detail :data="row" v-if="row.type === '新增户档案'"></adduser-detail>
|
|
124
|
+
<gaspricechange-detail :data="row" v-if="row.type === '气价变更'"></gaspricechange-detail>
|
|
125
|
+
<userchange-detail :data="row" v-if="row.type === '档案变更'"></userchange-detail>
|
|
126
|
+
<changemeter-detail :data="row" v-if="row.type === '换新表' || row.type === '批量换表' || row.type === '气表清零'"></changemeter-detail>
|
|
127
|
+
<changeflowmeter-detail :data="row" v-if="row.type === '换卡控流量计'"></changeflowmeter-detail>
|
|
128
|
+
<cardoveruser-detail :data="row" v-if="row.type === '卡表超用'||row.type === '超用'"></cardoveruser-detail>
|
|
129
|
+
<cancellation-detail :data="row" v-if="row.type === '销户'"></cancellation-detail>
|
|
130
|
+
<refund-detail :data="row" v-if="row.type === '退费' || row.type == '卡表退费'"></refund-detail>
|
|
131
|
+
|
|
132
|
+
<insurance-manage-detail :data="row" v-if="row.type === '保险收费'"></insurance-manage-detail>
|
|
133
|
+
|
|
134
|
+
<change-meter-cancel :data="row" v-if="row.type === '换表撤销'"></change-meter-cancel>
|
|
135
|
+
<autoaccounts-cancel-detail :data="row" v-if="row.type === '自动下账撤销'"></autoaccounts-cancel-detail>
|
|
136
|
+
<transfermanage-cancel-detail :data="row" v-if="row.type === '过户撤销'"></transfermanage-cancel-detail>
|
|
137
|
+
<cardmetercenter-cancel-detail :data="row" v-if="row.type === '卡表收费撤销'"></cardmetercenter-cancel-detail>
|
|
138
|
+
<machinemetercenter-cancel-detail :data="row" v-if="row.type === '机表收费撤销'"></machinemetercenter-cancel-detail>
|
|
139
|
+
<machinemetercenter-cancel-detail :data="row" v-if="row.type == '预存缴费撤销'"></machinemetercenter-cancel-detail>
|
|
140
|
+
<othercharge-cancel-detail :data="row" v-if="row.type === '其他收费撤销'"></othercharge-cancel-detail>
|
|
141
|
+
<replacecardmanagecancel-detail :data="row" v-if="row.type === '补卡撤销'"></replacecardmanagecancel-detail>
|
|
142
|
+
<iotmetercenter-cancel-detail :data="row" v-if="row.type === '物联网收费撤销'"></iotmetercenter-cancel-detail>
|
|
143
|
+
<feededuction-detail :data="row" v-if="row.type === '补费' ||row.type === '扣费' ||row.type === '补气' ||row.type === '扣气' "></feededuction-detail>
|
|
144
|
+
<with-gas :data="row" v-if="row.type==='物联网赠气' || row.type==='物联网赠费'||row.type==='卡表赠气'||row.type==='卡表赠费'"></with-gas>
|
|
145
|
+
<replace-card-manageDetail :data="row" v-if=" row.type==='物联网补费'||row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气' "></replace-card-manageDetail>
|
|
146
|
+
<blacklist-detail :data="row" v-if="row.type ==='拉黑' ||row.type === '取消拉黑' "></blacklist-detail>
|
|
147
|
+
<advance-delivery-detail :data="row" v-if="row.type ==='卡表预交' "></advance-delivery-detail>
|
|
148
|
+
<machinemetercenter-detail :data="row" v-if="row.type === '预存缴费'||row.type == '调价预存'"></machinemetercenter-detail>
|
|
149
|
+
<price-adjustment-detail :data="row" v-if="row.type === '价格补差'"></price-adjustment-detail>
|
|
150
|
+
<gasloss-detail :data="row" v-if="row.type === '气损收费' || row.type === '气损收费撤销'"></gasloss-detail>
|
|
151
|
+
<garbage-detail :data="row" v-if="row.type === '垃圾费收费'"></garbage-detail>
|
|
152
|
+
</div>
|
|
153
|
+
<div style="margin-top: 8px;background: #FFF;" v-if="!$parent.$parent.$parent.isSelected(row)">
|
|
154
|
+
<span>{{row.f_describe}}</span>
|
|
155
|
+
</div>
|
|
156
|
+
</panel>
|
|
157
|
+
</accordion>
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
</criteria-paged>
|
|
161
|
+
</partial-view>
|
|
162
|
+
<record-cancel :data="cancel_data" :show.sync="cancel_show" @cancel="cancelOper()" @cancel-success="cancelSucc()" v-if="cancel_show"></record-cancel>
|
|
163
|
+
<reissue-bill :data="reissue_data" :show.sync="reissue_show" @cancel="reissueOper()" @reissue-success="reissueSucc()" v-if="reissue_show"></reissue-bill>
|
|
164
|
+
</div>
|
|
165
|
+
</template>
|
|
166
|
+
<script>
|
|
167
|
+
/**
|
|
168
|
+
*操作记录信息
|
|
169
|
+
*/
|
|
170
|
+
import {PagedList} from 'vue-client'
|
|
171
|
+
import co from 'co'
|
|
172
|
+
|
|
173
|
+
let cancelGen = function *(self, data) {
|
|
174
|
+
let msgRet = yield self.$showMessage('撤销后数据不可恢复,确认撤销录入吗?', ['confirm', 'cancel'])
|
|
175
|
+
if (msgRet === 'cancel') return
|
|
176
|
+
// 撤销操作完成,刷新界面
|
|
177
|
+
self.search()
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* 发票补打
|
|
182
|
+
*/
|
|
183
|
+
let reprintGen = async function (self, row) {
|
|
184
|
+
try {
|
|
185
|
+
row.billUrl = self.getBillUrl(row)
|
|
186
|
+
if (!row.billUrl) {
|
|
187
|
+
self.$showMessage('当前操作类型暂时没有票据')
|
|
188
|
+
return
|
|
189
|
+
}
|
|
190
|
+
row.f_bill_type = row.type
|
|
191
|
+
row.f_bill_style = '普通收据'
|
|
192
|
+
row.f_operator = self.$login.f.name
|
|
193
|
+
row.f_operatorid = self.$login.f.id
|
|
194
|
+
row.f_orgid = self.$login.f.orgid
|
|
195
|
+
row.f_orgname = self.$login.f.orgs
|
|
196
|
+
row.f_depid = self.$login.f.depids
|
|
197
|
+
row.f_depname = self.$login.f.deps
|
|
198
|
+
self.reissue_data = JSON.parse(JSON.stringify(row))
|
|
199
|
+
if (row.type === '调价预存') {
|
|
200
|
+
let id = await self.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {
|
|
201
|
+
data: {
|
|
202
|
+
items: 'f_surplus_id',
|
|
203
|
+
tablename: 't_sellinggas',
|
|
204
|
+
condition: `id = '${row.id}'`,
|
|
205
|
+
orderitem: 'id'
|
|
206
|
+
}
|
|
207
|
+
}, {resolveMsg: null, rejectMsg: '查询优惠信息失败'})
|
|
208
|
+
self.reissue_data.id = id.data[0].f_surplus_id
|
|
209
|
+
}
|
|
210
|
+
self.reissue_show = true
|
|
211
|
+
} catch (error) {
|
|
212
|
+
if (error.status) {
|
|
213
|
+
self.$warn(`加载数据出错, ${JSON.stringify(error)}`, 'CardList')
|
|
214
|
+
}
|
|
215
|
+
throw error
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
let asyncCardList = async function (self) {
|
|
219
|
+
await self.$getConfig(self, 'CardList')
|
|
220
|
+
console.log('操作汇总config', self.config)
|
|
221
|
+
}
|
|
222
|
+
export default {
|
|
223
|
+
title: '操作汇总',
|
|
224
|
+
data () {
|
|
225
|
+
return {
|
|
226
|
+
config: {
|
|
227
|
+
cancleother: false, // 默认可以撤销别人的操作
|
|
228
|
+
cancletime: true // 默认可以冲正今天以前的操作
|
|
229
|
+
},
|
|
230
|
+
model: new PagedList(`${this.sqlurl}`, 9999,
|
|
231
|
+
{
|
|
232
|
+
items: '"' + this.items + '"',
|
|
233
|
+
tablename: '"' + this.tablename + '"',
|
|
234
|
+
orderitem: '"' + this.orderitem + '"'
|
|
235
|
+
}),
|
|
236
|
+
show: false,
|
|
237
|
+
asideTitle: '用户操作',
|
|
238
|
+
row: Object,
|
|
239
|
+
comp: null,
|
|
240
|
+
operationtypes: this.$appdata.getParam('操作类型') ? [{
|
|
241
|
+
label: '全部',
|
|
242
|
+
value: ''
|
|
243
|
+
}, ...this.$appdata.getParam('操作类型')] : [],
|
|
244
|
+
|
|
245
|
+
cancel_show: false,
|
|
246
|
+
cancel_data: null,
|
|
247
|
+
criteriaShow: false,
|
|
248
|
+
reissue_show: false,
|
|
249
|
+
reissue_data: null,
|
|
250
|
+
authArr: this.$login.r ? this.$login.r : []
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
props: {
|
|
254
|
+
sqlurl: {
|
|
255
|
+
type: String,
|
|
256
|
+
default: 'api/af-revenue/sql/getRecord'
|
|
257
|
+
},
|
|
258
|
+
items: {
|
|
259
|
+
type: String,
|
|
260
|
+
default: '*'
|
|
261
|
+
},
|
|
262
|
+
tablename: {
|
|
263
|
+
type: String,
|
|
264
|
+
default: 't_record'
|
|
265
|
+
},
|
|
266
|
+
orderitem: {
|
|
267
|
+
type: String,
|
|
268
|
+
default: 'f_operate_date desc'
|
|
269
|
+
},
|
|
270
|
+
btns: {
|
|
271
|
+
type: Array
|
|
272
|
+
},
|
|
273
|
+
operationtype: {
|
|
274
|
+
type: String,
|
|
275
|
+
default: ''
|
|
276
|
+
},
|
|
277
|
+
userinfoid: {},
|
|
278
|
+
isOperate: {
|
|
279
|
+
type: Boolean,
|
|
280
|
+
default: true
|
|
281
|
+
},
|
|
282
|
+
f_orgid: ''
|
|
283
|
+
},
|
|
284
|
+
ready () {
|
|
285
|
+
this.$refs.paged.$refs.cri.model.f_operat_type = [this.operationtype]
|
|
286
|
+
asyncCardList(this)
|
|
287
|
+
// this.search()
|
|
288
|
+
},
|
|
289
|
+
methods: {
|
|
290
|
+
dateDes (date) {
|
|
291
|
+
return this.$login.dateDescripte(date)
|
|
292
|
+
},
|
|
293
|
+
selected (row) {
|
|
294
|
+
if (this.row === row) {
|
|
295
|
+
this.row = null
|
|
296
|
+
} else {
|
|
297
|
+
this.row = row
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
isSelected (row) {
|
|
301
|
+
return this.row === row
|
|
302
|
+
},
|
|
303
|
+
search () {
|
|
304
|
+
let condition = '1=1'
|
|
305
|
+
if (this.f_orgid) {
|
|
306
|
+
condition += `and (u.f_filialeid in ${this.f_orgid} or u.f_orgid in ${this.f_orgid}) `
|
|
307
|
+
} else {
|
|
308
|
+
condition += `and (u.f_filialeid = '${this.$login.f.orgid}' or u.f_orgid ='${this.$login.f.orgid}')`
|
|
309
|
+
}
|
|
310
|
+
this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {
|
|
311
|
+
if (a.data.length === 0) {
|
|
312
|
+
this.model.rows = []
|
|
313
|
+
this.model.state = '错误'
|
|
314
|
+
this.model.error = '没有符合条件的记录'
|
|
315
|
+
return
|
|
316
|
+
}
|
|
317
|
+
this.model.state = '正确'
|
|
318
|
+
this.model.rows = a.data
|
|
319
|
+
})
|
|
320
|
+
},
|
|
321
|
+
disEvent (btn) {
|
|
322
|
+
this.$dispatch(`${btn.eventName}`)
|
|
323
|
+
},
|
|
324
|
+
async operate (title, row) {
|
|
325
|
+
console.log('撤销的这条数据的信息', row)
|
|
326
|
+
if (title === '撤销') {
|
|
327
|
+
// 验证是否能撤销
|
|
328
|
+
let res = await this.$resetpost('api/af-revenue/logic/recordRepealJudge', {data: row}, {
|
|
329
|
+
resolveMsg: null,
|
|
330
|
+
rejectMsg: '验证权限错误!!'
|
|
331
|
+
})
|
|
332
|
+
if (!res.data.pass) {
|
|
333
|
+
this.$showMessage(res.data.msg)
|
|
334
|
+
return
|
|
335
|
+
}
|
|
336
|
+
if (row.type === '卡表收费') {
|
|
337
|
+
if (!this.authArr.includes('无卡收费撤销权限')) {
|
|
338
|
+
this.$showAlert('当前用户没有【无卡收费撤销权限】,请联系管理员获取此权限后再进行该操作!', 'warning', 3000)
|
|
339
|
+
return
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
if (row.type === '物联网收费' || row.type === '卡表赠气' || row.type === '物联网赠费' || row.type === '卡表赠费' || row.type === '物联网赠气') {
|
|
343
|
+
let table_name = this.$appdata.getSingleValue('新抄表')? 't_web_handplan' : 't_handplan'
|
|
344
|
+
let getWebHand = await this.$SqlService.singleTable(table_name, `f_hand_state = '有效' and f_input_date > '${row.f_operate_date}' and f_userfiles_id = '${row.f_userfiles_id}'`)
|
|
345
|
+
console.log('长度', getWebHand)
|
|
346
|
+
if (getWebHand.data.length > 0) {
|
|
347
|
+
this.$showAlert('此次物联网收费之后有结算,不能撤销此纪录', 'warning', 1500)
|
|
348
|
+
return
|
|
349
|
+
}
|
|
350
|
+
} else if (row.type === '机表收费') {
|
|
351
|
+
let getWebHand = await this.$SqlService.singleTable('t_handplan', `f_hand_state = '有效' and f_input_date > '${row.f_operate_date}' and f_whether_pay = '是' and f_userfiles_id = '${row.f_userfiles_id}'`)
|
|
352
|
+
|
|
353
|
+
console.log('长度', getWebHand)
|
|
354
|
+
if (getWebHand.data.length > 0) {
|
|
355
|
+
this.$showAlert('此次机表收费之后有自动下账,不能撤销此纪录', 'warning', 1500)
|
|
356
|
+
return
|
|
357
|
+
}
|
|
358
|
+
let sql = `select th.*from t_handplan th
|
|
359
|
+
left join t_sellinghand tsh on th.id=tsh.f_hand_id
|
|
360
|
+
where th.f_hand_state = '有效' and th.f_input_date > '${row.f_operate_date}' and tsh.f_debt_money>0
|
|
361
|
+
and th.f_userfiles_id = '${row.f_userfiles_id}' and tsh.f_state='有效'`
|
|
362
|
+
let getwate = await this.$resetpost('api/af-revenue/logic/sqlquery', {data: {sql: sql}}, {
|
|
363
|
+
resolveMsg: null,
|
|
364
|
+
rejectMsg: '获取记录详情出错!!'
|
|
365
|
+
})
|
|
366
|
+
if (getwate.data.length > 0) {
|
|
367
|
+
this.$showAlert('此次机表收费之后有自动下账,不能撤销此纪录', 'warning', 1500)
|
|
368
|
+
return
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
if (this.authArr.includes('冲正权限')) {
|
|
372
|
+
if (this.config.cancleother) {
|
|
373
|
+
if (row.f_operator != this.$login.f.name) {
|
|
374
|
+
this.$showAlert('不能撤销不是自己进行的操作', 'warning', 1500)
|
|
375
|
+
return
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
if (this.config.cancletime && !this.$login.f.rolesnames.includes('管理员')) {
|
|
379
|
+
let a = this.$login.toStandardYearMonth()
|
|
380
|
+
console.log('当前时间', a < row.f_operate_date)
|
|
381
|
+
if (!this.authArr.includes('跨月撤销')) {
|
|
382
|
+
if (row.f_operate_date < a) {
|
|
383
|
+
this.$showAlert('不能撤销非本月的记录,请联系管理员获取【跨月撤销】的权限。', 'warning', 1500)
|
|
384
|
+
return
|
|
385
|
+
}
|
|
386
|
+
a = this.$login.toStandardDateString() + ' 00:00:00'
|
|
387
|
+
if (row.f_operate_date < a) {
|
|
388
|
+
this.$showAlert('不能撤销不是当天的操作', 'warning', 1500)
|
|
389
|
+
return
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
} else {
|
|
394
|
+
this.$showAlert('当前用户没有【冲正权限】', 'warning', 1500)
|
|
395
|
+
return
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
if (title === '撤销') {
|
|
400
|
+
this.cancel_show = true
|
|
401
|
+
this.cancel_data = row
|
|
402
|
+
} else {
|
|
403
|
+
let reprint = reprintGen(this, row)
|
|
404
|
+
return co(reprint)
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
cancelOper () {
|
|
408
|
+
this.cancel_data = null
|
|
409
|
+
this.cancel_show = false
|
|
410
|
+
},
|
|
411
|
+
cancelSucc () {
|
|
412
|
+
console.log('-----------------------------撤销成功了,隐藏掉')
|
|
413
|
+
this.cancel_show = false
|
|
414
|
+
this.$dispatch('refresh')
|
|
415
|
+
},
|
|
416
|
+
reissueOper () {
|
|
417
|
+
this.reissue_data = null
|
|
418
|
+
this.reissue_show = false
|
|
419
|
+
},
|
|
420
|
+
reissueSucc () {
|
|
421
|
+
this.reissue_show = false
|
|
422
|
+
this.$dispatch('refresh')
|
|
423
|
+
},
|
|
424
|
+
|
|
425
|
+
getBillUrl (row) {
|
|
426
|
+
let type = row.type
|
|
427
|
+
let name = ''
|
|
428
|
+
// 根据type数据 选择调用的Logic
|
|
429
|
+
if (type === '过户') {
|
|
430
|
+
name = 'api/af-revenue/report/transfer_bill'
|
|
431
|
+
} else if (type === '换新表' || type === '气表清零') {
|
|
432
|
+
name = 'api/af-revenue/report/change_meter'
|
|
433
|
+
} else if (type === '机表收费' || type === '机表收费撤销') {
|
|
434
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
435
|
+
name = 'api/af-revenue/report/fmy_machine_bill'
|
|
436
|
+
} else {
|
|
437
|
+
name = 'api/af-revenue/report/machine_bill'
|
|
438
|
+
}
|
|
439
|
+
} else if (type === '物联网收费' || type === '物联网收费撤销' || type === '物联网开户' || type === '物联网赠气') {
|
|
440
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
441
|
+
name = 'api/af-revenue/report/fmy_iot_bill'
|
|
442
|
+
} else {
|
|
443
|
+
name = 'api/af-revenue/report/iot_bill'
|
|
444
|
+
}
|
|
445
|
+
} else if (type === '物联网补费' || type === '物联网扣费' || type === '物联网补气' || type === '物联网扣气' || type === '机表补费' || type === '机表扣费') {
|
|
446
|
+
name = 'api/af-revenue/report/MakeUp'
|
|
447
|
+
} else if (type === '超用收费') {
|
|
448
|
+
name = 'api/af-revenue/report/overuse_bill'
|
|
449
|
+
} else if (type === '其他收费' || type === '其他收费撤销') {
|
|
450
|
+
name = 'api/af-revenue/report/otherCharge_bill'
|
|
451
|
+
} else if (type === '补卡') {
|
|
452
|
+
name = 'api/af-revenue/report/replace_sell'
|
|
453
|
+
} else if (type === '发卡售气') {
|
|
454
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
455
|
+
name = 'api/af-revenue/report/fmy_sendCard_bill'
|
|
456
|
+
} else {
|
|
457
|
+
if (row.f_meter_classify === '金额卡表' && this.$appdata.getSingleValue('金额气量区分卡表票据')) {
|
|
458
|
+
name = 'api/af-revenue/report/fee_sendCard_bill'
|
|
459
|
+
} else {
|
|
460
|
+
name = 'api/af-revenue/report/sendCard_bill'
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
} else if (type === '卡表收费' || type === '卡表收费撤销' || type === '卡表收费撤销') {
|
|
464
|
+
if (row.f_user_type === '非民用' && this.$login.r.includes('非民用纸质票据拆分')) {
|
|
465
|
+
name = 'api/af-revenue/report/fmy_card_bill'
|
|
466
|
+
} else {
|
|
467
|
+
if (row.f_meter_classify === '金额卡表' && this.$appdata.getSingleValue('金额气量区分卡表票据')) {
|
|
468
|
+
name = 'api/af-revenue/report/fee_card_bill'
|
|
469
|
+
} else {
|
|
470
|
+
name = 'api/af-revenue/report/card_bill'
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
} else if (type === '预存缴费') {
|
|
474
|
+
name = 'api/af-revenue/report/pre_sell'
|
|
475
|
+
} else if (type === '调价预存') {
|
|
476
|
+
name = 'api/af-revenue/report/refund_sell'
|
|
477
|
+
} else if (type === '退费') {
|
|
478
|
+
name = 'api/af-revenue/report/refund_sell'
|
|
479
|
+
} else if (type === '调价补费') {
|
|
480
|
+
name = 'api/af-revenue/report/compensation_bill'
|
|
481
|
+
} else if (type === '数码表收费') {
|
|
482
|
+
name = 'api/af-revenue/report/digtial_bill'
|
|
483
|
+
} else if (type === '气损收费' || type === '气损收费撤销') {
|
|
484
|
+
name = 'api/af-revenue/report/gasloss_bill'
|
|
485
|
+
} else if (type === '掉气补气') {
|
|
486
|
+
name = 'api/af-revenue/report/acceptOffGasAddGas_bill'
|
|
487
|
+
} else if (type === '其他补气') {
|
|
488
|
+
name = 'api/af-revenue/report/acceptOtherGas_bill'
|
|
489
|
+
} else if (type === '清零补气' || type === '换表补气' || type === '批量换表补气' || type === '低保户导入补气') {
|
|
490
|
+
if (row.f_meter_classify.indexOf('卡表') > -1) {
|
|
491
|
+
name = 'api/af-revenue/report/card_gas_bill'
|
|
492
|
+
} else {
|
|
493
|
+
name = 'api/af-revenue/report/iot_sell'
|
|
494
|
+
}
|
|
495
|
+
} else if (type === '垃圾费收费') {
|
|
496
|
+
name = 'api/af-revenue/report/garbageChargeReport'
|
|
497
|
+
} else if (type === '物联网赠费') {
|
|
498
|
+
name = 'api/af-revenue/report/iotGiftFee'
|
|
499
|
+
} else if (type === '物联网赠气') {
|
|
500
|
+
name = 'api/af-revenue/report/iotGiftGas'
|
|
501
|
+
} else if (type === '卡表赠费') {
|
|
502
|
+
name = 'api/af-revenue/report/icGiftFee'
|
|
503
|
+
} else if (type === '卡表赠气') {
|
|
504
|
+
name = 'api/af-revenue/report/icGiftGas'
|
|
505
|
+
} else if (type === '保险收费') {
|
|
506
|
+
name = 'api/af-revenue/report/insurance_bill'
|
|
507
|
+
} else if (type === '自动下账') {
|
|
508
|
+
name = 'api/af-revenue/report/autoAccounts_bill'
|
|
509
|
+
}
|
|
510
|
+
return name
|
|
511
|
+
},
|
|
512
|
+
// 撤销为统一操作,所以写到基础组件中
|
|
513
|
+
operateCancel (row) {
|
|
514
|
+
let cancel = cancelGen(this, row)
|
|
515
|
+
co(cancel)
|
|
516
|
+
},
|
|
517
|
+
selfSearch (args) {
|
|
518
|
+
// if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {
|
|
519
|
+
// args.condition += `and f_filialeids = '${this.$login.f.f_orgids}'`
|
|
520
|
+
// }
|
|
521
|
+
if (this.f_orgid) {
|
|
522
|
+
args.condition += `and r.f_orgid in ${this.f_orgid}`
|
|
523
|
+
} else {
|
|
524
|
+
args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
|
|
525
|
+
}
|
|
526
|
+
if (this.authArr.includes('操作记录查询限定')) {
|
|
527
|
+
args.condition += ` and r.f_operatorid = '${this.$login.f.id}'`
|
|
528
|
+
}
|
|
529
|
+
this.model.search(args.condition, args.model)
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
watch: {
|
|
533
|
+
// 'userinfoid' (newVal) {
|
|
534
|
+
// this.model.rows={}
|
|
535
|
+
// if (newVal && newVal !== '') {
|
|
536
|
+
// this.$nextTick(function () {
|
|
537
|
+
// this.$refs.paged.$refs.cri.model.f_userinfo_code = newVal
|
|
538
|
+
// }.bind(this))
|
|
539
|
+
// }else{
|
|
540
|
+
// this.$nextTick(function () {
|
|
541
|
+
// this.$refs.paged.$refs.cri.model.f_userinfo_code = ""
|
|
542
|
+
// }.bind(this))
|
|
543
|
+
// }
|
|
544
|
+
// this.$refs.paged.$refs.cri.model.f_operat_type = ''
|
|
545
|
+
// }
|
|
546
|
+
'userinfoid' (newVal) {
|
|
547
|
+
if (newVal && newVal !== '') {
|
|
548
|
+
this.$nextTick(function () {
|
|
549
|
+
this.$refs.paged.$refs.cri.model.f_userinfo_code = newVal
|
|
550
|
+
}.bind(this))
|
|
551
|
+
this.$refs.paged.$refs.cri.model.f_operat_type = ''
|
|
552
|
+
let condition = `f_userinfo_code = '${newVal}'`
|
|
553
|
+
this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {
|
|
554
|
+
if (a.data.length === 0) {
|
|
555
|
+
this.model.rows = []
|
|
556
|
+
this.model.state = '错误'
|
|
557
|
+
this.model.error = '没有符合条件的记录'
|
|
558
|
+
return
|
|
559
|
+
}
|
|
560
|
+
this.model.state = '正确'
|
|
561
|
+
this.model.rows = a.data
|
|
562
|
+
})
|
|
563
|
+
} else {
|
|
564
|
+
this.model.rows = {}
|
|
565
|
+
this.$nextTick(function () {
|
|
566
|
+
this.$refs.paged.$refs.cri.model.f_userinfo_code = ''
|
|
567
|
+
}.bind(this))
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
</script>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<insurance-temp :row = 'row' v-ref:ins> </insurance-temp>
|
|
16
|
-
<card-meter-center-inner :card-data="
|
|
16
|
+
<card-meter-center-inner :card-data="cardData" :data='model' :garbagefee="garbagefee" :garbagelist ="garbagelist" :insurance="$refs.ins.model" :row='row' v-ref:mainche></card-meter-center-inner>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
19
19
|
</template>
|