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
f5366706
authored
Aug 26, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复新增默认值
parent
a4348549
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
resources/views/script/AddSupplierScript.blade.php
resources/views/web/AddSupplier.blade.php
resources/views/script/AddSupplierScript.blade.php
View file @
f5366706
...
...
@@ -14,17 +14,16 @@
$
(
'#account_name_label'
).
text
(
'账户名称 : '
);
$
(
'#account_name_require_span'
).
hide
();
$
(
'#bank_address_require_span'
).
hide
();
$
(
'#nation_id'
).
val
(
'36'
);
$
(
'#nation_id'
).
attr
(
'disabled'
,
true
);
$
(
'#nation_id'
).
addClass
(
'layui-disabled'
);
$
(
'#receipt_nation_id'
).
val
(
'36'
);
form
.
render
(
'select'
);
}
else
{
$
(
'#swift_code_div'
).
show
();
$
(
'#account_name_label'
).
text
(
'国外受益人 : '
);
$
(
'#account_name_require_span'
).
show
();
$
(
'#bank_address_require_span'
).
show
();
$
(
'#nation_id'
).
attr
(
'disabled'
,
false
);
$
(
'#nation_id'
).
removeClass
(
'layui-disabled'
);
$
(
'#receipt_nation_id'
).
attr
(
'disabled'
,
false
);
$
(
'#receipt_nation_id'
).
val
(
''
);
$
(
'#receipt_nation_id'
).
removeClass
(
'layui-disabled'
);
form
.
render
(
'select'
);
}
});
...
...
resources/views/web/AddSupplier.blade.php
View file @
f5366706
...
...
@@ -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>
...
...
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