派工单打印斜线问题
This commit is contained in:
parent
12d6f70cb2
commit
d776ac7f35
@ -80,7 +80,7 @@
|
||||
</tr>
|
||||
<tr v-for="item in formDataprocess.tablename" :key="item">
|
||||
<td colspan="1"> {{item.index}} </td>
|
||||
<td colspan="2" v-if="item.date" id="lineTd">
|
||||
<td colspan="2" v-if="item.date" style="background: #fff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxsaW5lIHgxPSIwIiB5MT0iMCIgeDI9IjEwMCUiIHkyPSIxMDAlIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=) no-repeat 100% center;">
|
||||
<span style="float:left;margin-top:20px;"> {{item.name}}</span>
|
||||
<span style="float:right;margin-top:0px;">{{item.date}}</span>
|
||||
</td>
|
||||
@ -493,6 +493,7 @@ const onPrint = () => {
|
||||
background: initial;
|
||||
page-break-after: always;
|
||||
}
|
||||
|
||||
}
|
||||
table {
|
||||
width: 100%; /* 让表格宽度100%占满其父元素宽度 */
|
||||
@ -506,6 +507,10 @@ table {
|
||||
padding: 5px 0;
|
||||
border: 1px solid #333;
|
||||
}
|
||||
td {
|
||||
-webkit-print-color-adjust: exact;
|
||||
print-color-adjust: exact;
|
||||
}
|
||||
}
|
||||
}
|
||||
.xh {
|
||||
@ -898,6 +903,7 @@ const open = async (id?: number) => {
|
||||
}
|
||||
if(taskitem.owner){
|
||||
const initialUser = await UserApi.getUser(taskitem.owner)
|
||||
|
||||
if (!formDataprocess.value.tablename[6].layingoff) {
|
||||
formDataprocess.value.tablename[6].layingoff = initialUser.nickname
|
||||
} else if (
|
||||
|
Loading…
Reference in New Issue
Block a user