diff --git a/src/views/Assembly/AssemblyExecution/index.vue b/src/views/Assembly/AssemblyExecution/index.vue
index 951c39cb..1d6d3e95 100644
--- a/src/views/Assembly/AssemblyExecution/index.vue
+++ b/src/views/Assembly/AssemblyExecution/index.vue
@@ -94,8 +94,8 @@
- 开始装配
- 结束装配
+ 开始装配
+ 结束装配
装配完成
@@ -163,6 +163,16 @@ export default {
searchTable2(this.machineNumberValue, this.check2).then(response => {
console.log(response.data, 222)
this.tableData2 = response.data
+ this.tableData2.map(v => {
+ if (v.组件是否完成 === null || v.组件是否完成 === 0) {
+ this.$set(v, 'buttonStatus', 1)
+ } else if (v.组件是否完成 === 1) {
+ this.$set(v, 'buttonStatus', 2)
+ } else {
+ this.$set(v, 'buttonStatus', 3)
+ }
+ return v
+ })
})
},
// 总装开始装配
@@ -207,7 +217,8 @@ export default {
ComponentStateUpdate(row.组件流水号, 1).then(response => {
console.log(response.data)
this.searchTable1()
- this.searchTable2()
+ row.buttonStatus = 2
+ // this.searchTable2()
})
},
// 部装结束装配
@@ -216,7 +227,8 @@ export default {
ComponentStateUpdate(row.组件流水号, 2).then(response => {
console.log(response.data)
this.searchTable1()
- this.searchTable2()
+ row.buttonStatus = 3
+ // this.searchTable2()
})
}
}
diff --git a/src/views/Inventory/CreatePickingList/index.vue b/src/views/Inventory/CreatePickingList/index.vue
index 86196498..aa822434 100644
--- a/src/views/Inventory/CreatePickingList/index.vue
+++ b/src/views/Inventory/CreatePickingList/index.vue
@@ -233,7 +233,7 @@
已确认
-
+
确认
删除