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
4b31dd30
authored
Apr 28, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
审核卡住的问题
parent
8e703229
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
117 deletions
resources/views/script/UpdateSupplierScript.blade.php
resources/views/web/supplier/SupplierPayType.blade.php
resources/views/script/UpdateSupplierScript.blade.php
View file @
4b31dd30
...
@@ -42,6 +42,10 @@
...
@@ -42,6 +42,10 @@
content: $('
#
apply_audit_reason_div
'),
content: $('
#
apply_audit_reason_div
'),
btn: ['
保存并申请审核
', '
取消
'],
btn: ['
保存并申请审核
', '
取消
'],
btn1: function (index, layero) {//点击保存按钮
btn1: function (index, layero) {//点击保存按钮
if ($('
#
apply_audit_reason
').val() === '') {
layer.msg('
请选择申请理由
', {icon: 5})
return false;
}
updateSupplier(data);
updateSupplier(data);
setTimeout(function () {
setTimeout(function () {
layer.close(index);
layer.close(index);
...
...
resources/views/web/supplier/SupplierPayType.blade.php
View file @
4b31dd30
...
@@ -9,131 +9,68 @@
...
@@ -9,131 +9,68 @@
</script>
</script>
@endif
@endif
<div
id=
"pay_type_div_list"
>
<div
id=
"pay_type_div_list"
>
@if (!empty($supplier['pay_type_list']))
@if (!empty($supplier['pay_type']))
@foreach($supplier['pay_type_list'] as $payType)
<div
class=
"layui-row pay_type_div"
style=
"margin-bottom: 5px;"
>
<div
class=
"layui-row pay_type_div"
style=
"margin-bottom: 5px;"
>
<div
class=
"layui-col-md3"
>
<div
class=
"layui-col-md3"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('settlement_type','结算方式 : ',
$supplier['settlement_type'],config('field.SettlementType'),['required'=>true]) !!}
</div>
<div
class=
"layui-col-md3"
>
<div
class=
"layui-inline"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('settlement_type','结算方式 : ',
{!! $statusPresenter->render('pay_type','付款周期 : ',
$supplier['settlement_type'],config('field.SettlementType'),['required'=>true]) !!}
$supplier['pay_type'],config('fixed.SupplierPayType'),['required'=>true]) !!}
</div>
<div
class=
"layui-col-md3"
>
<div
class=
"layui-inline"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('pay_type','付款周期 : ',
$payType['pay_type'],config('fixed.SupplierPayType'),['required'=>true]) !!}
</div>
</div>
</div>
<div
class=
"layui-col-md6"
style=
"width:500px;margin-bottom: 3px;margin-left: -20px;"
>
</div>
<div
class=
"layui-row"
>
<div
class=
"layui-col-md6"
style=
"width:500px;margin-bottom: 3px;margin-left: -20px;"
>
@if ($payType['pay_type']==1)
<div
class=
"layui-row"
>
<div
class=
"pay_type_1_div"
>
@if ($supplier['pay_type']==1)
<div
class=
"layui-row"
style=
"padding-left:70px"
>
<div
class=
"pay_type_1_div"
>
<span
class=
"require"
>
*
</span>
月结 :
&
nbsp
<div
class=
"layui-row"
style=
""
>
<div
class=
"layui-input-inline"
style=
"width: 80px;"
>
<span
class=
"require"
>
*
</span>
月结 :
&
nbsp
<input
class=
"layui-input valueInput"
type=
"hidden"
name=
"pay_type_value"
<div
class=
"layui-input-inline"
style=
"width: 80px;"
>
value=
"{{$payType['pay_type_value'] or ''}}"
>
<input
class=
"layui-input valueInput"
type=
"hidden"
name=
"pay_type_value"
<select
lay-filter=
"pay_type_month"
>
value=
"{{$supplier['pay_type_value'] or ''}}"
>
<option
value=
""
>
请选择
</option>
<select
lay-filter=
"pay_type_month"
>
<option
value=
"30"
<option
value=
""
>
请选择
</option>
@
if
($
payType
['
pay_type_value
']==
30
)
<option
value=
"30"
selected=
'selected'
@
if
($
supplier
['
pay_type_value
']==
30
)
@
endif
>
30
selected=
'selected'
</option>
@
endif
>
30
<option
value=
"60"
</option>
@
if
($
payType
['
pay_type_value
']==
60
)
<option
value=
"60"
selected=
'selected'
@
if
($
supplier
['
pay_type_value
']==
60
)
@
endif
>
60
selected=
'selected'
</option>
@
endif
>
60
<option
value=
"90"
</option>
@
if
($
payType
['
pay_type_value
']==
90
)
<option
value=
"90"
selected=
'selected'
@
if
($
supplier
['
pay_type_value
']==
90
)
@
endif
>
90
selected=
'selected'
</option>
@
endif
>
90
</select>
</option>
</div>
</select>
&
nbsp天
<input
type=
"hidden"
class=
"valueInput"
name=
"pay_type_extra"
value=
"天"
>
</div>
</div>
@else
<div
class=
"pay_type_1_div"
style=
"display: none"
>
<div
class=
"layui-row"
>
<span
class=
"require"
>
*
</span>
月结 :
&
nbsp
<div
class=
"layui-input-inline"
style=
"width: 80px;"
>
<input
class=
"layui-input valueInput"
type=
"hidden"
name=
""
>
<select
lay-filter=
"pay_type_month"
>
<option
value=
""
>
请选择
</option>
<option
value=
"30"
>
30
</option>
<option
value=
"60"
>
60
</option>
<option
value=
"90"
>
90
</option>
</select>
</div>
&
nbsp天
<input
type=
"hidden"
class=
"valueInput"
name=
""
value=
"天"
>
</div>
</div>
&
nbsp天
<input
type=
"hidden"
class=
"valueInput"
name=
"pay_type_extra"
value=
"天"
>
</div>
</div>
@endif
@endif
@if ($payType['pay_type']==2)
<div
class=
"pay_type_2_div"
>
<input
type=
"hidden"
class=
"valueInput"
name=
"pay_type_value"
>
<input
type=
"hidden"
class=
"valueInput"
name=
"pay_type_extra"
value=
""
>
</div>
@else
<div
class=
"pay_type_2_div"
style=
"display: none"
>
<input
type=
"hidden"
class=
"valueInput"
name=
""
>
<input
type=
"hidden"
class=
"valueInput"
name=
""
value=
""
>
</div>
@endif
</div>
</div>
</div>
@endforeach
@endif
</div>
<template
id=
"pay_type_template"
>
@if ($supplier['pay_type']==2)
<div
class=
"layui-row pay_type_div"
style=
"margin-bottom: 5px;"
>
<div
class=
"pay_type_2_div"
>
<div
class=
"layui-col-md3"
>
<input
type=
"hidden"
class=
"valueInput"
name=
"pay_type_value"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
<input
type=
"hidden"
class=
"valueInput"
name=
"pay_type_extra"
value=
""
>
{!! $statusPresenter->render('settlement_type','结算方式 : ',
isset($supplier['settlement_type'])?$supplier['settlement_type']:'',config('field.SettlementType'),['required'=>true]) !!}
</div>
<div
class=
"layui-col-md3"
>
<div
class=
"layui-inline"
>
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('pay_type','付款周期 : ',
isset($supplier['pay_type'])?$supplier['pay_type']:'',config('fixed.SupplierPayType'),['required'=>true]) !!}
</div>
</div>
<div
class=
"layui-col-md6"
style=
"width:500px;margin-bottom: 3px;margin-left: -20px;"
>
<div
class=
"layui-row"
>
<div
class=
"pay_type_3_div"
style=
"display: none"
>
</div>
<div
class=
"pay_type_1_div"
style=
"display: none;margin-left: -100px"
>
<div
class=
"layui-row"
>
<span
class=
"require"
>
*
</span>
月结 :
&
nbsp
<div
class=
"layui-input-inline"
style=
"width: 80px;"
>
<input
class=
"layui-input valueInput"
type=
"hidden"
name=
""
>
<select
lay-filter=
"pay_type_month"
>
<option
value=
""
>
请选择
</option>
<option
value=
"30"
>
30
</option>
<option
value=
"60"
>
60
</option>
<option
value=
"90"
>
90
</option>
</select>
</div>
</div>
&
nbsp天
@else
<input
type=
"hidden"
class=
"valueInput"
name=
""
value=
"天"
>
<div
class=
"pay_type_2_div"
style=
"display: none"
>
</div>
<input
type=
"hidden"
class=
"valueInput"
name=
""
>
</div>
<input
type=
"hidden"
class=
"valueInput"
name=
""
value=
""
>
<div
class=
"pay_type_2_div"
style=
"display: none"
>
</div>
<input
type=
"hidden"
class=
"valueInput"
name=
""
>
@endif
<input
type=
"hidden"
class=
"valueInput"
name=
""
value=
""
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endif
</
template
>
</
div
>
@include('script.supplier.SupplierPayTypeScript')
@include('script.supplier.SupplierPayTypeScript')
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