外协人员追溯V3

This commit is contained in:
liulujia1
2020-04-10 10:38:47 +08:00
parent d31203ac98
commit 7b3c2301a2
4 changed files with 14 additions and 5 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,11 @@
{{ 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>
</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('保存成功')