|
@@ -1,10 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
<div id="printMe">
|
|
<div id="printMe">
|
|
- <div
|
|
|
|
- id="pdfDom"
|
|
|
|
- style="padding: 16px; font-size: 12px !important; font-family: 'msyh'"
|
|
|
|
- >
|
|
|
|
|
|
+ <div id="pdfDom" style="padding: 16px; font-size: 12px !important; font-family: 'msyh'">
|
|
<div style="font-size: 18px; text-align: center">
|
|
<div style="font-size: 18px; text-align: center">
|
|
{{ printDetails.sellCorporationNameEn }}
|
|
{{ printDetails.sellCorporationNameEn }}
|
|
</div>
|
|
</div>
|
|
@@ -15,14 +12,12 @@
|
|
printDetails.sellCountryName
|
|
printDetails.sellCountryName
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
color: #409eff;
|
|
color: #409eff;
|
|
text-align: center;
|
|
text-align: center;
|
|
padding-top: 16px;
|
|
padding-top: 16px;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
PROFORMA INVOICE
|
|
PROFORMA INVOICE
|
|
</div>
|
|
</div>
|
|
<div style="padding-top: 8px">
|
|
<div style="padding-top: 8px">
|
|
@@ -47,8 +42,7 @@
|
|
<div style="color: #409eff">BUYER:</div>
|
|
<div style="color: #409eff">BUYER:</div>
|
|
<div>{{ printDetails.buyCorporationName }}</div>
|
|
<div>{{ printDetails.buyCorporationName }}</div>
|
|
<div style="padding-top: 16px">
|
|
<div style="padding-top: 16px">
|
|
- <span style="color: #409eff">TAX NUMBER:</span
|
|
|
|
- ><span>{{ printDetails.taxNumber }}</span>
|
|
|
|
|
|
+ <span style="color: #409eff">TAX NUMBER:</span><span>{{ printDetails.taxNumber }}</span>
|
|
</div>
|
|
</div>
|
|
<div style="padding: 16px 0">
|
|
<div style="padding: 16px 0">
|
|
{{ printDetails.buyDetailedAddress }},{{
|
|
{{ printDetails.buyDetailedAddress }},{{
|
|
@@ -70,23 +64,19 @@
|
|
<div style="height: 16px"></div>
|
|
<div style="height: 16px"></div>
|
|
<div style="border: 1px solid black">
|
|
<div style="border: 1px solid black">
|
|
<div style="display: flex; width: 100%">
|
|
<div style="display: flex; width: 100%">
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
width: 33%;
|
|
width: 33%;
|
|
border-bottom: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
border-right: 1px solid black;
|
|
border-right: 1px solid black;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
<div style="color: #409eff">COUNTRY OF ORIGIN:</div>
|
|
<div style="color: #409eff">COUNTRY OF ORIGIN:</div>
|
|
<div>{{ printDetails.sellCountryName }}</div>
|
|
<div>{{ printDetails.sellCountryName }}</div>
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
width: 34%;
|
|
width: 34%;
|
|
border-bottom: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
border-right: 1px solid black;
|
|
border-right: 1px solid black;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
<div style="color: #409eff">COUNTRY OF DESTINATION:</div>
|
|
<div style="color: #409eff">COUNTRY OF DESTINATION:</div>
|
|
<div>{{ printDetails.buyCountryName }}</div>
|
|
<div>{{ printDetails.buyCountryName }}</div>
|
|
</div>
|
|
</div>
|
|
@@ -96,25 +86,21 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="display: flex; width: 100%">
|
|
<div style="display: flex; width: 100%">
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
width: 33%;
|
|
width: 33%;
|
|
border-bottom: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
border-right: 1px solid black;
|
|
border-right: 1px solid black;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
<div style="color: #409eff">TERMS OF DELIVERY:</div>
|
|
<div style="color: #409eff">TERMS OF DELIVERY:</div>
|
|
<div>
|
|
<div>
|
|
{{ dictValueLabel(printDetails.tradeMethods, tradeMethods) }}
|
|
{{ dictValueLabel(printDetails.tradeMethods, tradeMethods) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
width: 34%;
|
|
width: 34%;
|
|
border-bottom: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
border-right: 1px solid black;
|
|
border-right: 1px solid black;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
<div style="color: #409eff">CURRENCY:</div>
|
|
<div style="color: #409eff">CURRENCY:</div>
|
|
<div>
|
|
<div>
|
|
{{ printDetails.currency }}
|
|
{{ printDetails.currency }}
|
|
@@ -145,10 +131,7 @@
|
|
<div class="contentRow" style="width: 50px; text-align: center">
|
|
<div class="contentRow" style="width: 50px; text-align: center">
|
|
NO.
|
|
NO.
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- class="contentRow"
|
|
|
|
- style="width: calc(100% - 450px); text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="contentRow" style="width: calc(100% - 450px); text-align: center">
|
|
COMMODITY, SPECIFICATION
|
|
COMMODITY, SPECIFICATION
|
|
</div>
|
|
</div>
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
@@ -164,26 +147,17 @@
|
|
TOTAL PRICE
|
|
TOTAL PRICE
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- v-if="
|
|
|
|
|
|
+ <div v-if="
|
|
printDetails.productInfoList &&
|
|
printDetails.productInfoList &&
|
|
printDetails.productInfoList.length > 0
|
|
printDetails.productInfoList.length > 0
|
|
- "
|
|
|
|
- >
|
|
|
|
- <div
|
|
|
|
- class="baseRow"
|
|
|
|
- style="display: flex"
|
|
|
|
- v-for="(item, index) in printDetails.productInfoList"
|
|
|
|
- :key="item.productId"
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
|
|
+ <div class="baseRow" style="display: flex" v-for="(item, index) in printDetails.productInfoList" :key="item.productId">
|
|
<div class="contentRow" style="width: 50px; text-align: center">
|
|
<div class="contentRow" style="width: 50px; text-align: center">
|
|
{{ index + 1 }}
|
|
{{ index + 1 }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- class="contentRow"
|
|
|
|
- style="width: calc(100% - 450px); text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="contentRow" style="width: calc(100% - 450px); text-align: center">
|
|
{{ item.productName }}
|
|
{{ item.productName }}
|
|
|
|
+ <div>{{item.productModel}}</div>
|
|
</div>
|
|
</div>
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
{{ dictValueLabel(item.productUnit, productUnit) }}
|
|
{{ dictValueLabel(item.productUnit, productUnit) }}
|
|
@@ -200,23 +174,14 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="baseRow" style="display: flex; color: #409eff">
|
|
<div class="baseRow" style="display: flex; color: #409eff">
|
|
- <div
|
|
|
|
- class="contentRow"
|
|
|
|
- style="width: calc(100% - 400px); text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="contentRow" style="width: calc(100% - 400px); text-align: center">
|
|
SUBTOTAL:
|
|
SUBTOTAL:
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- class="contentRow"
|
|
|
|
- style="width: 100px; text-align: center"
|
|
|
|
- ></div>
|
|
|
|
|
|
+ <div class="contentRow" style="width: 100px; text-align: center"></div>
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
{{ statistics("productQuantity", 2) }}
|
|
{{ statistics("productQuantity", 2) }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- class="contentRow"
|
|
|
|
- style="width: 100px; text-align: center"
|
|
|
|
- ></div>
|
|
|
|
|
|
+ <div class="contentRow" style="width: 100px; text-align: center"></div>
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
{{ statistics("amount", 2) }}
|
|
{{ statistics("amount", 2) }}
|
|
</div>
|
|
</div>
|
|
@@ -228,10 +193,7 @@
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
</div> -->
|
|
<div class="baseRow" style="display: flex">
|
|
<div class="baseRow" style="display: flex">
|
|
- <div
|
|
|
|
- class="contentRow"
|
|
|
|
- style="width: calc(100% - 100px); text-align: right; color: #409eff"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="contentRow" style="width: calc(100% - 100px); text-align: right; color: #409eff">
|
|
FREIGHT COST:
|
|
FREIGHT COST:
|
|
</div>
|
|
</div>
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
@@ -239,20 +201,14 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="baseRow" style="display: flex">
|
|
<div class="baseRow" style="display: flex">
|
|
- <div
|
|
|
|
- class="contentRow"
|
|
|
|
- style="width: calc(100% - 100px); text-align: right; color: #409eff"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="contentRow" style="width: calc(100% - 100px); text-align: right; color: #409eff">
|
|
TOTAL PRICE:
|
|
TOTAL PRICE:
|
|
</div>
|
|
</div>
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
<div class="contentRow" style="width: 100px; text-align: center">
|
|
{{ moneyFormat(printDetails.totalAmount, 2) }}
|
|
{{ moneyFormat(printDetails.totalAmount, 2) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- class="baseRow"
|
|
|
|
- style="display: flex; border-bottom: 1px solid black"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="baseRow" style="display: flex; border-bottom: 1px solid black">
|
|
<div class="contentRow" style="width: 100%">
|
|
<div class="contentRow" style="width: 100%">
|
|
{{
|
|
{{
|
|
translateIntoEnglish(
|
|
translateIntoEnglish(
|
|
@@ -268,66 +224,54 @@
|
|
</div>
|
|
</div>
|
|
<div class="baseRow" style="border-bottom: 1px solid black">
|
|
<div class="baseRow" style="border-bottom: 1px solid black">
|
|
<div class="contentRow" style="width: 100%">
|
|
<div class="contentRow" style="width: 100%">
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
padding-left: 4px;
|
|
padding-left: 4px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
Beneficiary Name: {{ printDetails.beneficiaryName }}
|
|
Beneficiary Name: {{ printDetails.beneficiaryName }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
padding-left: 4px;
|
|
padding-left: 4px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
Beneficiary Bank: {{ printDetails.beneficiaryBank }}
|
|
Beneficiary Bank: {{ printDetails.beneficiaryBank }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
padding-left: 4px;
|
|
padding-left: 4px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
Beneficiary Bank Address:
|
|
Beneficiary Bank Address:
|
|
{{ printDetails.beneficiaryBankAddress }}
|
|
{{ printDetails.beneficiaryBankAddress }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
padding-left: 4px;
|
|
padding-left: 4px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
Beneficiary Account Number:
|
|
Beneficiary Account Number:
|
|
{{ printDetails.beneficiaryAccountNumber }}
|
|
{{ printDetails.beneficiaryAccountNumber }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
padding-left: 4px;
|
|
padding-left: 4px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
Swift Code: {{ printDetails.swiftCode }}
|
|
Swift Code: {{ printDetails.swiftCode }}
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- style="
|
|
|
|
|
|
+ <div style="
|
|
line-height: 24px;
|
|
line-height: 24px;
|
|
padding-left: 4px;
|
|
padding-left: 4px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
Beneficiary Address: {{ printDetails.beneficiaryAddress }}
|
|
Beneficiary Address: {{ printDetails.beneficiaryAddress }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|