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
5f8b0d32
authored
Apr 21, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
新增页面修改
parent
8a3c2d64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
21 deletions
resources/views/web/AddSupplier.blade.php
resources/views/web/supplier/SupplierFile.blade.php
resources/views/web/AddSupplier.blade.php
View file @
5f8b0d32
...
...
@@ -211,37 +211,82 @@
<div
class=
"layui-form-item"
>
<div
class=
"layui-col-md4"
>
@inject('singleSelectPresenter','App\Presenters\SingleSelectPresenter')
{!! $singleSelectPresenter->render('
supplier_type','供应商类别',1,config('field.Supplier
Type'),['require'=>true]) !!}
{!! $singleSelectPresenter->render('
receipt_type','供应商类别',1,config('fixed.Receipt
Type'),['require'=>true]) !!}
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
联系人
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
开户名称 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"
supplier_consignee"
id=
"supplier_consigne
e"
placeholder=
"请输入
联系人
"
class=
"layui-input"
value=
""
>
<input
type=
"text"
name=
"
bank_name"
id=
"bank_nam
e"
placeholder=
"请输入
开户名称,比如深圳市猎芯科技有限公司
"
class=
"layui-input"
value=
"
{{$receipt['bank_name'] or ''}}
"
>
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
联系人
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
开户行 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"
supplier_consignee"
id=
"supplier_consignee
"
placeholder=
"请输入
联系人
"
class=
"layui-input"
value=
""
>
<input
type=
"text"
name=
"
bank_adderss"
id=
"bank_adderss
"
placeholder=
"请输入
开户行,比如深圳建设银行
"
class=
"layui-input"
value=
"
{{$receipt['bank_adderss'] or ''}}
"
>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
联系人
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
银行账号 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"supplier_consignee"
id=
"supplier_consignee"
placeholder=
"请输入联系人"
class=
"layui-input"
value=
""
>
<input
type=
"text"
name=
"account_no"
id=
"account_no"
placeholder=
"请输入银行账号"
class=
"layui-input"
value=
"{{$receipt['account_no'] or ''}}"
>
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
账户名称 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"account_name"
id=
"account_name"
placeholder=
"请输入账户名称"
class=
"layui-input"
value=
"{{$receipt['account_name'] or ''}}"
>
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
银行地址 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"account_adderss"
id=
"account_adderss"
placeholder=
"请输入银行具体地址,精确到街道"
class=
"layui-input"
value=
"{{$receipt['account_adderss'] or ''}}"
>
</div>
</div>
<div
class=
"layui-col-md4"
>
<div
id=
"swift_code_div"
@
if
((!
empty
($
receipt
['
receipt_type
'])&&$
receipt
['
receipt_type
']==
1
)||
empty
($
receipt
['
receipt_type
']))
style=
"display: none"
@
endif
>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
Swift Code :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"swift_code"
id=
"Swift Code"
placeholder=
"请输入电汇号码"
class=
"layui-input"
value=
"{{$receipt['swift_code'] or ''}}"
>
</div>
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
<span
class=
"require"
>
*
</span>
银行凭证:
</label>
<div
class=
"layui-input-block"
>
<input
type=
"hidden"
name=
"certificate"
id=
"certificate"
value=
"{{$receipt['certificate'] or ''}}"
>
<button
type=
"button"
class=
"layui-btn upload-img layui-btn-sm"
preview=
"preview"
data-obj=
"certificate"
>
<i
class=
"layui-icon"
>

</i>
上传文件
</button>
<a
target=
"_blank"
id=
"certificate_url"
href=
"{{$receipt['certificate'] or ''}}"
>
{{$receipt['certificate'] or ''}}
</a>
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
备注 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"remark"
id=
"remark"
placeholder=
"请输入备注"
class=
"layui-input"
value=
"{{$receipt['remark'] or ''}}"
>
</div>
</div>
</div>
<blockquote
class=
"layui-elem-quote layui-text"
>
...
...
@@ -321,8 +366,10 @@
</div>
<div
class=
"layui-col-md2"
></div>
</div>
<blockquote
class=
"layui-elem-quote layui-text"
>
<b>
附件管理
</b>
</blockquote>
@include('web.supplier.SupplierFile')
<div
style=
"height: 100px"
></div>
<div
class=
"fix-button"
>
<div
class=
"layui-row"
style=
"width: 90%;"
>
...
...
resources/views/web/supplier/SupplierFile.blade.php
View file @
5f8b0d32
<div
class=
"layui-form-item"
>
<div
class=
"layui-row"
>
<div
clas
s=
"@if (empty($supplier['supplier_id']))layui-col-md4 @else layui-col-md2 @endif
"
>
<div
clas
=
"layui-col-md3
"
>
<label
class=
"layui-form-label"
><span
class=
"require"
id=
"attachment_required_span"
>
*
</span>
附件上传
</label>
<div
class=
"layui-input-
block block-12
"
style=
"width: 155px"
id=
"file_type_selector"
>
<div
class=
"layui-input-
inline
"
style=
"width: 155px"
id=
"file_type_selector"
>
<select
lay-verify=
""
lay-filter=
"file_type_selector"
>
<option
value=
""
>
请选择
</option>
@foreach(config('fixed.FileNameMapping') as $name=>$cnName)
...
...
@@ -14,7 +14,7 @@
@if (empty($supplier['supplier_id']))
@endif
<div
@
if
(
empty
($
supplier
['
supplier_id
']))
class=
"layui-col-md8"
style=
"margin-left: -30px;"
@
else
class=
"layui-col-md10"
style=
"padding-left: 10px;"
@
endif
>
<div
class=
"layui-col-md9"
>
<button
type=
"button"
class=
"layui-btn layui-btn-primary layui-btn-sm layui-btn-disabled"
id=
"disable_upload_button"
>
请选择附件类型再上传
</button>
...
...
@@ -35,7 +35,8 @@
<div
id=
"{{$name}}_file_div"
>
@foreach($attachment[$name] as $k=>$item)
<span
class=
"single_file_div"
>
<a
href=
"{{$item['url']}}"
target=
"_blank"
value=
"{{array_get($item,'file_name','未知文件名')}}"
>
<a
href=
"{{$item['url']}}"
target=
"_blank"
value=
"{{array_get($item,'file_name','未知文件名')}}"
>
{{array_get($item,'file_name','未知文件名')}}
</a>
<i
class=
"layui-icon delete_file"
...
...
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