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
44a2d191
authored
Jun 07, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
银行资料修改不需要审核
parent
151b0a48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
app/Http/Controllers/Api/SupplierReceiptApiController.php
app/Http/Services/SupplierReceiptService.php
app/Http/Controllers/Api/SupplierReceiptApiController.php
View file @
44a2d191
...
...
@@ -79,12 +79,12 @@ class SupplierReceiptApiController extends Controller
//如果修改的只是备注,则不需要转成审核
$needAudit
=
$this
->
checkNeedAudit
(
$oldReceipt
,
$newReceipt
);
if
(
$needAudit
||
empty
(
$request
->
get
(
'receipt_id'
)))
{
$supplierModel
=
new
SupplierChannelModel
();
//
$supplierModel = new SupplierChannelModel();
//修改供应商为审核状态
$supplierModel
->
where
(
'supplier_id'
,
$supplierId
)
->
update
([
'update_time'
=>
time
(),
'status'
=>
SupplierChannelModel
::
STATUS_PENDING
,
]);
//
$supplierModel->where('supplier_id', $supplierId)->update([
//
'update_time' => time(),
//
'status' => SupplierChannelModel::STATUS_PENDING,
//
]);
}
$logService
=
new
LogService
();
...
...
app/Http/Services/SupplierReceiptService.php
View file @
44a2d191
...
...
@@ -11,10 +11,5 @@ use App\Model\SupplierContactModel;
class
SupplierReceiptService
{
public
static
function
addReceiptFromAddPage
(
$supplierId
,
$receiptData
)
{
$receiptData
[
'supplier_id'
]
=
$supplierId
;
//判断银行信息是否有,没有的话不用新增
}
}
\ No newline at end of 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