616 lines
22 KiB
JavaScript
616 lines
22 KiB
JavaScript
export const allAuthority = () => {
|
||
let res = {
|
||
code: '1',
|
||
result: {
|
||
rf_menu0: {
|
||
sonTree: [
|
||
{menu_id: '1', path: 'RF01', title: '生产管理', sonTree: [
|
||
{menu_id: '1', title: '生箔生产进度', path: '/pages/ProductManage/SboProdProgress'},
|
||
{menu_id: '2', title: '生箔工序', path: '/pages/ProductManage/SboProcess'},
|
||
{menu_id: '3', title: '烘烤工序', path: '/pages/ProductManage/BakeProcess'},
|
||
{menu_id: '4', title: '人工烘烤', path: '/pages/ProductManage/ManmadeBake'}
|
||
]},
|
||
{menu_id: '2', path: 'RF02', title: '半成品管理', sonTree: [
|
||
{menu_id: '1', title: '半成品入库', path: '/pages/WarehouseManage/SemifinishedInStore'},
|
||
{menu_id: '2', title: '半成品出库', path: '/pages/WarehouseManage/SemifinishedOutStore'},
|
||
]},
|
||
{menu_id: '3', path: 'RF03', title: '分切管理', sonTree: [
|
||
{menu_id: '1', title: '分切上料', path: '/pages/ProductManage/SlittingFeeding'},
|
||
{menu_id: '2', title: '空轴套管', path: '/pages/ProductManage/ZjCasing'},
|
||
{menu_id: '3', title: '空轴配送', path: '/pages/ProductManage/ZjDelivery'},
|
||
{menu_id: '4', title: '空轴进站', path: '/pages/ProductManage/ZjInStore'},
|
||
{menu_id: '5', title: '子卷出站', path: '/pages/ProductManage/ZjOutStore'},
|
||
{menu_id: '6', title: '套轴申请', path: '/pages/ProductManage/AxisApply'},
|
||
{menu_id: '7', title: '空轴回库', path: '/pages/ProductManage/UnAxisBack'},
|
||
{menu_id: '8', title: '呼叫套轴', path: '/pages/ProductManage/CallPaperShaft'},
|
||
{menu_id: '9', title: '分切上轴', path: '/pages/ProductManage/UpperShaftCut'},
|
||
{menu_id: '10', title: '余轴退回', path: '/pages/ProductManage/RemainShaftBack'},
|
||
{menu_id: '11', title: '请求套轴', path: '/pages/ProductManage/RequestShaft'},
|
||
{menu_id: '11', title: '扫码下卷', path: '/pages/ProductManage/ScanRoll'}
|
||
]},
|
||
{menu_id: '4', path: 'RF04', title: '点位管理', sonTree: [
|
||
{menu_id: '1', title: '点位管理', path: '/pages/ProductManage/PointManage'},
|
||
{menu_id: '2', title: '异常出库解锁', path: '/pages/WarehouseManage/ErrorOutUnlock'}
|
||
]},
|
||
{menu_id: '5', path: 'RF05', title: '纸管/FRP管管理', sonTree: [
|
||
{menu_id: '1', title: '空管入库', path: '/pages/ProductManage/EmptyPipeInStore'},
|
||
{menu_id: '2', title: '空管出库', path: '/pages/ProductManage/EmptyPipeOutStore'},
|
||
]},
|
||
{menu_id: '6', path: 'RF06', title: '成品管理', sonTree: [
|
||
{menu_id: '1', title: '生产入库', path: '/pages/WarehouseManage/InStoreConfirm'},
|
||
{menu_id: '2', title: '退货入库', path: '/pages/WarehouseManage/ReturngoodsInStore'},
|
||
{menu_id: '3', title: '报废入库', path: '/pages/WarehouseManage/ScrapInStore'},
|
||
{menu_id: '4', title: '拆分入库', path: '/pages/WarehouseManage/InStoreSplit'},
|
||
{menu_id: '5', title: '生产区发货', path: '/pages/WarehouseManage/ProdDelivery'},
|
||
{menu_id: '6', title: '虚拟区发货', path: '/pages/WarehouseManage/XuniDelivery'},
|
||
{menu_id: '7', title: '贴标捆扎', path: '/pages/WarehouseManage/LabelBind'}
|
||
]},
|
||
{menu_id: '7', path: 'RF07', title: '在库管理', sonTree: [
|
||
{menu_id: '1', title: '盘点管理', path: '/pages/WarehouseManage/CheckList'},
|
||
]},
|
||
{menu_id: '8', path: 'RF08', title: '载具管理', sonTree: [
|
||
{menu_id: '1', title: '空载具入库', path: '/pages/WarehouseManage/EmptyInStore'},
|
||
{menu_id: '2', title: '空载具出库', path: '/pages/WarehouseManage/EmptyOutStore'},
|
||
]},
|
||
{menu_id: '9', path: 'RF09', title: '打印管理', sonTree: [
|
||
{menu_id: '1', title: '客户标签打印', path: '/pages/WarehouseManage/CustomerLabelPrint'},
|
||
]},
|
||
{menu_id: '10', path: 'RF10', title: '调度管理', sonTree: [
|
||
{menu_id: '1', title: '任务管理', path: '/pages/DispatchManage/TaskManage'},
|
||
{menu_id: '2', title: 'RGV状态查询', path: '/pages/DispatchManage/RGVStatus'}
|
||
]}
|
||
]
|
||
},
|
||
rf_menu1: {
|
||
sonTree: [
|
||
{menu_id: '1', path: 'RF08', title: '载具入库', sonTree: [
|
||
{menu_id: '1', title: '空载具入库', path: '/pages/SecondPhase/EmptyVehicleInStore'}
|
||
]},
|
||
{menu_id: '2', path: 'RF11', title: '空木箱入库', sonTree: [
|
||
{menu_id: '1', title: '空木箱入库', path: '/pages/SecondPhase/EmptyBoxInStore'}
|
||
]},
|
||
{menu_id: '3', path: 'RF12', title: '发货区', sonTree: [
|
||
{menu_id: '1', title: '发货区解绑', path: '/pages/SecondPhase/DeliveryUnbind'}
|
||
]},
|
||
{menu_id: '4', path: 'RF01', title: '生产管理', sonTree: [
|
||
{menu_id: '1', title: '生箔生产进度', path: '/pages/SecondPhase/production/SboProdProgress'},
|
||
{menu_id: '2', title: '生箔工序', path: '/pages/SecondPhase/production/SboProcess'},
|
||
{menu_id: '3', title: '烘烤工序', path: '/pages/SecondPhase/production/BakeProcess'},
|
||
{menu_id: '4', title: '表处工序', path: '/pages/SecondPhase/production/SurfaceProcess'},
|
||
{menu_id: '5', title: '人工烘烤', path: '/pages/SecondPhase/production/ManmadeBake'},
|
||
{menu_id: '6', title: '子卷质检', path: '/pages/SecondPhase/production/ZjCheck'},
|
||
{menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'},
|
||
{menu_id: '8', title: '木箱库存', path: '/pages/SecondPhase/production/BoxStock'},
|
||
{menu_id: '8', title: '子卷入库', path: '/pages/SecondPhase/production/ZjInStore'},
|
||
{menu_id: '8', title: '标签打印', path: '/pages/SecondPhase/production/PrintTable'},
|
||
{menu_id: '8', title: 'ACS点位变更', path: '/pages/SecondPhase/production/PointMove'}
|
||
]},
|
||
{menu_id: '5', path: 'RF03', title: '分切管理', sonTree: [
|
||
{menu_id: '1', title: '分切上料', path: '/pages/SecondPhase/slitting/SlittingFeeding'},
|
||
{menu_id: '6', title: '分切下料', path: '/pages/SecondPhase/slitting/SlittingCutting'},
|
||
{menu_id: '6', title: '分切下料2', path: '/pages/SecondPhase/slitting/SlittingCutting2'},
|
||
{menu_id: '2', title: '空轴套管', path: '/pages/SecondPhase/slitting/ZjCasing'},
|
||
{menu_id: '3', title: '空轴配送', path: '/pages/SecondPhase/slitting/ZjDelivery'},
|
||
{menu_id: '4', title: '空轴进站', path: '/pages/SecondPhase/slitting/ZjInStore'},
|
||
{menu_id: '5', title: '子卷出站', path: '/pages/SecondPhase/slitting/ZjOutStore'},
|
||
{menu_id: '7', title: '穿拔轴初始化', path: '/pages/SecondPhase/slitting/DoInitShaft'},
|
||
{menu_id: '8', title: '纸管绑定', path: '/pages/SecondPhase/slitting/PaperBind'},
|
||
{menu_id: '8', title: '分切暂存下料', path: '/pages/SecondPhase/slitting/CacheCut'},
|
||
{menu_id: '8', title: '分切暂存清除', path: '/pages/SecondPhase/slitting/CacheClean'},
|
||
{menu_id: '8', title: '气胀轴库维护', path: '/pages/SecondPhase/slitting/ShaftSave'},
|
||
{menu_id: '8', title: '分切子卷维护', path: '/pages/SecondPhase/slitting/ZjSave'},
|
||
{menu_id: '8', title: '备货区管理', path: '/pages/SecondPhase/slitting/StockingArea'},
|
||
{menu_id: '8', title: 'AGV放行', path: '/pages/SecondPhase/slitting/AGVPass'},
|
||
{menu_id: '8', title: '子卷重量维护', path: '/pages/SecondPhase/slitting/SubRollWeight'},
|
||
{menu_id: '8', title: '分切上轴', path: '/pages/SecondPhase/slitting/UpperShaftCut'},
|
||
{menu_id: '8', title: '分切上轴2', path: '/pages/SecondPhase/slitting/UpperShaftCut2'},
|
||
{menu_id: '8', title: '分切呼叫送轴', path: '/pages/SecondPhase/slitting/CallShaft'},
|
||
{menu_id: '8', title: '人工呼叫套轴顺序', path: '/pages/SecondPhase/slitting/CallAxisSeq'},
|
||
{menu_id: '8', title: '母卷暂存管理', path: '/pages/SecondPhase/slitting/RollCacheManage'},
|
||
{menu_id: '8', title: '饵料下卷', path: '/pages/SecondPhase/slitting/BaitRoll'},
|
||
{menu_id: '8', title: '空轴退回', path: '/pages/SecondPhase/slitting/EmptyAxisReturn'},
|
||
{menu_id: '8', title: '分切暂存维护', path: '/pages/SecondPhase/slitting/CacheSave'},
|
||
{menu_id: '8', title: '呼叫套轴', path: '/pages/SecondPhase/slitting/CallAxis'},
|
||
{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: '8', title: '呼叫套轴', path: '/pages/SecondPhase/slitting/CallPaperShaft'},
|
||
{menu_id: '8', title: '气胀轴移库', path: '/pages/SecondPhase/slitting/ShaftMoveStorage'},
|
||
{menu_id: '8', title: '气胀轴库退轴', path: '/pages/SecondPhase/slitting/ShaftReturnStorage'}
|
||
]},
|
||
{menu_id: '10', path: 'RF15', title: '打包间管理', sonTree: [
|
||
{menu_id: '1', title: '子卷包装解绑', path: '/pages/SecondPhase/SubRollPackUnbind'},
|
||
{menu_id: '1', title: '装箱口木箱回库', path: '/pages/SecondPhase/BoxReturn'},
|
||
{menu_id: '1', title: '人工点维护', path: '/pages/SecondPhase/ManMaintain'},
|
||
{menu_id: '1', title: '载具解绑', path: '/pages/SecondPhase/VehicleUnbind'},
|
||
{menu_id: '1', title: '三码合一', path: '/pages/SecondPhase/ThreeCodeToOne'},
|
||
{menu_id: '1', title: '二维码校验', path: '/pages/SecondPhase/QrcodeVerify'}
|
||
]},
|
||
{menu_id: '6', path: 'RF04', title: '点位管理', sonTree: [
|
||
{menu_id: '1', title: '点位管理', path: '/pages/SecondPhase/point/PointManage'},
|
||
{menu_id: '2', title: '异常出库解锁', path: '/pages/SecondPhase/point/ErrorOutUnlock'},
|
||
{menu_id: '2', title: '人工放行', path: '/pages/SecondPhase/point/ManPass'}
|
||
]},
|
||
{menu_id: '7', path: 'RF06', title: '成品入库', sonTree: [
|
||
{menu_id: '1', title: '退货口入库', path: '/pages/SecondPhase/finished/ReturnToStore'},
|
||
{menu_id: '2', title: '异常口入库', path: '/pages/SecondPhase/finished/abnorToStore'},
|
||
{menu_id: '3', title: '木箱称重', path: '/pages/SecondPhase/finished/BoxWeight'},
|
||
{menu_id: '4', title: '换标出库', path: '/pages/SecondPhase/finished/RelabelOut'},
|
||
{menu_id: '4', title: '其他出库', path: '/pages/SecondPhase/finished/OtherOutbound'}
|
||
]},
|
||
{menu_id: '8', path: 'RF13', title: '立库库存', sonTree: [
|
||
{menu_id: '1', title: '空木箱库存', path: '/pages/SecondPhase/lvt/EmptyBox'}
|
||
]},
|
||
{menu_id: '9', path: 'RF14', title: '空木箱出库', sonTree: [
|
||
{menu_id: '1', title: '空木箱出库', path: '/pages/SecondPhase/EmptyBoxOutStore'}
|
||
]}
|
||
]
|
||
}
|
||
}}
|
||
return res
|
||
}
|
||
export const twoPdaIvtQuery = (no, code) => {
|
||
let res = {
|
||
data: [{bill_code: '1', bill_status: 'ljdjldj'}, {bill_code: '2'}, {bill_code: '3', bill_status: 'ljdjldj'}, {bill_code: '4'}, {bill_code: '5', bill_status: 'ljdjldj'}, {bill_code: '6'}, {bill_code: '7', bill_status: 'ljdjldj'}, {bill_code: '8'}, {bill_code: '9', bill_status: 'ljdjldj'}, {bill_code: '12', confirm_time: '2020-10-20'}]
|
||
}
|
||
return res
|
||
}
|
||
export const twoPdaIvtDtlQuery = (no, code) => {
|
||
let res = {
|
||
data: [{package_box_sn: '1', point_code: 'ljdjldj'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}]
|
||
}
|
||
return res
|
||
}
|
||
export const twoPdaIvtbBoxDtlQuery = (no) => {
|
||
let res = {
|
||
data: [{package_box_sn: '1', container_name: 'ljdjldj'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}, {package_box_sn: '2'}]
|
||
}
|
||
return res
|
||
}
|
||
export const getShaftPoint = () => {
|
||
let res = [{"text":"穿拔轴点位1","value":"B_CBJ01"},{"text":"穿拔轴点位2","value":"B_CBJ02"},{"text":"穿拔轴点位3","value":"B_CBJ03"},{"text":"穿拔轴点位4","value":"B_CBJ04"}]
|
||
return res
|
||
}
|
||
export const queryPaperMaterial = () => {
|
||
let res = {
|
||
rows: [{text: '物料一', value: '001'}, {text: '物料a', value: '002'}, {text: '物料b', value: '003'}]
|
||
}
|
||
return res
|
||
}
|
||
export const getCutCacheAgvPoints = () => {
|
||
let res = [{"text":"B2_FQZC01","value":"B2分切缓存位01"},{"text":"B2_FQZC02","value":"B2分切缓存位02"},{"text":"B2_FQZC03","value":"B2分切缓存位03"},{"text":"B2_FQZC04","value":"B2分切缓存位04"},{"text":"B2_FQZC05","value":"B2分切缓存位05"},{"text":"B2_FQZC06","value":"B2分切缓存位06"},{"text":"B2_FQZC07","value":"B2分切缓存位07"},{"text":"B2_FQZC08","value":"B2分切缓存位08"},{"text":"B2_FQZC09","value":"B2分切缓存位09"},{"text":"B2_FQZC10","value":"B2分切缓存位10"}]
|
||
return res
|
||
}
|
||
export const queryProductArea = () => {
|
||
let res = {
|
||
data: [{text: '物料a', value: 'area001'}, {text: '物料b', value: 'area002'}, {text: '物料c', value: 'area003'}]
|
||
}
|
||
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
|
||
}
|
||
export const doUpShaftToSlitterByDeviceTip = (area, code) => {
|
||
let res = {message: 'ok', status: 200}
|
||
return res
|
||
}
|
||
export const queryContainerNameBySaleOrder = () => {
|
||
let res = {
|
||
"totalElements": 1,
|
||
"content": [
|
||
{
|
||
"workorder_id": "1597797877562871810",
|
||
"package_box_sn": null,
|
||
"quanlity_in_box": null,
|
||
"box_weight": 210.000000,
|
||
"sale_order_name": "100000011-100",
|
||
"customer_name": "10000252",
|
||
"customer_description": "惠州市禾腾能源科技有限公司",
|
||
"container_name": "A1522210281605B1",
|
||
"status": "99",
|
||
"box_type": "",
|
||
"sap_pcsn": "AA20000251",
|
||
"box_group": "0",
|
||
"paper_tube_description": " 璃纤维及其制品|FRP管|6英寸|25|1300",
|
||
"paper_weight": "22",
|
||
"weight": "2"
|
||
}
|
||
],
|
||
"code": 200,
|
||
"msg": "查询成功"
|
||
}
|
||
return res
|
||
}
|
||
export const getSameBoxList = () => {
|
||
let res = [{text: '物料一', value: '001'}, {text: '物料a', value: '002'}, {text: '物料b', value: '003'}]
|
||
return res
|
||
}
|
||
export const queryBoxSpec = () => {
|
||
let res = {
|
||
"totalElements": 1,
|
||
"content": [
|
||
{
|
||
"box_high": "730",
|
||
"ivt_num": 3,
|
||
"num": "4",
|
||
"box_width": "676",
|
||
"material_name": "木制包装容器及板材|木箱|1300|1|6|1376*676*730",
|
||
"box_length": "1376",
|
||
"material_code": "441510009000470"
|
||
}
|
||
],
|
||
"code": 200,
|
||
"msg": "查询成功"
|
||
}
|
||
return res
|
||
}
|
||
export const queryDeviceByarea = () => {
|
||
let res = {
|
||
data: [{text: '设备一', value: 'device001'}, {text: '设备二', value: 'device002'}]
|
||
}
|
||
return res
|
||
}
|
||
export const devicePointQuery = () => {
|
||
let res = {
|
||
data: [{text: '点位一', value: 'point001'}, {text: '点位二', value: 'point002'}]
|
||
}
|
||
return res
|
||
}
|
||
export const zjInBound = () => {
|
||
let res = {
|
||
content: [{package_box_sn: '01'}, {package_box_sn: '02'}]
|
||
}
|
||
return res
|
||
}
|
||
export const doSubRollWeightBindingTip = () => {
|
||
let res = {
|
||
tip: '111111'
|
||
}
|
||
return res
|
||
}
|
||
export const paperQueryPaperMaterial = () => {
|
||
let res = {
|
||
rows: [{
|
||
"text": "纸制筒管|纸管|3英寸|300",
|
||
"value": "482210000000001"
|
||
}, {
|
||
"text": "纸制筒管|纸管|3英寸|340",
|
||
"value": "482210000000002"
|
||
}, {
|
||
"text": "纸制筒管|纸管|3英寸|350",
|
||
"value": "482210000000003"
|
||
}, {
|
||
"text": "纸制筒管|纸管|3英寸|380",
|
||
"value": "482210000000004"
|
||
}]
|
||
}
|
||
return res
|
||
}
|
||
export const twoQueryBoxIvt = (code) => {
|
||
let res = {
|
||
msg: 'ok',
|
||
data: [{box_no: '100010000a' + code}]
|
||
}
|
||
return res
|
||
}
|
||
export const showManualView = (code) => {
|
||
let res = [{resource_name: 'B60FQ00003', up_or_down: '1', qzz_size: '6', status: '01', qzz_generation: '5', start_time: '2025-03-11 15:24:26'}]
|
||
return res
|
||
}
|
||
export const doCallTubeShaftShow = () => {
|
||
let res = [{"workorder_id":"1850909252072378369","resource_name":"B50FQ00001","container_name":"BB3X2410280807A2","parent_container_name":"BB3X24102809","split_group":"A","up_or_down":"2","status":"0","qzz_size":"6","tube":"玻璃纤维及其制品|FRP管|6英寸|15|1700|阶梯","qzz_generation":"4","start_time":"","is_paper_ok":"1","qzzno":"","manufacture_sort":"P1"}]
|
||
return res
|
||
}
|
||
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
|
||
}
|
||
export const getBindXnPlan = () => {
|
||
let res = {
|
||
"status" : 200,
|
||
"planSize": 10,
|
||
"canUsePointCount": 8,
|
||
"remainingCount": 2,
|
||
"plans" : [
|
||
{
|
||
"paper_tube_description": 'JH-20260824-018',
|
||
"paper_tube_model": null,
|
||
"FRP_material": null,
|
||
"FRP_description": 'FRP_description',
|
||
"paper_tube_or_FRP": '1',
|
||
"status": '01',
|
||
"is_child_tz_ok": 1,
|
||
"call_time": '15:20',
|
||
"paper_weight": '20',
|
||
"resource_name": "B1分切合单1区",
|
||
"joint_type": "0"
|
||
},
|
||
{
|
||
"paper_tube_description": 'JH-20260824-018',
|
||
"paper_tube_model": null,
|
||
"FRP_material": null,
|
||
"FRP_description": 'FRP_description',
|
||
"paper_tube_or_FRP": null,
|
||
"status": '04',
|
||
"is_child_tz_ok": 1,
|
||
"call_time": '15:20',
|
||
"paper_weight": '20',
|
||
"joint_type": "1"
|
||
},
|
||
{
|
||
"paper_tube_description": 'JH-20260824-019',
|
||
"paper_tube_model": null,
|
||
"FRP_material": null,
|
||
"FRP_description": 'FRP_description',
|
||
"paper_tube_or_FRP": null,
|
||
"status": '04',
|
||
"is_child_tz_ok": 1,
|
||
"call_time": '15:20',
|
||
"paper_weight": '20',
|
||
"joint_type": "1"
|
||
},
|
||
{
|
||
"paper_tube_description": 'JH-20260824-020',
|
||
"paper_tube_model": null,
|
||
"FRP_material": null,
|
||
"FRP_description": 'FRP_description',
|
||
"paper_tube_or_FRP": '1',
|
||
"status": '01',
|
||
"is_child_tz_ok": 1,
|
||
"call_time": '15:20',
|
||
"paper_weight": '20',
|
||
"resource_name": "B1分切合单1区",
|
||
"joint_type": "0"
|
||
}
|
||
]
|
||
}
|
||
return res
|
||
}
|
||
export const boxQuery = () => {
|
||
let res = {
|
||
msg: 'ok',
|
||
data: []
|
||
}
|
||
return res
|
||
}
|
||
export const slitXnplan = () => {
|
||
let res = {
|
||
message: 'ok'
|
||
}
|
||
return res
|
||
}
|
||
export const bindXnPlanGroup = () => {
|
||
let res = {
|
||
message: 'ok'
|
||
}
|
||
return res
|
||
}
|
||
export const storageMoveShaftList = () => {
|
||
let res = {
|
||
"data": [
|
||
{
|
||
"label": "B1分切1号机",
|
||
"value": "B1_XNFQ_01"
|
||
},
|
||
{
|
||
"label": "B1分切2号机",
|
||
"value": "B1_XNFQ_02"
|
||
},
|
||
{
|
||
"label": "B1分切3号机",
|
||
"value": "B1_XNFQ_03"
|
||
},
|
||
{
|
||
"label": "B1分切4号机",
|
||
"value": "B1_XNFQ_04"
|
||
},
|
||
{
|
||
"label": "B1分切5号机",
|
||
"value": "B1_XNFQ_05"
|
||
},
|
||
{
|
||
"label": "B1分切6号机",
|
||
"value": "B1_XNFQ_06"
|
||
},
|
||
{
|
||
"label": "B1分切7号机",
|
||
"value": "B1_XNFQ_07"
|
||
},
|
||
{
|
||
"label": "B1分切8号机",
|
||
"value": "B1_XNFQ_08"
|
||
},
|
||
{
|
||
"label": "B1分切9号机",
|
||
"value": "B1_XNFQ_09"
|
||
},
|
||
{
|
||
"label": "B1分切10号机",
|
||
"value": "B1_XNFQ_10"
|
||
},
|
||
{
|
||
"label": "B1分切11号机",
|
||
"value": "B1_XNFQ_11"
|
||
},
|
||
{
|
||
"label": "B1分切12号机",
|
||
"value": "B1_XNFQ_12"
|
||
},
|
||
{
|
||
"label": "B2分切1号机",
|
||
"value": "B2_XNFQ_01"
|
||
},
|
||
{
|
||
"label": "B2分切2号机",
|
||
"value": "B2_XNFQ_02"
|
||
},
|
||
{
|
||
"label": "B2分切3号机",
|
||
"value": "B2_XNFQ_03"
|
||
},
|
||
{
|
||
"label": "B2分切4号机",
|
||
"value": "B2_XNFQ_04"
|
||
},
|
||
{
|
||
"label": "B2分切5号机",
|
||
"value": "B2_XNFQ_05"
|
||
},
|
||
{
|
||
"label": "B2分切6号机",
|
||
"value": "B2_XNFQ_06"
|
||
},
|
||
{
|
||
"label": "B2分切7号机",
|
||
"value": "B2_XNFQ_07"
|
||
},
|
||
{
|
||
"label": "B2分切8号机",
|
||
"value": "B2_XNFQ_08"
|
||
},
|
||
{
|
||
"label": "B2分切9号机",
|
||
"value": "B2_XNFQ_09"
|
||
},
|
||
{
|
||
"label": "B2分切10号机",
|
||
"value": "B2_XNFQ_10"
|
||
}
|
||
]
|
||
}
|
||
return res
|
||
}
|
||
export const storageMoveShaftInfo = () => {
|
||
let res = {
|
||
"data": [
|
||
{
|
||
"left_spec": "",
|
||
"device_name": "B1分切1号机",
|
||
"qzzno": "Asssss",
|
||
"qzz_size": null,
|
||
"left_plan": null,
|
||
"right_plan": null,
|
||
"device_code": "B1_XNFQ_01",
|
||
"right_spec": "",
|
||
"point_code": "B1_FQQZZK01_1",
|
||
"point_status": "05"
|
||
}
|
||
]
|
||
}
|
||
return res
|
||
}
|
||
|
||
export const storageMoveShaft = () => {
|
||
// let res = {
|
||
// "failures": [
|
||
// {
|
||
// "reason": "该区域的位置不够(架子可用数:0,已呼叫计划数:0),只剩0个空位可用",
|
||
// "point_code": "B1_FQQZZK01_1"
|
||
// },
|
||
// {
|
||
// "reason": "该区域的位置不够(架子可用数:0,已呼叫计划数:0),只剩0个空位可用",
|
||
// "point_code": "B1_FQQZZK01_2"
|
||
// }
|
||
// ],
|
||
// "message": "部分点位搬运失败:[{\"reason\":\"该区域的位置不够(架子可用数:0,已呼叫计划数:0),只剩0个空位可用\",\"point_code\":\"B1_FQQZZK01_1\"},{\"reason\":\"该区域的位置不够(架子可用数:0,已呼叫计划数:0),只剩0个空位可用\",\"point_code\":\"B1_FQQZZK01_2\"}]",
|
||
// "task_ids": [],
|
||
// "status": 400
|
||
// }
|
||
let res = {
|
||
"success": true,
|
||
"failed_points": [],
|
||
"message": "已创建1个退轴任务,共1根轴;未创建0个库点",
|
||
"tasks": [
|
||
{
|
||
"vehicle_code1": "B501A261025091441-1",
|
||
"truss_type": 12,
|
||
"point_code2": "B1_FQZC01_A",
|
||
"point_code1": "B1_FQQZZK01_3",
|
||
"task_id": "2114165516473077760",
|
||
"task_type": "010831",
|
||
"product_area": "B1"
|
||
}
|
||
],
|
||
"status": 200
|
||
}
|
||
return res
|
||
}
|
||
|
||
export const storageReturnShaft = () => {
|
||
let res = {
|
||
"success": false,
|
||
"failed_points": [
|
||
{
|
||
"reason": "当前区域可用退轴站点不足",
|
||
"point_code": "B1_FQQZZK01_1"
|
||
},
|
||
{
|
||
"reason": "当前区域可用退轴站点不足",
|
||
"point_code": "B1_FQQZZK01_2"
|
||
}
|
||
],
|
||
"message": "已创建0个退轴任务,共0根轴;未创建2个库点",
|
||
"tasks": [],
|
||
"status": 200
|
||
}
|
||
// let res = {
|
||
// "message": "111"
|
||
// }
|
||
return res
|
||
} |