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
204f8e0b
authored
Apr 14, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into ysx-供应商0.5-20220302
parents
e63de1c2
f5e8ea42
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
app/Http/Services/SupplierAuditService.php
app/Http/Services/SupplierService.php
app/Model/IntracodeModel.php
public/images/icons8-file-100.png:Zone.Identifier
resources/views/web/AddSupplierReceipt.blade.php
app/Http/Services/SupplierAuditService.php
View file @
204f8e0b
...
...
@@ -112,6 +112,9 @@ class SupplierAuditService
$lastUpdateUserId
=
$supplier
[
'create_uid'
];
}
else
{
$lastUpdateUserId
=
$log
[
'admin_id'
];
if
(
$lastUpdateUserId
==
1000
)
{
return
true
;
}
}
//审批人只能审批自己的部下修改的供应商
$departmentService
=
new
DepartmentService
();
...
...
app/Http/Services/SupplierService.php
View file @
204f8e0b
...
...
@@ -386,6 +386,8 @@ class SupplierService
$contact
=
[
'supplier_id'
=>
$supplierId
,
'can_check_uids'
=>
$channelUid
,
'add_time'
=>
time
(),
'admin_id'
=>
request
()
->
user
->
userId
,
];
$contactResult
=
$contactModel
->
insert
(
$contact
);
}
...
...
app/Model/IntracodeModel.php
View file @
204f8e0b
...
...
@@ -33,7 +33,7 @@ class IntracodeModel extends Model
}
}
$redis
->
set
(
'EncodedList_supplier_'
.
$includeResigned
,
json_encode
(
$codeList
));
$redis
->
expire
(
'EncodedList_supplier_'
.
$includeResigned
,
60
*
1
0
);
//缓存10分钟
$redis
->
expire
(
'EncodedList_supplier_'
.
$includeResigned
,
3
0
);
//缓存10分钟
}
}
return
$codeList
;
...
...
public/images/icons8-file-100.png:Zone.Identifier
deleted
100644 → 0
View file @
e63de1c2
[ZoneTransfer]
ZoneId=3
HostUrl=about:internet
resources/views/web/AddSupplierReceipt.blade.php
View file @
204f8e0b
...
...
@@ -27,7 +27,7 @@
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
开户名称 :
</label>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"bank_name"
id=
"bank_name"
placeholder=
"请输入开户名称
,比如建设银行
"
class=
"layui-input"
placeholder=
"请输入开户名称
,比如深圳市猎芯科技有限公司
"
class=
"layui-input"
value=
"{{$receipt['bank_name'] 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