rev:回显交互相关数据
This commit is contained in:
@@ -434,8 +434,7 @@ export default {
|
||||
data2: [],
|
||||
requestMethodList: [],
|
||||
modeform: {
|
||||
tableData: [
|
||||
]
|
||||
tableData: []
|
||||
},
|
||||
form: {
|
||||
inspect_in_stocck: true,
|
||||
@@ -480,6 +479,13 @@ export default {
|
||||
this.plc_code = data.parentForm.plc_code
|
||||
}
|
||||
}
|
||||
// 交互相关回显
|
||||
if (data.modeform) {
|
||||
const arr = Object.keys(data.modeform)
|
||||
if (arr.length > 0) {
|
||||
this.modeform.tableData = data.modeform
|
||||
}
|
||||
}
|
||||
this.data1 = data.rs
|
||||
this.data2 = data.ws
|
||||
this.sliceItem()
|
||||
|
||||
Reference in New Issue
Block a user