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
fed3ad90
authored
Aug 25, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
页面修改优化
parent
6d44f15a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
app/Http/Controllers/SupplierController.php
resources/views/web/AddSupplier.blade.php
resources/views/web/SupplierDetail.blade.php
app/Http/Controllers/SupplierController.php
View file @
fed3ad90
...
...
@@ -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/AddSupplier.blade.php
View file @
fed3ad90
...
...
@@ -350,7 +350,7 @@
<div
class=
"layui-col-md4"
>
<div
class=
"layui-form-item"
id=
"receipt_nation_id_div"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('receipt_nation_id','国家/地区 : ',
0
,
{!! $statusPresenter->render('receipt_nation_id','国家/地区 : ',
36
,
$nationList,['required'=>true]) !!}
</div>
</div>
...
...
resources/views/web/SupplierDetail.blade.php
View file @
fed3ad90
...
...
@@ -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,13 +512,13 @@
</div>
</div>
</div>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
SKU上架有效期 :
</label>
<div
class=
"layui-input-inline"
>
现货 : {{$supplier['cp_time_day'] == -1 ? '无限制' : $supplier['cp_time_day']}}天
<div
style=
"display: flex;align-items: center;"
>
<div
style=
"width: 130px"
>
<label
class=
"layui-form-label"
>
SKU上架有效期 :
</label>
</div>
<div
class=
"layui-input-inline"
>
期货 : {{$supplier['futures_cp_time_day'] == -1 ? '无限制' : $supplier['futures_cp_time_day']}}天
<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>
...
...
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