diff --git a/src/api/mes/workstation/index.ts b/src/api/mes/workstation/index.ts index b950fd776..7fe301a2d 100644 --- a/src/api/mes/workstation/index.ts +++ b/src/api/mes/workstation/index.ts @@ -76,17 +76,17 @@ export const getProcessPage = async (params) => { if (params.isSearch) { delete params.isSearch const data = {...params} - return await request.post({ url: '/wms/process/senior', data }) + return await request.post({ url: '/mes/production-process/senior', data }) } else { - return await request.get({ url: `/wms/process/pageListByWorkstationCode`, params }) + return await request.get({ url: `/mes/production-process/pageListByWorkstationCode`, params }) } } export const getProductionPage = async (params) => { if (params.isSearch) { delete params.isSearch const data = {...params} - return await request.post({ url: '/wms/production/senior', data }) + return await request.post({ url: '/mes/production-process/senior', data }) } else { - return await request.get({ url: `/wms/production/pageListByWorkstationCode`, params }) + return await request.get({ url: `/mes/production-process/pageListByWorkstationCode`, params }) } } diff --git a/src/views/mes/workstation/index.vue b/src/views/mes/workstation/index.vue index 6cf463a0f..1aa880115 100644 --- a/src/views/mes/workstation/index.vue +++ b/src/views/mes/workstation/index.vue @@ -58,6 +58,8 @@ :detailAllSchemasRules="WorkstationRules" :apiPage="apiPage" :tabs="TabsList" + :detailButtonIsShowAdd = "true" + :detailButtonIsShowDelete="true" @changeTabs="changeTabs" /> @@ -79,7 +81,6 @@ import * as WorkstationApi from '@/api/mes/workstation' import * as defaultButtons from '@/utils/disposition/defaultButtons' import TableHead from '@/components/TableHead/src/TableHead.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue' -import * as PurchasereceiptRecordDetailApi from "@/api/wms/purchasereceiptRecordDetail"; import { getEquipmentPage, getProcessPage,