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
f65eb0cf
authored
May 29, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'ysx-CRM转化供应商流程-20260518' into Dev
parents
85d4740d
af5370ab
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
app/Http/Controllers/Api/SupplierCrmApiController.php
resources/views/script/ConfirmCrmSupplierScript.blade.php
resources/views/web/ConfirmCrmSupplier.blade.php
app/Http/Controllers/Api/SupplierCrmApiController.php
View file @
f65eb0cf
...
@@ -34,9 +34,9 @@ class SupplierCrmApiController extends Controller
...
@@ -34,9 +34,9 @@ class SupplierCrmApiController extends Controller
if
(
$auditOpinion
==
'disagree'
&&
empty
(
$remark
))
{
if
(
$auditOpinion
==
'disagree'
&&
empty
(
$remark
))
{
$this
->
response
(
-
1
,
'请填写原因说明'
);
$this
->
response
(
-
1
,
'请填写原因说明'
);
}
}
//
if ($auditOpinion == 'agree' && empty($channelUid)) {
if
(
$auditOpinion
==
'agree'
&&
empty
(
$channelUid
))
{
//
$this->response(-1, '请指定采购员');
$this
->
response
(
-
1
,
'请指定采购员'
);
//
}
}
// 校验审核流状态,已拒绝的不允许再审核
// 校验审核流状态,已拒绝的不允许再审核
$auditBillInfo
=
AuditCenterService
::
getAuditInfoByIdAndType
(
$supplierId
,
AuditCenterService
::
TYPE_CUSTOMER_CONVERT_SUPPLIER_AUDIT
);
$auditBillInfo
=
AuditCenterService
::
getAuditInfoByIdAndType
(
$supplierId
,
AuditCenterService
::
TYPE_CUSTOMER_CONVERT_SUPPLIER_AUDIT
);
...
...
resources/views/script/ConfirmCrmSupplierScript.blade.php
View file @
f65eb0cf
...
@@ -9,6 +9,11 @@
...
@@ -9,6 +9,11 @@
let
remark
=
data
.
field
.
remark
||
''
;
let
remark
=
data
.
field
.
remark
||
''
;
let
channelUid
=
data
.
field
.
channel_uid
||
''
;
let
channelUid
=
data
.
field
.
channel_uid
||
''
;
// 同意时必须指定采购员
if
(
auditOpinion
===
'agree'
&&
!
channelUid
)
{
parent
.
layer
.
msg
(
'请指定采购员'
,
{
icon
:
5
});
return
false
;
}
let
url
=
'/api/supplier_crm/AuditCustomerConvertSupplier'
;
let
url
=
'/api/supplier_crm/AuditCustomerConvertSupplier'
;
let
requestData
=
{
let
requestData
=
{
supplier_id
:
supplierId
,
supplier_id
:
supplierId
,
...
...
resources/views/web/ConfirmCrmSupplier.blade.php
View file @
f65eb0cf
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
<div
class=
"layui-input-block block-42 info-label"
>
<div
class=
"layui-input-block block-42 info-label"
>
{{ array_get($userCodes, $supplier['channel_uid'], '未知') }}
{{ array_get($userCodes, $supplier['channel_uid'], '未知') }}
</div>
</div>
<input
type=
"hidden"
name=
"channel_uid"
value=
"{{ $supplier['channel_uid'] }}"
>
@else
@else
{!! $statusPresenter->render('channel_uid','指定采购员 : ',null,
{!! $statusPresenter->render('channel_uid','指定采购员 : ',null,
$userCodes,['required'=>true,'width'=>'150px']) !!}
$userCodes,['required'=>true,'width'=>'150px']) !!}
...
...
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