This commit is contained in:
2023-08-29 17:33:10 +08:00
parent c148d53c0a
commit 97cddf2f41
6 changed files with 287 additions and 48 deletions

View File

@@ -63,46 +63,31 @@ export const handRequest = () => request({
export const authority = () => {
let res = {
sonTree: [
{menu_id: '1', icon: 'RF08', name: '入库搬运', path: '', sonTree: [
{menu_id: '1', name: '生箔生产进度', path: '/pages/ProductManage/SboProdProgress'}
]},
{menu_id: '2', icon: 'RF02', name: '叫料出库', path: '', sonTree: []},
{menu_id: '3', icon: 'RF03', name: '任务管理', path: '', sonTree: []},
{menu_id: '4', icon: 'RF07', name: '指令管理', path: '', sonTree: []},
{menu_id: '5', icon: 'RF04', name: '设备点检', path: '/pages/modules/equip-inspection', sonTree: []},
{menu_id: '6', icon: 'RF10', name: '设备操作', path: '', sonTree: []}
{menu_id: '1', icon: 'RF08', name: '半成品管理', path: '', sonTree: [
{menu_id: '1', name: '半成品入库', path: '/pages/modules/SemifinishedInStore'}
]}
]
}
return res
}
/**
* 设备点检
* 半成品入库
*/
// 获取设备下拉框
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',
// 1.1物料选择页面 -- 单选
export const getMaterial = (sp) => request({
url:'api/pda/hrBcp/iosIn/getMaterial',
data: {
device_code: code,
username: user,
remark: remark,
check_status: status
material_spec: sp
}
})
// 1.3打印机类型
export const virtualprintType = (url) => request1({
url: `${url}/` + 'api/pda/virtual/printType',
// 1.2工序下拉框
export const getWork = (sp) => request({
url:'api/pda/hrBcp/iosIn/getWork',
data: {}
})
// 1.3确认入库(按钮)
export const BcpConfirm = (from) => request({
url:'api/pda/hrBcp/iosIn/confirm',
data: from
})