|
@@ -1104,6 +1104,7 @@ export default {
|
|
|
.catch(_ => { });
|
|
|
},
|
|
|
changeProcedureVersion(row) {
|
|
|
+
|
|
|
let index = null
|
|
|
for (var i in this.list) {
|
|
|
if (this.list[i].id === row.id) {
|
|
@@ -1111,7 +1112,8 @@ export default {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- this.getProdProcedureVersion(row.id, index)
|
|
|
+
|
|
|
+ this.getProdProcedureVersion(row.id, row.tableProdProcedure.version, index)
|
|
|
},
|
|
|
changeMaterialVersion(row) {
|
|
|
let index = null
|
|
@@ -1121,7 +1123,8 @@ export default {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
- this.getProdMaterialVersion(row.id, index)
|
|
|
+
|
|
|
+ this.getProdMaterialVersion(row.id,row. index)
|
|
|
},
|
|
|
// 获取row的key值
|
|
|
getRowKeys(row) {
|