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
e8f2aa24
authored
May 12, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
页面优化
parent
594e90ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
app/Http/Controllers/Filter/SupplierFilter.php
resources/views/script/supplier/SupplierAttachmentScript.blade.php
resources/views/script/supplier/SupplierReceiptScript.blade.php
app/Http/Controllers/Filter/SupplierFilter.php
View file @
e8f2aa24
...
...
@@ -29,7 +29,7 @@ class SupplierFilter
$query
->
where
(
'supplier_channel.supplier_type'
,
$map
[
'supplier_type'
]);
}
if
(
!
empty
(
$map
[
'supplier_name'
]))
{
$query
->
where
(
'supplier_name'
,
'like'
,
"
{
$map
[
'supplier_name'
]
}
%"
);
$query
->
where
(
'supplier_name'
,
'like'
,
"
%
{
$map
[
'supplier_name'
]
}
%"
);
}
if
(
!
empty
(
$map
[
'supplier_code'
]))
{
$codes
=
explode
(
','
,
$map
[
'supplier_code'
]);
...
...
resources/views/script/supplier/SupplierAttachmentScript.blade.php
View file @
e8f2aa24
...
...
@@ -29,7 +29,13 @@
{
field
:
'type_name'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>附件类型', align: 'center', width: 15
0
},
{
field
:
'file_name'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>附件名称', align: 'center', width: 200}
,
{
field
:
'file_name'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>附件名称', align: 'center', width: 270
,
templet
:
function
(
data
)
{
return
"
<
a
style
=
'color: blue'
href
=
'" + data.file_url + "'
target
=
'_blank'
>
" + data.file_name + "
<
/a>"
;
}
},
{
field
:
'description'
,
title
:
'附件说明'
,
align
:
'center'
,
width
:
250
},
{
field
:
'validity_period'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>有效期', align: 'center', width: 250}
,
{
field
:
'create_name'
,
title
:
'上传人'
,
align
:
'center'
,
width
:
100
},
...
...
resources/views/script/supplier/SupplierReceiptScript.blade.php
View file @
e8f2aa24
...
...
@@ -35,8 +35,11 @@
{
field
:
'account_name'
,
title
:
'账户名称'
,
align
:
'center'
,
width
:
150
},
{
field
:
'swift_code'
,
title
:
'电汇号码'
,
align
:
'center'
,
width
:
130
},
{
field
:
'certificate'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>信息凭证', width: 200, align: 'center', templet: function
(
data
)
{
return
"
<
a
href
=
'" + data.certificate + "'
target
=
'_blank'
>
" + data.certificate + "
<
/a>"
;
field
:
'certificate'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>信息凭证'
,
width
:
200
,
align
:
'center'
,
templet
:
function
(
data
)
{
return
"
<
a
style
=
'color: blue'
href
=
'" + data.certificate + "'
target
=
'_blank'
>
" + data.certificate + "
<
/a>"
;
}
},
{
field
:
'remark'
,
title
:
'备注'
,
align
:
'center'
,
width
:
200
},
...
...
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