新增二期呼叫套轴,分切上料2加功能

This commit is contained in:
2026-08-06 16:49:16 +08:00
parent 29ccbcc358
commit 36f5d4afd4
8 changed files with 578 additions and 9 deletions

View File

@@ -506,6 +506,23 @@ export const downRolls2 = (device, code) => request({
container: code
}
})
export const getUnbindPlan = (device) => request({
url:'api/pda/slitter/get-unbind-plan',
data: {
deviceCode: device
}
})
export const dBindPlanDevice = (upShelf, upPlanCode, downShelf, downPlanCode, force, device) => request({
url:'api/pda/slitter/do-bind-plan-device',
data: {
upShelf: upShelf,
upPlanCode: upPlanCode,
downShelf: downShelf,
downPlanCode: downPlanCode,
force: force,
device: device
}
})
/**
* 母卷暂存管理(分切管理二期)
*/
@@ -681,4 +698,27 @@ export const checkCode = (ncode, gcode, bcode, ccode) => request({
export const changePointMove = (code, move) => request({
url:'api/pda/raw/changePointMove',
data: {deviceCode: code, move: move}
})
/**
* 呼叫套轴(二期)
*/
// 获取位置下拉框
export const slitXnarea = (area) => request({
url:'api/pda/slitter/list-xn-area',
data: {area: area}
})
// 呼叫套轴
export const slitXnplan = (area, location, ulk, ulv, urk, urv, size, qzz, num) => request({
url:'api/pda/slitter/bind-xn-plan',
data: {
area: area,
location: location,
up_left_size_k: ulk,
up_left_size_v: ulv,
up_right_size_k: urk,
up_right_size_v: urv,
qzz_size: size,
qzz_generation: qzz,
qqz_num: num
}
})

View File

@@ -114,7 +114,8 @@ export const allAuthority = () => {
{menu_id: '8', title: '子卷拼单', path: '/pages/SecondPhase/slitting/Zjpindan'},
{menu_id: '8', title: '人工呼叫空轴', path: '/pages/SecondPhase/slitting/ManEmptyAxle'},
{menu_id: '11', title: '备货出入库', path: '/pages/SecondPhase/slitting/GdsPrepInOut'},
{menu_id: '11', title: '任务管理', path: '/pages/SecondPhase/slitting/Task'}
{menu_id: '11', title: '任务管理', path: '/pages/SecondPhase/slitting/Task'},
{menu_id: '8', title: '呼叫套轴', path: '/pages/SecondPhase/slitting/CallPaperShaft'}
]},
{menu_id: '10', path: 'RF15', title: '打包间管理', sonTree: [
{menu_id: '1', title: '子卷包装解绑', path: '/pages/SecondPhase/SubRollPackUnbind'},
@@ -183,6 +184,19 @@ export const queryProductArea = () => {
}
return res
}
export const slitXnarea = () => {
let res = [
{
"label": "B1分切合单1区",
"value": "1"
},
{
"label": "B1分切合单2区",
"value": "2"
}
]
return res
}
export const slitterDevices = (area) => {
let res = [{text: '物料一', value: '001'}, {text: '物料a', value: '002'}, {text: '物料b', value: '003'}]
return res
@@ -301,4 +315,45 @@ export const doCallTubeShaftShow = () => {
export const getTubeLength = (code) => {
let res = {"data":{"bh":"15","length":"1500"},"message":"获取信息成功!","status":200}
return res
}
export const getUnbindPlan = () => {
let res = [
{
"label": "1",
"value": "1"
},
{
"label": "2",
"value": "2"
},
{
"label": "3",
"value": "3"
},
{
"label": "1",
"value": "1"
},
{
"label": "2",
"value": "2"
},
{
"label": "3",
"value": "3"
},
{
"label": "1",
"value": "1"
},
{
"label": "2",
"value": "2"
},
{
"label": "3",
"value": "3"
}
]
return res
}