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
dd0091e1
authored
Aug 12, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
加字段
parent
6b40fe4a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
1 deletions
app/Http/Controllers/Filter/SupplierFilter.php
resources/views/script/SupplierListScript.blade.php
storage/framework/views/d4d13e9bcdea7366e4952031431aae4b22f055c1.php
app/Http/Controllers/Filter/SupplierFilter.php
View file @
dd0091e1
...
...
@@ -331,7 +331,7 @@ class SupplierFilter
}
});
$query
->
with
([
'contact'
,
'attachment'
]);
$query
->
with
([
'contact'
,
'attachment'
,
'yunxin_account'
]);
$query
->
whereRaw
(
'supplier_name NOT LIKE "%-1"'
);
// 权限逻辑已经移到上面的复合查询条件中
...
...
resources/views/script/SupplierListScript.blade.php
View file @
dd0091e1
...
...
@@ -181,6 +181,26 @@
align
:
'center'
,
width
:
140
,
},
//启用芯链账号
{
field
:
'has_supplier_account'
,
title
:
'启用芯链账号'
,
align
:
'center'
,
width
:
120
,
templet
:
function
(
data
)
{
return
data
.
yunxin_account
?
'是'
:
'否'
;
}
},
//通过芯链上传合同
{
field
:
'has_order_contract'
,
title
:
'通过芯链上传合同'
,
align
:
'center'
,
width
:
120
,
templet
:
function
(
data
)
{
return
data
.
has_order_contract
?
'是'
:
'否'
;
}
},
{
field
:
'channel_username'
,
title
:
'采购员'
,
align
:
'center'
,
width
:
130
,
templet
:
function
(
data
)
{
if
(
data
.
resign_channel_username
)
{
...
...
storage/framework/views/d4d13e9bcdea7366e4952031431aae4b22f055c1.php
View file @
dd0091e1
...
...
@@ -181,6 +181,26 @@
align
:
'center'
,
width
:
140
,
},
//启用芯链账号
{
field
:
'has_supplier_account'
,
title
:
'启用芯链账号'
,
align
:
'center'
,
width
:
120
,
templet
:
function
(
data
)
{
return
data
.
yunxin_account
?
'是'
:
'否'
;
}
},
//通过芯链上传合同
{
field
:
'has_order_contract'
,
title
:
'通过芯链上传合同'
,
align
:
'center'
,
width
:
120
,
templet
:
function
(
data
)
{
return
data
.
has_order_contract
?
'是'
:
'否'
;
}
},
{
field
:
'channel_username'
,
title
:
'采购员'
,
align
:
'center'
,
width
:
130
,
templet
:
function
(
data
)
{
if
(
data
.
resign_channel_username
)
{
...
...
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