add 反馈压机残留重量
This commit is contained in:
@@ -488,6 +488,13 @@ export default {
|
||||
}
|
||||
this.data1 = data.rs
|
||||
this.data2 = data.ws
|
||||
if (data.modeform) {
|
||||
const arr = Object.keys(data.modeform)
|
||||
// 不为空
|
||||
if (arr.length > 0) {
|
||||
this.modeform.tableData = data.modeform
|
||||
}
|
||||
}
|
||||
this.sliceItem()
|
||||
})
|
||||
selectPlcList().then(data => {
|
||||
|
||||
@@ -464,6 +464,13 @@ export default {
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
insertdtl() {
|
||||
this.modeform.tableData.push({mode: '', request: '' })
|
||||
},
|
||||
deleteRow(index, rows) {
|
||||
debugger
|
||||
rows.splice(index, 1)
|
||||
},
|
||||
finishReadEdit(data) {
|
||||
// 编辑的是code列,并且值包含mode
|
||||
if (data.code.indexOf('mode') !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user