Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ae2cce52
authored
Dec 31, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修正页面
parent
759ad22b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
10 deletions
config/field.php
resources/views/script/SupplierContractListScript.blade.php
resources/views/web/SupplierContractList.blade.php
config/field.php
View file @
ae2cce52
...
...
@@ -197,7 +197,7 @@ return [
"RS COMPONENTS LIMITED"
,
"FUTURE ELECTRONICS (HONG KONG) LIMITED"
,
"Avnet Technology Hong Kong Limited"
,
// "Mogultech International Ltd."
// "Mogultech International Ltd."
],
'CompanyNature'
=>
[
'其它'
=>
'其它'
,
...
...
@@ -252,6 +252,7 @@ return [
7
=>
'专营芯链上传'
,
8
=>
'专营采集'
,
9
=>
'芯链人工上传'
,
12
=>
'芯链寄售上传'
],
'SupplierApplySource'
=>
[
...
...
resources/views/script/SupplierContractListScript.blade.php
View file @
ae2cce52
...
...
@@ -169,13 +169,13 @@
let
checkStatus
=
table
.
checkStatus
(
'contractList'
);
let
data
=
checkStatus
.
data
;
if
(
data
.
length
>
1
)
{
layer
.
msg
(
'该操作不支持多选'
,
{
parent
.
layer
.
msg
(
'该操作不支持多选'
,
{
icon
:
5
});
return
;
}
if
(
!
data
.
length
)
{
layer
.
msg
(
'请先选择要操作的记录'
,
{
parent
.
layer
.
msg
(
'请先选择要操作的记录'
,
{
icon
:
5
});
}
else
{
...
...
@@ -236,18 +236,18 @@
status
:
-
1
,
});
if
(
!
res
)
{
layer
.
msg
(
'网络错误,请重试'
,
{
parent
.
layer
.
msg
(
'网络错误,请重试'
,
{
icon
:
5
});
return
;
}
if
(
res
.
err_code
===
0
)
{
layer
.
msg
(
'操作成功'
,
{
parent
.
layer
.
msg
(
'操作成功'
,
{
icon
:
6
});
table
.
reload
(
'contractList'
);
}
else
{
layer
.
msg
(
res
.
err_msg
,
{
parent
.
layer
.
msg
(
res
.
err_msg
,
{
icon
:
5
});
}
...
...
@@ -262,18 +262,18 @@
status
:
1
});
if
(
!
res
)
{
layer
.
msg
(
'网络错误,请重试'
,
{
parent
.
layer
.
msg
(
'网络错误,请重试'
,
{
icon
:
5
});
return
;
}
if
(
res
.
err_code
===
0
)
{
layer
.
msg
(
'操作成功'
,
{
parent
.
layer
.
msg
(
'操作成功'
,
{
icon
:
6
});
table
.
reload
(
'contractList'
);
}
else
{
layer
.
msg
(
res
.
err_msg
,
{
parent
.
layer
.
msg
(
res
.
err_msg
,
{
icon
:
5
});
}
...
...
resources/views/web/SupplierContractList.blade.php
View file @
ae2cce52
...
...
@@ -40,8 +40,15 @@
</select>
</div>
</div>
<div
class=
"layui-inline"
style=
"width: 600px"
>
@inject('transformableTimeIntervalPresenter', 'App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render([
'create_time' => '创建时间',
'update_time' => '更新时间',
]) !!}
</div>
<div
class=
"layui-inline"
>
<button
class=
"layui-btn layui-btn-sm"
lay-submit
lay-filter=
"search"
>
搜索
</button>
<button
class=
"layui-btn layui-btn-sm"
lay-submit
lay-filter=
"search"
>
查询
</button>
<button
type=
"reset"
class=
"layui-btn layui-btn-sm layui-btn-primary"
onclick=
"location.reload()"
>
重置
</button>
</div>
...
...
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