出库审核打印 字段加粗

dev
qiuhongwu 3 months ago
parent 59d0229e4d
commit f00043ece3

@ -7,56 +7,69 @@
<div style="width: 33%">基础信息</div> <div style="width: 33%">基础信息</div>
</div> --> </div> -->
<div style="display: flex; margin-top: 20px"> <div style="display: flex; margin-top: 20px">
<div style="width: 33%">出库单号: {{ item.data.stockNo }}</div>
<div style="width: 33%" <div style="width: 33%"
>单据日期: {{ formatDate(item.data.createTime, 'YYYY-MM-DD HH:mm') }}</div ><span class="label">出库单号</span> {{ item.data.stockNo }}</div
> >
<div style="width: 33%" <div style="width: 33%"
>单据状态: {{ getDictLabel(DICT_TYPE.BIZ_STORAGE_STATUS, item.data.status) }}</div ><span class="label">单据日期: </span
>{{ formatDate(item.data.createTime, 'YYYY-MM-DD HH:mm') }}</div
>
<div style="width: 33%"
><span class="label">单据状态: </span
>{{ getDictLabel(DICT_TYPE.BIZ_STORAGE_STATUS, item.data.status) }}</div
> >
</div> </div>
<div style="display: flex"> <div style="display: flex">
<div style="width: 33%" <div style="width: 33%"
>出库类型: ><span class="label">出库类型</span>
{{ getDictLabel(DICT_TYPE.BIZ_STORAGE_OUT_TYPE, item.data.stockInType) }}</div {{ getDictLabel(DICT_TYPE.BIZ_STORAGE_OUT_TYPE, item.data.stockInType) }}</div
> >
<div style="width: 33%">生产订单号: {{ item.data.projectOrderCode }}</div>
<div style="width: 33%" <div style="width: 33%"
>出库仓库: {{ warehouseList.find((tag) => tag.id === item.data.whId)?.whName }}</div ><span class="label">生产订单号</span>{{ item.data.projectOrderCode }}</div
>
<div style="width: 33%"
><span class="label">出库仓库: </span
>{{ warehouseList.find((tag) => tag.id === item.data.whId)?.whName }}</div
> >
</div> </div>
<div style="display: flex"> <div style="display: flex">
<div style="width: 33%" <div style="width: 33%"
>领料模式: ><span class="label">领料模式</span>
{{ getDictLabel(DICT_TYPE.BIZ_STORAGE_OUT_MODE, item.data.materialMode) }}</div {{ getDictLabel(DICT_TYPE.BIZ_STORAGE_OUT_MODE, item.data.materialMode) }}</div
> >
<div style="width: 33%">领料车间:</div> <div style="width: 33%"><span class="label">领料车间</span></div>
<div style="width: 33%"></div> <div style="width: 33%"></div>
</div> </div>
<div style="display: flex; margin-top: 50px"> <div style="display: flex; margin-top: 50px">
<div style="width: 33%" <div style="width: 33%"
>创建人: {{ userList.find((user) => user.id == item.data.creator)?.nickname }}</div ><span class="label">创建人</span
>{{ userList.find((user) => user.id == item.data.creator)?.nickname }}</div
> >
<div style="width: 33%" <div style="width: 33%"
>创建时间: {{ formatDate(item.data.createTime, 'YYYY-MM-DD HH:mm') }}</div ><span class="label">创建时间</span
>{{ formatDate(item.data.createTime, 'YYYY-MM-DD HH:mm') }}</div
> >
<div style="width: 33%"></div> <div style="width: 33%"></div>
</div> </div>
<div style="display: flex"> <div style="display: flex">
<div style="width: 33%" <div style="width: 33%"
>送审人:{{ userList.find((user) => user.id == item.data.outbound)?.nickname }}</div ><span class="label">送审人</span
>{{ userList.find((user) => user.id == item.data.outbound)?.nickname }}</div
> >
<div style="width: 33%" <div style="width: 33%"
>送审时间:{{ formatDate(item.data.outboundTime, 'YYYY-MM-DD HH:mm') }}</div ><span class="label">送审时间</span
>{{ formatDate(item.data.outboundTime, 'YYYY-MM-DD HH:mm') }}</div
> >
<div style="width: 33%"></div> <div style="width: 33%"></div>
</div> </div>
<div style="display: flex"> <div style="display: flex">
<div style="width: 33%" <div style="width: 33%"
>审核人: {{ userList.find((user) => user.id == item.data.cancel)?.nickname }}</div ><span class="label">审核人: </span
>{{ userList.find((user) => user.id == item.data.cancel)?.nickname }}</div
> >
<div style="width: 33%" <div style="width: 33%"
>审核时间: {{ formatDate(item.data.cancelTime, 'YYYY-MM-DD HH:mm') }}</div ><span class="label">审核时间: </span>
{{ formatDate(item.data.cancelTime, 'YYYY-MM-DD HH:mm') }}</div
> >
<div style="width: 33%"></div> <div style="width: 33%"></div>
</div> </div>
@ -64,7 +77,7 @@
<tbody> <tbody>
<tr <tr
><td colspan="10"> ><td colspan="10">
<div style="text-align: center; width: 100%">物料信息</div></td <div style="text-align: center; width: 100%" class="label">物料信息</div></td
></tr ></tr
> >
<tr> <tr>
@ -286,6 +299,9 @@ table {
align-items: center; align-items: center;
margin-left: 10px; margin-left: 10px;
} }
.label {
font-weight: 700;
}
/* /*
A4的大小21cm*29.7cmwidth:794px; A4的大小21cm*29.7cmwidth:794px;
单位换算1 inch = 2.54 cm 1mm = 96 px 1 cm = 37.79528 px*/ 单位换算1 inch = 2.54 cm 1mm = 96 px 1 cm = 37.79528 px*/

Loading…
Cancel
Save