From 06db76ce86e1e6758890392bbf7d47e8dc1a31b8 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Thu, 4 Jul 2024 17:18:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/locales/en/products.json | 2 +- public/locales/zh/products.json | 2 +- src/main.jsx | 1 + src/views/products/Manage.jsx | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/locales/en/products.json b/public/locales/en/products.json index 7380d76..03bdb46 100644 --- a/public/locales/en/products.json +++ b/public/locales/en/products.json @@ -13,7 +13,7 @@ "EditComponents": { "info": "Product Information", "Quotation": "Quotation", - "Extras": "Add-on" + "Extras": "Components" }, "auditState": { "New": "New", diff --git a/public/locales/zh/products.json b/public/locales/zh/products.json index c0cd87e..dd07133 100644 --- a/public/locales/zh/products.json +++ b/public/locales/zh/products.json @@ -13,7 +13,7 @@ "EditComponents": { "info": "产品信息", "Quotation": "报价", - "Extras": "附加项目" + "Extras": "绑定项目" }, "auditState": { "New": "新增", diff --git a/src/main.jsx b/src/main.jsx index 9129087..ec6f14b 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -72,6 +72,7 @@ const initRouter = async () => { { path: "products",element: }, { path: "products/:travel_agency_id/:use_year/:audit_state/audit",element:}, { path: "products/:travel_agency_id/:use_year/:audit_state/edit",element:}, + { path: "products/edit",element:}, ] }, { diff --git a/src/views/products/Manage.jsx b/src/views/products/Manage.jsx index 524a4ea..0a58e1d 100644 --- a/src/views/products/Manage.jsx +++ b/src/views/products/Manage.jsx @@ -77,6 +77,7 @@ function Index() { agency: { col: 4 }, dates: { label: t('products:CreateDate') }, keyword: { label: t('products:Title'), col: 4 }, + year: { col: 4 }, }, sort: { agency: 1, audit_state: 2, keyword: 100 }, }}