ljlong_2630 11 months ago
parent
commit
222897ae43
  1. 2
      Dockerfile
  2. 7
      src/api/eam/basic/item/index.ts
  3. 2
      src/views/eam/basic/item/index.vue
  4. 4
      src/views/eam/item/itemOrderMain/index.vue

2
Dockerfile

@ -1,5 +1,5 @@
# 设置基础镜像 # 设置基础镜像
FROM nginx:WIN-1.25.3 FROM win-nginx
WORKDIR /opt/eam WORKDIR /opt/eam
COPY nginx.conf /usr/local/nginx/conf/nginx.conf COPY nginx.conf /usr/local/nginx/conf/nginx.conf

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