From 1f12492c0c5a598c6a3a40a6943f3335aff92557 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 16 May 2024 17:19:58 +0800 Subject: [PATCH] add --- .env.development | 4 +- src/router/index.ts | 4 +- .../translationOrder/component/goodList.vue | 25 +++ .../translationOrder/component/goodsOffer.vue | 188 ++++++++++++++++++ .../translationOrder/component/subOrder.vue | 67 +++++++ src/views/translationOrder/detail.vue | 118 +++++++++++ src/views/translationOrder/edit.vue | 103 ++++++++++ src/views/translationOrder/index.vue | 155 +++++++++++++++ 8 files changed, 660 insertions(+), 4 deletions(-) create mode 100644 src/views/translationOrder/component/goodList.vue create mode 100644 src/views/translationOrder/component/goodsOffer.vue create mode 100644 src/views/translationOrder/component/subOrder.vue create mode 100644 src/views/translationOrder/detail.vue create mode 100644 src/views/translationOrder/edit.vue create mode 100644 src/views/translationOrder/index.vue diff --git a/.env.development b/.env.development index 8bcc5d2..236bd45 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ NODE_ENV = 'development' VITE_NOW_TYPE = 'dist' # Base API -VITE_APP_BASE_URL='http://192.168.1.22:8546' -# VITE_APP_BASE_URL='https://erp.lihaink.cn' \ No newline at end of file +# VITE_APP_BASE_URL='http://192.168.1.22:8546' +VITE_APP_BASE_URL='https://erp.lihaink.cn' \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index ba004d0..9eab537 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,4 +1,4 @@ -import { createRouter, createWebHistory, RouterView, type RouteRecordRaw } from 'vue-router' +import { createRouter, createWebHistory,createWebHashHistory, RouterView, type RouteRecordRaw } from 'vue-router' import { MenuEnum } from '@/enums/appEnums' import { isExternal } from '@/utils/validate' import { constantRoutes, INDEX_ROUTE_NAME, LAYOUT } from './routes' @@ -103,7 +103,7 @@ export function resetRouter() { } const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: constantRoutes }) diff --git a/src/views/translationOrder/component/goodList.vue b/src/views/translationOrder/component/goodList.vue new file mode 100644 index 0000000..a17691a --- /dev/null +++ b/src/views/translationOrder/component/goodList.vue @@ -0,0 +1,25 @@ + + + Hi, there! + + + + diff --git a/src/views/translationOrder/component/goodsOffer.vue b/src/views/translationOrder/component/goodsOffer.vue new file mode 100644 index 0000000..06a933c --- /dev/null +++ b/src/views/translationOrder/component/goodsOffer.vue @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + 已采纳 + 未采纳 + + + + + + 采纳 + 已入库 + 入库 + 等待供应商报价 + + + + + + + + + + {{ updateInfo.supplier_name }} + + + {{ updateInfo.goods_name }} + + + ¥ {{ updateInfo.price }} / {{ updateInfo.unit_name }} + + + {{ updateInfo.q_nums }} + + + + + + + + + + + + + + + + diff --git a/src/views/translationOrder/component/subOrder.vue b/src/views/translationOrder/component/subOrder.vue new file mode 100644 index 0000000..d054804 --- /dev/null +++ b/src/views/translationOrder/component/subOrder.vue @@ -0,0 +1,67 @@ + + + + + + + + + + + + + 详情 + + + + + + + + + + + diff --git a/src/views/translationOrder/detail.vue b/src/views/translationOrder/detail.vue new file mode 100644 index 0000000..778578f --- /dev/null +++ b/src/views/translationOrder/detail.vue @@ -0,0 +1,118 @@ + + + + + + + + {{ form.number }} + + + {{ form.total }} + + + {{ form.deduction_price }} + + + {{ form.actual }} + + + {{ form.money }} + + + {{ form.merchant_name }} + + + + + + + + + + + + + + + + + + + + + 重新推送 + + + + + + + + + + + + + + + + diff --git a/src/views/translationOrder/edit.vue b/src/views/translationOrder/edit.vue new file mode 100644 index 0000000..d6d4ede --- /dev/null +++ b/src/views/translationOrder/edit.vue @@ -0,0 +1,103 @@ + + + + + + + + + + + diff --git a/src/views/translationOrder/index.vue b/src/views/translationOrder/index.vue new file mode 100644 index 0000000..19ced60 --- /dev/null +++ b/src/views/translationOrder/index.vue @@ -0,0 +1,155 @@ + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + 详情 + + + + + + + + + + + + + + + +