sale-client 3.5.263 → 3.5.264
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 +1 -1
- package/package.json +1 -1
- package/src/components/FilesManage/FileUserAddress.vue +1 -1
- package/src/components/charge/business/CardMeterCenter.vue +1 -1
- package/src/components/charge/business/IOTMeterCenter.vue +1 -1
- package/src/components/charge/business/NoCardMeterCenter.vue +1 -1
- package/src/components/charge/business/ShowCardSellGas.vue +1 -1
- package/src/filiale/gaomi/components/ShowCardSellGas.vue +1 -1
- package/src/filiale/shanxian/FileUserAddress.vue +1 -1
- package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +1 -1
- package/src/filiale/wenxi/TransferManage.vue +413 -0
- package/src/filiale/wenxi/UserGeneralInfoTest.vue +1 -1
- package/src/filiale/wenxi/sale.js +2 -0
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [localUrl, serverRul] = ['http://
|
|
2
|
+
const [localUrl, serverRul] = ['http://192.168.50.4:8400', 'http://192.168.50.4:8400']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -0,0 +1,413 @@
|
|
|
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" maxlength="11"
|
|
16
|
+
v-validate:f_newuser_phone='{required: true}'
|
|
17
|
+
placeholder="新电话" v-next-el='number' v-el:phone>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-4" :class="[$v.f_newrent_phone.required ? 'has-error' : '']">
|
|
20
|
+
<label id="label" for="f_newrent_phone" class="font_normal_body"> 备用电话</label>
|
|
21
|
+
<!--v-validate:f_newrent_phone='{required: false}'-->
|
|
22
|
+
<input title="备用电话" class="input_search" style="width:60%" type="text" v-model="model.f_newrent_phone" maxlength="11"
|
|
23
|
+
|
|
24
|
+
placeholder="备用电话" v-next-el='number' v-el:phone>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-4">
|
|
27
|
+
<label for="f_contract" class="font_normal_body">*合同日期</label>
|
|
28
|
+
<datepicker style="width:60%" placeholder="合同日期"
|
|
29
|
+
v-model="model.f_contractdate"
|
|
30
|
+
:value.sync="model.f_contractdate"
|
|
31
|
+
:format="'yyyy-MM-dd HH:mm:ss'"></datepicker>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-sm-8">
|
|
34
|
+
<label for="f_contract" class="font_normal_body">*合同编号</label>
|
|
35
|
+
<input type="text" v-model="model.f_contract_id" class="input_search" style="width:80%"
|
|
36
|
+
placeholder="合同编号">
|
|
37
|
+
</div>
|
|
38
|
+
<div class="col-sm-4">
|
|
39
|
+
<label for="f_credentials" id="label" class="font_normal_body"> 证件类型</label>
|
|
40
|
+
<v-select :value.sync="model.f_newcredentials"
|
|
41
|
+
:options='credentials' placeholder='证件类型'
|
|
42
|
+
close-on-select></v-select>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="col-sm-8" :class="[$v.f_newidnumber.identityCardValid ? 'has-error' : '']" v-if="model.f_newcredentials[0] === '身份证'">
|
|
45
|
+
<label id="label" class="font_normal_body">*证件号码</label>
|
|
46
|
+
<input type="text" v-model="model.f_newidnumber" v-validate:f_newidnumber='{identityCardValid: true}' class="input_search" style="width:80%" placeholder="新身份证号">
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-8" v-if="model.f_newcredentials[0] !== '身份证'">
|
|
49
|
+
<label class="font_normal_body"> 证件号码</label>
|
|
50
|
+
<input type="text" v-model="model.f_newidnumber" class="input_search" style="width:80%" placeholder="新证件号" >
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<div class="row" style="margin-top:10px;">
|
|
55
|
+
<div class="col-sm-4" :class="[$v.f_transfer_fees.dctest ? 'has-error' : 'has-success']">
|
|
56
|
+
<label id="label" for="f_transfer_fees" class="font_normal_body" title="单值管理:过户费"> 过 户 费</label>
|
|
57
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_transfer_fees" placeholder="过户费"
|
|
58
|
+
v-next-el='accopen' v-el:fees v-validate:f_transfer_fees='{dctest: [0, ">=" ]}'>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-4">
|
|
61
|
+
<label id="label" for="f_print" class="font_normal_body"> 打印格式</label>
|
|
62
|
+
<v-select id="print"
|
|
63
|
+
v-model="f_print"
|
|
64
|
+
placeholder='请选择'
|
|
65
|
+
:value.sync="model.f_print"
|
|
66
|
+
:options='printstyle'
|
|
67
|
+
close-on-select clear-button></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
<div class="col-sm-4" :class="[$v.payment.required ? 'has-error' : '']">
|
|
71
|
+
<label id="label" for="f_paymenttype" class="font_normal_body"> 付款方式</label>
|
|
72
|
+
<input type="text" v-show="false" v-model="$refs.payment.selectedItems" v-validate:payment='{required: true }'>
|
|
73
|
+
<v-select :value.sync="model.f_payment"
|
|
74
|
+
v-model="model.f_payment"
|
|
75
|
+
:options='payments' placeholder='付款方式'
|
|
76
|
+
v-ref:payment
|
|
77
|
+
close-on-select></v-select>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="row" style="margin-top:10px;" v-if = "bankinfo">
|
|
81
|
+
<div class="col-sm-4">
|
|
82
|
+
<label id="label" for="f_newbank_accopen" class=" font_normal_body">新银行开户名:</label>
|
|
83
|
+
<input class="input_search" style="width:60%" type="text" title="新银行开户名" v-model="model.f_newbank_accopen"
|
|
84
|
+
placeholder="新银行开户名" v-next-el='newbank' v-el:accopen>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-sm-8" :class="[$v.f_bank_idnumber.identityCardValid ? 'has-error' : 'has-success']">
|
|
87
|
+
<label for="f_bank_idnumber" class=" font_normal_body" >新开户身份证号</label>
|
|
88
|
+
<input class="input_search" style="width:60%" type="text" title="新开户身份证号" v-model="model.f_bank_idnumber"
|
|
89
|
+
v-validate:f_bank_idnumber='{identityCardValid: true }' placeholder="新开户身份证号">
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
</div>
|
|
93
|
+
<div class="row" style="margin-top:10px;" v-if = "bankinfo">
|
|
94
|
+
<div class="col-sm-4">
|
|
95
|
+
<label id="label" for="f_newbank_name" class="font_normal_body">新银行名</label>
|
|
96
|
+
<v-select :value.sync="model.f_newbank_name"
|
|
97
|
+
:options='banknames' placeholder='新银行开户名'
|
|
98
|
+
close-on-select></v-select>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="col-sm-8">
|
|
101
|
+
<label id="label" for="f_newbank_account" class="font_normal_body">新银行账号</label>
|
|
102
|
+
<input class="input_search" style="width:60%" type="text" title="新银行账号" v-model="model.f_newbank_account"
|
|
103
|
+
placeholder="新银行账号" v-el:account>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="row" style="margin-top:10px;">
|
|
107
|
+
|
|
108
|
+
<div class="col-sm-12">
|
|
109
|
+
<label id="label" for="f_comments" class="font_normal_body"> 备  注</label>
|
|
110
|
+
<input class="input_search" style="width:87%" v-model="model.f_comments"
|
|
111
|
+
placeholder="备注"/>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
</form>
|
|
115
|
+
<accept-bill :show="acceptprint" :bill-url='acceptUrl' v-on:toggle="close" :data='row' :billdata="printData" @closeaccept="closeAccept" v-ref:acceptbill></accept-bill>
|
|
116
|
+
<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
|
|
117
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="close" @printok="printok" :data='row' v-ref:printbill ></print-bill>
|
|
118
|
+
<div style="text-align:right;height:auto;">
|
|
119
|
+
<button style="margin-right:5px;" v-if="this.$login.r.includes('加载过户资料')" class="button_search" @click="loaduser()" >
|
|
120
|
+
加载过户资料
|
|
121
|
+
</button>
|
|
122
|
+
<button class="button_clear" @click="accept()" v-if="config.hasAcceptance" :disabled='!$v.valid'>受理单</button>
|
|
123
|
+
<button class="button_search" @click="confirm()" :disabled='!$v.valid'>
|
|
124
|
+
确认
|
|
125
|
+
</button>
|
|
126
|
+
<button class="button_clear" @click="clear()" >
|
|
127
|
+
取消
|
|
128
|
+
</button>
|
|
129
|
+
</div>
|
|
130
|
+
<!--<upload :blodid="blodid" isremark="true" fusetype="过户"></upload>-->
|
|
131
|
+
<upload :blodid="blodid" v-if="config.showupload" isremark="true" fusetype="过户管理"></upload>
|
|
132
|
+
</validator>
|
|
133
|
+
</div>
|
|
134
|
+
<modal v-if="loaduserflag" :show.sync="loaduserflag" width="80%" title="过户资产信息" v-ref:modal large backdrop="false">
|
|
135
|
+
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
136
|
+
<tranfersel-list :f_filialeid.sync="f_filialeid"></tranfersel-list>
|
|
137
|
+
</article>
|
|
138
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
139
|
+
</footer>
|
|
140
|
+
</modal>
|
|
141
|
+
</div>
|
|
142
|
+
</template>
|
|
143
|
+
<script>
|
|
144
|
+
let transfersaveGen = async function (self) {
|
|
145
|
+
try {
|
|
146
|
+
let condition = `f_userinfo_id = '${self.row.f_userinfo_id}'`
|
|
147
|
+
let bank = await self.$SqlService.singleTable('t_infobank', condition)
|
|
148
|
+
self.setbank(bank)
|
|
149
|
+
let res = await self.$LogicService.changeAccount(self.transferdata)
|
|
150
|
+
if (self.config.hasPrint && !self.$login.r.includes('不打印发票')) {
|
|
151
|
+
if (self.model.f_print[0] != '电子发票') {
|
|
152
|
+
if (self.config.hasBillManage) {
|
|
153
|
+
self.row.id = res.data
|
|
154
|
+
self.row.f_bill_type = '过户'
|
|
155
|
+
self.row.f_bill_style = self.model.f_print[0]
|
|
156
|
+
self.print = true
|
|
157
|
+
} else {
|
|
158
|
+
self.row.id = res.data
|
|
159
|
+
self.print = true
|
|
160
|
+
}
|
|
161
|
+
} else if (self.model.f_print[0] === '国税发票') {
|
|
162
|
+
// TODO
|
|
163
|
+
self.$dispatch('success')
|
|
164
|
+
} else if (self.model.f_print[0] === '电子发票') {
|
|
165
|
+
// TODO
|
|
166
|
+
self.$dispatch('success')
|
|
167
|
+
}
|
|
168
|
+
} else {
|
|
169
|
+
self.$dispatch('success')
|
|
170
|
+
}
|
|
171
|
+
} catch (error) {
|
|
172
|
+
self.$showAlert(error, 'danger', 0)
|
|
173
|
+
self.$dispatch('refresh')
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
let asyncTransferManage = async function (self) {
|
|
178
|
+
await self.$getConfig(self, 'TransferManage')
|
|
179
|
+
console.log('过户config', self.config)
|
|
180
|
+
|
|
181
|
+
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
182
|
+
self.model.f_payment = [self.config.payment]
|
|
183
|
+
self.mulPrint = self.config.printType instanceof Array
|
|
184
|
+
|
|
185
|
+
// 获取当前票号用
|
|
186
|
+
self.model.f_use_type = self.config.billType
|
|
187
|
+
self.model.f_bill_type = self.model.f_print
|
|
188
|
+
self.hasValidateBill = self.config.hasBillManage
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export default {
|
|
192
|
+
title: '过户管理',
|
|
193
|
+
props: ['row'],
|
|
194
|
+
data () {
|
|
195
|
+
return {
|
|
196
|
+
config: {
|
|
197
|
+
showupload: true, // 默认显示上传附件
|
|
198
|
+
hasPrint: false, // 默认打票
|
|
199
|
+
hasAcceptance: false,
|
|
200
|
+
hasBillManage: false, // 默认不启用发票管理
|
|
201
|
+
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
202
|
+
payment: '现金缴费',
|
|
203
|
+
printType: '普通收据' // 收据/电子票/专用发票/国税发票
|
|
204
|
+
},
|
|
205
|
+
bankinfo: false,
|
|
206
|
+
numspan: false,
|
|
207
|
+
namespan: false,
|
|
208
|
+
phonespan: false,
|
|
209
|
+
model: {
|
|
210
|
+
f_print: [],
|
|
211
|
+
f_newcredentials: ['身份证'],
|
|
212
|
+
f_payment: [],
|
|
213
|
+
f_paymenttype: ['现金缴费'],
|
|
214
|
+
f_transfer_fees: this.$appdata.getSingleValue('过户费') ? this.$appdata.getSingleValue('过户费') : '',
|
|
215
|
+
// f_transfer_fees: '',
|
|
216
|
+
f_newbank_accopen: '',
|
|
217
|
+
f_newbank_name: ''
|
|
218
|
+
},
|
|
219
|
+
transferdata: {
|
|
220
|
+
userinfo: {}
|
|
221
|
+
},
|
|
222
|
+
print: false,
|
|
223
|
+
printData: {
|
|
224
|
+
username: '',
|
|
225
|
+
userphone: '',
|
|
226
|
+
credentials: '',
|
|
227
|
+
idnumber: ''
|
|
228
|
+
},
|
|
229
|
+
billData: {
|
|
230
|
+
url: 'rs/report/transfer_bill',
|
|
231
|
+
billnumber: ''
|
|
232
|
+
},
|
|
233
|
+
mulPrint: false,
|
|
234
|
+
|
|
235
|
+
// 启用发票管理需要对票号进行验证
|
|
236
|
+
hasValidateBill: false,
|
|
237
|
+
validateOk: false,
|
|
238
|
+
|
|
239
|
+
blodid: '', // 附件
|
|
240
|
+
|
|
241
|
+
acceptprint: false,
|
|
242
|
+
acceptUrl: '',
|
|
243
|
+
|
|
244
|
+
banknames: this.$appdata.getParam('银行名称'),
|
|
245
|
+
costtypes: this.$appdata.getParam('缴费类型'),
|
|
246
|
+
payments: this.$appdata.getParam('付款方式'),
|
|
247
|
+
printstyle: this.$appdata.getParam('打印格式'),
|
|
248
|
+
credentials: this.$appdata.getParam('证件类型'),
|
|
249
|
+
loaduserflag: false
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
ready () {
|
|
253
|
+
this.model.f_print = [this.config.printType]
|
|
254
|
+
this.blodid = this.row.f_userinfo_id
|
|
255
|
+
asyncTransferManage(this)
|
|
256
|
+
},
|
|
257
|
+
methods: {
|
|
258
|
+
// 加载过户资料
|
|
259
|
+
loaduser () {
|
|
260
|
+
this.loaduserflag = true
|
|
261
|
+
},
|
|
262
|
+
accept () {
|
|
263
|
+
// 打印受理单
|
|
264
|
+
this.printData.username = this.model.f_newuser_name ? `'${this.model.f_newuser_name}'` : '' + `'${this.model.f_newuser_name}'`
|
|
265
|
+
this.printData.userphone = this.model.f_newuser_phone ? `'${this.model.f_newuser_phone}'` : '' + `'${this.model.f_newuser_phone}'`
|
|
266
|
+
this.printData.credentials = this.model.f_newcredentials ? `'${this.model.f_newcredentials[0]}'` : '' + `'${this.model.f_newcredentials}'`
|
|
267
|
+
this.printData.idnumber = this.model.f_newidnumber ? `'${this.model.f_newidnumber}'` : '' + `'${this.model.f_newidnumber}'`
|
|
268
|
+
console.log('受累单中printData', this.printData)
|
|
269
|
+
this.acceptUrl = 'rs/report/acceptTransfer_bill'
|
|
270
|
+
this.acceptprint = true
|
|
271
|
+
},
|
|
272
|
+
closeAccept () {
|
|
273
|
+
this.acceptprint = false
|
|
274
|
+
},
|
|
275
|
+
// 用户更改信息
|
|
276
|
+
getuserinfo () {
|
|
277
|
+
return {
|
|
278
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
279
|
+
f_user_name: this.model.f_newuser_name,
|
|
280
|
+
f_credentials: this.model.f_newcredentials[0],
|
|
281
|
+
f_idnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
282
|
+
f_user_phone: this.model.f_newuser_phone ? this.model.f_newuser_phone : '',
|
|
283
|
+
f_rent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
284
|
+
f_contract_id: this.model.f_contract_id ? this.model.f_contract_id : '',
|
|
285
|
+
f_contractdate: this.model.f_contractdate ? this.model.f_contractdate : '',
|
|
286
|
+
f_cost_type: this.model.f_paymenttype[0],
|
|
287
|
+
version: this.row.userinfo_version,
|
|
288
|
+
infobank: {
|
|
289
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
290
|
+
f_bank_name: this.model.f_newbank_name[0],
|
|
291
|
+
f_bank_accopen: this.model.f_newbank_accopen,
|
|
292
|
+
f_bank_account: this.model.f_newbank_account,
|
|
293
|
+
f_bank_idnumber: this.model.f_bank_idnumber
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
changecost (val) {
|
|
298
|
+
if (val[0] === '银行代扣') {
|
|
299
|
+
this.bankinfo = true
|
|
300
|
+
} else {
|
|
301
|
+
this.bankinfo = false
|
|
302
|
+
}
|
|
303
|
+
this.$resetValidation()
|
|
304
|
+
},
|
|
305
|
+
validateBill (val) {
|
|
306
|
+
this.validateOk = val.isOk
|
|
307
|
+
this.billData.bill = val.bill
|
|
308
|
+
},
|
|
309
|
+
printok () {
|
|
310
|
+
this.$dispatch('success')
|
|
311
|
+
},
|
|
312
|
+
|
|
313
|
+
// 过户表及操作表信息
|
|
314
|
+
getOperateInfo () {
|
|
315
|
+
return {
|
|
316
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
317
|
+
record_userinfo: this.row.f_userinfo_id,
|
|
318
|
+
f_user_id: this.row.f_user_id,
|
|
319
|
+
f_serial_number: this.model.f_serial_number ? this.model.f_serial_number : '',
|
|
320
|
+
f_userfiles_id: this.row.f_userfiles_id ? this.row.f_userfiles_id : '',
|
|
321
|
+
f_user_name: this.row.f_user_name,
|
|
322
|
+
f_user_phone: this.row.f_user_phone ? this.row.f_user_phone : '',
|
|
323
|
+
f_idnumber: this.row.f_idnumber ? this.row.f_idnumber : '',
|
|
324
|
+
f_credentials: this.row.f_credentials ? this.row.f_credentials : '',
|
|
325
|
+
f_payment: this.model.f_payment[0] ? this.model.f_payment[0] : '',
|
|
326
|
+
f_bill_style: this.model.f_print[0] ? this.model.f_print[0] : '',
|
|
327
|
+
f_newuser_name: this.model.f_newuser_name,
|
|
328
|
+
f_newuser_phone: this.model.f_newuser_phone,
|
|
329
|
+
f_newrent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
330
|
+
f_newcredentials: this.model.f_newcredentials[0],
|
|
331
|
+
f_newidnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
332
|
+
f_bank_accopen: null,
|
|
333
|
+
f_bank_name: null,
|
|
334
|
+
f_bank_account: null,
|
|
335
|
+
f_newbank_accopen: this.model.f_newbank_accopen ? this.model.f_newbank_accopen : '',
|
|
336
|
+
f_newbank_name: this.model.f_newbank_name[0] ? this.model.f_newbank_name[0] : '',
|
|
337
|
+
f_newbank_account: this.model.f_newbank_account ? this.model.f_newbank_account : '',
|
|
338
|
+
f_bank_idnumber: this.row.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
339
|
+
f_newbank_idnumber: this.model.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
340
|
+
f_transfer_fees: this.model.f_transfer_fees ? this.model.f_transfer_fees : 0,
|
|
341
|
+
f_comments: this.model.f_comments ? this.model.f_comments : '',
|
|
342
|
+
f_operat_type: '过户',
|
|
343
|
+
f_describe: this.$login.f.name + '对用户' + this.row.f_user_name + '进行过户',
|
|
344
|
+
f_state: '有效',
|
|
345
|
+
f_operator: this.$login.f.name,
|
|
346
|
+
f_operatorid: this.$login.f.id,
|
|
347
|
+
f_orgid: this.$login.f.orgid,
|
|
348
|
+
f_orgname: this.$login.f.orgs,
|
|
349
|
+
f_depid: this.$login.f.depids,
|
|
350
|
+
f_depname: this.$login.f.deps,
|
|
351
|
+
f_zoneid: this.$login.f.zoneid ? this.$login.f.zoneid : '',
|
|
352
|
+
f_zones: this.$login.f.zones ? this.$login.f.zones : '',
|
|
353
|
+
deletebank: false
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
// 银行信息的设置
|
|
357
|
+
setbank (bank) {
|
|
358
|
+
if (!bank.data[0]) {
|
|
359
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
360
|
+
delete this.transferdata.userinfo.infobank
|
|
361
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
362
|
+
delete this.transferdata.userinfo.infobank.f_userinfo_id
|
|
363
|
+
}
|
|
364
|
+
} else {
|
|
365
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
366
|
+
this.transferdata.deletebank = true
|
|
367
|
+
delete this.transferdata.userinfo.infobank
|
|
368
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
369
|
+
this.transferdata.f_bank_name = bank.data[0].f_bank_name
|
|
370
|
+
this.transferdata.f_bank_accopen = bank.data[0].f_bank_accopen
|
|
371
|
+
this.transferdata.f_bank_account = bank.data[0].f_bank_account
|
|
372
|
+
this.transferdata.f_bank_idnumber = bank.data[0].f_bank_idnumber
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
confirm () {
|
|
377
|
+
this.transferdata = Object.assign({}, this.getOperateInfo())
|
|
378
|
+
this.newbankname()
|
|
379
|
+
this.transferdata.userinfo = Object.assign({}, this.getuserinfo())
|
|
380
|
+
console.log('过户保存', this.transferdata)
|
|
381
|
+
transfersaveGen(this)
|
|
382
|
+
},
|
|
383
|
+
clear () {
|
|
384
|
+
this.$dispatch('refresh')
|
|
385
|
+
},
|
|
386
|
+
close () {
|
|
387
|
+
this.print = false
|
|
388
|
+
this.clear()
|
|
389
|
+
},
|
|
390
|
+
newbankname () {
|
|
391
|
+
if (this.model.f_paymenttype[0] !== '银行代扣') {
|
|
392
|
+
this.model.f_newbank_accopen = null
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
events: {
|
|
397
|
+
'confirmuserfiles' (val) {
|
|
398
|
+
if (val) {
|
|
399
|
+
if (val.buyername != null) this.$set('model.f_newuser_name', val.buyername)
|
|
400
|
+
if (val.buyerphone != null) this.$set('model.f_newuser_phone', val.buyerphone)
|
|
401
|
+
if (val.buyercardno != null) this.$set('model.f_newidnumber', val.buyercardno)
|
|
402
|
+
this.loaduserflag = false
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
</script>
|
|
408
|
+
|
|
409
|
+
<style scoped>
|
|
410
|
+
#label{
|
|
411
|
+
margin-top: 5px;
|
|
412
|
+
}
|
|
413
|
+
</style>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div style="height: auto;width: 100%">
|
|
20
|
-
<file-user-meter-info :meterinfo.sync="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo" :overdueset="overdueset" :curuser="row" :flag="
|
|
20
|
+
<file-user-meter-info :meterinfo.sync="data.meterinfo" :f_filialeid="f_filialeid" :metervalid.sync="meterInfo" :overdueset="overdueset" :curuser="row" :flag="2"
|
|
21
21
|
:f_userinfo_id="data.baseinfo.base.f_userinfo_id" :addressinfo="data.addressinfo" :baseinfo.sync="data.baseinfo.base" v-ref:meter></file-user-meter-info>
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -35,4 +35,6 @@ export default function () {
|
|
|
35
35
|
Vue.component('user-list', (resolve) => { require(['./UserList'], resolve) })
|
|
36
36
|
// 收费列表管理
|
|
37
37
|
Vue.component('charge-list', (resolve) => { require(['./ChargeList'], resolve) })
|
|
38
|
+
// 过户
|
|
39
|
+
Vue.component('transfer-manage', (resolve) => { require(['./TransferManage'], resolve) })
|
|
38
40
|
}
|