add 反馈压机残留重量

This commit is contained in:
周俊杰
2023-08-09 20:46:19 +08:00
parent 299dffa999
commit 51c9776bd1
5 changed files with 202 additions and 150 deletions

View File

@@ -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 => {

View File

@@ -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) {