sale-client 4.2.18 → 4.2.19
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/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/build/dev-server.js +4 -10
- package/package.json +1 -1
- package/src/filiale/TaiYuan/Userinfo.vue +393 -0
- package/src/filiale/TaiYuan/meterinfodetail.vue +448 -0
- package/src/filiale/TaiYuan/sale.js +4 -0
- package/src/filiale/jinhuang/WebHand.vue +1026 -1026
- package/src/main.js +1 -1
- package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
- package/src/components/FilesManage/ncUserinfoList.vue +0 -315
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
- package/src/components/SendCard/SendCardData.vue +0 -208
- package/src/components/accounts/accountAdd.vue +0 -276
- package/src/components/accounts/accountsList.vue +0 -183
- package/src/components/accounts/accountsManage.vue +0 -87
- package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
- package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
- package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
- package/src/components/ncarchives/ncArchivesList.vue +0 -159
- package/src/components/ncarchives/ncUserfilesList.vue +0 -373
- package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
- package/src/components/revenue/IOTArrears/arrears.vue +0 -323
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
- package/src/components/thirdapply/thirdAdd.vue +0 -289
- package/src/components/thirdapply/thirdList.vue +0 -162
- package/src/components/thirdapply/thirdManage.vue +0 -74
- package/src/components/webMeter/InstructQuery.vue +0 -414
- package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
- package/src/components/webMeter/WebUserHand.vue +0 -483
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
- package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
- package/src/plugins/FileManageServicets.js +0 -214
- package/src/plugins/GetImg.js +0 -53
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<partial-view v-ref:pv>
|
|
3
|
+
<div class="panel panel-info auto" style="margin-top: auto">
|
|
4
|
+
<div class="panel-heading" style="height: 35px">
|
|
5
|
+
<h4 style="display:inline-block;margin-top: auto">表具信息</h4>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="auto ">
|
|
8
|
+
<!-- <div class="row" v-if="data.f_customer">-->
|
|
9
|
+
<!-- <label class = "col-sm-5 " style="color: brown">团缴编号</label>-->
|
|
10
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data.f_customer?data.f_customer:'无'}}</span>-->
|
|
11
|
+
<!-- </div>-->
|
|
12
|
+
<div class="row">
|
|
13
|
+
<label class = "col-sm-5 " >气表表号</label>
|
|
14
|
+
<span class="col-sm-7" style="word-break: break-all;color: brown">{{data?data.f_meternumber:dafault.f_meternumber}}
|
|
15
|
+
</span>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表') || (data.f_meter_type.includes('物联网表') && data.f_hascard==='是')">
|
|
18
|
+
<label class = "col-sm-5 " >卡  号</label>
|
|
19
|
+
<span class = "col-sm-7" style="word-break: break-all;color: brown">{{data?data.f_card_id:dafault.f_card_id}}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="row">
|
|
22
|
+
<label class = "col-sm-5 " >气表类型</label>
|
|
23
|
+
<span class = "col-sm-7">{{data?data.f_meter_type:dafault.f_meter_brand}}</span>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row">
|
|
26
|
+
<label class = "col-sm-5 " >气表品牌</label>
|
|
27
|
+
<span class = "col-sm-7">{{data?data.f_meter_brand:dafault.f_meter_brand}}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row">
|
|
30
|
+
<label class = "col-sm-5 " >气表型号</label>
|
|
31
|
+
<span class = "col-sm-7">{{data?data.f_meter_style:dafault.f_meter_style}}</span>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
34
|
+
<label class = "col-sm-5 " >计费终端</label>
|
|
35
|
+
<span class = "col-sm-7" >{{data?data.f_calculation:dafault.f_calculation}}</span>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
38
|
+
<label class = "col-sm-5 " >结算方式</label>
|
|
39
|
+
<span class = "col-sm-7" >{{data?data.f_collection_type:dafault.f_collection_type}}</span>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row">
|
|
42
|
+
<label class="col-sm-5" style="color: brown">表具状态</label>
|
|
43
|
+
<span class="col-sm-7" style="color: brown">{{data?data.f_table_state:dafault.f_table_state}}</span>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="row" v-if="!data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">
|
|
46
|
+
<label class = "col-sm-5 " style="color: brown">系统余额</label>
|
|
47
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_amount:dafault.f_balance_amount}}</span>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="row" v-if="!data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">
|
|
50
|
+
<label class = "col-sm-5 " style="color: brown">系统余量</label>
|
|
51
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_gas:dafault.f_balance_gas}}</span>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="row" v-if="data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网')">
|
|
54
|
+
<label class = "col-sm-5 " style="color: brown">表端上报余额</label>
|
|
55
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_jval:dafault.f_jval}}</span>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="row">
|
|
58
|
+
<label class = "col-sm-5 " >欠费金额</label>
|
|
59
|
+
<span class = "col-sm-7">{{f_arrears_fee ? f_arrears_fee : 0}}</span>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row">
|
|
62
|
+
<label class = "col-sm-5 " >初始表底数</label>
|
|
63
|
+
<span class = "col-sm-7" >{{data?data.f_initial_base:dafault.f_initial_base}}</span>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="row">
|
|
66
|
+
<label class = "col-sm-5 " >表当前底数</label>
|
|
67
|
+
<span class = "col-sm-7" >{{data?data.f_meter_base:dafault.f_meter_base}}</span>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="row" v-show="data.f_times">
|
|
70
|
+
<label class = "col-sm-5 " >写卡次数</label>
|
|
71
|
+
<span class = "col-sm-7" >{{data?data.f_times:dafault.f_times}}</span>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
74
|
+
<label class = "col-sm-5 ">指令上表次数</label>
|
|
75
|
+
<span class = "col-sm-7" >{{data?data.f_iot_times:dafault.f_iot_times}}</span>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
78
|
+
<label class = "col-sm-5 ">表累购金额</label>
|
|
79
|
+
<span class = "col-sm-7" >{{data?data.f_total_fee:dafault.f_total_fee}}
|
|
80
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterFee"
|
|
81
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购金额">
|
|
82
|
+
</span>
|
|
83
|
+
</span>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
86
|
+
<label class = "col-sm-5 ">户累购金额</label>
|
|
87
|
+
<span class = "col-sm-7" >{{data?data.f_total_fee_all:dafault.f_total_fee_all}}</span>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="row" v-if="(data.f_meter_type === '机表' || data.f_meter_type === '物联网表') && data.f_deduction_gas > 0">
|
|
90
|
+
<label class = "col-sm-5 " >剩余抵扣量</label>
|
|
91
|
+
<span class = "col-sm-7" >{{data?data.f_deduction_gas:dafault.f_deduction_gas}}</span>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
94
|
+
<label class = "col-sm-5 " style="color: brown" >户累购气量</label>
|
|
95
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas_all:dafault.f_total_gas_all}}</span>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="row" v-if="(data.f_meter_brand.includes('数码表'))">
|
|
98
|
+
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
99
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}</span>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表') && data.f_meter_type === '气量卡表'">
|
|
102
|
+
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
103
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}
|
|
104
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterGas"
|
|
105
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购气量">
|
|
106
|
+
</span>
|
|
107
|
+
</span>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
110
|
+
<label class = "col-sm-5 " style="color: brown">累购金额</label>
|
|
111
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_fee:dafault.f_total_fee}}
|
|
112
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterFee"
|
|
113
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购金额">
|
|
114
|
+
</span>
|
|
115
|
+
</span>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
118
|
+
<label class = "col-sm-5 " style="color: brown">累购写卡金额</label>
|
|
119
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_write_totalfee:dafault.f_total_fee}}</span>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="row">
|
|
122
|
+
<label class = "col-sm-5 " >表封号</label>
|
|
123
|
+
<span class="col-sm-7">{{data?data.f_metertitles:dafault.f_metertitles}}
|
|
124
|
+
<span v-if="data" @click.stop="changemetertitles"
|
|
125
|
+
class="glyphicon glyphicon-pencil click-change" title="修正表封号"></span>
|
|
126
|
+
</span>
|
|
127
|
+
</div>
|
|
128
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表') || data.f_meter_type.includes('物联网表') && data.f_hascard==='是'">-->
|
|
129
|
+
<!-- <label class = "col-sm-5 " >写卡次数</label>-->
|
|
130
|
+
<!-- <span class = "col-sm-7">{{data?data.f_times:dafault.f_times}}</span>-->
|
|
131
|
+
<!-- </div>-->
|
|
132
|
+
<div class="row">
|
|
133
|
+
<label class = "col-sm-5 " >用气性质</label>
|
|
134
|
+
<span class = "col-sm-7">{{data?data.f_gasproperties:dafault.f_gasproperties}}</span>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="row">
|
|
137
|
+
<label class = "col-sm-5 " >气价名称</label>
|
|
138
|
+
<span class = "col-sm-7">{{data?data.f_price_name:dafault.f_price_name}}</span>
|
|
139
|
+
</div>
|
|
140
|
+
<!--<div class="row" v-if="data.f_balance < 0">-->
|
|
141
|
+
<!--<label class = "col-sm-5 " >账户欠费</label>-->
|
|
142
|
+
<!--<span class = "col-sm-7" title="不包含违约金">{{data?0 - (data.f_balance - 0):dafault.f_balance}}</span>-->
|
|
143
|
+
<!--</div>-->
|
|
144
|
+
<!--<div class="row" v-else>-->
|
|
145
|
+
<!--<label class = "col-sm-5 " >账户余额</label>-->
|
|
146
|
+
<!--<span class = "col-sm-7">{{data?data.f_balance:dafault.f_balance}}</span>-->
|
|
147
|
+
<!--</div>-->
|
|
148
|
+
<div class="row" v-if="data.f_remanent_money > 0">
|
|
149
|
+
<label class = "col-sm-5 " >应补金额</label>
|
|
150
|
+
<span class = "col-sm-7">{{data?data.f_remanent_money:dafault.f_remanent_money}}</span>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="row" v-if="data.f_remanent_gas > 0">
|
|
153
|
+
<label class = "col-sm-5 " >应补气量</label>
|
|
154
|
+
<span class = "col-sm-7">{{data?data.f_remanent_gas:dafault.f_remanent_gas}}</span>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="row">
|
|
157
|
+
<label class = "col-sm-5 " >表  向</label>
|
|
158
|
+
<span class = "col-sm-7">{{data?data.f_aroundmeter:dafault.f_hand_date}}</span>
|
|
159
|
+
</div>
|
|
160
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
161
|
+
<label class = "col-sm-5 " >抄表册名</label>
|
|
162
|
+
<span class = "col-sm-7">{{data?'['+data.f_book_code + '] '+ (data.f_book_name ? data.f_book_name:''):dafault.f_book_name}}</span>
|
|
163
|
+
</div>
|
|
164
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
165
|
+
<label class = "col-sm-5 " >抄表册册序号</label>
|
|
166
|
+
<span class = "col-sm-7">{{data?data.f_meter_book_sort:dafault.f_meter_book_sort}}</span>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="row">
|
|
169
|
+
<label class = "col-sm-5 " >安装位置</label>
|
|
170
|
+
<span class = "col-sm-7">{{data?data.f_position:dafault.f_position}}</span>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="row">
|
|
173
|
+
<label class = "col-sm-5 " >置换人员</label>
|
|
174
|
+
<span class = "col-sm-7">{{data?data.f_gas_person:dafault.f_hand_date}}</span>
|
|
175
|
+
</div>
|
|
176
|
+
<div class="row">
|
|
177
|
+
<label class = "col-sm-5 " >置换时间</label>
|
|
178
|
+
<span class = "col-sm-7">{{data?data.f_gas_date.substring(0,7):dafault.f_hand_date}}</span>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
181
|
+
<label class = "col-sm-5 " >抄表员</label>
|
|
182
|
+
<span class = "col-sm-7">{{data?data.f_inputtor:dafault.f_inputtor}}</span>
|
|
183
|
+
</div>
|
|
184
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
185
|
+
<label class = "col-sm-5 " >上次抄表日期</label>
|
|
186
|
+
<span class = "col-sm-7">{{data?data.f_hand_date.substring(0,7):dafault.f_hand_date}}</span>
|
|
187
|
+
</div>
|
|
188
|
+
<div class="row">
|
|
189
|
+
<label class = "col-sm-5 " >建档日期</label>
|
|
190
|
+
<span class = "col-sm-7">{{data?data.f_input_date.substring(0,7):dafault.f_input_date}}</span>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="row">
|
|
193
|
+
<label class = "col-sm-5 " >备  注</label>
|
|
194
|
+
<span class = "col-sm-7">{{data?data.comments:dafault.comments}}</span>
|
|
195
|
+
</div>
|
|
196
|
+
<modal v-if="showselectncuserfile" :show.sync="showselectncuserfile" width="40%" title="修正表封号"
|
|
197
|
+
v-ref:modal large backdrop="false">
|
|
198
|
+
<article slot="modal-body" class="modal-body">
|
|
199
|
+
<div class="form-horizontal">
|
|
200
|
+
<div class="row">
|
|
201
|
+
<div class="col-sm-12 form-group">
|
|
202
|
+
<label class="font_normal_body">旧表封号</label>
|
|
203
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
204
|
+
v-model="data.f_metertitles" placeholder='旧表封号'>
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
<div class="row">
|
|
208
|
+
<div class="col-sm-12 form-group">
|
|
209
|
+
<label class="font_normal_body">新表封号</label>
|
|
210
|
+
<input type="text" style="width:80%" class="input_search" v-model="newmetertitles"
|
|
211
|
+
placeholder='新表封号'>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</article>
|
|
216
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
217
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('表封号')">确定</button>
|
|
218
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
219
|
+
</footer>
|
|
220
|
+
</modal>
|
|
221
|
+
<modal v-if="showSelectUserFee" :show.sync="showSelectUserFee" width="40%" title="修正表累购金额"
|
|
222
|
+
v-ref:modal large backdrop="false">
|
|
223
|
+
<article slot="modal-body" class="modal-body">
|
|
224
|
+
<div class="form-horizontal">
|
|
225
|
+
<div class="row">
|
|
226
|
+
<div class="col-sm-12 form-group">
|
|
227
|
+
<label class="font_normal_body">旧表累购金额</label>
|
|
228
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
229
|
+
v-model="data.f_total_fee" placeholder='旧表累购金额'>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="row">
|
|
233
|
+
<div class="col-sm-12 form-group">
|
|
234
|
+
<label class="font_normal_body">旧表累购金额</label>
|
|
235
|
+
<input type="text" style="width:80%" class="input_search" v-model="newMeterFee"
|
|
236
|
+
placeholder='旧表累购金额'>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
</div>
|
|
240
|
+
</article>
|
|
241
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
242
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('累购金额')">确定</button>
|
|
243
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
244
|
+
</footer>
|
|
245
|
+
</modal>
|
|
246
|
+
<modal v-if="showSelectUserGas" :show.sync="showSelectUserGas" width="40%" title="修正表累购气量"
|
|
247
|
+
v-ref:modal large backdrop="false">
|
|
248
|
+
<article slot="modal-body" class="modal-body">
|
|
249
|
+
<div class="form-horizontal">
|
|
250
|
+
<div class="row">
|
|
251
|
+
<div class="col-sm-12 form-group">
|
|
252
|
+
<label class="font_normal_body">旧表累购气量</label>
|
|
253
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
254
|
+
v-model="data.f_total_gas" placeholder='旧表累购气量'>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="row">
|
|
258
|
+
<div class="col-sm-12 form-group">
|
|
259
|
+
<label class="font_normal_body">新表累购气量</label>
|
|
260
|
+
<input type="text" style="width:80%" class="input_search" v-model="newMeterGas"
|
|
261
|
+
placeholder='新表累购气量'>
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
</article>
|
|
266
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
267
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('累购气量')">确定</button>
|
|
268
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
269
|
+
</footer>
|
|
270
|
+
</modal>
|
|
271
|
+
</div>
|
|
272
|
+
</div>
|
|
273
|
+
</partial-view>
|
|
274
|
+
</template>
|
|
275
|
+
|
|
276
|
+
import { HttpResetClass } from 'vue-client'
|
|
277
|
+
|
|
278
|
+
<script>
|
|
279
|
+
/* 用户档案相关信息组件 */
|
|
280
|
+
import {HttpResetClass} from 'vue-client'
|
|
281
|
+
|
|
282
|
+
export default {
|
|
283
|
+
ready () {
|
|
284
|
+
console.log('看看userinfo里面接收的data数据', this.data)
|
|
285
|
+
},
|
|
286
|
+
title: '客户基本信息',
|
|
287
|
+
data () {
|
|
288
|
+
return {
|
|
289
|
+
dafault: {
|
|
290
|
+
f_total_gas_all: 0,
|
|
291
|
+
f_total_fee_all: 0,
|
|
292
|
+
f_balance_amount: 0,
|
|
293
|
+
f_balance_gas: 0,
|
|
294
|
+
f_initial_base: 0,
|
|
295
|
+
f_meter_base: 0,
|
|
296
|
+
f_deduction_gas: 0,
|
|
297
|
+
f_total_gas: 0,
|
|
298
|
+
f_total_fee: 0,
|
|
299
|
+
f_card_id: '*****',
|
|
300
|
+
f_times: 0,
|
|
301
|
+
f_iot_times: 0,
|
|
302
|
+
f_meternumber: 0,
|
|
303
|
+
f_metertitles: '',
|
|
304
|
+
f_gasproperties: '****',
|
|
305
|
+
f_price_name: '****',
|
|
306
|
+
f_meter_brand: '****',
|
|
307
|
+
f_balance: 0,
|
|
308
|
+
f_user_type: '**',
|
|
309
|
+
f_remanent_gas: 0,
|
|
310
|
+
f_position: '****',
|
|
311
|
+
f_inputtor: '****',
|
|
312
|
+
f_jval: 0,
|
|
313
|
+
f_table_state: 0
|
|
314
|
+
},
|
|
315
|
+
f_arrears_fee: 0,
|
|
316
|
+
model: null,
|
|
317
|
+
f_arrears_fee: 0,
|
|
318
|
+
showselectncuserfile: false,
|
|
319
|
+
showSelectUserFee: false,
|
|
320
|
+
showSelectUserGas: false,
|
|
321
|
+
newmetertitles: '',
|
|
322
|
+
newMeterGas: 0,
|
|
323
|
+
newMeterFee: 0
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
props: ['data'],
|
|
327
|
+
methods: {
|
|
328
|
+
async getArrears () {
|
|
329
|
+
let http = new HttpResetClass()
|
|
330
|
+
let arrearsFee = 0
|
|
331
|
+
let res = await http.load('POST', 'api/af-revenue/logic/sale_getOwe', {
|
|
332
|
+
data: {
|
|
333
|
+
f_userinfo_id: this.data.f_userinfo_id
|
|
334
|
+
}
|
|
335
|
+
}, {resolveMsg: null, rejectMsg: '获取欠费出错!!'})
|
|
336
|
+
if (res.data.length > 0) {
|
|
337
|
+
const owes = res.data.flatMap(item => item.rows)
|
|
338
|
+
for (let i = 0; i < owes.length; i++) {
|
|
339
|
+
arrearsFee = arrearsFee + owes[i].f_oughtfee
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
this.list = res.data
|
|
343
|
+
if (this.data.f_meter_type == '物联网表') {
|
|
344
|
+
this.f_arrears_fee = (this.data.f_balance_amount - arrearsFee) > 0 ? 0 : 0 - (this.data.f_balance_amount - arrearsFee)
|
|
345
|
+
} else if (this.data.f_meter_type == '机表') {
|
|
346
|
+
this.f_arrears_fee = (this.data.f_balance - arrearsFee) > 0 ? 0 : 0 - (this.data.f_balance - arrearsFee)
|
|
347
|
+
} else {
|
|
348
|
+
this.f_arrears_fee = (this.data.f_balance - arrearsFee) > 0 ? 0 : 0 - (this.data.f_balance - arrearsFee)
|
|
349
|
+
}
|
|
350
|
+
this.f_arrears_fee = parseFloat(this.f_arrears_fee.toFixed(2))
|
|
351
|
+
},
|
|
352
|
+
dealmsg (val) {
|
|
353
|
+
this.$dispatch('deal-msg', val)
|
|
354
|
+
},
|
|
355
|
+
changemetertitles () {
|
|
356
|
+
// 修正表封号
|
|
357
|
+
this.showselectncuserfile = true
|
|
358
|
+
this.newmetertitles = 0
|
|
359
|
+
},
|
|
360
|
+
changeMeterGas () {
|
|
361
|
+
// 修改累购气量
|
|
362
|
+
this.showSelectUserGas = true
|
|
363
|
+
},
|
|
364
|
+
changeMeterFee () {
|
|
365
|
+
// 修改累购金额
|
|
366
|
+
this.showSelectUserFee = true
|
|
367
|
+
},
|
|
368
|
+
async modifyUserFile (type) {
|
|
369
|
+
let param = {
|
|
370
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
371
|
+
f_user_id: this.data.f_user_id,
|
|
372
|
+
f_userfiles_id: this.data.f_userfiles_id,
|
|
373
|
+
f_operator: this.$login.f.name,
|
|
374
|
+
f_operatorid: this.$login.f.id,
|
|
375
|
+
f_orgid: this.$login.f.orgid,
|
|
376
|
+
f_orgname: this.$login.f.orgs,
|
|
377
|
+
f_depid: this.$login.f.depids,
|
|
378
|
+
f_depname: this.$login.f.deps
|
|
379
|
+
}
|
|
380
|
+
if (type == '表封号') {
|
|
381
|
+
param.new_metertitles = this.newmetertitles
|
|
382
|
+
} else if (type == '累购气量') {
|
|
383
|
+
param.new_metergas = this.newMeterGas
|
|
384
|
+
} else if (type == '累购金额') {
|
|
385
|
+
param.new_meterfee = this.newMeterFee
|
|
386
|
+
}
|
|
387
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserfilesmetertitles', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
388
|
+
this.data.f_metertitles = this.newmetertitles
|
|
389
|
+
if (type == '表封号') {
|
|
390
|
+
this.data.f_metertitles = this.newmetertitles
|
|
391
|
+
} else if (type == '累购气量') {
|
|
392
|
+
this.data.f_total_gas = this.newMeterGas
|
|
393
|
+
} else if (type == '累购金额') {
|
|
394
|
+
this.data.f_total_fee = this.newMeterFee
|
|
395
|
+
}
|
|
396
|
+
this.$parent.$parent.close()
|
|
397
|
+
this.$parent.$parent.clean()
|
|
398
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
399
|
+
this.close()
|
|
400
|
+
},
|
|
401
|
+
close () {
|
|
402
|
+
this.showselectncuserfile = false
|
|
403
|
+
this.showSelectUserGas = false
|
|
404
|
+
this.showSelectUserFee = false
|
|
405
|
+
this.newmetertitles = 0
|
|
406
|
+
this.newMeterGas = 0
|
|
407
|
+
this.newMeterFee = 0
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
watch: {
|
|
411
|
+
'data' (val) {
|
|
412
|
+
console.log('val========', val)
|
|
413
|
+
if (val) {
|
|
414
|
+
this.getArrears()
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
</script>
|
|
420
|
+
<style lang="less">
|
|
421
|
+
.row {
|
|
422
|
+
/*border-bottom:1px solid #F2F6FA;*/
|
|
423
|
+
margin-left: 0;
|
|
424
|
+
margin-right: 0;
|
|
425
|
+
}
|
|
426
|
+
.click-change:hover {
|
|
427
|
+
color: #3592ef;
|
|
428
|
+
cursor: pointer;
|
|
429
|
+
}
|
|
430
|
+
// . {
|
|
431
|
+
// height: 23px;
|
|
432
|
+
// border-right: 1px solid #F2F6FA;
|
|
433
|
+
// margin-bottom: 0;
|
|
434
|
+
// text-align: left;
|
|
435
|
+
// }
|
|
436
|
+
// #address {
|
|
437
|
+
// border-left: 1px solid #F2F6FA;
|
|
438
|
+
// }
|
|
439
|
+
// #user-info {
|
|
440
|
+
// padding:6px;
|
|
441
|
+
// span {
|
|
442
|
+
// padding-left: 5px;
|
|
443
|
+
// }
|
|
444
|
+
// }
|
|
445
|
+
// #address1 {
|
|
446
|
+
// border-right: 0;
|
|
447
|
+
// }
|
|
448
|
+
</style>
|
|
@@ -6,4 +6,8 @@ export default function () {
|
|
|
6
6
|
Vue.component('no-card-meter-center', (resolve) => { require(['./NoCardMeterCenter'], resolve) })
|
|
7
7
|
// 过户
|
|
8
8
|
Vue.component('transfer-manage', (resolve) => { require(['./TransferManage'], resolve) })
|
|
9
|
+
// 当前选择用户的用户基本信息
|
|
10
|
+
Vue.component('sale-userinfo', (resolve) => { require(['./Userinfo'], resolve) })
|
|
11
|
+
// 当前选择用户的表具基本信息
|
|
12
|
+
Vue.component('user-meterinfodetail', (resolve) => { require(['./meterinfodetail'], resolve) })
|
|
9
13
|
}
|