Browse Source

BUG修改

master
parent
commit
5fe921e278
  1. 5
      src/api/eam/basic/item/index.ts
  2. 2
      src/views/eam/basic/item/index.vue
  3. 4
      src/views/eam/item/itemOrderMain/index.vue

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

@ -67,3 +67,8 @@ export const exportItem = async (params) => {
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`})
}

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

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

4
src/views/eam/item/itemOrderMain/index.vue

@ -38,7 +38,9 @@
:detailAllSchemas="ItemOrderDetail.allSchemas" :detailAllSchemasRules="ItemOrderDetailRules"
:apiCreate="ItemOrderDetailApi.createItemOrderDetail" :apiUpdate="ItemOrderDetailApi.updateItemOrderDetail"
:apiPage="ItemOrderDetailApi.getItemOrderDetailPage" :apiDelete="ItemOrderDetailApi.deleteItemOrderDetail"
@searchTableSuccessDetail="searchTableSuccessDetail" />
@searchTableSuccessDetail="searchTableSuccessDetail"
:isShowAddBtn="false"
:detailButtonIsShow="true"/>
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/purchase-main/import" :importTemplateData="importTemplateData"

Loading…
Cancel
Save