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
1e91f68c
authored
Nov 25, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
新增中转行字段页面和操作
parent
c5ffddb1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
2 deletions
app/Http/Controllers/Api/SupplierApiController.php
app/Http/Controllers/Api/SupplierReceiptApiController.php
app/Http/Services/SupplierService.php
app/Http/Services/SyncSupplierService.php
resources/views/script/supplier/SupplierReceiptScript.blade.php
resources/views/web/AddSupplier.blade.php
resources/views/web/AddSupplierReceipt.blade.php
app/Http/Controllers/Api/SupplierApiController.php
View file @
1e91f68c
...
...
@@ -149,6 +149,7 @@ class SupplierApiController extends Controller
'certificate'
,
'swift_code'
,
'nation_id'
,
'intermediary_bank'
,
]);
$channel
=
$request
->
only
(
$channelMap
);
...
...
app/Http/Controllers/Api/SupplierReceiptApiController.php
View file @
1e91f68c
...
...
@@ -62,6 +62,7 @@ class SupplierReceiptApiController extends Controller
'account_name'
,
'remark'
,
'nation_id'
,
'intermediary_bank'
,
//'international_code'
]);
$receipt
=
array_map
(
'trim'
,
$receipt
);
...
...
app/Http/Services/SupplierService.php
View file @
1e91f68c
...
...
@@ -141,6 +141,7 @@ class SupplierService
'certificate'
,
'swift_code'
,
'nation_id'
,
'intermediary_bank'
,
];
$receiptData
=
array_only
(
$channel
,
$receiptField
);
$channel
=
array_except
(
$channel
,
$receiptField
);
...
...
app/Http/Services/SyncSupplierService.php
View file @
1e91f68c
...
...
@@ -102,7 +102,8 @@ class SyncSupplierService
'bankAddress'
=>
$address
,
'infoEvidence'
=>
$receipt
[
'certificate'
],
'recid'
=>
$receipt
[
'receipt_id'
],
//'bankaccount' => $receipt['international_code'],
//'bankaccount' => $receipt['intermediary_bank'],
//'bankaccount' => $receipt['remark'],
];
}
}
...
...
resources/views/script/supplier/SupplierReceiptScript.blade.php
View file @
1e91f68c
...
...
@@ -49,6 +49,7 @@
return
data
.
nation
?
data
.
nation
.
name_cn
:
''
;
}
},
{
field
:
'intermediary_bank'
,
title
:
'中转行'
,
align
:
'center'
,
width
:
150
},
{
field
:
'remark'
,
title
:
'备注'
,
align
:
'center'
,
width
:
200
},
]],
id
:
'receiptList'
,
...
...
resources/views/web/AddSupplier.blade.php
View file @
1e91f68c
...
...
@@ -355,6 +355,14 @@
</div>
</div>
<div
class=
"layui-col-md4"
>
<label
class=
"layui-form-label"
>
中转行 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"intermediary_bank"
id=
"intermediary_bank"
placeholder=
"请输入中转行"
class=
"layui-input"
value=
""
>
</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"
...
...
@@ -362,7 +370,7 @@
value=
""
>
</div>
</div>
<div
class=
"layui-col-md
12
"
>
<div
class=
"layui-col-md
8
"
>
<label
class=
"layui-form-label"
>
<span
class=
"require"
>
*
</span>
银行凭证:
</label>
...
...
resources/views/web/AddSupplierReceipt.blade.php
View file @
1e91f68c
...
...
@@ -98,6 +98,14 @@
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
中转行 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"intermediary_bank"
id=
"intermediary_bank"
placeholder=
"请输入中转行"
class=
"layui-input"
value=
"{{$receipt['intermediary_bank'] or ''}}"
>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
备注 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"remark"
id=
"remark"
...
...
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