From e89868ce58c1c07e34ccef4e2bc4fb5b11720e92 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 11 Mar 2026 11:00:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E9=A1=B5=E9=9D=A2=E8=A3=85=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/hdyy/wrcdj/wrc-unload.vue | 2 +- pages/home/home.vue | 4 +-- utils/getData3.js | 51 +++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 3 deletions(-) diff --git a/pages/hdyy/wrcdj/wrc-unload.vue b/pages/hdyy/wrcdj/wrc-unload.vue index 4ca2956..517d45d 100644 --- a/pages/hdyy/wrcdj/wrc-unload.vue +++ b/pages/hdyy/wrcdj/wrc-unload.vue @@ -49,7 +49,7 @@ return { title: '', 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 }; }, diff --git a/pages/home/home.vue b/pages/home/home.vue index 01b7445..24dd56d 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -138,8 +138,8 @@ }, methods: { async _authority () { - let res = await authority() - // let res = await allAuthority() + // let res = await authority() + let res = await allAuthority() if (res.code === '1') { this.menuList = [...res.result.rf_menu1.sonTree] } else { diff --git a/utils/getData3.js b/utils/getData3.js index 8beeeb6..4bdd1f3 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -459,3 +459,54 @@ export const back = () => request({ url:'api/notCar/back', 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} +})