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
1ed72a77
authored
Sep 26, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化前端展示和新增加字段展示
parent
3b4afffc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
app/Http/Transformers/SupplierContactTransformer.php
resources/views/script/supplier/SupplierContactScript.blade.php
app/Http/Transformers/SupplierContactTransformer.php
View file @
1ed72a77
...
@@ -47,6 +47,7 @@ class SupplierContactTransformer
...
@@ -47,6 +47,7 @@ class SupplierContactTransformer
}
}
$item
[
'channel_user_type_name'
]
=
array_get
(
config
(
'field.ChannelUserType'
),
$item
[
'channel_user_type'
]);
$item
[
'channel_user_type_name'
]
=
array_get
(
config
(
'field.ChannelUserType'
),
$item
[
'channel_user_type'
]);
$item
[
'update_time'
]
=
$item
[
'update_time'
]
?
date
(
'Y-m-d H:i:s'
,
$item
[
'update_time'
])
:
''
;
}
}
unset
(
$item
);
unset
(
$item
);
...
...
resources/views/script/supplier/SupplierContactScript.blade.php
View file @
1ed72a77
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
where
:
{
where
:
{
supplier_id
:
getQueryVariable
(
"supplier_id"
)
supplier_id
:
getQueryVariable
(
"supplier_id"
)
},
},
size
:
"sm"
,
loading
:
true
,
loading
:
true
,
first
:
true
,
//不显示首页
first
:
true
,
//不显示首页
last
:
false
,
//不显示尾页
last
:
false
,
//不显示尾页
...
@@ -61,7 +62,9 @@
...
@@ -61,7 +62,9 @@
},
},
{field: '
supplier_fax
', title: '
传真
', align: '
center
', width: 140},
{field: '
supplier_fax
', title: '
传真
', align: '
center
', width: 140},
{field: '
channel_name
', title: '
<
span
class
=
"require"
>*
<
/span>采购员', align: 'center', width: 110}
,
{field: '
channel_name
', title: '
<
span
class
=
"require"
>*
<
/span>采购员', align: 'center', width: 110}
,
{
field
:
'channel_user_type_name'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>采购员类型', align: 'center', width: 110}, {field: 'working_status', title: '采购员状态', align: 'center', width: 120}
,
{
field
:
'channel_user_type_name'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>采购员类型', align: 'center', width: 110}
,
{
field
:
'working_status'
,
title
:
'采购员状态'
,
align
:
'center'
,
width
:
120
},
{
field
:
'update_time'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
150
},
]],
]],
id
:
'contactList'
,
id
:
'contactList'
,
page
:
{},
page
:
{},
...
...
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