diff --git a/resources/beike/admin/views/pages/home.blade.php b/resources/beike/admin/views/pages/home.blade.php index b31763ab..1a05ea61 100644 --- a/resources/beike/admin/views/pages/home.blade.php +++ b/resources/beike/admin/views/pages/home.blade.php @@ -221,7 +221,7 @@ labels: latest_month.period, datasets: [ { - label: ["订单数量"], + label: ["{{ __('admin/order.order_quantity') }}"], fill: true, backgroundColor : orderGradient, // Put the gradient here as a fill color borderColor : "#4da4f9", @@ -244,7 +244,7 @@ // pointRadius: 3, }, { - label: ["订单金额"], + label: ["{{ __('admin/order.order_amount') }}"], fill: true, backgroundColor : amountGradient, borderColor : "#20c997", diff --git a/resources/beike/admin/views/pages/rmas/index.blade.php b/resources/beike/admin/views/pages/rmas/index.blade.php index 591c6f8c..0798b197 100644 --- a/resources/beike/admin/views/pages/rmas/index.blade.php +++ b/resources/beike/admin/views/pages/rmas/index.blade.php @@ -1,6 +1,6 @@ @extends('admin::layouts.master') -@section('title', '售后申请列表') +@section('title', __('admin/rma.index')) @section('content')
@@ -9,15 +9,15 @@ - - - - - - - - - + + + + + + + + + @@ -31,7 +31,7 @@ - @endforeach diff --git a/resources/beike/admin/views/pages/rmas/info.blade.php b/resources/beike/admin/views/pages/rmas/info.blade.php index 9d9b6c2c..ddf38549 100644 --- a/resources/beike/admin/views/pages/rmas/info.blade.php +++ b/resources/beike/admin/views/pages/rmas/info.blade.php @@ -1,10 +1,10 @@ @extends('admin::layouts.master') -@section('title', '售后申请') +@section('title', __('admin/rma.index')) @section('content')
-
售后申请详情
+
{{ __('admin/rma.rma_details') }}
@@ -15,11 +15,11 @@
- + - + @@ -29,19 +29,19 @@
客户姓名邮箱电话号码商品商品型号数量服务类型状态操作{{ __('admin/rma.customers_name') }}{{ __('common.email') }}{{ __('common.phone') }}{{ __('admin/builder.modules_product') }}{{ __('product.model') }}{{ __('admin/rma.quantity') }}{{ __('admin/rma.service_type') }}{{ __('common.status') }}{{ __('common.action') }}
{{ $rma->quantity }} {{ $rma->type }} {{ $rma->status }}查看 + {{ __('common.view') }}
{{ $rma->id }}
客户姓名:{{ __('admin/rma.customers_name') }}: {{ $rma->name }}
联系电话:{{ __('common.phone') }}: {{ $rma->telephone }}
- + - + - + - + @@ -52,14 +52,14 @@
-
状态
+
{{ __('common.status') }}
- - + + 待支付 - - + + --}} - + - 更新状态 + {{ __('admin/rma.update_status') }}
-
操作历史
+
{{ __('admin/rma.operation_history') }}
@foreach ($rma->histories as $history) @endforeach @@ -124,7 +124,7 @@ submitForm(form) { this.$refs[form].validate((valid) => { if (!valid) { - layer.msg('请检查表单是否填写正确',()=>{}); + layer.msg('{{ __('common.error_form') }}',()=>{}); return; } diff --git a/resources/lang/en/admin/order.php b/resources/lang/en/admin/order.php index 92cfbc82..f5881323 100644 --- a/resources/lang/en/admin/order.php +++ b/resources/lang/en/admin/order.php @@ -12,6 +12,8 @@ return [ 'list' => 'Order List', + 'order_quantity' => 'Order Quantity', + 'order_amount' => 'Order Amount', 'orders_index' => 'Index', 'orders_create' => 'Create', 'orders_show' => 'Detail', diff --git a/resources/lang/en/admin/rma.php b/resources/lang/en/admin/rma.php index 98b7a568..532dfc7c 100644 --- a/resources/lang/en/admin/rma.php +++ b/resources/lang/en/admin/rma.php @@ -10,8 +10,21 @@ */ return [ + 'index' => 'Rmas', + 'rmas_index' => 'Index', 'rmas_show' => 'Show', 'rmas_update' => 'Update', - 'rmas_delete' => 'Delete' + 'rmas_delete' => 'Delete', + + 'customers_name' => 'Customers Name', + 'quantity' => 'Quantity', + 'service_type' => 'Service Type', + 'rma_details' => 'Rma Details', + 'reasons_return' => 'Reasons Return', + 'current_state' => 'Current State', + 'modify_status' => 'Modify Status', + 'remarks' => 'Remarks', + 'update_status' => 'Update Status', + 'operation_history' => 'Operation History', ]; diff --git a/resources/lang/zh_cn/admin/order.php b/resources/lang/zh_cn/admin/order.php index 87abb200..38f35620 100644 --- a/resources/lang/zh_cn/admin/order.php +++ b/resources/lang/zh_cn/admin/order.php @@ -12,6 +12,8 @@ return [ 'list' => '订单列表', + 'order_quantity' => '订单数量', + 'order_amount' => '订单金额', 'orders_index' => '订单列表', 'orders_create' => '创建订单', 'orders_show' => '订单详情', diff --git a/resources/lang/zh_cn/admin/rma.php b/resources/lang/zh_cn/admin/rma.php index a793ad84..ee8c545b 100644 --- a/resources/lang/zh_cn/admin/rma.php +++ b/resources/lang/zh_cn/admin/rma.php @@ -10,8 +10,21 @@ */ return [ + 'index' => '售后申请', + 'rmas_index' => '售后服务列表', 'rmas_show' => '售后服务详情', 'rmas_update' => '更新售后服务', - 'rmas_delete' => '删除售后服务' + 'rmas_delete' => '删除售后服务', + + 'customers_name' => '客户姓名', + 'quantity' => '数量', + 'service_type' => '服务类型', + 'rma_details' => '售后申请详情', + 'reasons_return' => '退货原因', + 'current_state' => '当前状态', + 'modify_status' => '修改状态', + 'remarks' => '备注信息', + 'update_status' => '更新状态', + 'operation_history' => '操作历史', ];
商品:{{ __('admin/builder.modules_product') }}: {{ $rma->product_name }}
型号:{{ __('product.model') }}: {{ $rma->model }}
数量:{{ __('admin/rma.quantity') }}: {{ $rma->quantity }}
退货原因:{{ __('admin/rma.reasons_return') }}: {{ $rma->quantity }}