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
a1ed60ab
authored
Oct 25, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
禁用显示问题
parent
b1758952
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
app/Http/Transformers/SupplierTransformer.php
resources/views/web/BlockSupplier.blade.php
resources/views/web/DisableSupplier.blade.php
resources/views/web/SupplierDetail.blade.php
app/Http/Transformers/SupplierTransformer.php
View file @
a1ed60ab
...
@@ -169,6 +169,9 @@ class SupplierTransformer
...
@@ -169,6 +169,9 @@ class SupplierTransformer
$supplier
[
'settlement_type_name'
]
=
array_get
(
config
(
'field.SettlementType'
),
$supplier
[
'settlement_type'
]);
$supplier
[
'settlement_type_name'
]
=
array_get
(
config
(
'field.SettlementType'
),
$supplier
[
'settlement_type'
]);
}
}
$supplier
[
'main_brand_names'
]
=
$this
->
getMainBrandNames
(
$supplier
[
'main_brands'
]);
$supplier
[
'main_brand_names'
]
=
$this
->
getMainBrandNames
(
$supplier
[
'main_brands'
]);
if
(
!
empty
(
$supplier
[
'agency_brands'
]))
{
$supplier
[
'agency_brand_names'
]
=
$this
->
getMainBrandNames
(
$supplier
[
'agency_brands'
]);
}
$supplier
[
'update_time'
]
=
$supplier
[
'update_time'
]
?
date
(
'Y-m-d H:i:s'
,
$supplier
[
'update_time'
])
:
''
;
$supplier
[
'update_time'
]
=
$supplier
[
'update_time'
]
?
date
(
'Y-m-d H:i:s'
,
$supplier
[
'update_time'
])
:
''
;
$supplier
[
'create_time'
]
=
$supplier
[
'create_time'
]
?
date
(
'Y-m-d H:i:s'
,
$supplier
[
'create_time'
])
:
''
;
$supplier
[
'create_time'
]
=
$supplier
[
'create_time'
]
?
date
(
'Y-m-d H:i:s'
,
$supplier
[
'create_time'
])
:
''
;
$supplier
[
'channel_username'
]
=
$this
->
getChannelUserNames
(
$supplier
[
'channel_uid'
]);
$supplier
[
'channel_username'
]
=
$this
->
getChannelUserNames
(
$supplier
[
'channel_uid'
]);
...
...
resources/views/web/BlockSupplier.blade.php
View file @
a1ed60ab
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<blockquote
class=
"layui-elem-quote layui-text"
>
<blockquote
class=
"layui-elem-quote layui-text"
>
<b>
注意
</b>
<b>
注意
</b>
<br>
<br>
对应供应商设为黑名单后,猎芯将无法与其进行交易
,如要再次启用,则须再次走审核流程
。
对应供应商设为黑名单后,猎芯将无法与其进行交易。
</blockquote>
</blockquote>
<div
class=
"layui-form-item layui-form-text"
>
<div
class=
"layui-form-item layui-form-text"
>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
原因说明 :
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
原因说明 :
</label>
...
...
resources/views/web/DisableSupplier.blade.php
View file @
a1ed60ab
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<blockquote
class=
"layui-elem-quote layui-text"
>
<blockquote
class=
"layui-elem-quote layui-text"
>
<b>
注意
</b>
<b>
注意
</b>
<br>
<br>
对应供应商设为禁用后,猎芯将无法与其进行交易
,如要再次启用,则须再次走审核流程
。
对应供应商设为禁用后,猎芯将无法与其进行交易。
</blockquote>
</blockquote>
<div
class=
"layui-form-item layui-form-text"
>
<div
class=
"layui-form-item layui-form-text"
>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
原因说明 :
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
原因说明 :
</label>
...
...
resources/views/web/SupplierDetail.blade.php
View file @
a1ed60ab
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
</div>
</div>
@if($supplier['supplier_group'] == \App\Model\SupplierChannelModel::SUPPLIER_GROUP_MIX)
@if($supplier['supplier_group'] == \App\Model\SupplierChannelModel::SUPPLIER_GROUP_MIX)
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
<span
class=
"required_field"
>
*
</span>
代理品牌 :{{$supplier['
main
_brand_names']}}
<span
class=
"required_field"
>
*
</span>
代理品牌 :{{$supplier['
agency
_brand_names']}}
</div>
</div>
@endif
@endif
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
...
...
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