备料到货管理

This commit is contained in:
zhangdingyu
2018-12-14 19:26:05 +08:00
parent 61589d5a8e
commit 8fa66f94d2
4 changed files with 200 additions and 6 deletions

View File

@@ -18,8 +18,8 @@
align="center"/>
<el-table-column label="打印状态" width="100" align="center">
<template slot-scope="scope">
<el-tag v-if="scope.row.备料打印!=='0'" type="success" size="small">打印</el-tag>
<el-tag v-else type="warning" size="small">打印</el-tag>
<el-tag v-if="scope.row.备料打印!=='0'" type="success" size="small">导出</el-tag>
<el-tag v-else type="warning" size="small">导出</el-tag>
</template>
</el-table-column>
<el-table-column label="零件名称" align="center" width="220px">
@@ -27,7 +27,7 @@
{{ scope.row.零件名称 }}
</template>
</el-table-column>
<el-table-column label="零件图号" align="center" width="280px">
<el-table-column label="零件图号" align="center" width="240px">
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
@@ -58,8 +58,8 @@
<col style="width: 450px">
</colgroup>
<tr>
<th>GAOJING</th>
<th colspan="2"><span style="font-weight:bold">备料单</span></th>
<th height="60px">GAOJING</th>
<th colspan="2" height="60px"><span style="font-weight:bold">备料单</span></th>
</tr>
<tr>
<td align="center">零件名称</td>
@@ -101,6 +101,7 @@ export default {
searchTable() {
this.loading = true
this.tableData = []
this.Data = []
if (this.partName !== '' && this.partName !== null) {
this.partNamecheck = true
} else {
@@ -119,6 +120,7 @@ export default {
this.tableData.push({
零件名称: this.Data[i].零件名称,
零件图号: this.Data[i].零件图号,
备料打印: this.Data[i].备料打印,
工艺要求: response.data[i].工艺要求
})
})