|
@@ -141,7 +141,7 @@ export default {
|
|
deleteItem(row) {
|
|
deleteItem(row) {
|
|
let params = {
|
|
let params = {
|
|
deviceLedgerId: this.queryParam.deviceLedgerId,
|
|
deviceLedgerId: this.queryParam.deviceLedgerId,
|
|
- itemIdList: [row.id]
|
|
|
|
|
|
+ itemIdList: [row.itemId]
|
|
}
|
|
}
|
|
this.delItemList(params)
|
|
this.delItemList(params)
|
|
},
|
|
},
|
|
@@ -162,7 +162,7 @@ export default {
|
|
showConfirmWin(this, null, '您确定要删除已选择数据项吗?', () => {
|
|
showConfirmWin(this, null, '您确定要删除已选择数据项吗?', () => {
|
|
let params = {
|
|
let params = {
|
|
deviceLedgerId: this.queryParam.deviceLedgerId,
|
|
deviceLedgerId: this.queryParam.deviceLedgerId,
|
|
- itemIdList: Array.from(this.checkItemList, ({ id }) => id)
|
|
|
|
|
|
+ itemIdList: Array.from(this.checkItemList, ({ itemId }) => itemId)
|
|
}
|
|
}
|
|
this.delItemList(params)
|
|
this.delItemList(params)
|
|
})
|
|
})
|