This commit is contained in:
Vergil
2020-04-10 14:27:49 +08:00
8 changed files with 52 additions and 18 deletions

View File

@@ -11,7 +11,7 @@
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<el-table-column label="零件图号" prop="零件图号" align="center" min-width="200px" >
<el-table-column label="零件图号" prop="零件图号" align="center" width="160px" >
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
@@ -31,6 +31,16 @@
{{ scope.row.外协工序 }}
</template>
</el-table-column>
<el-table-column label="分配人" align="center" show-overflow-tooltip width="100px">
<template slot-scope="scope">
{{ scope.row.外协分配人 }}
</template>
</el-table-column>
<el-table-column label="分配时间" align="center" show-overflow-tooltip width="100px">
<template slot-scope="scope">
{{ scope.row.分配时间 | formatTime }}
</template>
</el-table-column>
</el-table>
</el-card>
<el-card>

View File

@@ -288,7 +288,8 @@ export default {
if (this.count !== this.tableData2.length) {
this.a = 0
for (let i = 0; i < this.tableData2.length; i++) {
saveRowPrice(this.tableData2[i].工序流水号, 0, this.tableData2[i].工艺计划流水号, 0).then(response => {
console.log(this.$store.state.user.id, 9090)
saveRowPrice(this.tableData2[i].工序流水号, 0, this.tableData2[i].工艺计划流水号, 0, this.$store.state.user.id).then(response => {
this.a += parseInt(response.data[0].result)
if (this.a === this.tableData2.length) {
this.$message.success('保存成功')