Commit 94ee0a28 by 孙龙

翻译

parent 2ab9dcaa
......@@ -57,7 +57,7 @@ class OrderController extends AdminController
$grid->fixColumns(1,2);//固定列
// $grid->showColumnSelector();//开启字段选择器功能
// 在 display 回调中使用
$grid->column('序号')->display(function () {
$grid->column('序号',admin_trans('order.labels.序号'))->display(function () {
return $this->_index + 1;
});
$grid->column('order_id',"ID");
......@@ -74,7 +74,7 @@ class OrderController extends AdminController
});
$grid->column('scmUser.name',admin_trans('scm-user.fields.name'));
$grid->column('order_price',"应付金额")->display(function ($order_price) {
$grid->column('order_price',admin_trans('order.labels.应付金额'))->display(function ($order_price) {
$otherAmount = 0;
foreach($order_price->toArray() as $key=>$val ){
if(in_array($val["price_type"],[3,5])){
......
......@@ -11,6 +11,8 @@ return [
'审核成功' => 'Successful audit',
'是否确认反审核' => 'Whether to confirm counteraudit',
'待确认' => 'To be confirmed',
'序号' => 'number',
'应付金额' => 'Amount payable',
],
'fields' => [
......
......@@ -5,13 +5,13 @@ return [
'scm-user' => 'ScmUser',
],
'fields' => [
'name' => '用户名',
'user_sn' => '客户编码',
'email' => '邮箱',
'email_verified_at' => '邮箱校验时间',
'password' => '密码',
'phone' => '手机号码',
'remember_token' => '记住登陆token',
'name' => 'User name',
'user_sn' => 'Customer code',
'email' => 'email',
'email_verified_at' => 'Email verification time',
'password' => 'password',
'phone' => 'Mobile phone Number',
'remember_token' => 'Remember to log in the token',
'account_properties' => '账号属性,1是个人,2是企业',
'status' => '状态,1是正常,-1是禁用',
'company_name' => '公司名称',
......
......@@ -11,6 +11,8 @@ return [
'审核成功' => '是否确认审核',
'是否确认反审核' => '是否确认审核',
'待确认' => '待确认',
'序号' => '序号',
'应付金额' => '应付金额',
],
'fields' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment