sale-client 4.2.136 → 4.2.138
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/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileChanges/last-build.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +29 -51
- package/index.html +2 -7
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- 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/machineHandManage/ArrearsQuery.vue +938 -938
- 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/bazhong/UserInfoDetailManageNew.vue +245 -245
- package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
- package/src/filiale/bazhong/sale.js +8 -8
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/hongYa/revenue/Common/Movemeter.vue +591 -0
- package/src/filiale/hongYa/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferManage.vue +832 -0
- package/src/filiale/hongYa/sale.js +4 -0
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/PaymentCode.vue +209 -209
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- 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/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/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/main.js +3 -3
package/src/filiale/hongYa/revenue/comprehen/ComprehenOperation/ChangeAccount/TransferManage.vue
ADDED
|
@@ -0,0 +1,832 @@
|
|
|
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" style="margin-top:10px;">
|
|
7
|
+
<div class="col-sm-4" :class="[$v.f_newuser_name.required ? 'has-error' : 'has-success']">
|
|
8
|
+
<label for="f_newuser_name" id="label" class="font_normal_body" >*新 姓 名</label>
|
|
9
|
+
<input class="input_search" style="width:60%" type="text" title="新姓名" v-model="model.f_newuser_name"
|
|
10
|
+
v-validate:f_newuser_name='{required: true }' placeholder="新姓名" v-next-el='phone'>
|
|
11
|
+
<!-- <label v-if="$v.f_newuser_name.required && namespan" class = "" style = "color:red">不能为空</label> -->
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-sm-4" :class="[$v.f_newuser_phone.required ? 'has-error' : '']">
|
|
14
|
+
<label id="label" for="f_newuser_phone" class="font_normal_body">*新 电 话</label>
|
|
15
|
+
<input title="新电话" class="input_search" style="width:60%" type="text" v-model="model.f_newuser_phone"
|
|
16
|
+
maxlength="11"
|
|
17
|
+
v-validate:f_newuser_phone='{required: true}'
|
|
18
|
+
placeholder="新电话" v-next-el='number' v-el:phone>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-4" :class="[$v.f_newrent_phone.required ? 'has-error' : '']">
|
|
21
|
+
<label id="label" for="f_newrent_phone" class="font_normal_body"> 备用电话</label>
|
|
22
|
+
<!--v-validate:f_newrent_phone='{required: false}'-->
|
|
23
|
+
<input title="备用电话" class="input_search" style="width:60%" type="text" v-model="model.f_newrent_phone"
|
|
24
|
+
maxlength="11"
|
|
25
|
+
|
|
26
|
+
placeholder="备用电话" v-next-el='number' v-el:phone>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="col-sm-4">
|
|
29
|
+
<label for="f_credentials" id="label" class="font_normal_body"> 证件类型</label>
|
|
30
|
+
<v-select :value.sync="model.f_newcredentials"
|
|
31
|
+
:options='credentials' placeholder='证件类型'
|
|
32
|
+
close-on-select></v-select>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-8" :class="[$v.f_newidnumber.identityCardValid ? 'has-error' : '']"
|
|
35
|
+
v-if="model.f_newcredentials[0] === '身份证'">
|
|
36
|
+
<label id="label" class="font_normal_body">*证件号码</label>
|
|
37
|
+
<input type="text" v-model="model.f_newidnumber" maxlength="18"
|
|
38
|
+
v-validate:f_newidnumber='{identityCardValid: true}' class="input_search" style="width:80%"
|
|
39
|
+
placeholder="新身份证号">
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-8" v-if="model.f_newcredentials[0] !== '身份证'">
|
|
42
|
+
<label class="font_normal_body"> 证件号码</label>
|
|
43
|
+
<input type="text" v-model="model.f_newidnumber" class="input_search" style="width:80%"
|
|
44
|
+
placeholder="新证件号">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="col-sm-4">
|
|
47
|
+
<label id="label" for="f_print" class="font_normal_body"> 打印格式</label>
|
|
48
|
+
<v-select id="print"
|
|
49
|
+
v-model="f_print"
|
|
50
|
+
placeholder='请选择'
|
|
51
|
+
:value.sync="model.f_print"
|
|
52
|
+
:options='printstyle'
|
|
53
|
+
close-on-select clear-button></v-select>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-sm-8" :class="[$v.f_contract_id.required ? 'has-error' : '']">
|
|
56
|
+
<label for="f_contract" class="font_normal_body">*合同编号</label>
|
|
57
|
+
<input type="text" v-model="model.f_contract_id" class="input_search" style="width:80%"
|
|
58
|
+
v-validate:f_contract_id=config.f_contract_id placeholder="合同编号">
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row" style="margin-top:10px;">
|
|
62
|
+
<div class="col-sm-4">
|
|
63
|
+
<label id="label" for="f_transfer_fees" class="font_normal_body" title="单值管理:过户费"> 过 户 费</label>
|
|
64
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_transfer_fees"
|
|
65
|
+
placeholder="过户费"
|
|
66
|
+
v-next-el='accopen' v-el:fees>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-sm-4" :class="[$v.payment.required ? 'has-error' : '']">
|
|
69
|
+
<label id="label" for="f_paymenttype" class="font_normal_body"> 付款方式</label>
|
|
70
|
+
<input type="text" v-show="false" v-model="$refs.payment.selectedItems"
|
|
71
|
+
v-validate:payment='{required: true }'>
|
|
72
|
+
<v-select :value.sync="model.f_payment"
|
|
73
|
+
v-model="model.f_payment"
|
|
74
|
+
:options='payments' placeholder='付款方式'
|
|
75
|
+
v-ref:payment
|
|
76
|
+
close-on-select></v-select>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="col-sm-4">
|
|
79
|
+
<label id="label" for="f_transfer_fees" class="font_normal_body" title="新人口数"> 新人口数</label>
|
|
80
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_new_people_num"
|
|
81
|
+
placeholder="新人口数"
|
|
82
|
+
v-next-el='accopen' v-el:fees>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="row" style="margin-top:10px;" v-if="bankinfo">
|
|
86
|
+
<div class="col-sm-4">
|
|
87
|
+
<label id="label" for="f_newbank_accopen" class=" font_normal_body">新银行开户名:</label>
|
|
88
|
+
<input class="input_search" style="width:60%" type="text" title="新银行开户名"
|
|
89
|
+
v-model="model.f_newbank_accopen"
|
|
90
|
+
placeholder="新银行开户名" v-next-el='newbank' v-el:accopen>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="col-sm-8" :class="[$v.f_bank_idnumber.identityCardValid ? 'has-error' : 'has-success']">
|
|
93
|
+
<label for="f_bank_idnumber" class=" font_normal_body">新开户身份证号</label>
|
|
94
|
+
<input class="input_search" style="width:60%" type="text" title="新开户身份证号"
|
|
95
|
+
v-model="model.f_bank_idnumber"
|
|
96
|
+
v-validate:f_bank_idnumber='{identityCardValid: true }' placeholder="新开户身份证号">
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
</div>
|
|
100
|
+
<div class="row" style="margin-top:10px;" v-if="bankinfo">
|
|
101
|
+
<div class="col-sm-4">
|
|
102
|
+
<label id="label" for="f_newbank_name" class="font_normal_body">新银行名</label>
|
|
103
|
+
<v-select :value.sync="model.f_newbank_name"
|
|
104
|
+
:options='banknames' placeholder='新银行开户名'
|
|
105
|
+
close-on-select></v-select>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="col-sm-8">
|
|
108
|
+
<label id="label" for="f_newbank_account" class="font_normal_body">新银行账号</label>
|
|
109
|
+
<input class="input_search" style="width:60%" type="text" title="新银行账号"
|
|
110
|
+
v-model="model.f_newbank_account"
|
|
111
|
+
placeholder="新银行账号" v-el:account>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="row">
|
|
115
|
+
<div class="col-sm-8 form-group">
|
|
116
|
+
<label class="font_normal_body" for="f_taxpayer_id">纳税人识别号</label>
|
|
117
|
+
<input class="input_search" placeholder="纳税人识别号" style="width:70%" type="text"
|
|
118
|
+
v-model="model.f_taxpayer_id" v-next-el="addressphone">
|
|
119
|
+
</div>
|
|
120
|
+
<div class="col-sm-4 form-group">
|
|
121
|
+
<label class="font_normal_body" for="f_paper_name">名  称</label>
|
|
122
|
+
<input class="input_search" placeholder="名称" style="width:60%" type="text" v-el:papername
|
|
123
|
+
v-model="model.f_paper_name" v-next-el="paperaccount">
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="row">
|
|
127
|
+
<div class="col-sm-8 form-group">
|
|
128
|
+
<label class="font_normal_body" for="f_address_phone">地址电话  </label>
|
|
129
|
+
<input class="input_search" placeholder="地址-电话" style="width:70%" type="text" v-el:addressphone
|
|
130
|
+
v-model="model.f_address_phone" v-next-el="papername">
|
|
131
|
+
</div>
|
|
132
|
+
<div class="col-sm-4 form-group">
|
|
133
|
+
<label class="font_normal_body" for="f_paper_type">票据类型</label>
|
|
134
|
+
<v-select :options='papertype'
|
|
135
|
+
:value-single="true"
|
|
136
|
+
:value.sync="model.f_paper_type" close-on-select
|
|
137
|
+
placeholder='票据类型'></v-select>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="row">
|
|
141
|
+
<div class="col-sm-8 form-group">
|
|
142
|
+
<label class="font_normal_body " for="f_paper_account">开户行及账号</label>
|
|
143
|
+
<input class="input_search" placeholder="银行名称" style="width:70%" type="text" v-el:paperaccount
|
|
144
|
+
v-model="model.f_paper_account">
|
|
145
|
+
</div>
|
|
146
|
+
<div class="col-sm-4 form-group">
|
|
147
|
+
<label class="font_normal_body" for="f_contact_user">联系人名</label>
|
|
148
|
+
<input class="input_search" placeholder="联系人姓名" style="width:60%" type="text" v-el:contactuser
|
|
149
|
+
v-model="model.f_contact_user">
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="row">
|
|
153
|
+
<div class="col-sm-4 form-group" :class="[$v.f_price_validation.required ? 'has-error' : '']">
|
|
154
|
+
<label class="font_normal_body " for="f_price_validation">价格校验</label>
|
|
155
|
+
<input type="text" v-show="false" v-model="price.f_price_validation"
|
|
156
|
+
v-validate:f_price_validation='{required: true }'>
|
|
157
|
+
<v-select :options='priceValidation'
|
|
158
|
+
:value-single="true"
|
|
159
|
+
:value.sync="price.f_price_validation"
|
|
160
|
+
close-on-select
|
|
161
|
+
v-ref:priceValidation
|
|
162
|
+
placeholder='请选择'>
|
|
163
|
+
</v-select>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="col-sm-4 form-group">
|
|
166
|
+
<label class="font_normal_body " for="f_user_type">用户类型</label>
|
|
167
|
+
<v-select :options='usertypes'
|
|
168
|
+
:value-single="true"
|
|
169
|
+
:value.sync="price.f_user_type"
|
|
170
|
+
close-on-select
|
|
171
|
+
placeholder='请选择'>
|
|
172
|
+
</v-select>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="col-sm-4 form-group">
|
|
175
|
+
<label class="font_normal_body" for="f_gasproperties">用气性质</label>
|
|
176
|
+
<v-select :value.sync="price.f_gasproperties"
|
|
177
|
+
:options='gasproperties' placeholder='用气性质'
|
|
178
|
+
:value-single="true"
|
|
179
|
+
close-on-select>
|
|
180
|
+
</v-select>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="row">
|
|
184
|
+
<div class="col-sm-4 form-group">
|
|
185
|
+
<label class="font_normal_body " for="f_price_type">气价类型</label>
|
|
186
|
+
<v-select :options='pricetypes'
|
|
187
|
+
:value-single="true"
|
|
188
|
+
:value.sync="price.f_price_type"
|
|
189
|
+
close-on-select
|
|
190
|
+
placeholder='请选择'>
|
|
191
|
+
</v-select>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="col-sm-4 form-group">
|
|
194
|
+
<label class="font_normal_body" for="pricename">气价名称</label>
|
|
195
|
+
<v-select :value.sync="price.f_price_id"
|
|
196
|
+
:options='prices' placeholder='气价名称'
|
|
197
|
+
:value-single="true"
|
|
198
|
+
close-on-select>
|
|
199
|
+
</v-select>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="row">
|
|
203
|
+
<div class="col-sm-8 form-group">
|
|
204
|
+
<label class="font_normal_body " for="f_paper_account">推送票据邮箱</label>
|
|
205
|
+
<input class="input_search" placeholder="推送票据邮箱" style="width:70%" type="text" v-el:f_email
|
|
206
|
+
v-model="model.f_email">
|
|
207
|
+
</div>
|
|
208
|
+
<div v-if="config.hasAudit" class="col-sm-4 form-group"
|
|
209
|
+
:class="[$v.f_audit_person.required ? 'has-error' : 'has-success']">
|
|
210
|
+
<label class="font_normal_body">审核人员</label>
|
|
211
|
+
<input v-show="false" v-model="model.f_audit_person" v-validate:f_audit_person='{required: true}'>
|
|
212
|
+
<v-select :value.sync="model.f_audit_person"
|
|
213
|
+
:options='auditor' placeholder='请选择'
|
|
214
|
+
selected="审核人员"
|
|
215
|
+
:value-single="true"
|
|
216
|
+
style="width:60%"
|
|
217
|
+
close-on-select></v-select>
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
220
|
+
<div class="row" style="margin-top:10px;">
|
|
221
|
+
|
|
222
|
+
<div class="col-sm-12">
|
|
223
|
+
<label id="label" for="f_comments" class="font_normal_body"> 备  注</label>
|
|
224
|
+
<input class="input_search" style="width:87%" v-model="model.f_comments"
|
|
225
|
+
placeholder="备注"/>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</form>
|
|
229
|
+
<accept-bill :show="acceptprint" :bill-url='acceptUrl' v-on:toggle="close" :data='row' :billdata="printData"
|
|
230
|
+
@closeaccept="closeAccept" v-ref:acceptbill></accept-bill>
|
|
231
|
+
<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
|
|
232
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="close" @printok="printok"
|
|
233
|
+
:data='row' v-ref:printbill></print-bill>
|
|
234
|
+
<div style="text-align:right;height:auto;">
|
|
235
|
+
<button style="margin-right:5px;" v-if="this.$login.r.includes('加载过户资料')" class="button_search"
|
|
236
|
+
@click="loaduser()">
|
|
237
|
+
加载过户资料
|
|
238
|
+
</button>
|
|
239
|
+
<button class="button_clear" @click="accept()" v-if="config.hasAcceptance" :disabled='!$v.valid'>受理单
|
|
240
|
+
</button>
|
|
241
|
+
<button class="button_search" v-show="config.hasAudit" type="button" @click="auditConfirm()"
|
|
242
|
+
:disabled='!$v.valid'>
|
|
243
|
+
过户审核
|
|
244
|
+
</button>
|
|
245
|
+
<button class="button_search" v-show="!config.hasAudit" @click="confirm()" :disabled='!$v.valid'>
|
|
246
|
+
确认
|
|
247
|
+
</button>
|
|
248
|
+
<button class="button_clear" @click="clear()">
|
|
249
|
+
取消
|
|
250
|
+
</button>
|
|
251
|
+
</div>
|
|
252
|
+
<!--<upload :blodid="blodid" isremark="true" fusetype="过户"></upload>-->
|
|
253
|
+
<upload :blodid="blodid" v-if="config.showupload" v-on:confirminfo="confirmIdCard"
|
|
254
|
+
:businessid="randomBusinessId" isremark="true" fusetype="过户管理"></upload>
|
|
255
|
+
</validator>
|
|
256
|
+
</div>
|
|
257
|
+
<modal v-if="loaduserflag" :show.sync="loaduserflag" width="80%" title="过户资产信息" v-ref:modal large
|
|
258
|
+
backdrop="false">
|
|
259
|
+
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
260
|
+
<tranfersel-list :f_filialeid.sync="f_filialeid"></tranfersel-list>
|
|
261
|
+
</article>
|
|
262
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
263
|
+
</footer>
|
|
264
|
+
</modal>
|
|
265
|
+
</div>
|
|
266
|
+
</template>
|
|
267
|
+
<script>
|
|
268
|
+
import Vue from 'vue'
|
|
269
|
+
import {runLogic} from 'vue-client/src/util/apiUtils'
|
|
270
|
+
|
|
271
|
+
let transfersaveGen = async function (self) {
|
|
272
|
+
try {
|
|
273
|
+
let condition = `f_userinfo_id = '${self.row.f_userinfo_id}'`
|
|
274
|
+
let bank = await self.$SqlService.singleTable('t_infobank', condition)
|
|
275
|
+
self.setbank(bank)
|
|
276
|
+
let res = await self.$LogicService.changeAccount(self.transferdata)
|
|
277
|
+
console.log('过户返回=====>', res)
|
|
278
|
+
if (self.config.showupload) {
|
|
279
|
+
let param = []
|
|
280
|
+
for (let row of self.resid) {
|
|
281
|
+
param.push({id: row.id})
|
|
282
|
+
}
|
|
283
|
+
let data = {
|
|
284
|
+
param: param,
|
|
285
|
+
f_blobid: res.data
|
|
286
|
+
}
|
|
287
|
+
await self.$resetpost('api/af-revenue/logic/updatefiles', data)
|
|
288
|
+
}
|
|
289
|
+
if (self.config.hasPrint && !self.$login.r.includes('不打印发票')) {
|
|
290
|
+
if (self.model.f_print[0] != '电子发票') {
|
|
291
|
+
if (self.config.hasBillManage) {
|
|
292
|
+
self.row.id = res.data
|
|
293
|
+
self.row.f_bill_type = '过户'
|
|
294
|
+
self.row.f_bill_style = self.model.f_print[0]
|
|
295
|
+
self.print = true
|
|
296
|
+
} else {
|
|
297
|
+
self.row.id = res.data
|
|
298
|
+
self.print = true
|
|
299
|
+
}
|
|
300
|
+
} else if (self.model.f_print[0] === '国税发票') {
|
|
301
|
+
// TODO
|
|
302
|
+
self.$dispatch('success')
|
|
303
|
+
} else if (self.model.f_print[0] === '电子发票') {
|
|
304
|
+
// TODO
|
|
305
|
+
self.$dispatch('success')
|
|
306
|
+
}
|
|
307
|
+
} else {
|
|
308
|
+
self.$dispatch('success')
|
|
309
|
+
}
|
|
310
|
+
} catch (error) {
|
|
311
|
+
self.$showAlert(error, 'danger', 0)
|
|
312
|
+
self.$dispatch('refresh')
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
let asyncTransferManage = async function (self) {
|
|
317
|
+
await self.$getConfig(self, 'TransferManage')
|
|
318
|
+
console.log('过户config', self.config)
|
|
319
|
+
self.model.f_new_people_num = self.config.f_new_people_num
|
|
320
|
+
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
321
|
+
self.model.f_payment = [self.config.payment]
|
|
322
|
+
self.mulPrint = self.config.printType instanceof Array
|
|
323
|
+
|
|
324
|
+
// 获取当前票号用
|
|
325
|
+
self.model.f_use_type = self.config.billType
|
|
326
|
+
self.model.f_bill_type = self.model.f_print
|
|
327
|
+
self.hasValidateBill = self.config.hasBillManage
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export default {
|
|
331
|
+
title: '过户管理',
|
|
332
|
+
props: ['row'],
|
|
333
|
+
data () {
|
|
334
|
+
return {
|
|
335
|
+
config: {
|
|
336
|
+
showupload: true, // 默认显示上传附件
|
|
337
|
+
hasPrint: false, // 默认打票
|
|
338
|
+
hasAcceptance: false,
|
|
339
|
+
hasBillManage: false, // 默认不启用发票管理
|
|
340
|
+
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
341
|
+
payment: '现金缴费',
|
|
342
|
+
f_contract_id: '',
|
|
343
|
+
f_new_people_num: 4, // 默认人口数
|
|
344
|
+
printType: '普通收据', // 收据/电子票/专用发票/国税发票
|
|
345
|
+
hasAudit: false // 是否审核
|
|
346
|
+
},
|
|
347
|
+
bankinfo: false,
|
|
348
|
+
numspan: false,
|
|
349
|
+
namespan: false,
|
|
350
|
+
phonespan: false,
|
|
351
|
+
randomBusinessId: '',
|
|
352
|
+
resid: [], // 存放新增的f_files表中id
|
|
353
|
+
model: {
|
|
354
|
+
f_operat_type: '过户',
|
|
355
|
+
f_print: [],
|
|
356
|
+
f_newcredentials: ['身份证'],
|
|
357
|
+
f_payment: [],
|
|
358
|
+
f_paymenttype: ['现金缴费'],
|
|
359
|
+
f_transfer_fees: this.$appdata.getSingleValue('过户费') ? this.$appdata.getSingleValue('过户费') : '',
|
|
360
|
+
// f_transfer_fees: '',
|
|
361
|
+
f_newbank_accopen: '',
|
|
362
|
+
f_newuser_name: '',
|
|
363
|
+
f_newidnumber: '',
|
|
364
|
+
f_new_people_num: 4,
|
|
365
|
+
f_address_phone: '',
|
|
366
|
+
f_paper_type: '',
|
|
367
|
+
f_paper_account: '',
|
|
368
|
+
f_email: '',
|
|
369
|
+
f_contact_user: '',
|
|
370
|
+
f_paper_name: '',
|
|
371
|
+
f_taxpayer_id: '',
|
|
372
|
+
f_newbank_name: ''
|
|
373
|
+
},
|
|
374
|
+
transferdata: {
|
|
375
|
+
userinfo: {},
|
|
376
|
+
price: {}
|
|
377
|
+
},
|
|
378
|
+
price: {
|
|
379
|
+
f_user_type: '',
|
|
380
|
+
f_gasproperties: '',
|
|
381
|
+
f_price_type: '',
|
|
382
|
+
f_price_id: '',
|
|
383
|
+
f_price_validation: ''
|
|
384
|
+
},
|
|
385
|
+
print: false,
|
|
386
|
+
printData: {
|
|
387
|
+
username: '',
|
|
388
|
+
userphone: '',
|
|
389
|
+
credentials: '',
|
|
390
|
+
idnumber: ''
|
|
391
|
+
},
|
|
392
|
+
billData: {
|
|
393
|
+
url: 'api/af-revenue/report/transfer_bill',
|
|
394
|
+
billnumber: ''
|
|
395
|
+
},
|
|
396
|
+
mulPrint: false,
|
|
397
|
+
|
|
398
|
+
// 启用发票管理需要对票号进行验证
|
|
399
|
+
hasValidateBill: false,
|
|
400
|
+
validateOk: false,
|
|
401
|
+
|
|
402
|
+
blodid: '', // 附件
|
|
403
|
+
|
|
404
|
+
acceptprint: false,
|
|
405
|
+
acceptUrl: '',
|
|
406
|
+
auditor: [],
|
|
407
|
+
banknames: this.$appdata.getParam('银行名称'),
|
|
408
|
+
costtypes: this.$appdata.getParam('缴费类型'),
|
|
409
|
+
usertypes: this.$appdata.getParam('用户类型') ? this.$appdata.getParam('用户类型') : [],
|
|
410
|
+
gasproperties: [],
|
|
411
|
+
priceValidation: this.$appdata.getParam('价格校验'),
|
|
412
|
+
pricetypes: this.$appdata.getParam('气价类型') ? this.$appdata.getParam('气价类型') : [],
|
|
413
|
+
prices: [],
|
|
414
|
+
payments: this.$appdata.getParam('付款方式'),
|
|
415
|
+
papertype: this.$appdata.getParam('票据类型'),
|
|
416
|
+
printstyle: this.$appdata.getParam('打印格式'),
|
|
417
|
+
credentials: this.$appdata.getParam('证件类型'),
|
|
418
|
+
loaduserflag: false
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
ready () {
|
|
422
|
+
console.log('row', this.row)
|
|
423
|
+
this.model.f_print = [this.config.printType]
|
|
424
|
+
this.blodid = this.row.f_userinfo_id
|
|
425
|
+
this.model.f_taxpayer_id = this.row.f_taxpayer_id
|
|
426
|
+
this.model.f_address_phone = this.row.f_address_phone
|
|
427
|
+
this.model.f_paper_name = this.row.f_paper_name
|
|
428
|
+
this.model.f_paper_account = this.row.f_paper_account
|
|
429
|
+
this.model.f_paper_type = this.row.f_paper_type
|
|
430
|
+
this.model.f_email = this.row.f_email
|
|
431
|
+
this.model.f_contact_user = this.row.f_contact_user
|
|
432
|
+
this.price.f_price_validation = this.row.f_price_validation
|
|
433
|
+
asyncTransferManage(this)
|
|
434
|
+
this.getRandomId()
|
|
435
|
+
this.getAuditor()
|
|
436
|
+
this.$nextTick(() => {
|
|
437
|
+
this.price.f_user_type = this.row.f_user_type
|
|
438
|
+
this.$nextTick(() => {
|
|
439
|
+
this.price.f_gasproperties = this.row.f_gasproperties
|
|
440
|
+
this.$nextTick(() => {
|
|
441
|
+
this.price.f_price_type = this.row.f_price_type
|
|
442
|
+
this.$nextTick(() => {
|
|
443
|
+
this.price.f_price_id = this.row.f_price_id
|
|
444
|
+
})
|
|
445
|
+
})
|
|
446
|
+
})
|
|
447
|
+
})
|
|
448
|
+
},
|
|
449
|
+
|
|
450
|
+
methods: {
|
|
451
|
+
async getAuditor () {
|
|
452
|
+
await this.$GetSaleParam.initinputtor()
|
|
453
|
+
this.auditor = this.$GetSaleParam.getAudit(this.$login.f.orgid)
|
|
454
|
+
},
|
|
455
|
+
confirmIdCard (msg) {
|
|
456
|
+
console.log(msg)
|
|
457
|
+
this.model.f_newuser_name = msg.strName
|
|
458
|
+
this.model.f_newidnumber = msg.strID
|
|
459
|
+
},
|
|
460
|
+
getRandomId () {
|
|
461
|
+
this.randomBusinessId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
462
|
+
let res = Math.random() * 16 | 0
|
|
463
|
+
let v = c == 'x' ? res : (res & 0x3 | 0x8)
|
|
464
|
+
return v.toString(16)
|
|
465
|
+
})
|
|
466
|
+
},
|
|
467
|
+
// 加载过户资料
|
|
468
|
+
loaduser () {
|
|
469
|
+
this.loaduserflag = true
|
|
470
|
+
},
|
|
471
|
+
accept () {
|
|
472
|
+
// 打印受理单
|
|
473
|
+
this.printData.username = this.model.f_newuser_name ? `'${this.model.f_newuser_name}'` : '' + `'${this.model.f_newuser_name}'`
|
|
474
|
+
this.printData.userphone = this.model.f_newuser_phone ? `'${this.model.f_newuser_phone}'` : '' + `'${this.model.f_newuser_phone}'`
|
|
475
|
+
this.printData.credentials = this.model.f_newcredentials ? `'${this.model.f_newcredentials[0]}'` : '' + `'${this.model.f_newcredentials}'`
|
|
476
|
+
this.printData.idnumber = this.model.f_newidnumber ? `'${this.model.f_newidnumber}'` : '' + `'${this.model.f_newidnumber}'`
|
|
477
|
+
console.log('受累单中printData', this.printData)
|
|
478
|
+
this.acceptUrl = 'api/af-revenue/report/acceptTransfer_bill'
|
|
479
|
+
this.acceptprint = true
|
|
480
|
+
},
|
|
481
|
+
closeAccept () {
|
|
482
|
+
this.acceptprint = false
|
|
483
|
+
},
|
|
484
|
+
// 用户更改信息
|
|
485
|
+
getuserinfo () {
|
|
486
|
+
return {
|
|
487
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
488
|
+
f_user_name: this.model.f_newuser_name,
|
|
489
|
+
f_credentials: this.model.f_newcredentials[0],
|
|
490
|
+
f_idnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
491
|
+
f_user_phone: this.model.f_newuser_phone ? this.model.f_newuser_phone : '',
|
|
492
|
+
f_rent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
493
|
+
f_contract_id: this.model.f_contract_id ? this.model.f_contract_id : '',
|
|
494
|
+
f_cost_type: this.model.f_paymenttype[0],
|
|
495
|
+
version: this.row.userinfo_version,
|
|
496
|
+
f_taxpayer_id: this.model.f_taxpayer_id,
|
|
497
|
+
f_address_phone: this.model.f_address_phone,
|
|
498
|
+
f_paper_name: this.model.f_paper_name,
|
|
499
|
+
f_paper_account: this.model.f_paper_account,
|
|
500
|
+
f_email: this.model.f_email,
|
|
501
|
+
f_paper_type: this.model.f_paper_type,
|
|
502
|
+
f_contact_user: this.model.f_contact_user,
|
|
503
|
+
f_people_num: this.model.f_new_people_num ? this.model.f_new_people_num : 0,
|
|
504
|
+
infobank: {
|
|
505
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
506
|
+
f_bank_name: this.model.f_newbank_name[0],
|
|
507
|
+
f_bank_accopen: this.model.f_newbank_accopen,
|
|
508
|
+
f_bank_account: this.model.f_newbank_account,
|
|
509
|
+
f_bank_idnumber: this.model.f_bank_idnumber
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
changecost (val) {
|
|
514
|
+
if (val[0] === '银行代扣') {
|
|
515
|
+
this.bankinfo = true
|
|
516
|
+
} else {
|
|
517
|
+
this.bankinfo = false
|
|
518
|
+
}
|
|
519
|
+
this.$resetValidation()
|
|
520
|
+
},
|
|
521
|
+
validateBill (val) {
|
|
522
|
+
this.validateOk = val.isOk
|
|
523
|
+
this.billData.bill = val.bill
|
|
524
|
+
},
|
|
525
|
+
printok () {
|
|
526
|
+
this.$dispatch('success')
|
|
527
|
+
},
|
|
528
|
+
|
|
529
|
+
// 过户表及操作表信息
|
|
530
|
+
getOperateInfo () {
|
|
531
|
+
return {
|
|
532
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
533
|
+
record_userinfo: this.row.f_userinfo_id,
|
|
534
|
+
f_user_id: this.row.f_user_id,
|
|
535
|
+
f_serial_number: this.model.f_serial_number ? this.model.f_serial_number : '',
|
|
536
|
+
f_userfiles_id: this.row.f_userfiles_id ? this.row.f_userfiles_id : '',
|
|
537
|
+
f_user_name: this.row.f_user_name,
|
|
538
|
+
f_taxpayer_id: this.row.f_taxpayer_id,
|
|
539
|
+
f_address_phone: this.row.f_address_phone,
|
|
540
|
+
f_paper_name: this.row.f_paper_name,
|
|
541
|
+
f_paper_account: this.row.f_paper_account,
|
|
542
|
+
f_email: this.row.f_email,
|
|
543
|
+
f_paper_type: this.row.f_paper_type,
|
|
544
|
+
f_contact_user: this.row.f_contact_user,
|
|
545
|
+
f_user_phone: this.row.f_user_phone ? this.row.f_user_phone : '',
|
|
546
|
+
f_idnumber: this.row.f_idnumber ? this.row.f_idnumber : '',
|
|
547
|
+
f_credentials: this.row.f_credentials ? this.row.f_credentials : '',
|
|
548
|
+
f_payment: this.model.f_payment[0] ? this.model.f_payment[0] : '',
|
|
549
|
+
f_bill_style: this.model.f_print[0] ? this.model.f_print[0] : '',
|
|
550
|
+
f_newuser_name: this.model.f_newuser_name,
|
|
551
|
+
f_newuser_phone: this.model.f_newuser_phone,
|
|
552
|
+
f_newrent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
553
|
+
f_newcredentials: this.model.f_newcredentials[0],
|
|
554
|
+
f_newidnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
555
|
+
f_bank_accopen: null,
|
|
556
|
+
f_bank_name: null,
|
|
557
|
+
f_bank_account: null,
|
|
558
|
+
f_newbank_accopen: this.model.f_newbank_accopen ? this.model.f_newbank_accopen : '',
|
|
559
|
+
f_newbank_name: this.model.f_newbank_name[0] ? this.model.f_newbank_name[0] : '',
|
|
560
|
+
f_newbank_account: this.model.f_newbank_account ? this.model.f_newbank_account : '',
|
|
561
|
+
f_bank_idnumber: this.row.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
562
|
+
f_newbank_idnumber: this.model.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
563
|
+
f_transfer_fees: this.model.f_transfer_fees ? this.model.f_transfer_fees : 0,
|
|
564
|
+
f_old_people_num: this.row.f_people_num ? this.row.f_people_num : 0,
|
|
565
|
+
f_new_people_num: this.model.f_new_people_num ? this.model.f_new_people_num : 0,
|
|
566
|
+
f_newtaxpayer_id: this.model.f_taxpayer_id,
|
|
567
|
+
f_newaddress_phone: this.model.f_address_phone,
|
|
568
|
+
f_newpaper_name: this.model.f_paper_name,
|
|
569
|
+
f_newpaper_account: this.model.f_paper_account,
|
|
570
|
+
f_newemail: this.model.f_email,
|
|
571
|
+
f_newpaper_type: this.model.f_paper_type,
|
|
572
|
+
f_newcontact_user: this.model.f_contact_user,
|
|
573
|
+
f_comments: this.model.f_comments ? this.model.f_comments : '',
|
|
574
|
+
f_operat_type: '过户',
|
|
575
|
+
f_describe: this.$login.f.name + '对用户' + this.row.f_user_name + '进行过户',
|
|
576
|
+
f_state: '有效',
|
|
577
|
+
f_operator: this.$login.f.name,
|
|
578
|
+
f_operatorid: this.$login.f.id,
|
|
579
|
+
f_orgid: this.$login.f.orgid,
|
|
580
|
+
f_orgname: this.$login.f.orgs,
|
|
581
|
+
f_depid: this.$login.f.depids,
|
|
582
|
+
f_depname: this.$login.f.deps,
|
|
583
|
+
f_zoneid: this.$login.f.zoneid ? this.$login.f.zoneid : '',
|
|
584
|
+
f_zones: this.$login.f.zones ? this.$login.f.zones : '',
|
|
585
|
+
deletebank: false
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
getPirceInfo () {
|
|
589
|
+
return {
|
|
590
|
+
f_change_reason: '过户调价',
|
|
591
|
+
f_depid: this.$login.f.depids,
|
|
592
|
+
f_depname: this.$login.f.deps,
|
|
593
|
+
f_filialeid: this.$login.f.orgid,
|
|
594
|
+
f_operator: this.$login.f.name,
|
|
595
|
+
f_operatorid: this.$login.f.id,
|
|
596
|
+
f_orgid: this.$login.f.orgid,
|
|
597
|
+
f_orgname: this.$login.f.orgs,
|
|
598
|
+
f_user_id: this.row.f_user_id,
|
|
599
|
+
f_user_name: this.row.f_user_name,
|
|
600
|
+
f_userfiles_id: this.row.f_userfiles_id,
|
|
601
|
+
old_price_id: this.row.f_price_id,
|
|
602
|
+
f_userinfo_id: this.row.f_userinfo_id
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
// 银行信息的设置
|
|
606
|
+
setbank (bank) {
|
|
607
|
+
if (!bank.data[0]) {
|
|
608
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
609
|
+
delete this.transferdata.userinfo.infobank
|
|
610
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
611
|
+
delete this.transferdata.userinfo.infobank.f_userinfo_id
|
|
612
|
+
}
|
|
613
|
+
} else {
|
|
614
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
615
|
+
this.transferdata.deletebank = true
|
|
616
|
+
delete this.transferdata.userinfo.infobank
|
|
617
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
618
|
+
this.transferdata.f_bank_name = bank.data[0].f_bank_name
|
|
619
|
+
this.transferdata.f_bank_accopen = bank.data[0].f_bank_accopen
|
|
620
|
+
this.transferdata.f_bank_account = bank.data[0].f_bank_account
|
|
621
|
+
this.transferdata.f_bank_idnumber = bank.data[0].f_bank_idnumber
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
confirm () {
|
|
626
|
+
this.transferdata = Object.assign({}, this.getOperateInfo())
|
|
627
|
+
this.newbankname()
|
|
628
|
+
this.transferdata.userinfo = Object.assign({}, this.getuserinfo())
|
|
629
|
+
this.transferdata.price = Object.assign(this.price, this.getPirceInfo())
|
|
630
|
+
console.log('过户保存', this.transferdata)
|
|
631
|
+
transfersaveGen(this)
|
|
632
|
+
console.log(this)
|
|
633
|
+
},
|
|
634
|
+
async auditConfirm () {
|
|
635
|
+
let fileParam = []
|
|
636
|
+
for (let row of this.resid) {
|
|
637
|
+
fileParam.push({id: row.id})
|
|
638
|
+
}
|
|
639
|
+
let param = {
|
|
640
|
+
// 业务参数
|
|
641
|
+
requestParam: {
|
|
642
|
+
model: {
|
|
643
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
644
|
+
record_userinfo: this.row.f_userinfo_id,
|
|
645
|
+
f_user_id: this.row.f_user_id,
|
|
646
|
+
f_serial_number: this.model.f_serial_number ? this.model.f_serial_number : '',
|
|
647
|
+
f_userfiles_id: this.row.f_userfiles_id ? this.row.f_userfiles_id : '',
|
|
648
|
+
f_user_name: this.row.f_user_name,
|
|
649
|
+
f_taxpayer_id: this.row.f_taxpayer_id,
|
|
650
|
+
f_address_phone: this.row.f_address_phone,
|
|
651
|
+
f_paper_name: this.row.f_paper_name,
|
|
652
|
+
f_paper_account: this.row.f_paper_account,
|
|
653
|
+
f_email: this.row.f_email,
|
|
654
|
+
f_paper_type: this.row.f_paper_type,
|
|
655
|
+
f_contact_user: this.row.f_contact_user,
|
|
656
|
+
f_user_phone: this.row.f_user_phone ? this.row.f_user_phone : '',
|
|
657
|
+
f_idnumber: this.row.f_idnumber ? this.row.f_idnumber : '',
|
|
658
|
+
f_credentials: this.row.f_credentials ? this.row.f_credentials : '',
|
|
659
|
+
f_payment: this.model.f_payment[0] ? this.model.f_payment[0] : '',
|
|
660
|
+
f_bill_style: this.model.f_print[0] ? this.model.f_print[0] : '',
|
|
661
|
+
f_newuser_name: this.model.f_newuser_name,
|
|
662
|
+
f_newuser_phone: this.model.f_newuser_phone,
|
|
663
|
+
f_newrent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
664
|
+
f_newcredentials: this.model.f_newcredentials[0],
|
|
665
|
+
f_newidnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
666
|
+
f_bank_accopen: null,
|
|
667
|
+
f_bank_name: null,
|
|
668
|
+
f_bank_account: null,
|
|
669
|
+
f_newbank_accopen: this.model.f_newbank_accopen ? this.model.f_newbank_accopen : '',
|
|
670
|
+
f_newbank_name: this.model.f_newbank_name[0] ? this.model.f_newbank_name[0] : '',
|
|
671
|
+
f_newbank_account: this.model.f_newbank_account ? this.model.f_newbank_account : '',
|
|
672
|
+
f_bank_idnumber: this.row.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
673
|
+
f_newbank_idnumber: this.model.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
674
|
+
f_transfer_fees: this.model.f_transfer_fees ? this.model.f_transfer_fees : 0,
|
|
675
|
+
f_old_people_num: this.row.f_people_num ? this.row.f_people_num : 0,
|
|
676
|
+
f_new_people_num: this.model.f_new_people_num ? this.model.f_new_people_num : 0,
|
|
677
|
+
f_newtaxpayer_id: this.model.f_taxpayer_id,
|
|
678
|
+
f_newaddress_phone: this.model.f_address_phone,
|
|
679
|
+
f_newpaper_name: this.model.f_paper_name,
|
|
680
|
+
f_newpaper_account: this.model.f_paper_account,
|
|
681
|
+
f_newemail: this.model.f_email,
|
|
682
|
+
f_newpaper_type: this.model.f_paper_type,
|
|
683
|
+
f_newcontact_user: this.model.f_contact_user,
|
|
684
|
+
f_comments: this.model.f_comments ? this.model.f_comments : '',
|
|
685
|
+
f_operat_type: '过户',
|
|
686
|
+
f_describe: this.$login.f.name + '对用户' + this.row.f_user_name + '进行过户',
|
|
687
|
+
f_state: '有效',
|
|
688
|
+
f_operator: this.$login.f.name,
|
|
689
|
+
f_operatorid: this.$login.f.id,
|
|
690
|
+
f_orgid: this.$login.f.orgid,
|
|
691
|
+
f_orgname: this.$login.f.orgs,
|
|
692
|
+
f_depid: this.$login.f.depids,
|
|
693
|
+
f_depname: this.$login.f.deps,
|
|
694
|
+
f_zoneid: this.$login.f.zoneid ? this.$login.f.zoneid : '',
|
|
695
|
+
f_zones: this.$login.f.zones ? this.$login.f.zones : '',
|
|
696
|
+
deletebank: false,
|
|
697
|
+
userinfo: {
|
|
698
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
699
|
+
f_user_name: this.model.f_newuser_name,
|
|
700
|
+
f_credentials: this.model.f_newcredentials[0],
|
|
701
|
+
f_idnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
702
|
+
f_user_phone: this.model.f_newuser_phone ? this.model.f_newuser_phone : '',
|
|
703
|
+
f_rent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
704
|
+
f_contract_id: this.model.f_contract_id ? this.model.f_contract_id : '',
|
|
705
|
+
f_cost_type: this.model.f_paymenttype[0],
|
|
706
|
+
version: this.row.userinfo_version,
|
|
707
|
+
f_taxpayer_id: this.model.f_taxpayer_id,
|
|
708
|
+
f_address_phone: this.model.f_address_phone,
|
|
709
|
+
f_paper_name: this.model.f_paper_name,
|
|
710
|
+
f_paper_account: this.model.f_paper_account,
|
|
711
|
+
f_email: this.model.f_email,
|
|
712
|
+
f_paper_type: this.model.f_paper_type,
|
|
713
|
+
f_contact_user: this.model.f_contact_user,
|
|
714
|
+
f_people_num: this.model.f_new_people_num ? this.model.f_new_people_num : 0,
|
|
715
|
+
infobank: {
|
|
716
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
717
|
+
f_bank_name: this.model.f_newbank_name[0],
|
|
718
|
+
f_bank_accopen: this.model.f_newbank_accopen,
|
|
719
|
+
f_bank_account: this.model.f_newbank_account,
|
|
720
|
+
f_bank_idnumber: this.model.f_bank_idnumber
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
// 审核人
|
|
726
|
+
f_audit_person: this.model.f_audit_person,
|
|
727
|
+
// 描述
|
|
728
|
+
f_describe: `${this.$login.f.name}对用户${this.row.f_user_name}进行过户`,
|
|
729
|
+
// 附件
|
|
730
|
+
fileParam: fileParam,
|
|
731
|
+
// 登录人信息
|
|
732
|
+
userBaseInfo: {
|
|
733
|
+
f_operator: Vue.$login.f.name,
|
|
734
|
+
f_userinfo_code: this.row.f_userinfo_code,
|
|
735
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
736
|
+
f_operatorid: Vue.$login.f.id,
|
|
737
|
+
f_orgid: Vue.$login.f.orgid,
|
|
738
|
+
f_orgname: Vue.$login.f.orgs,
|
|
739
|
+
f_depid: Vue.$login.f.depids,
|
|
740
|
+
f_depname: Vue.$login.f.deps
|
|
741
|
+
},
|
|
742
|
+
// 业务类型
|
|
743
|
+
type: '过户',
|
|
744
|
+
// 执行业务
|
|
745
|
+
f_type: this.model.f_operat_type,
|
|
746
|
+
// 其他业务请求
|
|
747
|
+
f_otherparam: [],
|
|
748
|
+
// 备注
|
|
749
|
+
f_comments: this.model.f_comments,
|
|
750
|
+
// 执行logic
|
|
751
|
+
logicName: 'transferSave'
|
|
752
|
+
}
|
|
753
|
+
this.$resetpost('api/af-revenue/logic/commonAuditLogic', {data: param}, {
|
|
754
|
+
warnMsg: `确定要对用户${this.row.f_user_name}进行${this.model.f_operat_type}审核吗?`,
|
|
755
|
+
resolveMsg: `提交审核完成!!`,
|
|
756
|
+
rejectMsg: `提交审核失败!!请重试!!`
|
|
757
|
+
}).then((res) => {
|
|
758
|
+
this.clear()
|
|
759
|
+
})
|
|
760
|
+
},
|
|
761
|
+
clear () {
|
|
762
|
+
this.$dispatch('refresh')
|
|
763
|
+
},
|
|
764
|
+
close () {
|
|
765
|
+
this.print = false
|
|
766
|
+
this.clear()
|
|
767
|
+
},
|
|
768
|
+
newbankname () {
|
|
769
|
+
if (this.model.f_paymenttype[0] !== '银行代扣') {
|
|
770
|
+
this.model.f_newbank_accopen = null
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
events: {
|
|
775
|
+
'confirmuserfiles' (val) {
|
|
776
|
+
if (val) {
|
|
777
|
+
if (val.buyername != null) this.$set('model.f_newuser_name', val.buyername)
|
|
778
|
+
if (val.buyerphone != null) this.$set('model.f_newuser_phone', val.buyerphone)
|
|
779
|
+
if (val.buyercardno != null) this.$set('model.f_newidnumber', val.buyercardno)
|
|
780
|
+
this.loaduserflag = false
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
// 删除Resid数组元素
|
|
784
|
+
'delResid' (val) {
|
|
785
|
+
this.resid.$remove({id: val, f_biobid: ''})
|
|
786
|
+
// this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
|
|
787
|
+
},
|
|
788
|
+
// 增加Resid数组元素
|
|
789
|
+
'resid' (val) {
|
|
790
|
+
this.resid.push({id: val, f_biobid: ''})
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
watch: {
|
|
794
|
+
'price.f_user_type' (val) {
|
|
795
|
+
this.price.f_gasproperties = ''
|
|
796
|
+
this.price.f_price_type = ''
|
|
797
|
+
this.price.f_price_id = ''
|
|
798
|
+
this.gasproperties = this.$appdata.getParam(val)
|
|
799
|
+
},
|
|
800
|
+
'price.f_gasproperties' (val) {
|
|
801
|
+
this.price.f_price_id = ''
|
|
802
|
+
if (this.price.f_user_type && this.price.f_gasproperties && this.price.f_price_type) {
|
|
803
|
+
runLogic('getPriceName', {
|
|
804
|
+
f_user_type: this.price.f_user_type,
|
|
805
|
+
f_gasproperties: this.price.f_gasproperties,
|
|
806
|
+
f_price_type: this.price.f_price_type
|
|
807
|
+
}, 'af-revenue').then((res) => {
|
|
808
|
+
this.prices = res.data
|
|
809
|
+
})
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
'price.f_price_type' (val) {
|
|
813
|
+
this.price.f_price_id = ''
|
|
814
|
+
if (this.price.f_user_type && this.price.f_gasproperties && this.price.f_price_type) {
|
|
815
|
+
runLogic('getPriceName', {
|
|
816
|
+
f_user_type: this.price.f_user_type,
|
|
817
|
+
f_gasproperties: this.price.f_gasproperties,
|
|
818
|
+
f_price_type: this.price.f_price_type
|
|
819
|
+
}, 'af-revenue').then((res) => {
|
|
820
|
+
this.prices = res.data
|
|
821
|
+
})
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
</script>
|
|
827
|
+
|
|
828
|
+
<style scoped>
|
|
829
|
+
#label {
|
|
830
|
+
margin-top: 5px;
|
|
831
|
+
}
|
|
832
|
+
</style>
|