Browse Source

1、工位关联工序

master_hella_20240701
bjang03 8 months ago
parent
commit
479f3e2753
  1. 8
      src/api/mes/workstation/index.ts
  2. 3
      src/views/mes/workstation/index.vue

8
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 })
}
}

3
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,

Loading…
Cancel
Save