加工路线单

This commit is contained in:
zhangdingyu
2019-01-04 11:52:17 +08:00
parent c53f5a495a
commit 62f58a1e43

View File

@@ -4,8 +4,8 @@
<span>零件号</span> <span>零件号</span>
<el-input v-model="PrNum" size="small" placeholder="零件号" clearable style="width: 200px"/> <el-input v-model="PrNum" size="small" placeholder="零件号" clearable style="width: 200px"/>
<el-button type="success" size="small" style="margin-left: 10px" icon="el-icon-search" @click="pageCurrent=1;pageSize=10;total=0;searchData()">查询</el-button> <el-button type="success" size="small" style="margin-left: 10px" icon="el-icon-search" @click="pageCurrent=1;pageSize=10;total=0;searchData()">查询</el-button>
<el-button type="primary" size="small" style="margin-left: 10px" icon="el-icon-download" @click="downLoadCjn('cjn')">导出工艺定额卡</el-button> <el-button type="primary" size="small" style="margin-left: 10px" icon="el-icon-download" @click="downLoaddek('dek')">导出工艺定额卡</el-button>
<el-button type="primary" size="small" style="margin-left: 10px" icon="el-icon-download" @click="downLoadCjn1('cjn1')">导出加工路线单</el-button> <el-button type="primary" size="small" style="margin-left: 10px" icon="el-icon-download" @click="downLoadlxd('lxd')">导出加工路线单</el-button>
</el-card> </el-card>
<el-card> <el-card>
@@ -45,7 +45,7 @@
</div> </div>
</el-card> </el-card>
<el-card> <el-card>
<table id="cjn" style="width: 975px;" border="2px" cellspacing="0px" align="center"> <table id="dek" style="width: 975px;" border="2px" cellspacing="0px" align="center">
<thead> <thead>
<tr height="25px"> <tr height="25px">
<td colspan="4" rowspan="2" style="text-align:center;font-size: 30px;font-weight: bold">GAOJING</td> <td colspan="4" rowspan="2" style="text-align:center;font-size: 30px;font-weight: bold">GAOJING</td>
@@ -238,7 +238,7 @@
</table> </table>
</el-card> </el-card>
<el-card> <el-card>
<table id="cjn1" style="width: 800px;" border="2px" cellspacing="0px" align="center"> <table id="lxd" style="width: 800px;" border="2px" cellspacing="0px" align="center">
<thead> <thead>
<tr height="60px"> <tr height="60px">
<td colspan="6" style="text-align:center;width: 33%">江苏高精机电<br>装备有限公司</td> <td colspan="6" style="text-align:center;width: 33%">江苏高精机电<br>装备有限公司</td>
@@ -688,12 +688,12 @@ export default {
}) })
} }
}, },
downLoadCjn(tableid) { // 下载工艺定额卡 downLoaddek(tableid) { // 下载工艺定额卡
getExplorer() getExplorer()
method5(tableid) method5(tableid)
Cleanup() Cleanup()
}, },
downLoadCjn1(tableid) { // 下载零件加工路线单 downLoadlxd(tableid) { // 下载零件加工路线单
getExplorer() getExplorer()
method5(tableid) method5(tableid)
Cleanup() Cleanup()
@@ -701,13 +701,7 @@ export default {
} }
} }
</script> </script>
<style>
td{
width: 100px;
height: 30px;
text-align:center;
}
</style>
<style scoped> <style scoped>
span{ span{
margin: 10px 0 10px 10px; margin: 10px 0 10px 10px;
@@ -719,4 +713,9 @@ export default {
max-height: 250px; max-height: 250px;
overflow: auto; overflow: auto;
} }
td{
width: 100px;
height: 30px;
text-align:center;
}
</style> </style>