Browse Source

BUG修改

master
parent
commit
0d05e6f832
  1. 10
      src/api/eam/basic/item/index.ts
  2. 2
      src/views/eam/basic/item/index.vue

10
src/api/eam/basic/item/index.ts

@ -68,13 +68,13 @@ export const getItemList = async (params) => {
return await request.get({ url: `/eam/item/getListByNumber`, params })
}
// 删除备件
export const getaaa = async () => {
return await request.get({ url: `/eam/producePlan/produce`})
}
// // 删除备件
// export const getaaa = async () => {
// return await request.get({ url: `/eam/producePlan/produce`})
// }
// 备件不分页
export const getItemNoPage = async (params) => {
return await request.get({ url: `/eam/item/noPage`, params })
}
}

2
src/views/eam/basic/item/index.vue

@ -239,7 +239,7 @@
//
await message.delConfirm()
//
await ItemApi.getaaa()
await ItemApi.deleteItem(id)
message.success(t('common.delSuccess'))
//
await getList()

Loading…
Cancel
Save