|
@@ -253,10 +253,9 @@ export default {
|
|
|
setTableDom(data,html,websitHtml,totalAmount,num,length,page) {
|
|
|
return `
|
|
|
<div style="font-family:'黑体';font-size: 16px;">
|
|
|
- <div style="display: flex;justify-content: space-between;align-items: center;">
|
|
|
- <div style="width: 28%;"></div>
|
|
|
+ <div style="display: flex;justify-content: center;align-items: center;position: relative;">
|
|
|
<h1 style="text-align:center;margin: 10px 0;">${data.websitName}销售单</h1>
|
|
|
- <div>共 ${length}页 第 ${page+1} 页</div>
|
|
|
+ <div style="position: absolute;right:0;">共 ${length}页 第 ${page+1} 页</div>
|
|
|
</div>
|
|
|
<div style="display: flex;justify-content: space-between;">
|
|
|
<div style="width: 28%;"></div>
|
|
@@ -267,10 +266,9 @@ export default {
|
|
|
<div>客户: ${data.workerName}</div>
|
|
|
<div>摘要: ${data.payType == 'CASH'?'现金':'微信'}</div>
|
|
|
</div>
|
|
|
- <div style="display: flex;justify-content: space-between;font-size: 16px;margin-bottom: 10px;">
|
|
|
+ <div style="display: flex;font-size: 16px;margin-bottom: 10px;">
|
|
|
<div>联系电话: ${data.workerMobile}</div>
|
|
|
- <div>收货地址: </div>
|
|
|
- <div style="width: 28%;"></div>
|
|
|
+ <div style="margin-left: 50px;">收货地址: </div>
|
|
|
</div>
|
|
|
<div >
|
|
|
<table border=".5" cellspacing="0" width="856"
|