From 6df50182854ab61180e374eed1b9fbadf5826a65 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 12 Jun 2024 09:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BF=E6=8B=94=E8=BD=B4=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 8 +++ pages/SecondPhase/slitting/DoInitShaft.vue | 66 ++++++++++++++++++++++ utils/getData3.js | 13 +++++ utils/mork2.js | 5 ++ 4 files changed, 92 insertions(+) create mode 100644 pages/SecondPhase/slitting/DoInitShaft.vue diff --git a/pages.json b/pages.json index 3b8579a..899f2ff 100644 --- a/pages.json +++ b/pages.json @@ -407,6 +407,14 @@ } } + ,{ + "path" : "pages/SecondPhase/slitting/DoInitShaft", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/SecondPhase/slitting/DoInitShaft.vue b/pages/SecondPhase/slitting/DoInitShaft.vue new file mode 100644 index 0000000..f426a2e --- /dev/null +++ b/pages/SecondPhase/slitting/DoInitShaft.vue @@ -0,0 +1,66 @@ + + + \ No newline at end of file diff --git a/utils/getData3.js b/utils/getData3.js index 8bfefb0..1db4b4b 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -133,4 +133,17 @@ export const slitterDevices = () => request({ export const downRolls = (code) => request({ url:'api/pda/slitter/downRolls', data: {device_code: code} +}) +/** + * 穿拔轴初始化 + */ +// 下拉框数据 +export const getShaftPoint = () => request({ + url:'api/pda/slitter/getShaftPoint', + data: {} +}) +// 确定 +export const doInitShaftPoint = (code) => request({ + url:'api/pda/slitter/doInitShaftPoint', + data: {point_code: code} }) \ No newline at end of file diff --git a/utils/mork2.js b/utils/mork2.js index 8e326d5..beb10ef 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -79,6 +79,7 @@ export const authority = () => { {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: '6', path: 'RF04', title: '点位管理', sonTree: [ {menu_id: '1', title: '点位管理', path: '/pages/SecondPhase/point/PointManage'}, @@ -110,4 +111,8 @@ export const twoPdaIvtbBoxDtlQuery = (no) => { 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 } \ No newline at end of file