Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
service
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aimeiyue
service
Commits
7297a0dc
Commit
7297a0dc
authored
Sep 20, 2024
by
lizhilin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
11d2b21b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
21 deletions
+4
-21
app/Admin/Controllers/StoreAdminUsersController.php
+1
-13
app/Admin/Controllers/UserBuycodeCheckController.php
+1
-1
app/Admin/Controllers/UserController.php
+1
-1
lang/zh_CN/good.php
+1
-6
No files found.
app/Admin/Controllers/StoreAdminUsersController.php
View file @
7297a0dc
...
@@ -84,23 +84,11 @@ protected function form()
...
@@ -84,23 +84,11 @@ protected function form()
$form
->
text
(
'pwd'
,
'密码'
)
->
help
(
'密码为空则不修改'
);
$form
->
text
(
'pwd'
,
'密码'
)
->
help
(
'密码为空则不修改'
);
}
}
$form
->
hidden
(
'role_id'
)
->
default
(
2
);
$form
->
hidden
(
'role_id'
)
->
default
(
2
);
//核销员
// 如果是创建模式,执行相关操作
// 如果是创建模式,执行相关操作
$form
->
select
(
'merchant_id'
,
'商家名称'
)
$form
->
select
(
'merchant_id'
,
'商家名称'
)
->
options
(
Merchant
::
whereNull
(
'deleted_at'
)
->
get
()
->
pluck
(
'name'
,
'id'
))
->
options
(
Merchant
::
whereNull
(
'deleted_at'
)
->
get
()
->
pluck
(
'name'
,
'id'
))
//->rules('required')
->
load
(
'store_id'
,
'/get-store-list'
);
->
load
(
'store_id'
,
'/get-store-list'
);
// ->saving(function (Form $form, $data) {
// // 当编辑记录时,设置选中的父分类和子分类
// if ($form->isEditing()) {
// $form->html('<script>
// $(document).ready(function() {
// $("#merchant_id").val(' . $data->merchant_id . '); // 设置父分类的选中值
// $("#store_id").trigger("change"); // 触发事件加载子级选项
// });
// </script>');
// }
// });
$form
->
select
(
'store_id'
,
'门店名称'
);
$form
->
select
(
'store_id'
,
'门店名称'
);
$form
->
disableCreatingCheck
();
$form
->
disableCreatingCheck
();
...
...
app/Admin/Controllers/UserBuycodeCheckController.php
View file @
7297a0dc
...
@@ -27,7 +27,7 @@ protected function grid()
...
@@ -27,7 +27,7 @@ protected function grid()
$grid
->
column
(
'status'
);
$grid
->
column
(
'status'
);
// $grid->column('created_at');
// $grid->column('created_at');
// $grid->column('updated_at')->sortable();
// $grid->column('updated_at')->sortable();
$grid
->
disableCreateButton
();
$grid
->
filter
(
function
(
Grid\Filter
$filter
)
{
$grid
->
filter
(
function
(
Grid\Filter
$filter
)
{
// 更改为 panel 布局
// 更改为 panel 布局
$filter
->
panel
();
$filter
->
panel
();
...
...
app/Admin/Controllers/UserController.php
View file @
7297a0dc
...
@@ -41,7 +41,7 @@ protected function grid()
...
@@ -41,7 +41,7 @@ protected function grid()
$grid
->
disableDeleteButton
();
$grid
->
disableDeleteButton
();
$grid
->
enableDialogCreate
();
$grid
->
enableDialogCreate
();
$grid
->
disableEditButton
();
$grid
->
disableEditButton
();
$grid
->
showQuickEditButton
();
//
$grid->showQuickEditButton();
//$grid->simplePaginate();
//$grid->simplePaginate();
$grid
->
actions
(
function
(
Grid\Displayers\Actions
$actions
)
{
$grid
->
actions
(
function
(
Grid\Displayers\Actions
$actions
)
{
...
...
lang/zh_CN/good.php
View file @
7297a0dc
...
@@ -7,12 +7,7 @@
...
@@ -7,12 +7,7 @@
'fields'
=>
[
'fields'
=>
[
'goods_name'
=>
'名称'
,
'goods_name'
=>
'名称'
,
'goods_desc'
=>
'详情'
,
'goods_desc'
=>
'详情'
,
'product_no'
=>
'型号'
,
'intro_desc'
=>
'购买须知'
,
'material'
=>
'材质'
,
'box_size'
=>
'箱规'
,
'is_jd'
=>
'是否京东自营'
,
'supplier'
=>
'供货商联系人'
,
'su_phone'
=>
'联系方式'
,
'cover_img'
=>
'封面图'
,
'cover_img'
=>
'封面图'
,
],
],
'options'
=>
[],
'options'
=>
[],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment