Browse Source

SBBJ-902设备台账、场内模具台账、厂外模具台账需要增加删除功能

master
zhaoyiran 1 week ago
parent
commit
fcdc4224c8
  1. 4
      src/views/eam/device/deviceAccounts/index.vue
  2. 6
      src/views/eam/mold/moldAccounts/index.vue

4
src/views/eam/device/deviceAccounts/index.vue

@ -173,7 +173,7 @@
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'eam:device-accounts:update'}), //
// defaultButtons.mainListDeleteBtn(null), //
defaultButtons.mainListDeleteBtn(null), //
defaultButtons.selectQrCodeBtn(null), //
defaultButtons.selectItemBtn(null) //
]
@ -193,6 +193,8 @@
openItem(row.number)
} else if (val == 'qrCode') {
window.open(src.value + "&number='" + row.number + "'")
} else if(val == 'delete'){
handleDelete(row.id)
} else {
//
console.log('其他按钮', val, row)

6
src/views/eam/mold/moldAccounts/index.vue

@ -223,7 +223,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'eam:mold-accounts:update'}), //
// defaultButtons.mainListDeleteBtn(null), //
defaultButtons.mainListDeleteBtn(null), //
defaultButtons.selectQrCodeBtn(null), //
// defaultButtons.selectItemBtn(null) //
]
@ -237,7 +237,9 @@ const buttonTableClick = async (val, row) => {
window.open(src.value + "&number='" + row.number + "'")
} else if (val == 'selectItem') {
openItem(row.number)
}
} else if(val == 'delete'){
handleDelete(row.id)
}
}
/** 添加/修改操作 */

Loading…
Cancel
Save