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
dd9b8758
authored
Jul 19, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
银行信息修改
parent
873ae021
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
8 deletions
app/Http/Validators/ReceiptValidator.php
resources/views/script/AddSupplierScript.blade.php
resources/views/script/supplier/SupplierReceiptScript.blade.php
resources/views/web/AddSupplier.blade.php
resources/views/web/AddSupplierReceipt.blade.php
app/Http/Validators/ReceiptValidator.php
View file @
dd9b8758
...
...
@@ -27,6 +27,7 @@ class ReceiptValidator
$rules
[
"swift_code"
]
=
'required'
;
$rules
[
"account_adderss"
]
=
'required'
;
$rules
[
"account_name"
]
=
'required'
;
$rules
[
"bank_adderss"
]
=
'required'
;
//$rules["international_code"] = 'required';
}
$messages
=
$this
->
messages
();
...
...
@@ -64,7 +65,7 @@ class ReceiptValidator
'receipt_type.required'
=>
'银行类型 不能为空'
,
'bank_name.required'
=>
'开户名称 不能为空'
,
'bank_adderss.required'
=>
'开户行 不能为空'
,
'swift_code.required'
=>
'
电汇号
码 Swift Code 不能为空'
,
'swift_code.required'
=>
'
银行国际代
码 Swift Code 不能为空'
,
'account_no.required'
=>
'银行账号 不能为空'
,
'account_name.required'
=>
'账户名称 不能为空'
,
'certificate.required'
=>
'银行信息凭证 不能为空'
,
...
...
resources/views/script/AddSupplierScript.blade.php
View file @
dd9b8758
...
...
@@ -11,8 +11,14 @@
form
.
on
(
'radio(receipt_type)'
,
function
(
data
)
{
if
(
data
.
value
==
1
)
{
$
(
'#swift_code_div'
).
hide
();
$
(
'#account_name_label'
).
text
(
'账户名称 : '
);
$
(
'#account_name_require_span'
).
hide
();
$
(
'#bank_address_require_span'
).
hide
();
}
else
{
$
(
'#swift_code_div'
).
show
();
$
(
'#account_name_label'
).
text
(
'国外受益人 : '
);
$
(
'#account_name_require_span'
).
show
();
$
(
'#bank_address_require_span'
).
show
();
}
});
...
...
resources/views/script/supplier/SupplierReceiptScript.blade.php
View file @
dd9b8758
...
...
@@ -33,7 +33,7 @@
{
field
:
'bank_adderss'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>开户行', align: 'center', width: 150}
,
{
field
:
'account_no'
,
title
:
'
<
span
class
=
"require"
>*
<
/span>银行账号', align: 'center', width: 130}
,
{
field
:
'account_name'
,
title
:
'账户名称'
,
align
:
'center'
,
width
:
150
},
{
field
:
'swift_code'
,
title
:
'
电汇号码
'
,
align
:
'center'
,
width
:
130
},
{
field
:
'swift_code'
,
title
:
'
Swift Code
'
,
align
:
'center'
,
width
:
130
},
// {field: 'international_code', title: '国际代码', align: 'center', width: 130},
{
field
:
'certificate'
,
...
...
@@ -43,6 +43,7 @@
return
"
<
a
style
=
'color: blue'
href
=
'" + data.certificate + "'
target
=
'_blank'
>
" + data.certificate + "
<
/a>"
;
}
},
{
field
:
'account_adderss'
,
title
:
'银行地址'
,
align
:
'center'
,
width
:
200
},
{
field
:
'remark'
,
title
:
'备注'
,
align
:
'center'
,
width
:
200
},
]],
id
:
'receiptList'
,
...
...
resources/views/web/AddSupplier.blade.php
View file @
dd9b8758
...
...
@@ -319,7 +319,7 @@
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
账户名称 :
</label>
<label
class=
"layui-form-label"
id=
"account_name_label"
><span
class=
"require"
id=
"account_name_require_span"
>
*
</span
>
账户名称 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"account_name"
id=
"account_name"
placeholder=
"请输入账户名称"
class=
"layui-input"
...
...
@@ -327,10 +327,10 @@
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
银行地址 :
</label>
<label
class=
"layui-form-label"
>
<span
class=
"require"
style=
"display: none"
id=
"bank_address_require_span"
>
*
</span>
银行地址 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"account_adderss"
id=
"account_adderss"
placeholder=
"请输入银行具体地址
,精确到街道
"
class=
"layui-input"
placeholder=
"请输入银行具体地址
或银行所在国家
"
class=
"layui-input"
value=
""
>
</div>
</div>
...
...
@@ -355,7 +355,7 @@
<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"
placeholder=
"请输入
银行国际代
码"
class=
"layui-input"
value=
""
>
</div>
</div>
...
...
resources/views/web/AddSupplierReceipt.blade.php
View file @
dd9b8758
...
...
@@ -65,7 +65,7 @@
银行地址 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"account_adderss"
id=
"account_adderss"
placeholder=
"请输入银行具体地址
,精确到街道
"
class=
"layui-input"
placeholder=
"请输入银行具体地址
或银行所在国家
"
class=
"layui-input"
value=
"{{$receipt['account_adderss'] or ''}}"
>
</div>
</div>
...
...
@@ -83,7 +83,7 @@
<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"
placeholder=
"请输入
银行国际代
码"
class=
"layui-input"
value=
"{{$receipt['swift_code'] or ''}}"
>
</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