将车间采购分为基本件和外购件两张表

This commit is contained in:
liushuai
2018-11-30 13:40:47 +08:00
parent 09cd1828de
commit 6dbe7817de
19 changed files with 635 additions and 158 deletions

View File

@@ -62,7 +62,7 @@
</el-table-column>
<el-table-column align="center" label="计划完成日期">
<template slot-scope="scope">
{{ scope.row.项目计划完成时间 }}
{{ scope.row.发货节点 }}
</template>
</el-table-column>
<el-table-column align="center" label="客户名称">
@@ -144,9 +144,9 @@ export default {
this.machineNumberValue ? this.check1 = 1 : this.check1 = 0
searchTable(this.check, this.projectValue, this.check1, this.machineNumberValue, this.check2, this.startEndDate[0], this.startEndDate[1], this.pageCurrent, this.pageSize).then(response => {
for (let i = 0; i < response.data.rows.length; i++) {
console.log(response.data.rows[i].项目计划完成时间)
if (response.data.rows[i].项目计划完成时间 !== '') {
response.data.rows[i].项目计划完成时间 = (response.data.rows[i].项目计划完成时间).split(' ')[0]
console.log(response.data.rows[i].发货节点)
if (response.data.rows[i].发货节点 !== '') {
response.data.rows[i].发货节点 = (response.data.rows[i].发货节点).split(' ')[0]
}
}
this.tableData = response.data.rows

View File

@@ -99,9 +99,9 @@
<td colspan="6">{{ list.工艺内容及装配具体要求 }}</td>
<td align="center">{{ list.质检 }}</td>
<td>{{ list.工时 }}</td>
<td>{{ list.装配员 }}</td>
<td>{{ list.检验员 }}</td>
<td width="100px">{{ list.备注 }}</td>
<td/>
<td/>
<td width="100px"/>
</tr>
</tbody>
</table>