|
@@ -19,9 +19,11 @@
|
|
|
.simple {
|
|
|
height: 120vh !important;
|
|
|
}
|
|
|
+
|
|
|
.simple2 {
|
|
|
height: 99vh !important;
|
|
|
}
|
|
|
+
|
|
|
.content {
|
|
|
width: 1000px;
|
|
|
margin: auto;
|
|
@@ -177,11 +179,23 @@
|
|
|
}
|
|
|
|
|
|
.center {
|
|
|
- height: 99.5vh;
|
|
|
+ height: 90vh;
|
|
|
+ page-break-after: always
|
|
|
}
|
|
|
|
|
|
.part2 {
|
|
|
height: 99.5vh;
|
|
|
+ page-break-after: always
|
|
|
+ /* background: red; */
|
|
|
+ }
|
|
|
+
|
|
|
+ .part1 {
|
|
|
+ page-break-after: always
|
|
|
+ /* background: red; */
|
|
|
+ }
|
|
|
+
|
|
|
+ .bankcard {
|
|
|
+ page-break-after: always
|
|
|
/* background: red; */
|
|
|
}
|
|
|
|
|
@@ -312,7 +326,7 @@
|
|
|
</tr>
|
|
|
<tr class="row">
|
|
|
<td class="col col-bgc">纯重</td>
|
|
|
- <td class="col col-bgc" >
|
|
|
+ <td class="col col-bgc">
|
|
|
单价
|
|
|
</td>
|
|
|
<td class="col col-bgc">扣单价</td>
|
|
@@ -390,14 +404,14 @@
|
|
|
<tr class="row">
|
|
|
<td class="col col-bgc">实付金额</td>
|
|
|
<td class="col " colspan="2">
|
|
|
-
|
|
|
+
|
|
|
</td>
|
|
|
<td class="col col-bgc" colspan="3">人民币(大写)</td>
|
|
|
<td class="col " v-if="!pengyuPrint" colspan="4">
|
|
|
{{printData1[index].capitalize}}
|
|
|
</td>
|
|
|
<td class="col " v-if="pengyuPrint" colspan="4">
|
|
|
-
|
|
|
+
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
@@ -597,7 +611,7 @@
|
|
|
</div>
|
|
|
<img :src="printData.paymentScreenshot" class="paymentScreenshot" />
|
|
|
</div> -->
|
|
|
- <div class="center part1" v-if="isShowPrintType3&&!isShowPrintType6" :class="printData.extra2? 'simple2':!selectPrint? 'simple':''" >
|
|
|
+ <div class="center part1" v-if="isShowPrintType3&&!isShowPrintType6" :class="printData.extra2? 'simple2':!selectPrint? 'simple':''">
|
|
|
<div class="header1">{{ printData.compName}}结算凭证</div>
|
|
|
<div class="line"></div>
|
|
|
<div class="line"></div>
|
|
@@ -766,7 +780,7 @@
|
|
|
<td class="col " v-if="pengyuPrint&&printData.type != '潮粮'">
|
|
|
{{Number(printData.unitContractPrice/1000*printData.weighingManagement.netWeight).toFixed(2)}}
|
|
|
</td>
|
|
|
-
|
|
|
+
|
|
|
<td class="col " v-if="!pengyuPrint">
|
|
|
{{printData.calculationPayable}}
|
|
|
</td>
|
|
@@ -784,7 +798,7 @@
|
|
|
{{printData.capitalize}}
|
|
|
</td>
|
|
|
<td class="col " v-if="pengyuPrint" colspan="4">
|
|
|
-
|
|
|
+
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
@@ -818,7 +832,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="center part1" v-if="isShowPrintType3&&printData.extra2||isShowPrintType6" :class="printData.extra2? 'simple2':!selectPrint? 'simple':''" >
|
|
|
+ <div class="center part1" v-if="isShowPrintType3&&printData.extra2||isShowPrintType6" :class="printData.extra2? 'simple2':!selectPrint? 'simple':''">
|
|
|
<div class="header1">{{ print_company_name_ew}}结算凭证</div>
|
|
|
<div class="line"></div>
|
|
|
<div class="line"></div>
|
|
@@ -836,12 +850,12 @@
|
|
|
<div class="number">{{dealNo(printData.paymentNo)}}</div>
|
|
|
</div>
|
|
|
<table class="table">
|
|
|
- <td rowspan="2" class="col col-bgc">买方</td>
|
|
|
- <td class="col col-bgc">单位名称</td>
|
|
|
- <td class="col" colspan="3">{{ print_company_name_ew}}</td>
|
|
|
- <td rowspan="4" class="col col-bgc">客户</td>
|
|
|
- <td class="col col-bgc">姓名</td>
|
|
|
- <td class="col" colspan="4" >{{printData.customerName}}</td>
|
|
|
+ <td rowspan="2" class="col col-bgc">买方</td>
|
|
|
+ <td class="col col-bgc">单位名称</td>
|
|
|
+ <td class="col" colspan="3">{{ print_company_name_ew}}</td>
|
|
|
+ <td rowspan="4" class="col col-bgc">客户</td>
|
|
|
+ <td class="col col-bgc">姓名</td>
|
|
|
+ <td class="col" colspan="4">{{printData.customerName}}</td>
|
|
|
</tr>
|
|
|
<tr class="row">
|
|
|
<td class="col col-bgc">收货仓库</td>
|
|
@@ -849,7 +863,7 @@
|
|
|
<td v-if="!pengyuPrint" class="col" colspan="3">{{printData.warehouseName=='洮南新友谊兴旺库'?'建发农产品-洮南安定自管仓':printData.warehouseName}}</td>
|
|
|
<td class="col col-bgc">身份证号</td>
|
|
|
<td class="col" colspan="4">
|
|
|
- {{ printData.identityAuthenticationInfo.customerNumberCard}}
|
|
|
+ {{ printData.identityAuthenticationInfo.customerNumberCard}}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="row">
|
|
@@ -994,7 +1008,7 @@
|
|
|
{{printData.capitalize}}
|
|
|
</td>
|
|
|
<td class="col " v-if="pengyuPrint" colspan="4">
|
|
|
-
|
|
|
+
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
@@ -1360,7 +1374,7 @@
|
|
|
isShowPrintType3: false,
|
|
|
isShowPrintType4: false,
|
|
|
isShowPrintType5: false,
|
|
|
- isShowPrintType6:false,
|
|
|
+ isShowPrintType6: false,
|
|
|
showType: [],
|
|
|
printData: {},
|
|
|
printData1: [],
|
|
@@ -1380,10 +1394,10 @@
|
|
|
onlyShowPz: false,
|
|
|
tableData: [],
|
|
|
compId: '',
|
|
|
- print_company_name:'',
|
|
|
- print_company_name_ew:'',
|
|
|
- print_customer_name_ew:'',
|
|
|
- pengyuPrint:'false'
|
|
|
+ print_company_name: '',
|
|
|
+ print_company_name_ew: '',
|
|
|
+ print_customer_name_ew: '',
|
|
|
+ pengyuPrint: 'false'
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
@@ -1417,27 +1431,26 @@
|
|
|
},
|
|
|
mounted() {
|
|
|
this.pengyuPrint = localStorage.getItem('pengyuPrint')
|
|
|
- if(localStorage.getItem('print_company_name')){
|
|
|
- this.print_company_name=localStorage.getItem('print_company_name')
|
|
|
+ if (localStorage.getItem('print_company_name')) {
|
|
|
+ this.print_company_name = localStorage.getItem('print_company_name')
|
|
|
}
|
|
|
- if(localStorage.getItem('print_company_name_ew')){
|
|
|
- this.print_company_name_ew=localStorage.getItem('print_company_name_ew')
|
|
|
+ if (localStorage.getItem('print_company_name_ew')) {
|
|
|
+ this.print_company_name_ew = localStorage.getItem('print_company_name_ew')
|
|
|
}
|
|
|
- if(localStorage.getItem('print_customer_name_ew')){
|
|
|
- this.print_customer_name_ew=localStorage.getItem('print_customer_name_ew')
|
|
|
+ if (localStorage.getItem('print_customer_name_ew')) {
|
|
|
+ this.print_customer_name_ew = localStorage.getItem('print_customer_name_ew')
|
|
|
}
|
|
|
- if(this.pengyuPrint == 'true'){
|
|
|
+ if (this.pengyuPrint == 'true') {
|
|
|
this.pengyuPrint = true
|
|
|
- }
|
|
|
- else{
|
|
|
+ } else {
|
|
|
this.pengyuPrint = false
|
|
|
}
|
|
|
//公司id
|
|
|
this.compId = localStorage.getItem('ws-pf_compId')
|
|
|
- if(this.compId == '5d164edcef03476dba6630f86dc96496'){
|
|
|
+ if (this.compId == '5d164edcef03476dba6630f86dc96496') {
|
|
|
this.compId = '6a713699e08c4cbc97a87f7648a95e3d'
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.date = new Date().toLocaleString()
|
|
|
// let _data = decodeURIComponent(this.getQueryVariable('dataList'))
|
|
|
let _data = {}
|
|
@@ -1559,8 +1572,8 @@
|
|
|
} else {
|
|
|
this.isShowPrintType3 = true
|
|
|
}
|
|
|
- if(localStorage.getItem('print_alone_extra')=='true'){
|
|
|
- this.isShowPrintType6=true
|
|
|
+ if (localStorage.getItem('print_alone_extra') == 'true') {
|
|
|
+ this.isShowPrintType6 = true
|
|
|
}
|
|
|
if (_type == 2) {
|
|
|
this.bigContent = true
|