diff --git a/frontent/ops_vue_js/src/i18n/en.json b/frontent/ops_vue_js/src/i18n/en.json index 8b409cd..bcfebaf 100644 --- a/frontent/ops_vue_js/src/i18n/en.json +++ b/frontent/ops_vue_js/src/i18n/en.json @@ -7,6 +7,25 @@ "schedule":"Schedule", "purchase":"Purchase" }, + "purchase":{ + "purchase_list":"Purchase List", + "item_name":"Item Name", + "purpose":"Purpose", + "unit":"Unit", + "quantity":"Quantity", + "unit_price":"Unit Price", + "total_price":"Total Price", + "created_at":"Created At", + "updated_at":"Updated At", + "status":"Status", + "completed":"Completed", + "pending":"Pending", + "show":"Show", + "entries":"entries", + "search":"Search", + "add_part":"Add Order", + "exp_report":"Export Report" + }, "schedule": { "my_schedule":"My Schedule", "add_event":"Add Event", diff --git a/frontent/ops_vue_js/src/i18n/zh-CN.json b/frontent/ops_vue_js/src/i18n/zh-CN.json index 9650513..6109ad2 100644 --- a/frontent/ops_vue_js/src/i18n/zh-CN.json +++ b/frontent/ops_vue_js/src/i18n/zh-CN.json @@ -7,6 +7,25 @@ "schedule":"日程", "purchase":"采购" }, + "purchase":{ + "purchase_list":"采购列表", + "item_name":"物品名称", + "purpose":"用途", + "unit":"单位", + "quantity":"数量", + "unit_price":"单价", + "total_price":"总价", + "created_at":"创建日期", + "updated_at":"更新日期", + "status":"状态", + "completed":"已完成", + "pending":"待处理", + "show":"显示", + "entries":"个物件", + "search":"搜索", + "add_part":"添加订单", + "exp_report":"生成报告" + }, "schedule": { "my_schedule":"我的日程", "add_event":"添加事件", diff --git a/frontent/ops_vue_js/src/views/purchaseView.vue b/frontent/ops_vue_js/src/views/purchaseView.vue index f60370f..5adad5a 100644 --- a/frontent/ops_vue_js/src/views/purchaseView.vue +++ b/frontent/ops_vue_js/src/views/purchaseView.vue @@ -1,14 +1,33 @@ + + - Invoices + {{ t('purchase.purchase_list') }} + - Show + {{ t('purchase.show') }} - entries + {{ t('purchase.entries') }} + - Search: - + {{ t('purchase.add_part') }} + {{ t('purchase.exp_report') }} + + + + + {{ t('purchase.search') }} + + @@ -62,15 +89,15 @@ - 物品名称 - 用途 - 单位 - 数量 - 单价 - 总价 - 创建日期 - 更新日期 - 最新状态 + {{ t('purchase.item_name') }} + {{ t('purchase.purpose') }} + {{ t('purchase.unit') }} + {{ t('purchase.quantity') }} + {{ t('purchase.unit_price') }} + {{ t('purchase.total_price') }} + {{ t('purchase.created_at') }} + {{ t('purchase.updated_at') }} + {{ t('purchase.status') }}