生箔工序

This commit is contained in:
2025-05-30 18:02:19 +08:00
parent 0b888ad75e
commit 6bd273b047
6 changed files with 264 additions and 124 deletions

View File

@@ -24,7 +24,7 @@ export const queryRawFoil = (pcode, cname, parea, page, size) => request({
/**
* 生箔工序
*/
// 1.1生箔工序初始化查询
// 生箔工序初始化查询
export const queryRawFoilList = (pcode, cname, page, size) => request({
url: 'api/pda/raw/queryRawFoilList',
data: {
@@ -34,6 +34,43 @@ export const queryRawFoilList = (pcode, cname, page, size) => request({
size: size
}
})
// export const queryRawFoilList = (pcode, cname, page, size) => {
// let res = {
// size: 10,
// data: [{container_name: '10000'}]
// }
// return res
// }
// 新增工单
export const createOrder = (code, name) => request({
url: 'api/pda/raw/createOrder',
data: {
point_code: code,
container_name: name
}
})
// 确认下卷-改为:准备就绪
export const confirmBlanking = (rjo) => request({
url: 'api/pda/raw/confirmBlanking',
data: {
raw_jo: rjo
}
})
// 开始工单
export const rawStart = (rjo) => request({
url: 'api/pda/raw/start',
data: {
raw_jo: rjo
}
})
// 正常下卷/单下卷/单上轴/单下轴
export const rawScrollDowm = (rjo, type) => request({
url: 'api/pda/raw/scrollDowm',
data: {
raw_jo: rjo,
type: type
}
})
// 1.2呼叫
export const needEmptyAxis = (rjo, type, temperature, hours) => request({
url: 'api/pda/raw/needEmptyAxis',
@@ -51,13 +88,7 @@ export const needEmptyVehicle = (pcode) => request({
point_code: pcode
}
})
// 1.3确认下卷-改为:准备就绪
export const confirmBlanking = (rjo) => request({
url: 'api/pda/raw/confirmBlanking',
data: {
raw_jo: rjo
}
})
// 1.4下卷完成-改为:确认下卷
export const finishBlanking = (rjo) => request({
url: 'api/pda/raw/finishBlanking',

View File

@@ -91,14 +91,6 @@ export const needEmptyAxis = (code, name) => request({
container_name: name
}
})
// 创建工单
export const createOrder = (code, name) => request({
url: 'api/pda/raw/createOrder',
data: {
point_code: code,
container_name: name
}
})
/**
* 二期退货入库
*/