From 91b2b087f8a026765e094dee5ce166961a7aa31f Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 16 Jan 2026 18:10:30 +0800 Subject: [PATCH] .vue --- pages.json | 8 ++ pages/SecondPhase/CustomerLabelPrint.vue | 121 ++++++++++++++++++ .../SecondPhase/slitting/SlittingFeeding.vue | 16 --- pages/home/home.vue | 4 +- utils/mork2.js | 3 +- 5 files changed, 133 insertions(+), 19 deletions(-) create mode 100644 pages/SecondPhase/CustomerLabelPrint.vue diff --git a/pages.json b/pages.json index 8477453..41d187d 100644 --- a/pages.json +++ b/pages.json @@ -392,6 +392,14 @@ "navigationStyle": "custom" } + } + ,{ + "path" : "pages/SecondPhase/CustomerLabelPrint", + "style" : + { + "navigationStyle": "custom" + } + } ,{ "path" : "pages/SecondPhase/production/MjMake", diff --git a/pages/SecondPhase/CustomerLabelPrint.vue b/pages/SecondPhase/CustomerLabelPrint.vue new file mode 100644 index 0000000..19226a6 --- /dev/null +++ b/pages/SecondPhase/CustomerLabelPrint.vue @@ -0,0 +1,121 @@ + + + \ No newline at end of file diff --git a/pages/SecondPhase/slitting/SlittingFeeding.vue b/pages/SecondPhase/slitting/SlittingFeeding.vue index e6d62cc..e159802 100644 --- a/pages/SecondPhase/slitting/SlittingFeeding.vue +++ b/pages/SecondPhase/slitting/SlittingFeeding.vue @@ -295,26 +295,14 @@ this.disabled1 = true if (!this.val3) { this.disabled1 = false - uni.showToast({ - title: '起点不能为空', - icon: 'none' - }) return } if (!this.val4) { this.disabled1 = false - uni.showToast({ - title: '母卷号不能为空', - icon: 'none' - }) return } if (!this.val5) { this.disabled1 = false - uni.showToast({ - title: '终点不能为空', - icon: 'none' - }) return } try { @@ -337,10 +325,6 @@ }, async handleConfirm(type) { if (!this.val1) { - uni.showToast({ - title: '点位不能为空', - icon: 'none' - }) return } const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?") diff --git a/pages/home/home.vue b/pages/home/home.vue index 4b8f160..4a1c90d 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -69,8 +69,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/mork2.js b/utils/mork2.js index dea8275..6513267 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -57,7 +57,8 @@ export const allAuthority = () => { {menu_id: '1', title: '子卷包装解绑', path: '/pages/SecondPhase/SubRollPackUnbind'}, {menu_id: '1', title: '装箱口木箱回库', path: '/pages/SecondPhase/BoxReturn'}, {menu_id: '1', title: '人工点维护', path: '/pages/SecondPhase/ManMaintain'}, - {menu_id: '1', title: '包装关系维护', path: '/pages/SecondPhase/PackRelation'} + {menu_id: '1', title: '包装关系维护', path: '/pages/SecondPhase/PackRelation'}, + {menu_id: '1', title: '客户标签打印', path: '/pages/SecondPhase/CustomerLabelPrint'} ]}, {menu_id: '6', path: 'RF04', title: '点位管理', sonTree: [ {menu_id: '1', title: '点位管理', path: '/pages/SecondPhase/point/PointManage'},