|
|
|
@ -280,6 +280,17 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
<!-- 底部 -->
|
|
|
|
|
<el-row class="my-print-foot">
|
|
|
|
|
<el-col :offset="1" :span="3">SAP-No:{{printData.SAPNo}}</el-col>
|
|
|
|
|
<el-col :offset="1" :span="3">Z-PM-F-030-A.1</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row class="my-print-foot">
|
|
|
|
|
<el-col :offset="1" :span="3">制单人:{{printData.manufacture}}</el-col>
|
|
|
|
|
<el-col :offset="1" :span="3">审核人:{{printData.auditor}}</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -451,6 +462,9 @@ export default {
|
|
|
|
|
printable: 'printFrom',
|
|
|
|
|
ignore: ['no-print'],
|
|
|
|
|
workCenter: "暂无数据",
|
|
|
|
|
SAPNo: null,
|
|
|
|
|
manufacture: null,
|
|
|
|
|
auditor: null,
|
|
|
|
|
printDate: null,
|
|
|
|
|
factory: null,
|
|
|
|
|
productDate: null,
|
|
|
|
@ -610,6 +624,7 @@ export default {
|
|
|
|
|
// 打开工单信息对话框
|
|
|
|
|
this.printDialogVisible = true;
|
|
|
|
|
this.printData.printDate = moment(new Date()).format('YYYY.MM.DD');
|
|
|
|
|
this.printData.manufacture = this.$store.state.user.name;
|
|
|
|
|
this.newWorkerLoading = true // 设置加载状态为true,表示正在加载
|
|
|
|
|
this.refreshNewWorkerTable = false // 先将refreshProTable设置为false,隐藏表格
|
|
|
|
|
getWorkOrders(this.selectWork.workorderCode).then(response => {
|
|
|
|
@ -1108,5 +1123,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
.my-print-table {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.my-print-foot {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|