This commit is contained in:
2024-02-22 10:26:03 +08:00
parent a9aac2124c
commit e672f1abe8
3 changed files with 21 additions and 112 deletions

View File

@@ -32,7 +32,7 @@
return { return {
userName: '', userName: '',
menuList: [ menuList: [
{id: '1', name: '人工排产', icon: 'RF01', path: '/pages/manage/man-group-disk'}, {id: '1', name: '人工排产', icon: 'RF01', path: '/pages/modules/equip-inspection'},
{id: '2', name: '涂线板', icon: 'RF02', path: '/pages/manage/man-group-disk'}, {id: '2', name: '涂线板', icon: 'RF02', path: '/pages/manage/man-group-disk'},
{id: '3', name: '物料库存', icon: 'RF03', path: '/pages/manage/man-group-disk'} {id: '3', name: '物料库存', icon: 'RF03', path: '/pages/manage/man-group-disk'}
] ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -23,56 +23,15 @@ export const handLogin = (user, password) => request({
}) })
/** /**
* 设备点检 * 人工排产
*/ */
// 获取设备下拉框 // 工单
export const deviceInfo = () => request({
url:'api/pda/deviceCheck/deviceInfo',
data: {}
})
// 获取设备状态下拉框
export const deviceStatus = () => request({
url:'api/pda/deviceCheck/deviceStatus',
data: {}
})
// 设备点检
export const deviceCheckVerify = (code, user, remark, status) => request({
url:'api/pda/deviceCheck/verify',
data: {
device_code: code,
username: user,
remark: remark,
check_status: status
}
})
/**
* 强制静置
*/
// 显示静置信息
export const forcedRestingShow = () => request({
url:'api/pda/forcedResting/show',
data: {}
})
// 强制静置
export const forcedRestingSubmit = (stime, id) => request({
url:'api/pda/forcedResting/submit',
data: {
stand_time: stime,
group_id: id
}
})
/**
* 分拣排产
*/
// 显示工单/刷新
export const manualSortingOrders = () => request({ export const manualSortingOrders = () => request({
url:'api/pda/manualSorting/orders', url:'api/pda/manualSorting/orders',
data: {} data: {}
}) })
// 开工 // 开工
export const manualSortingProductionScheduling = (code, user) => request({ export const productionScheduling = (code, user) => request({
url:'api/pda/manualSorting/productionScheduling', url:'api/pda/manualSorting/productionScheduling',
data: { data: {
workorder_code: code, workorder_code: code,
@@ -80,7 +39,7 @@ export const manualSortingProductionScheduling = (code, user) => request({
} }
}) })
// 完工 // 完工
export const manualSortingProductionComplete = (code, user) => request({ export const productionComplete = (code, user) => request({
url:'api/pda/manualSorting/productionComplete', url:'api/pda/manualSorting/productionComplete',
data: { data: {
workorder_code: code, workorder_code: code,
@@ -89,84 +48,34 @@ export const manualSortingProductionComplete = (code, user) => request({
}) })
/** /**
* 剩料入库 * 涂板线
*/ */
// 刷新 // 数据
export const callingResidueMaterialTaskShow = () => request({ export const coatedWireIntoStorageTaskShow = () => request({
url:'api/pda/manualSorting/callingResidueMaterialTaskShow', url:'api/pda/manualSorting/coatedWireIntoStorageTaskShow',
data: {} data: {}
}) })
// 确认 // 入库
export const callingResidueMaterialTask = (code, qty) => request({ export const coatedWireIntoStorageTask = (code, qty) => request({
url:'api/pda/manualSorting/callingResidueMaterialTask', url:'api/pda/manualSorting/coatedWireIntoStorageTask',
data: { data: {
vehicle_code: code, point_code: code,
qty: qty qty: qty
} }
}) })
/** /**
* 托盘绑定 * 物料库存
*/ */
// 确认 // 物料下拉框
export const manualSortingBindingVehicle = (ocode, tcode) => request({ export const materialList = () => request({
url:'api/pda/manualSorting/bindingVehicle', url:'api/pda/materialList',
data: {
origin_vehicle_code: ocode,
target_vehicle_code: tcode
}
})
/**
* 包装入库
*/
// 刷新
export const manualSortingPackingTaskShow = () => request({
url:'api/pda/manualSorting/packingTaskShow',
data: {} data: {}
}) })
// 确认 // 根据物料获取库存数据
export const manualSortingPackingTask = (code, qty, sqty) => request({ export const getInventoryMaterialInfo = (code) => request({
url:'/api/pda/manualSorting/packingTask', url:'api/pda/getInventoryMaterialInfo',
data: {
vehicle_code: code,
qty: qty,
surplus_quantity: sqty
}
})
/**
* 货架盘点
*/
// 物料查询
export const shelfMaterialQuery = (code) => request({
url:'api/pda/shelf/materialQuery',
data: { data: {
material_code: code material_code: code
} }
}) })
// 确认
export const shelfUpdateData = (code, status, vcode, qty, id) => request({
url:'api/pda/shelf/updateData',
data: {
point_code: code,
point_status: status,
vehicle_code: vcode,
material_qty: qty,
material_id: id
}
})
/**
* 混碾操作
*/
// 获取要料信息
export const mixRequestInfo = () => request({
url:'api/pda/mix/requestInfo',
data: {}
})
// 删除数据
export const mixDeleteInfo = (obj) => request({
url:'api/pda/mix/deleteInfo',
data: obj
})