子页面装货

This commit is contained in:
2026-03-11 11:00:58 +08:00
parent 9fe461e0f6
commit e89868ce58
3 changed files with 54 additions and 3 deletions

View File

@@ -49,7 +49,7 @@
return { return {
title: '', title: '',
dataList: [], dataList: [],
dataList: [{material_code: 'm001', qty: 100, checked: false, initialQty: 100}, {material_code: 'm002', qty: 200, checked: false, initialQty: 200}], // dataList: [{material_code: 'm001', qty: 100, checked: false, initialQty: 100}, {material_code: 'm002', qty: 200, checked: false, initialQty: 200}],
disabled: false disabled: false
}; };
}, },

View File

@@ -138,8 +138,8 @@
}, },
methods: { methods: {
async _authority () { async _authority () {
let res = await authority() // let res = await authority()
// let res = await allAuthority() let res = await allAuthority()
if (res.code === '1') { if (res.code === '1') {
this.menuList = [...res.result.rf_menu1.sonTree] this.menuList = [...res.result.rf_menu1.sonTree]
} else { } else {

View File

@@ -459,3 +459,54 @@ export const back = () => request({
url:'api/notCar/back', url:'api/notCar/back',
data: {} data: {}
}) })
// 无人车装货(无人车对接)共 (4) 个
// 二级页面查询(物料维护)
export const queryZhPoint = (pcode) => request({
url:'api/notCar/queryZhPoint',
data: {point_code: pcode}
})
// 呼叫无人车
export const callCar = (rows) => request({
url:'api/notCar/callCar',
data: {}
})
// 装货
export const install = () => request({
url:'api/notCar/install',
data: {rows: rows}
})
// 装货完成
export const installConfirm = () => request({
url:'api/notCar/installConfirm',
data: {}
})
// 仓库送料(无人车对接)共 (5) 个
// 查询无人车点位下拉框(二级页面)
export const queryCarPoint = () => request({
url:'api/notCar/queryCarPoint',
data: {}
})
// 查询物料类别下拉框(二级页面)
export const queryClassType = () => request({
url:'api/notCar/queryClassType',
data: {}
})
// 查询列表信息(二级页面)
export const queryMaterialInfo = (ccode, mcode) => request({
url:'api/notCar/queryMaterialInfo',
data: {class_code: ccode, material_code: mcode}
})
// 呼叫无人车
export const callCarIos = () => request({
url:'api/notCar/callCarIos',
data: {}
})
// 确认送料
export const sendTask = () => request({
url:'api/notCar/sendTask',
data: {rows: rows}
})