创建备料单
This commit is contained in:
@@ -33,6 +33,21 @@
|
||||
{{ scope.row.零件图号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="数量" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.批次数量 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="材料" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.材料 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="规格" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.原材料规格 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="备料" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.工艺要求 }}
|
||||
@@ -52,25 +67,34 @@
|
||||
</div>
|
||||
</el-card>
|
||||
|
||||
<div v-show="false" id="BL">
|
||||
<div id="BL">
|
||||
<table border cellspacing="0px" style="table-layout: fixed; width: 600px;">
|
||||
<colgroup>
|
||||
<col style="width: 100px">
|
||||
<col style="width: 150px">
|
||||
<col style="width: 120px">
|
||||
<col style="width: 180px">
|
||||
<col style="width: 110px">
|
||||
<col style="width: 110px">
|
||||
<col style="width: 110px">
|
||||
<col style="width: 450px">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<th height="60px">GAOJING</th>
|
||||
<th colspan="2" height="60px"><span style="font-weight:bold">备料单</span></th>
|
||||
<th colspan="2" height="60px">GAOJING</th>
|
||||
<th colspan="4" height="60px"><span style="font-weight:bold">备料单</span></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">零件名称</td>
|
||||
<td align="center">零件图号</td>
|
||||
<td align="center">材料</td>
|
||||
<td align="center">原材料规格</td>
|
||||
<td align="center">批次数量</td>
|
||||
<td align="center">备料</td>
|
||||
</tr>
|
||||
<tr v-for="(list, index) in tableData2" :key="index">
|
||||
<td align="center">{{ list.零件名称 }}</td>
|
||||
<td align="center">{{ list.零件图号 }}</td>
|
||||
<td align="center">{{ list.材料 }}</td>
|
||||
<td align="center">{{ list.原材料规格 }}</td>
|
||||
<td align="center">{{ list.批次数量 }}</td>
|
||||
<td>{{ list.工艺要求 }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -141,7 +165,10 @@ export default {
|
||||
零件名称: this.Data[i].零件名称,
|
||||
零件图号: this.Data[i].零件图号,
|
||||
备料打印: this.Data[i].备料打印,
|
||||
工艺要求: response.data[0].工艺要求
|
||||
工艺要求: response.data[0].工艺要求,
|
||||
材料: this.Data[i].材料,
|
||||
原材料规格: this.Data[i].原材料规格,
|
||||
批次数量: this.Data[i].批次数量
|
||||
})
|
||||
})
|
||||
this.loading = false
|
||||
|
||||
Reference in New Issue
Block a user