|
@@ -150,14 +150,13 @@
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
.sfcard-content img {
|
|
.sfcard-content img {
|
|
- /* height: 50vh; */
|
|
|
|
width: 45%;
|
|
width: 45%;
|
|
height: 50vh;
|
|
height: 50vh;
|
|
}
|
|
}
|
|
.sfcard-title {
|
|
.sfcard-title {
|
|
font-size: 28px;
|
|
font-size: 28px;
|
|
text-align: center;
|
|
text-align: center;
|
|
- margin: 50px 0;
|
|
|
|
|
|
+ margin: 10px 0;
|
|
}
|
|
}
|
|
.avatar {
|
|
.avatar {
|
|
margin-bottom: 120px;
|
|
margin-bottom: 120px;
|
|
@@ -171,14 +170,14 @@
|
|
<div id="app">
|
|
<div id="app">
|
|
<div class="content" v-if="bigContent">
|
|
<div class="content" v-if="bigContent">
|
|
<div class="sfcard" v-if="isShowPrintType1">
|
|
<div class="sfcard" v-if="isShowPrintType1">
|
|
- <div class="sfcard-title">身份证</div>
|
|
|
|
|
|
+ <div class="sfcard-title">{{ printData.customerName}}{{ printData.identityAuthenticationInfo.customerNumberCard}}</div>
|
|
<div class="sfcard-content">
|
|
<div class="sfcard-content">
|
|
<img :src="imageUrl1" class="avatar" />
|
|
<img :src="imageUrl1" class="avatar" />
|
|
<img :src="imageUrl2" class="avatar" />
|
|
<img :src="imageUrl2" class="avatar" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bankcard" v-if="isShowPrintType2">
|
|
<div class="bankcard" v-if="isShowPrintType2">
|
|
- <div class="sfcard-title">银行卡</div>
|
|
|
|
|
|
+ <div class="sfcard-title">{{printData.identityAuthenticationInfo.bankDeposit}}{{printData.identityAuthenticationInfo.bankCard}}</div>
|
|
<div class="sfcard-content">
|
|
<div class="sfcard-content">
|
|
<img :src="imageUrl3" class="avatar" />
|
|
<img :src="imageUrl3" class="avatar" />
|
|
<img :src="imageUrl4" class="avatar" />
|
|
<img :src="imageUrl4" class="avatar" />
|
|
@@ -596,34 +595,35 @@
|
|
let _data = decodeURIComponent(this.getQueryVariable('dataList'))
|
|
let _data = decodeURIComponent(this.getQueryVariable('dataList'))
|
|
this.printData = JSON.parse(_data)
|
|
this.printData = JSON.parse(_data)
|
|
let _type = decodeURIComponent(this.getQueryVariable('type'))
|
|
let _type = decodeURIComponent(this.getQueryVariable('type'))
|
|
- if (sessionStorage.getItem('ws-pf_roleName') == '财务') {
|
|
|
|
- this.showType = decodeURIComponent(this.getQueryVariable('printTypeList'))
|
|
|
|
- this.customerList = JSON.parse(decodeURIComponent(this.getQueryVariable('customerList')))
|
|
|
|
- this.identity = this.customerList.cardAddressUrl.split(',')
|
|
|
|
- this.bank = this.customerList.payeeAddressUrl.split(',')
|
|
|
|
- this.imageUrl1 = this.identity[0]
|
|
|
|
- this.imageUrl2 = this.identity[1]
|
|
|
|
- this.imageUrl3 = this.bank[0]
|
|
|
|
- this.imageUrl4 = this.bank[1]
|
|
|
|
- let _lsit = this.showType.split(',')
|
|
|
|
- for (let i = 0; i < _lsit.length; i++) {
|
|
|
|
- switch (_lsit[i]) {
|
|
|
|
- case '打印身份证(正反面)':
|
|
|
|
- this.isShowPrintType1 = !this.isShowPrintType1
|
|
|
|
- break
|
|
|
|
- case '打印银行卡(正反面)':
|
|
|
|
- this.isShowPrintType2 = !this.isShowPrintType2
|
|
|
|
- break
|
|
|
|
- case '打印结算凭证':
|
|
|
|
- this.isShowPrintType3 = !this.isShowPrintType3
|
|
|
|
- case '打印发票':
|
|
|
|
- this.isShowPrintType4 = !this.isShowPrintType4
|
|
|
|
- break
|
|
|
|
- }
|
|
|
|
|
|
+ this.showType = decodeURIComponent(this.getQueryVariable('printTypeList'))
|
|
|
|
+ this.customerList = JSON.parse(decodeURIComponent(this.getQueryVariable('customerList')))
|
|
|
|
+ this.identity = this.customerList.cardAddressUrl.split(',')
|
|
|
|
+ this.bank = this.customerList.payeeAddressUrl.split(',')
|
|
|
|
+ this.imageUrl1 = this.identity[0]
|
|
|
|
+ this.imageUrl2 = this.identity[1]
|
|
|
|
+ this.imageUrl3 = this.bank[0]
|
|
|
|
+ this.imageUrl4 = this.bank[1]
|
|
|
|
+ let _lsit = this.showType.split(',')
|
|
|
|
+ for (let i = 0; i < _lsit.length; i++) {
|
|
|
|
+ switch (_lsit[i]) {
|
|
|
|
+ case '打印身份证(正反面)':
|
|
|
|
+ this.isShowPrintType1 = !this.isShowPrintType1
|
|
|
|
+ break
|
|
|
|
+ case '打印银行卡(正反面)':
|
|
|
|
+ this.isShowPrintType2 = !this.isShowPrintType2
|
|
|
|
+ break
|
|
|
|
+ case '打印结算凭证':
|
|
|
|
+ this.isShowPrintType3 = !this.isShowPrintType3
|
|
|
|
+ case '打印发票':
|
|
|
|
+ this.isShowPrintType4 = !this.isShowPrintType4
|
|
|
|
+ break
|
|
}
|
|
}
|
|
- }else{
|
|
|
|
- this.isShowPrintType3 = true
|
|
|
|
}
|
|
}
|
|
|
|
+ // if (sessionStorage.getItem('ws-pf_roleName') == '财务') {
|
|
|
|
+
|
|
|
|
+ // }else{
|
|
|
|
+ // this.isShowPrintType3 = true
|
|
|
|
+ // }
|
|
if (_type == 2) {
|
|
if (_type == 2) {
|
|
this.bigContent = true
|
|
this.bigContent = true
|
|
this.smallContent = false
|
|
this.smallContent = false
|