|
@@ -120,7 +120,9 @@
|
|
|
</div>
|
|
|
<div style="display: flex; margin-top: 10px">
|
|
|
<div>电 话:</div>
|
|
|
- <div style="border-bottom: 1px solid #000; flex: 1"></div>
|
|
|
+ <div style="border-bottom: 1px solid #000; flex: 1">
|
|
|
+ {{ pdfData.contactPhoneNo }}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div style="display: flex; margin-top: 10px">
|
|
|
<div>手 机:</div>
|
|
@@ -240,9 +242,13 @@ const handlePrintPdf = (row) => {
|
|
|
if (data.contactJson) {
|
|
|
data.contactJson = JSON.parse(data.contactJson);
|
|
|
const current = data.contactJson.find((x) => x.type == "mobile");
|
|
|
+ const currentPhone = data.contactJson.find((x) => x.type == "phone");
|
|
|
if (current && current.contactNo) {
|
|
|
res.contactNo = current.contactNo;
|
|
|
}
|
|
|
+ if (currentPhone && currentPhone.contactNo) {
|
|
|
+ res.contactPhoneNo = currentPhone.contactNo;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
pdfData.value = res;
|