diff --git a/src/api/mes/orderDay/index.ts b/src/api/mes/orderDay/index.ts
index 24de2d1..0770e63 100644
--- a/src/api/mes/orderDay/index.ts
+++ b/src/api/mes/orderDay/index.ts
@@ -20,6 +20,14 @@ export interface OrderDayVO {
taskMode: string
}
+export function getCompleteInspectionMark(paramCode) {
+ return http.get('/mes/complete-inspect/get?paramCode=' + paramCode)
+}
+
+export function getQualityformInfo(fromNo) {
+ return http.get('/mes/qualityform/getQualityform?fromNo=' + fromNo)
+}
+
export function getOrderDayPage(params) {
return http.get('/mes/orderday/page', {params})
}
@@ -29,88 +37,14 @@ export function getOrderDayPlanDetail(number) {
return http.get('/mes/orderday/get?id=' + number)
}
-// 查询生产日计划列表
-// export const getOrderDayPage = async (params) => {
-// if (params.isSearch) {
-// delete params.isSearch
-// const data = {...params}
-// return await request.post({ url: '/mes/orderday/senior', data })
-// } else {
-// return await request.get({ url: `/mes/orderday/page`, params })
-// }
-// }
-
-// // 查询生产日计划详情
-// export const getOrderDay = async (id: number) => {
-// return await request.get({ url: `/mes/orderday/get?id=` + id })
-// }
-
-// // 新增生产日计划
-// export const createOrderDay = async (data: OrderDayVO) => {
-// return await request.post({ url: `/mes/orderday/create`, data })
-// }
-
-// // 修改生产日计划
-// export const updateOrderDay = async (data: OrderDayVO) => {
-// return await request.put({ url: `/mes/orderday/update`, data })
-// }
-
-// // 删除生产日计划
-// export const deleteOrderDay = async (id: number) => {
-// return await request.delete({ url: `/mes/orderday/delete?id=` + id })
-// }
-
-// // 导出生产日计划 Excel
-// export const exportOrderDay = async (params) => {
-// return await request.download({ url: `/mes/orderday/export-excel`, params })
-// }
-// // 下载用户导入模板
-// export const importTemplate = () => {
-// return request.download({ url: '/mes/orderday/get-import-template' })
-// }
-// // 根据产品编码获取Bom
-// export const getBoms = async (code: String) => {
-// return request.get({ url: '/mes/common/geBomByProductCode?code='+code })
-// }
-// // 根据产品编码获取工艺路线
-// export const getProcessroutes = async (code: String) => {
-// return request.get({ url: '/mes/common/getProcessRouteByProductCode?code='+code })
-// }
-// // 根据车间编码获取产线列表
-// export const getProductlines = async (code: String) => {
-// return request.get({ url: '/mes/common/getLinesByWorkRoomCode?code='+code })
-// }
-// // 获取产线信息
-// export const getProductlineInfo = async (code: String) => {
-// return request.get({ url: '/mes/common/getLinesByWorkRoomCode?code='+code })
-// }
-// // 根据工艺路线的工序信息
-// export const getProcessroutesDetail = async (code) => {
-// return await request.get({ url: `/mes/orderday/getProcessInfo?code=`+ code })
-// }
-// // 根据获取计划BOM信息
-// export const getPlanBom = async (params) => {
-// return await request.get({ url: `/mes/orderday/getBomInfo`,params })
-// }
+export function getBomInfo(params) {
+ return http.post('/mes/complete-inspect/get-orderDay-bom', params)
+}
-// // 根据获取计划BOM信息
-// export const getBomInfoTree = async (params) => {
-// return await request.get({ url: `/mes/orderday/getBomInfoTree`,params })
-// }
-// // 根据计划的车间、产线、计划时间 查询已经配置的人员
-// export const getPlanWorks = async (params) => {
-// return await request.get({ url: `/mes/orderday/getWorkGroup`,params })
-// }
-// // 根据车间、产线 查询已配置的设备
-// export const getPlanDevices = async (params) => {
-// return await request.get({ url: `/mes/orderday/getDeviceInfo`,params })
-// }
+export function getBomInfoList(params) {
+ return http.post('/mes/complete-inspect/get-orderDay-bom-page', params)
+}
-// ///发布计划
-// export const publishPlan = async (data: OrderDayVO) => {
-// return await request.post({ url: `/mes/orderday/publishPlan`,data })
-// }
-// //终止计划
-// export const stopPlan = async (params) => {
-// return await request.post({ url: `/mes/orderday/stopPlan`,params })
-// }
\ No newline at end of file
+export function updateBomInfo(params) {
+ return http.post('/mes/complete-inspect/update', params)
+}
diff --git a/src/api/mes/workScheduling/index.ts b/src/api/mes/workScheduling/index.ts
new file mode 100644
index 0000000..f39ee19
--- /dev/null
+++ b/src/api/mes/workScheduling/index.ts
@@ -0,0 +1,58 @@
+import http from '../../http'
+
+export interface OrderDayVO {
+ status: string
+ remark: string
+ planNoMonth: string
+ planNoDay: string
+ productCode: string
+ workroomCode: string
+ lineCode: string
+ planCount: number
+ processrouteCode: string
+ tempProcessroute: string
+ standardBom: string
+ tempBom: string
+ workMode: string
+ planDate: Date
+ startTime: Date
+ endTime: Date
+ taskMode: string
+}
+
+export function getCompleteInspectionMark(paramCode) {
+ return http.get('/mes/complete-inspect/get?paramCode=' + paramCode)
+}
+
+export function getQualityformInfo(fromNo) {
+ return http.get('/mes/qualityform/getQualityform?fromNo=' + fromNo)
+}
+
+export function getWorkSchedulingPage(params) {
+ return http.get('/mes/work-scheduling/page', {params})
+}
+
+export function getWorkSchedulingDetail(number) {
+ //return http.get('/eam/item-apply-request-main/appGetByNumber?number=' + number)
+ return http.get('/mes/work-scheduling/get?id=' + number)
+}
+
+export function getBomInfo(params) {
+ return http.post('/mes/complete-inspect/get-orderDay-bom', params)
+}
+
+export function getBomInfoList(params) {
+ return http.post('/mes/complete-inspect/get-orderDay-bom-page', params)
+}
+
+export function getWorkerInfoList(params) {
+ return http.post('/mes/complete-inspect/get-orderDay-worker-page', params)
+}
+
+export function getEquipmentInfoList(params) {
+ return http.post('/mes/complete-inspect/get-orderDay-equipment-page', params)
+}
+
+export function updateWorkSchedulingInfo(params) {
+ return http.post('/mes/complete-inspect/update', params)
+}
diff --git a/src/pages.json b/src/pages.json
index c76597f..ad903a3 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1907,6 +1907,36 @@
"navigationBarTitleText": "日计划查询明细",
"enablePullDownRefresh": true
}
+ },{
+ "path": "pages/mes/workScheduling/workScheduling",
+ "style": {
+ "navigationBarTitleText": "生产任务查询明细",
+ "enablePullDownRefresh": true
+ }
+ },{
+ "path": "pages/mes/workScheduling/bomInspect",
+ "style": {
+ "navigationBarTitleText": "齐套检查——Bom",
+ "enablePullDownRefresh": true
+ }
+ },{
+ "path": "pages/mes/workScheduling/equipmentInspect",
+ "style": {
+ "navigationBarTitleText": "齐套检查——设备",
+ "enablePullDownRefresh": true
+ }
+ },{
+ "path": "pages/mes/workScheduling/workerInspect",
+ "style": {
+ "navigationBarTitleText": "齐套检查——人员",
+ "enablePullDownRefresh": true
+ }
+ },{
+ "path": "pages/mes/workScheduling/inspectionItems",
+ "style": {
+ "navigationBarTitleText": "齐套检查——检查项",
+ "enablePullDownRefresh": true
+ }
},{
"path": "pages/mes/workOrder/processReport",
"style": {
diff --git a/src/pages/mes/orderDayPlan/detail.vue b/src/pages/mes/orderDayPlan/detail.vue
index 22c2c42..df9163e 100644
--- a/src/pages/mes/orderDayPlan/detail.vue
+++ b/src/pages/mes/orderDayPlan/detail.vue
@@ -66,23 +66,10 @@
结束时间:
{{ `${$time.formatDate(data.endTime)}` }}
-
-
- 备件名称:{{ cur.itemName }}
-
-
- 类型:{{ cur.type == 'type' ? '设备' : '模具' }}
-
-
- {{ cur.type == 'type' ? '设备' : '模具' }}名称:{{ cur.name }}
-
-
- 是否以旧换新:{{ cur.isRadeIn == 'TRUE' ? '是' : '否' }}
-
-
- 数量:{{ cur.qty }}
-
-
+
+ 齐套检查-Bom:
+ {{ data.bomInspect }}
+