|
@@ -2253,7 +2253,7 @@
|
|
|
>
|
|
|
<el-radio v-model="radio" :label="1">吨(T)</el-radio>
|
|
|
<el-radio v-model="radio" :label="2">千克(KG)</el-radio>
|
|
|
- <div id="print_area4" class="print-div">
|
|
|
+ <div id="print_area4" class="print-div" style="position: relative;">
|
|
|
<div
|
|
|
class="print-title"
|
|
|
style="
|
|
@@ -2268,8 +2268,8 @@
|
|
|
<div style="display: flex;justify-content: flex-end">
|
|
|
<div>制单人:{{ form.createBy }}</div>
|
|
|
</div>
|
|
|
- <div class="print_table" style="display: flex">
|
|
|
- <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; line-height: 30px">
|
|
|
+ <div class="print_table" style="display: flex;z-index: 10">
|
|
|
+ <table ref="printTable" border="0" cellspacing="0" cellpadding="0" style="width: 100%; line-height: 30px;" :style="{'background': 'url(' + signature + ') bottom right no-repeat'}">
|
|
|
<tr>
|
|
|
<td>客户名称</td>
|
|
|
<td>{{ form.fCorpidName }}</td>
|
|
@@ -2329,9 +2329,10 @@
|
|
|
<td colspan="2">{{ allfQty }}</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
+
|
|
|
</div>
|
|
|
<div
|
|
|
- style="display: flex; justify-content: space-between; font-size: 12px"
|
|
|
+ style="display: flex; justify-content: space-between; font-size: 12px;z-index: 10"
|
|
|
>
|
|
|
<div>操作:</div>
|
|
|
<div>理货:</div>
|
|
@@ -2339,7 +2340,11 @@
|
|
|
<div>司机:</div>
|
|
|
|
|
|
<div style="width: 150px">电话:</div>
|
|
|
+
|
|
|
</div>
|
|
|
+<!-- <div style="width: 150px;z-index: -1;opacity: 0.6;margin-top: -150px;float: right">-->
|
|
|
+<!-- <img :src="signature" width="100%">-->
|
|
|
+<!-- </div>-->
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button
|
|
@@ -6760,6 +6765,7 @@ export default {
|
|
|
},
|
|
|
noUploadVisible: false, //上传弹窗
|
|
|
bigDataToken: null,
|
|
|
+ signature: null, //打印时候的电子签章
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -6904,6 +6910,9 @@ export default {
|
|
|
this.queryUser();
|
|
|
this.getRow();
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ this.$refs.printTable.style.setProperty('--url', 'url(' + this.signature + ') bottom right no-repeat')
|
|
|
+ },
|
|
|
activated() {
|
|
|
this.getDicts("st_in_type").then((response) => {
|
|
|
this.businessTypeOption = response.data;
|
|
@@ -9443,6 +9452,8 @@ export default {
|
|
|
changePrint() {
|
|
|
if (this.form.fCompany) {
|
|
|
getCorps(this.form.fCompany).then(res => {
|
|
|
+ const uploadList = res.data.attach? res.data.attach: []
|
|
|
+ this.signature = typeof (uploadList.find(item => item.fType == '1')) == 'undefined'? null: uploadList.find(item => item.fType == '1').fUrl;
|
|
|
this.fCompanyName = res.data.corp.fName
|
|
|
this.printFeeConfirm.fAddr = res.data.corp.fAddr
|
|
|
this.printFeeConfirm.fTel = res.data.corp.fTel
|
|
@@ -9612,4 +9623,8 @@ export default {
|
|
|
.print_form {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
+//.print_table table::after {
|
|
|
+// content: '';
|
|
|
+// background: var(--url);
|
|
|
+//}
|
|
|
</style>
|