sale-client 3.6.151 → 3.6.152
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/package.json +1 -1
- package/src/components/revenue/base/leftview/SafeCheck.vue +5 -5
- package/src/filiale/gehua/PriceAdjustmentManage.vue +54 -0
- package/src/filiale/gehua/sale.js +1 -0
- package/src/filiale/yuncheng/HighMeterCard.vue +26 -26
- package/src/filiale/yuncheng/TransferManage.vue +435 -0
- package/src/filiale/yuncheng/sale.js +3 -0
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<span class="col-sm-6">{{model.hasCookTool == 0 ? '无': '有'}}</span>
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
|
-
<table class="table table-striped table-bordered" v-if="model.f_entry_status=='到访不遇' && model.datasource =='newos'">
|
|
44
|
+
<table class="table table-striped table-bordered" v-if="(model.f_entry_status=='到访不遇' || model.f_entry_status=='拒检') && model.datasource =='newos'">
|
|
45
45
|
<thead>
|
|
46
46
|
<tr> <th colspan="4" style="text-align: center;background-color: #8cbce2;">用户安检概况</th></tr>
|
|
47
47
|
</thead>
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
<td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_offsite_time }}</td>
|
|
62
62
|
</tr>
|
|
63
63
|
<tr>
|
|
64
|
-
<td :style="{color: (model.f_entry_status==='到访不遇'||model.f_entry_status==='拒绝入户') ? 'brown' : ''}" style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
|
|
65
|
-
<td :style="{color: (model.f_entry_status==='到访不遇'||model.f_entry_status==='拒绝入户') ? 'brown' : ''}" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_entry_status }}</td>
|
|
64
|
+
<td :style="{color: (model.f_entry_status==='到访不遇'||model.f_entry_status==='拒绝入户'||model.f_entry_status==='拒检') ? 'brown' : ''}" style="text-align: center;border: #E9E9E9 solid 1px;width: 17%">入户状态:</td>
|
|
65
|
+
<td :style="{color: (model.f_entry_status==='到访不遇'||model.f_entry_status==='拒绝入户'||model.f_entry_status==='拒检') ? 'brown' : ''}" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_entry_status }}</td>
|
|
66
66
|
</tr>
|
|
67
67
|
</tbody>
|
|
68
68
|
</table>
|
|
69
|
-
<table class="table table-striped table-bordered" v-if="model.f_entry_status=='到访不遇'
|
|
69
|
+
<table class="table table-striped table-bordered" v-if="(model.f_entry_status=='到访不遇' || model.f_entry_status=='拒检') && model.datasource =='newos'">
|
|
70
70
|
<thead>
|
|
71
|
-
<tr> <th colspan="4" style="text-align: center;background-color: #8cbce2;"
|
|
71
|
+
<tr> <th colspan="4" style="text-align: center;background-color: #8cbce2;">{{ model.f_entry_status }}图片</th></tr>
|
|
72
72
|
</thead>
|
|
73
73
|
<tbody> <tr>
|
|
74
74
|
<td style="margin: auto;text-align: center">
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <div v-if="listpage">-->
|
|
3
|
+
<tab-button v-ref:list>
|
|
4
|
+
<tabs header="物联网表调价补差">
|
|
5
|
+
<new-price-adjustment-webmeter @deal-msg="dealMsg"></new-price-adjustment-webmeter>
|
|
6
|
+
</tabs>
|
|
7
|
+
<tabs header="机表调价补差">
|
|
8
|
+
<new-price-adjustment @deal-msg="dealMsg"></new-price-adjustment>
|
|
9
|
+
</tabs>
|
|
10
|
+
<tabs header="卡表调价补差">
|
|
11
|
+
<new-price-adjustment-sell @deal-msg="dealMsg"></new-price-adjustment-sell>
|
|
12
|
+
</tabs>
|
|
13
|
+
</tab-button>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
import TabButton from '../../components/revenue/comprehen/SpecialUser/common/TabButton'
|
|
18
|
+
import Tabs from '../../components/revenue/comprehen/SpecialUser/common/Tabs'
|
|
19
|
+
|
|
20
|
+
export default {
|
|
21
|
+
name: 'PriceAdjustmentManage',
|
|
22
|
+
title: '调价补差管理',
|
|
23
|
+
data () {
|
|
24
|
+
return {// 页面开关
|
|
25
|
+
f_start_date: '',
|
|
26
|
+
f_end_date: '',
|
|
27
|
+
listpage: true,
|
|
28
|
+
width: {
|
|
29
|
+
left: '100%',
|
|
30
|
+
right: '0%'
|
|
31
|
+
},
|
|
32
|
+
// searchNumber:'',
|
|
33
|
+
rowData: {},
|
|
34
|
+
show: [true]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
components: {Tabs, TabButton},
|
|
38
|
+
ready () {
|
|
39
|
+
console.log(this.$refs.list)
|
|
40
|
+
console.log('业务查询')
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
cancel (obj) {
|
|
44
|
+
this.listpage = true
|
|
45
|
+
},
|
|
46
|
+
dealMsg (obj) {
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
<style scoped>
|
|
53
|
+
|
|
54
|
+
</style>
|
|
@@ -108,4 +108,5 @@ export default function () {
|
|
|
108
108
|
Vue.component('new-price-adjustment', (resolve) => { require(['./NewPriceAdjustment'], resolve) })
|
|
109
109
|
Vue.component('new-price-adjustment-sell', (resolve) => { require(['./NewPriceAdjustmentSell'], resolve) })
|
|
110
110
|
Vue.component('new-price-adjustment-webmeter', (resolve) => { require(['./NewPriceAdjustmentWebmeter'], resolve) })
|
|
111
|
+
Vue.component('new-price-adjustment-manage', (resolve) => { require(['./PriceAdjustmentManage'], resolve) })
|
|
111
112
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<modal :show.sync="show" v-ref:modal backdrop="false" width="
|
|
2
|
+
<modal :show.sync="show" v-ref:modal backdrop="false" width="720px" style="height:auto">
|
|
3
3
|
<header slot="modal-header">
|
|
4
4
|
<div class="header">
|
|
5
5
|
<span class="glyphicon glyphicon-remove-circle close" style="margin-top: 35px;margin-right: 30px" @click="close"></span>
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
<button class="btn btn-info" @click="cam_switch(2)">打开视频2</button>
|
|
16
16
|
<button class="btn btn-info" @click="CloseVideo()">关闭视频</button>
|
|
17
17
|
<button class="btn btn-info" @click="openApp()">开启程序</button>
|
|
18
|
-
<div style="display: inline-block;margin-left: 570px"
|
|
19
|
-
<strong class="operation">读取身份证:</strong
|
|
20
|
-
<button class="btn btn-info readIDCard" @click=Begin()>读身份证</button
|
|
21
|
-
<button class="btn btn-default stop" @click=Stop()>停止读卡</button
|
|
22
|
-
</div
|
|
18
|
+
<!-- <div style="display: inline-block;margin-left: 570px">-->
|
|
19
|
+
<!-- <strong class="operation">读取身份证:</strong>-->
|
|
20
|
+
<!-- <button class="btn btn-info readIDCard" @click=Begin()>读身份证</button>-->
|
|
21
|
+
<!-- <button class="btn btn-default stop" @click=Stop()>停止读卡</button>-->
|
|
22
|
+
<!-- </div>-->
|
|
23
23
|
</div>
|
|
24
24
|
<div class="showInfo">
|
|
25
25
|
<IMG ID="Base64IMG" src="" class="img"></IMG>
|
|
@@ -28,25 +28,25 @@
|
|
|
28
28
|
<IMG id="cam" :src="cameraurl" width="640" height="640">
|
|
29
29
|
</IMG>
|
|
30
30
|
</div>
|
|
31
|
-
<div class="IdCard"
|
|
32
|
-
<div class="auto IdInputDiv" style="margin-top: 20px"><strong class="IdHint">姓  名</strong><input size=49 id="Name" class="IdInput"></div
|
|
33
|
-
<div class="auto IdInputDiv" ><strong class="IdHint">性  别</strong><input type="text" size=49 id="Sex" class="IdInput"></div
|
|
34
|
-
<div class="auto IdInputDiv" ><strong class="IdHint">民  族</strong><input type="text" size=49 id="Nation" class="IdInput"></div
|
|
35
|
-
<div class="auto IdInputDiv"><strong class="IdHint">出  生</strong><input type="text" size=49 id="Born" class="IdInput"></div
|
|
36
|
-
<div class="auto IdInputDiv"><strong class="IdHint">地  址</strong><input type="text" size=49 id="Address" class="IdInput"></div
|
|
37
|
-
<div class="auto IdInputDiv"><strong class="IdHint">身份证号</strong><input type="text" size=49 id="CardNo" class="IdInput"></div
|
|
38
|
-
<div class="auto IdInputDiv"><strong class="IdHint">签发机关</strong><input type="text" size=49 id="Police" class="IdInput"></div
|
|
39
|
-
<div class="auto IdInputDiv"><strong class="IdHint">期限起始</strong><input type="text" size=49 id="ActivityLFrom" class="IdInput"></div
|
|
40
|
-
<div class="auto IdInputDiv"><strong class="IdHint">期限失效</strong><input type="text" size=49 id="ActivityLTo" class="IdInput"></div
|
|
41
|
-
|
|
42
|
-
<div class="auto IdInputDiv" style="float: left"><strong class="IdHint">照片编码</strong><TEXTAREA id="PhotoBuffer"style="width: 400px;height: 92px"></TEXTAREA
|
|
43
|
-
</div
|
|
44
|
-
<div class="auto IdInputDiv" style="float: left"><strong class="IdHint">照  片</strong><IMG style="width: 130px; height:169px" id=PhotoDisplay
|
|
45
|
-
</div
|
|
46
|
-
<div class="auto IdInputDiv" style="padding-top:45%;padding-left:35%"
|
|
47
|
-
<button class="btn btn-info" style="width: max-content" @click="confirmIdCard">确定</button
|
|
48
|
-
</div
|
|
49
|
-
</div
|
|
31
|
+
<!-- <div class="IdCard">-->
|
|
32
|
+
<!-- <div class="auto IdInputDiv" style="margin-top: 20px"><strong class="IdHint">姓  名</strong><input size=49 id="Name" class="IdInput"></div>-->
|
|
33
|
+
<!-- <div class="auto IdInputDiv" ><strong class="IdHint">性  别</strong><input type="text" size=49 id="Sex" class="IdInput"></div>-->
|
|
34
|
+
<!-- <div class="auto IdInputDiv" ><strong class="IdHint">民  族</strong><input type="text" size=49 id="Nation" class="IdInput"></div>-->
|
|
35
|
+
<!-- <div class="auto IdInputDiv"><strong class="IdHint">出  生</strong><input type="text" size=49 id="Born" class="IdInput"></div>-->
|
|
36
|
+
<!-- <div class="auto IdInputDiv"><strong class="IdHint">地  址</strong><input type="text" size=49 id="Address" class="IdInput"></div>-->
|
|
37
|
+
<!-- <div class="auto IdInputDiv"><strong class="IdHint">身份证号</strong><input type="text" size=49 id="CardNo" class="IdInput"></div>-->
|
|
38
|
+
<!-- <div class="auto IdInputDiv"><strong class="IdHint">签发机关</strong><input type="text" size=49 id="Police" class="IdInput"></div>-->
|
|
39
|
+
<!-- <div class="auto IdInputDiv"><strong class="IdHint">期限起始</strong><input type="text" size=49 id="ActivityLFrom" class="IdInput"></div>-->
|
|
40
|
+
<!-- <div class="auto IdInputDiv"><strong class="IdHint">期限失效</strong><input type="text" size=49 id="ActivityLTo" class="IdInput"></div>-->
|
|
41
|
+
<!--<!– <div class="auto IdInputDiv"><strong class="IdHint">设 备ID</strong><input type="text" size=49 id="DeviceNo" class="IdInput"></div>–>-->
|
|
42
|
+
<!-- <div class="auto IdInputDiv" style="float: left"><strong class="IdHint">照片编码</strong><TEXTAREA id="PhotoBuffer"style="width: 400px;height: 92px"></TEXTAREA>-->
|
|
43
|
+
<!-- </div>-->
|
|
44
|
+
<!-- <div class="auto IdInputDiv" style="float: left"><strong class="IdHint">照  片</strong><IMG style="width: 130px; height:169px" id=PhotoDisplay />-->
|
|
45
|
+
<!-- </div>-->
|
|
46
|
+
<!-- <div class="auto IdInputDiv" style="padding-top:45%;padding-left:35%">-->
|
|
47
|
+
<!-- <button class="btn btn-info" style="width: max-content" @click="confirmIdCard">确定</button>-->
|
|
48
|
+
<!-- </div>-->
|
|
49
|
+
<!-- </div>-->
|
|
50
50
|
<!--<div style="display: inline-block;margin-top: 5px;margin-left: 5px;height: 640px;float: left;">-->
|
|
51
51
|
<!--<IMG id="IMG3" src="" style="width:300px;height:160px;display: block">-->
|
|
52
52
|
<!--<button class="btn btn-success" @click="DelPDF3()">删除图片</button>-->
|
|
@@ -960,7 +960,7 @@ export default {
|
|
|
960
960
|
font-size:36px;
|
|
961
961
|
color: #666666;
|
|
962
962
|
margin-top: 32px;
|
|
963
|
-
margin-left:
|
|
963
|
+
margin-left: 300px;
|
|
964
964
|
margin-bottom: 0px;
|
|
965
965
|
}
|
|
966
966
|
.operation{
|
|
@@ -0,0 +1,435 @@
|
|
|
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_credentials" id="label" class="font_normal_body"> 证件类型</label>
|
|
28
|
+
<v-select :value.sync="model.f_newcredentials"
|
|
29
|
+
:options='credentials' placeholder='证件类型'
|
|
30
|
+
close-on-select></v-select>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-sm-8" :class="[$v.f_newidnumber.identityCardValid ? 'has-error' : '']" v-if="model.f_newcredentials[0] === '身份证'">
|
|
33
|
+
<label id="label" class="font_normal_body">*证件号码</label>
|
|
34
|
+
<input type="text" v-model="model.f_newidnumber" v-validate:f_newidnumber='{identityCardValid: true}' class="input_search" style="width:80%" placeholder="新身份证号">
|
|
35
|
+
</div>
|
|
36
|
+
<div class="col-sm-8" v-if="model.f_newcredentials[0] !== '身份证'">
|
|
37
|
+
<label class="font_normal_body"> 证件号码</label>
|
|
38
|
+
<input type="text" v-model="model.f_newidnumber" class="input_search" style="width:80%" placeholder="新证件号" >
|
|
39
|
+
</div>
|
|
40
|
+
<div class="col-sm-4">
|
|
41
|
+
<label id="label" for="f_print" class="font_normal_body"> 打印格式</label>
|
|
42
|
+
<v-select id="print"
|
|
43
|
+
v-model="f_print"
|
|
44
|
+
placeholder='请选择'
|
|
45
|
+
:value.sync="model.f_print"
|
|
46
|
+
:options='printstyle'
|
|
47
|
+
close-on-select clear-button></v-select>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="col-sm-8">
|
|
50
|
+
<label for="f_contract" class="font_normal_body">*合同编号</label>
|
|
51
|
+
<input type="text" v-model="model.f_contract_id" class="input_search" style="width:80%"
|
|
52
|
+
placeholder="合同编号">
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="row" style="margin-top:10px;">
|
|
56
|
+
<div class="col-sm-4">
|
|
57
|
+
<label id="label" for="f_transfer_fees" class="font_normal_body" title="单值管理:过户费"> 过 户 费</label>
|
|
58
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_transfer_fees" placeholder="过户费"
|
|
59
|
+
v-next-el='accopen' v-el:fees >
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-4">
|
|
62
|
+
<label id="label" for="f_paymenttype" class="font_normal_body"> 付款方式</label>
|
|
63
|
+
<input type="text" v-show="false" v-model="$refs.payment.selectedItems">
|
|
64
|
+
<v-select :value.sync="model.f_payment"
|
|
65
|
+
v-model="model.f_payment"
|
|
66
|
+
:options='payments' placeholder='付款方式'
|
|
67
|
+
v-ref:payment
|
|
68
|
+
close-on-select></v-select>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="row" style="margin-top:10px;" v-if = "bankinfo">
|
|
72
|
+
<div class="col-sm-4">
|
|
73
|
+
<label id="label" for="f_newbank_accopen" class=" font_normal_body">新银行开户名:</label>
|
|
74
|
+
<input class="input_search" style="width:60%" type="text" title="新银行开户名" v-model="model.f_newbank_accopen"
|
|
75
|
+
placeholder="新银行开户名" v-next-el='newbank' v-el:accopen>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="col-sm-8" :class="[$v.f_bank_idnumber.identityCardValid ? 'has-error' : 'has-success']">
|
|
78
|
+
<label for="f_bank_idnumber" class=" font_normal_body" >新开户身份证号</label>
|
|
79
|
+
<input class="input_search" style="width:60%" type="text" title="新开户身份证号" v-model="model.f_bank_idnumber"
|
|
80
|
+
v-validate:f_bank_idnumber='{identityCardValid: true }' placeholder="新开户身份证号">
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
</div>
|
|
84
|
+
<div class="row" style="margin-top:10px;" v-if = "bankinfo">
|
|
85
|
+
<div class="col-sm-4">
|
|
86
|
+
<label id="label" for="f_newbank_name" class="font_normal_body">新银行名</label>
|
|
87
|
+
<v-select :value.sync="model.f_newbank_name"
|
|
88
|
+
:options='banknames' placeholder='新银行开户名'
|
|
89
|
+
close-on-select></v-select>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-8">
|
|
92
|
+
<label id="label" for="f_newbank_account" class="font_normal_body">新银行账号</label>
|
|
93
|
+
<input class="input_search" style="width:60%" type="text" title="新银行账号" v-model="model.f_newbank_account"
|
|
94
|
+
placeholder="新银行账号" v-el:account>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="row" style="margin-top:10px;">
|
|
98
|
+
|
|
99
|
+
<div class="col-sm-12">
|
|
100
|
+
<label id="label" for="f_comments" class="font_normal_body"> 备  注</label>
|
|
101
|
+
<input class="input_search" style="width:87%" v-model="model.f_comments"
|
|
102
|
+
placeholder="备注"/>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</form>
|
|
106
|
+
<accept-bill :show="acceptprint" :bill-url='acceptUrl' v-on:toggle="close" :data='row' :billdata="printData" @closeaccept="closeAccept" v-ref:acceptbill></accept-bill>
|
|
107
|
+
<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
|
|
108
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="close" @printok="printok" :data='row' v-ref:printbill ></print-bill>
|
|
109
|
+
<div style="text-align:right;height:auto;">
|
|
110
|
+
<button style="margin-right:5px;" v-if="this.$login.r.includes('加载过户资料')" class="button_search" @click="loaduser()" >
|
|
111
|
+
加载过户资料
|
|
112
|
+
</button>
|
|
113
|
+
<button class="button_clear" @click="accept()" v-if="config.hasAcceptance" :disabled='!$v.valid'>受理单</button>
|
|
114
|
+
<button class="button_search" @click="confirm()" :disabled='!$v.valid'>
|
|
115
|
+
确认
|
|
116
|
+
</button>
|
|
117
|
+
<button class="button_clear" @click="clear()" >
|
|
118
|
+
取消
|
|
119
|
+
</button>
|
|
120
|
+
</div>
|
|
121
|
+
<!--<upload :blodid="blodid" isremark="true" fusetype="过户"></upload>-->
|
|
122
|
+
<upload :blodid="blodid" v-if="config.showupload" :businessid="randomBusinessId" isremark="true" fusetype="过户管理"></upload>
|
|
123
|
+
</validator>
|
|
124
|
+
</div>
|
|
125
|
+
<modal v-if="loaduserflag" :show.sync="loaduserflag" width="80%" title="过户资产信息" v-ref:modal large backdrop="false">
|
|
126
|
+
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
127
|
+
<tranfersel-list :f_filialeid.sync="f_filialeid"></tranfersel-list>
|
|
128
|
+
</article>
|
|
129
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
130
|
+
</footer>
|
|
131
|
+
</modal>
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
<script>
|
|
135
|
+
let transfersaveGen = async function (self) {
|
|
136
|
+
try {
|
|
137
|
+
let condition = `f_userinfo_id = '${self.row.f_userinfo_id}'`
|
|
138
|
+
let bank = await self.$SqlService.singleTable('t_infobank', condition)
|
|
139
|
+
self.setbank(bank)
|
|
140
|
+
let res = await self.$LogicService.changeAccount(self.transferdata)
|
|
141
|
+
console.log('过户返回=====>', res)
|
|
142
|
+
if (self.config.showupload) {
|
|
143
|
+
let param = []
|
|
144
|
+
for (let row of self.resid) {
|
|
145
|
+
param.push({id: row.id})
|
|
146
|
+
}
|
|
147
|
+
let data = {
|
|
148
|
+
param: param,
|
|
149
|
+
f_blobid: res.data
|
|
150
|
+
}
|
|
151
|
+
await self.$resetpost('rs/logic/updatefiles', data)
|
|
152
|
+
}
|
|
153
|
+
if (self.config.hasPrint && !self.$login.r.includes('不打印发票')) {
|
|
154
|
+
if (self.model.f_print[0] != '电子发票') {
|
|
155
|
+
if (self.config.hasBillManage) {
|
|
156
|
+
self.row.id = res.data
|
|
157
|
+
self.row.f_bill_type = '过户'
|
|
158
|
+
self.row.f_bill_style = self.model.f_print[0]
|
|
159
|
+
self.print = true
|
|
160
|
+
} else {
|
|
161
|
+
self.row.id = res.data
|
|
162
|
+
self.print = true
|
|
163
|
+
}
|
|
164
|
+
} else if (self.model.f_print[0] === '国税发票') {
|
|
165
|
+
// TODO
|
|
166
|
+
self.$dispatch('success')
|
|
167
|
+
} else if (self.model.f_print[0] === '电子发票') {
|
|
168
|
+
// TODO
|
|
169
|
+
self.$dispatch('success')
|
|
170
|
+
}
|
|
171
|
+
} else {
|
|
172
|
+
self.$dispatch('success')
|
|
173
|
+
}
|
|
174
|
+
} catch (error) {
|
|
175
|
+
self.$showAlert(error, 'danger', 0)
|
|
176
|
+
self.$dispatch('refresh')
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
let asyncTransferManage = async function (self) {
|
|
181
|
+
await self.$getConfig(self, 'TransferManage')
|
|
182
|
+
console.log('过户config', self.config)
|
|
183
|
+
|
|
184
|
+
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
185
|
+
self.model.f_payment = [self.config.payment]
|
|
186
|
+
self.mulPrint = self.config.printType instanceof Array
|
|
187
|
+
|
|
188
|
+
// 获取当前票号用
|
|
189
|
+
self.model.f_use_type = self.config.billType
|
|
190
|
+
self.model.f_bill_type = self.model.f_print
|
|
191
|
+
self.hasValidateBill = self.config.hasBillManage
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export default {
|
|
195
|
+
title: '过户管理',
|
|
196
|
+
props: ['row'],
|
|
197
|
+
data () {
|
|
198
|
+
return {
|
|
199
|
+
config: {
|
|
200
|
+
showupload:true, //默认显示上传附件
|
|
201
|
+
hasPrint: false, // 默认打票
|
|
202
|
+
hasAcceptance: false,
|
|
203
|
+
hasBillManage: false, // 默认不启用发票管理
|
|
204
|
+
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
205
|
+
payment: '现金缴费',
|
|
206
|
+
printType: '普通收据' // 收据/电子票/专用发票/国税发票
|
|
207
|
+
},
|
|
208
|
+
bankinfo: false,
|
|
209
|
+
numspan: false,
|
|
210
|
+
namespan: false,
|
|
211
|
+
phonespan: false,
|
|
212
|
+
randomBusinessId: '',
|
|
213
|
+
resid: [], // 存放新增的f_files表中id
|
|
214
|
+
model: {
|
|
215
|
+
f_print: [],
|
|
216
|
+
f_newcredentials: ['身份证'],
|
|
217
|
+
f_payment: [],
|
|
218
|
+
f_paymenttype: ['现金缴费'],
|
|
219
|
+
f_transfer_fees: this.$appdata.getSingleValue('过户费') ? this.$appdata.getSingleValue('过户费') : '',
|
|
220
|
+
// f_transfer_fees: '',
|
|
221
|
+
f_newbank_accopen: '',
|
|
222
|
+
f_newbank_name: ''
|
|
223
|
+
},
|
|
224
|
+
transferdata: {
|
|
225
|
+
userinfo: {}
|
|
226
|
+
},
|
|
227
|
+
print: false,
|
|
228
|
+
printData: {
|
|
229
|
+
username: '',
|
|
230
|
+
userphone: '',
|
|
231
|
+
credentials: '',
|
|
232
|
+
idnumber: ''
|
|
233
|
+
},
|
|
234
|
+
billData: {
|
|
235
|
+
url: 'rs/report/transfer_bill',
|
|
236
|
+
billnumber: ''
|
|
237
|
+
},
|
|
238
|
+
mulPrint: false,
|
|
239
|
+
|
|
240
|
+
// 启用发票管理需要对票号进行验证
|
|
241
|
+
hasValidateBill: false,
|
|
242
|
+
validateOk: false,
|
|
243
|
+
|
|
244
|
+
blodid: '', // 附件
|
|
245
|
+
|
|
246
|
+
acceptprint: false,
|
|
247
|
+
acceptUrl: '',
|
|
248
|
+
|
|
249
|
+
banknames: this.$appdata.getParam('银行名称'),
|
|
250
|
+
costtypes: this.$appdata.getParam('缴费类型'),
|
|
251
|
+
payments: this.$appdata.getParam('付款方式'),
|
|
252
|
+
printstyle: this.$appdata.getParam('打印格式'),
|
|
253
|
+
credentials: this.$appdata.getParam('证件类型'),
|
|
254
|
+
loaduserflag :false,
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
ready () {
|
|
258
|
+
this.model.f_print = [this.config.printType]
|
|
259
|
+
this.blodid = this.row.f_userinfo_id
|
|
260
|
+
asyncTransferManage(this)
|
|
261
|
+
this.getRandomId()
|
|
262
|
+
},
|
|
263
|
+
|
|
264
|
+
methods: {
|
|
265
|
+
getRandomId () {
|
|
266
|
+
this.randomBusinessId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
267
|
+
let res = Math.random() * 16 | 0
|
|
268
|
+
let v = c == 'x' ? res : (res & 0x3 | 0x8)
|
|
269
|
+
return v.toString(16)
|
|
270
|
+
})
|
|
271
|
+
},
|
|
272
|
+
//加载过户资料
|
|
273
|
+
loaduser(){
|
|
274
|
+
this.loaduserflag =true;
|
|
275
|
+
},
|
|
276
|
+
accept () {
|
|
277
|
+
// 打印受理单
|
|
278
|
+
this.printData.username = this.model.f_newuser_name ? `'${this.model.f_newuser_name}'` : '' + `'${this.model.f_newuser_name}'`
|
|
279
|
+
this.printData.userphone = this.model.f_newuser_phone ? `'${this.model.f_newuser_phone}'` : '' + `'${this.model.f_newuser_phone}'`
|
|
280
|
+
this.printData.credentials = this.model.f_newcredentials ? `'${this.model.f_newcredentials[0]}'` : '' + `'${this.model.f_newcredentials}'`
|
|
281
|
+
this.printData.idnumber = this.model.f_newidnumber ? `'${this.model.f_newidnumber}'` : '' + `'${this.model.f_newidnumber}'`
|
|
282
|
+
console.log('受累单中printData', this.printData)
|
|
283
|
+
this.acceptUrl = 'rs/report/acceptTransfer_bill'
|
|
284
|
+
this.acceptprint = true
|
|
285
|
+
},
|
|
286
|
+
closeAccept () {
|
|
287
|
+
this.acceptprint = false
|
|
288
|
+
},
|
|
289
|
+
// 用户更改信息
|
|
290
|
+
getuserinfo () {
|
|
291
|
+
return {
|
|
292
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
293
|
+
f_user_name: this.model.f_newuser_name,
|
|
294
|
+
f_credentials: this.model.f_newcredentials[0],
|
|
295
|
+
f_idnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
296
|
+
f_user_phone: this.model.f_newuser_phone ? this.model.f_newuser_phone : '',
|
|
297
|
+
f_rent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
298
|
+
f_contract_id: this.model.f_contract_id ? this.model.f_contract_id : '',
|
|
299
|
+
f_cost_type: this.model.f_paymenttype[0],
|
|
300
|
+
version: this.row.userinfo_version,
|
|
301
|
+
infobank: {
|
|
302
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
303
|
+
f_bank_name: this.model.f_newbank_name[0],
|
|
304
|
+
f_bank_accopen: this.model.f_newbank_accopen,
|
|
305
|
+
f_bank_account: this.model.f_newbank_account,
|
|
306
|
+
f_bank_idnumber: this.model.f_bank_idnumber
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
changecost (val) {
|
|
311
|
+
if (val[0] === '银行代扣') {
|
|
312
|
+
this.bankinfo = true
|
|
313
|
+
} else {
|
|
314
|
+
this.bankinfo = false
|
|
315
|
+
}
|
|
316
|
+
this.$resetValidation()
|
|
317
|
+
},
|
|
318
|
+
validateBill (val) {
|
|
319
|
+
this.validateOk = val.isOk
|
|
320
|
+
this.billData.bill = val.bill
|
|
321
|
+
},
|
|
322
|
+
printok () {
|
|
323
|
+
this.$dispatch('success')
|
|
324
|
+
},
|
|
325
|
+
|
|
326
|
+
// 过户表及操作表信息
|
|
327
|
+
getOperateInfo () {
|
|
328
|
+
return {
|
|
329
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
330
|
+
record_userinfo: this.row.f_userinfo_id,
|
|
331
|
+
f_user_id: this.row.f_user_id,
|
|
332
|
+
f_serial_number: this.model.f_serial_number ? this.model.f_serial_number : '',
|
|
333
|
+
f_userfiles_id: this.row.f_userfiles_id ? this.row.f_userfiles_id : '',
|
|
334
|
+
f_user_name: this.row.f_user_name,
|
|
335
|
+
f_user_phone: this.row.f_user_phone ? this.row.f_user_phone : '',
|
|
336
|
+
f_idnumber: this.row.f_idnumber ? this.row.f_idnumber : '',
|
|
337
|
+
f_credentials: this.row.f_credentials ? this.row.f_credentials : '',
|
|
338
|
+
f_payment: this.model.f_payment[0] ? this.model.f_payment[0] : '',
|
|
339
|
+
f_bill_style: this.model.f_print[0] ? this.model.f_print[0] : '',
|
|
340
|
+
f_newuser_name: this.model.f_newuser_name,
|
|
341
|
+
f_newuser_phone: this.model.f_newuser_phone,
|
|
342
|
+
f_newrent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
343
|
+
f_newcredentials: this.model.f_newcredentials[0],
|
|
344
|
+
f_newidnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
345
|
+
f_bank_accopen: null,
|
|
346
|
+
f_bank_name: null,
|
|
347
|
+
f_bank_account: null,
|
|
348
|
+
f_newbank_accopen: this.model.f_newbank_accopen ? this.model.f_newbank_accopen : '',
|
|
349
|
+
f_newbank_name: this.model.f_newbank_name[0] ? this.model.f_newbank_name[0] : '',
|
|
350
|
+
f_newbank_account: this.model.f_newbank_account ? this.model.f_newbank_account : '',
|
|
351
|
+
f_bank_idnumber: this.row.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
352
|
+
f_newbank_idnumber: this.model.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
353
|
+
f_transfer_fees: this.model.f_transfer_fees ? this.model.f_transfer_fees : 0,
|
|
354
|
+
f_comments: this.model.f_comments ? this.model.f_comments : '',
|
|
355
|
+
f_operat_type: '过户',
|
|
356
|
+
f_describe: this.$login.f.name + '对用户' + this.row.f_user_name + '进行过户',
|
|
357
|
+
f_state: '有效',
|
|
358
|
+
f_operator: this.$login.f.name,
|
|
359
|
+
f_operatorid: this.$login.f.id,
|
|
360
|
+
f_orgid: this.$login.f.orgid,
|
|
361
|
+
f_orgname: this.$login.f.orgs,
|
|
362
|
+
f_depid: this.$login.f.depids,
|
|
363
|
+
f_depname: this.$login.f.deps,
|
|
364
|
+
f_zoneid: this.$login.f.zoneid ? this.$login.f.zoneid : '',
|
|
365
|
+
f_zones: this.$login.f.zones ? this.$login.f.zones : '',
|
|
366
|
+
deletebank: false
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
// 银行信息的设置
|
|
370
|
+
setbank (bank) {
|
|
371
|
+
if (!bank.data[0]) {
|
|
372
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
373
|
+
delete this.transferdata.userinfo.infobank
|
|
374
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
375
|
+
delete this.transferdata.userinfo.infobank.f_userinfo_id
|
|
376
|
+
}
|
|
377
|
+
} else {
|
|
378
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
379
|
+
this.transferdata.deletebank = true
|
|
380
|
+
delete this.transferdata.userinfo.infobank
|
|
381
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
382
|
+
this.transferdata.f_bank_name = bank.data[0].f_bank_name
|
|
383
|
+
this.transferdata.f_bank_accopen = bank.data[0].f_bank_accopen
|
|
384
|
+
this.transferdata.f_bank_account = bank.data[0].f_bank_account
|
|
385
|
+
this.transferdata.f_bank_idnumber = bank.data[0].f_bank_idnumber
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
confirm () {
|
|
390
|
+
this.transferdata = Object.assign({}, this.getOperateInfo())
|
|
391
|
+
this.newbankname()
|
|
392
|
+
this.transferdata.userinfo = Object.assign({}, this.getuserinfo())
|
|
393
|
+
console.log('过户保存', this.transferdata)
|
|
394
|
+
transfersaveGen(this)
|
|
395
|
+
},
|
|
396
|
+
clear () {
|
|
397
|
+
this.$dispatch('refresh')
|
|
398
|
+
},
|
|
399
|
+
close () {
|
|
400
|
+
this.print = false
|
|
401
|
+
this.clear()
|
|
402
|
+
},
|
|
403
|
+
newbankname () {
|
|
404
|
+
if (this.model.f_paymenttype[0] !== '银行代扣') {
|
|
405
|
+
this.model.f_newbank_accopen = null
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
events:{
|
|
410
|
+
'confirmuserfiles'(val){
|
|
411
|
+
if(val){
|
|
412
|
+
if(val.buyername != null) this.$set('model.f_newuser_name',val.buyername);
|
|
413
|
+
if(val.buyerphone != null) this.$set('model.f_newuser_phone', val.buyerphone);
|
|
414
|
+
if(val.buyercardno != null) this.$set('model.f_newidnumber', val.buyercardno);
|
|
415
|
+
this.loaduserflag = false;
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
// 删除Resid数组元素
|
|
419
|
+
'delResid' (val) {
|
|
420
|
+
this.resid.$remove({id: val, f_biobid: ''})
|
|
421
|
+
// this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
|
|
422
|
+
},
|
|
423
|
+
// 增加Resid数组元素
|
|
424
|
+
'resid' (val) {
|
|
425
|
+
this.resid.push({id: val, f_biobid: ''})
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
</script>
|
|
430
|
+
|
|
431
|
+
<style scoped>
|
|
432
|
+
#label{
|
|
433
|
+
margin-top: 5px;
|
|
434
|
+
}
|
|
435
|
+
</style>
|