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
82645aad
authored
Aug 26, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'ysx-供应商详情优化-20250825' into ysx-masterBack-20250826
parents
56f68c84
fed3ad90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
app/Http/Controllers/SupplierController.php
resources/views/web/SupplierDetail.blade.php
app/Http/Controllers/SupplierController.php
View file @
82645aad
...
...
@@ -156,6 +156,7 @@ class SupplierController extends Controller
'value'
=>
$key
,
];
}
$this
->
data
[
'nation'
]
=
NationModel
::
where
(
'nation_id'
,
$supplier
[
'nation_id'
])
->
first
();
$this
->
data
[
'sku_optional_batch_for_xm_select'
]
=
$skuOptionalBatchXmSelect
;
return
$this
->
view
(
'供应商详情'
);
...
...
resources/views/web/SupplierDetail.blade.php
View file @
82645aad
...
...
@@ -161,10 +161,13 @@
<div
class=
"layui-col-md2"
>
<span
class=
"required_field"
>
*
</span>
所在区域 :{{$supplier['region_name']}}
</div>
<div
class=
"layui-col-md3"
>
@if ($supplier['region']==2)
@if ($supplier['region']==2)
<div
class=
"layui-col-md3"
>
所属省市 :{{$province_city}}
@endif
</div>
@endif
<div
class=
"layui-col-md3"
>
所在国家/地区 :{{!empty($nation['name_cn'])?$nation['name_cn'].'('.$nation['international_code'].')':'未设置'}}
</div>
</div>
<div
class=
"layui-row"
>
...
...
@@ -509,7 +512,16 @@
</div>
</div>
</div>
<div
style=
"display: flex;align-items: center;"
>
<div
style=
"width: 130px"
>
<label
class=
"layui-form-label"
>
SKU上架有效期 :
</label>
</div>
<div
style=
"display: flex;flex-direction: column;"
>
<div>
现货 : {{$supplier['cp_time_day'] == -1 ? '无限制' : $supplier['cp_time_day']}}天
</div>
<div>
期货 : {{$supplier['futures_cp_time_day'] == -1 ? '无限制' : $supplier['futures_cp_time_day']}}天
</div>
</div>
</div>
<br>
<div
class=
"layui-inline"
>
@inject('multiSelectorPresenter','App\Presenters\MultiSelectorPresenter')
{!! $multiSelectorPresenter->render('sku_optional_batch','SKU可选批次 : ',!empty($supplier)?$supplier['sku_optional_batch']:'',$sku_optional_batch_for_xm_select,['width'=>'350px','required'=>true,'disable'=>true]) !!}
...
...
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