计划模块(工单打印功能优化)

master
wws 1 year ago
parent 9a61b8b76e
commit 72b56c743b

@ -280,6 +280,17 @@
</el-table-column> </el-table-column>
</el-table> </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> </el-form>
@ -451,6 +462,9 @@ export default {
printable: 'printFrom', printable: 'printFrom',
ignore: ['no-print'], ignore: ['no-print'],
workCenter: "暂无数据", workCenter: "暂无数据",
SAPNo: null,
manufacture: null,
auditor: null,
printDate: null, printDate: null,
factory: null, factory: null,
productDate: null, productDate: null,
@ -610,6 +624,7 @@ export default {
// //
this.printDialogVisible = true; this.printDialogVisible = true;
this.printData.printDate = moment(new Date()).format('YYYY.MM.DD'); this.printData.printDate = moment(new Date()).format('YYYY.MM.DD');
this.printData.manufacture = this.$store.state.user.name;
this.newWorkerLoading = true // true this.newWorkerLoading = true // true
this.refreshNewWorkerTable = false // refreshProTablefalse this.refreshNewWorkerTable = false // refreshProTablefalse
getWorkOrders(this.selectWork.workorderCode).then(response => { getWorkOrders(this.selectWork.workorderCode).then(response => {
@ -1108,5 +1123,8 @@ export default {
} }
.my-print-table { .my-print-table {
}
.my-print-foot {
margin-top: 20px;
} }
</style> </style>

Loading…
Cancel
Save