You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

107 lines
2.8 KiB

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/workScheduling/page', {params})
}
export function getWorkSchedulingInfo(number) {
return http.get('/mes/workScheduling/get?id=' + number)
}
export function updateWorkScheduling(params) {
return http.post('/mes/workScheduling/update-status', params)
}
export function getWorkSchedulingPDF(number) {
return http.get('/mes/workScheduling/get-PDF?planMasterCode=' + number)
}
export function getWorkSchedulingDetail(number) {
return http.get('/mes/work-scheduling-detail/get-info?schedulingCode=' + 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)
}
export function getQaFormPage(params) {
return http.get('/mes/work-scheduling-qaform/page', {params})
}
// 查询已经配置工序人员
export const getConfigProcessWorker = async (params: any) => {
return http.get('/mes/work-scheduling-detail/getPeopleReportList', {params})
}
// 工序报工
export const reportWorkByProcess = async (params: any) => {
return http.post('/mes/work-scheduling-detail/reportWorkByProcess', params)
}
//完工处理
export function completeHandle(data) {
return http.post('/mes/workScheduling/completeHandle', data)
}
//叫料
export function callBasicItem(params) {
return http.get('/mes/orderDayBom/page', {params})
}
export function callBasicItemForm(params) {
console.log(params)
return http.post('/mes/item-request-main/create-call-material', params)
}
//领料
export function receiveBasicItem(data) {
return http.post('/mes/', data)
}
//补料
export function addBasicItem(data) {
return http.post('/mes/', data)
}