From df29bbbfd914d8e1656f0b8c050e8bfa23131a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=87=E5=B3=B0?= Date: Fri, 13 Feb 2026 21:02:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=AE=A2=E5=8D=95=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E8=8E=B7=E5=8F=96=E4=BC=A0=E9=80=92=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontent/ops_vue_js/src/assets/main.css | 8 + frontent/ops_vue_js/src/main.js | 4 +- frontent/ops_vue_js/src/router/index.js | 5 + frontent/ops_vue_js/src/views/HomeView.vue | 2 + .../src/views/purchase/purchase.vue | 581 ++++++++---------- .../src/views/purchase/showorder.vue | 14 + 6 files changed, 299 insertions(+), 315 deletions(-) create mode 100644 frontent/ops_vue_js/src/views/purchase/showorder.vue diff --git a/frontent/ops_vue_js/src/assets/main.css b/frontent/ops_vue_js/src/assets/main.css index afe0398..ebe7fb1 100644 --- a/frontent/ops_vue_js/src/assets/main.css +++ b/frontent/ops_vue_js/src/assets/main.css @@ -1,3 +1,11 @@ html, body, #app { height: 100%; + margin: 0,0,0,0; } + +@media (min-width: 992px) { + :host, :root { + margin-left: 0; + margin-right: 0; + } +} \ No newline at end of file diff --git a/frontent/ops_vue_js/src/main.js b/frontent/ops_vue_js/src/main.js index 42d5f9a..c607896 100644 --- a/frontent/ops_vue_js/src/main.js +++ b/frontent/ops_vue_js/src/main.js @@ -1,4 +1,4 @@ -import './assets/main.css' + import { createApp } from 'vue' import { createI18n } from 'vue-i18n' @@ -8,6 +8,8 @@ import router from './router' import '@tabler/core/dist/css/tabler.min.css' +import './assets/main.css' + import en from './i18n/en.json' import zhCN from './i18n/zh-CN.json' diff --git a/frontent/ops_vue_js/src/router/index.js b/frontent/ops_vue_js/src/router/index.js index ab1133e..78d7d52 100644 --- a/frontent/ops_vue_js/src/router/index.js +++ b/frontent/ops_vue_js/src/router/index.js @@ -77,6 +77,11 @@ const router = createRouter({ path: "/purchase/addorder", name: "purchase/addorder", component: () => import("@/views/purchase/addorder.vue"), + }, + { + path: "/purchase/showorder/:id", + name: "purchase/showorder", + component: () => import("@/views/purchase/showorder.vue"), }, { path: "/warehouse", diff --git a/frontent/ops_vue_js/src/views/HomeView.vue b/frontent/ops_vue_js/src/views/HomeView.vue index 524a859..4337bea 100644 --- a/frontent/ops_vue_js/src/views/HomeView.vue +++ b/frontent/ops_vue_js/src/views/HomeView.vue @@ -11,6 +11,8 @@ const mos = ref();