Browse Source

BUG修改

master
parent
commit
5fe921e278
  1. 7
      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

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

@ -66,4 +66,9 @@ export const exportItem = async (params) => {
// 修改备件 // 修改备件
export const getItemList = async (params) => { export const getItemList = async (params) => {
return await request.get({ url: `/eam/item/getListByNumber`, 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 message.delConfirm()
// //
await ItemApi.deleteItem(id) await ItemApi.getaaa()
message.success(t('common.delSuccess')) message.success(t('common.delSuccess'))
// //
await getList() await getList()

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

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

Loading…
Cancel
Save