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
b0110348
authored
3 years ago
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去掉转正限制
parent
3e183539
master
…
hcy-2024.6.4-供应商列表问题
ysx-sku标签-20221213
ysx-spu的redis拆库-20230705
ysx-一体化广播规则-20231120
ysx-一体化需求-20231206
ysx-一体化黑名单功能-20220712
ysx-专项组需求0711-20230711
ysx-京东采购员需求-20250328
ysx-低价保障-20240827
ysx-供应商0.5-20220302
ysx-供应商二期-20210610
ysx-供应商入驻字段-20230914
ysx-供应商入驻申请-20230424
ysx-供应商同步字段修改-20230505
ysx-供应商四期-20210720
ysx-供应商新增字段-20220616
ysx-供应商新建-20220701
ysx-供应商混合分销需求-202305156
ysx-供应商类型-20220614
ysx-供应商系统-20230327
ysx-供应商跟进-20231225
ysx-供应商逻辑优化-20241209
ysx-供应商需求-20220707
ysx-供应商需求-20220721
ysx-供应商需求-20220725
ysx-供应商需求-20220818
ysx-供应商需求-20221009
ysx-供应商需求-20221121
ysx-供应商需求-20230520
ysx-供应商需求-20230531
ysx-供应商需求-20230602
ysx-供应商需求-20230619
ysx-供应商需求-20241010
ysx-供应商需求0108-20240108
ysx-供应商需求0607-20230607
ysx-供应商需求0614-20230614
ysx-供应商需求0717-20230717
ysx-信息加敏-20230103
ysx-修改驳回供应商名称-20240129
ysx-华云改造-20240304
ysx-图片地址批量转换-20240829
ysx-基石跳转需求-20230215
ysx-备忘录-20230824
ysx-实体名单-20231026
ysx-审核小程序对接-20220831
ysx-寄售合同回传需求-20250218
ysx-寄售相关需求-20241226
ysx-履约程度需求-20250317
ysx-新基石修改-20220526
ysx-新增签约公司-20250214
ysx-期货有效期-20230725
ysx-测试分支
ysx-芯链子母账号-20230802
ysx-财务信息金蝶同步-20240319
ysx-采购员交接-20240417
ysx-采购系统需求-20211108
ysx-银行信息字段修改-20240719
ysx-银行账号优化-20240617
测试pdf打印
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
resources/views/script/SupplierListScript.blade.php
resources/views/script/SupplierListScript.blade.php
View file @
b0110348
...
@@ -257,11 +257,11 @@
...
@@ -257,11 +257,11 @@
layer
.
msg
(
'该操作不支持多选'
,
{
icon
:
5
})
layer
.
msg
(
'该操作不支持多选'
,
{
icon
:
5
})
return
;
return
;
}
}
const
is_type
=
data
[
0
].
is_type
;
//
const is_type = data[0].is_type;
if
(
is_type
===
1
)
{
//
if (is_type === 1) {
layer
.
msg
(
'该供应商为非正式供应商,请先将该供应商转正'
,
{
icon
:
5
})
//
layer.msg('该供应商为非正式供应商,请先将该供应商转正', {icon: 5})
return
false
;
//
return false;
}
//
}
const
status
=
data
[
0
].
status
;
const
status
=
data
[
0
].
status
;
if
((
status
===
3
||
status
===
2
||
status
===
-
2
))
{
if
((
status
===
3
||
status
===
2
||
status
===
-
2
))
{
let
supplierId
=
data
[
0
].
supplier_id
;
let
supplierId
=
data
[
0
].
supplier_id
;
...
@@ -299,12 +299,12 @@
...
@@ -299,12 +299,12 @@
layer
.
msg
(
'选择的供应商里,存在审核状态的供应商,无法分配渠道员'
,
{
icon
:
5
})
layer
.
msg
(
'选择的供应商里,存在审核状态的供应商,无法分配渠道员'
,
{
icon
:
5
})
return
return
}
}
let
is_type
=
Array
.
from
(
data
,
({
is_type
})
=>
is_type
);
//
let is_type = Array.from(data, ({is_type}) => is_type);
//分配采购员的多选操作,需要先去判断是否存在审核中的供应商,存在的话,要提示
//
//
分配采购员的多选操作,需要先去判断是否存在审核中的供应商,存在的话,要提示
if
(
is_type
.
indexOf
(
1
)
!==
-
1
)
{
//
if (is_type.indexOf(1) !== -1) {
layer
.
msg
(
'选择的供应商里,存在非正式供应商,请先将其转正'
,
{
icon
:
5
})
//
layer.msg('选择的供应商里,存在非正式供应商,请先将其转正', {icon: 5})
return
//
return
}
//
}
layer
.
open
({
layer
.
open
({
type
:
2
,
type
:
2
,
content
:
'/supplier/BatchAllocatePurchaseUser?view=iframe&supplier_ids='
+
supplierIds
,
content
:
'/supplier/BatchAllocatePurchaseUser?view=iframe&supplier_ids='
+
supplierIds
,
...
@@ -330,11 +330,11 @@
...
@@ -330,11 +330,11 @@
layer
.
msg
(
'该操作不支持多选'
,
{
icon
:
5
})
layer
.
msg
(
'该操作不支持多选'
,
{
icon
:
5
})
return
;
return
;
}
}
const
is_type
=
data
[
0
].
is_type
;
//
const is_type = data[0].is_type;
if
(
is_type
===
1
)
{
//
if (is_type === 1) {
layer
.
msg
(
'该供应商为非正式供应商,请先将该供应商转正'
,
{
icon
:
5
})
//
layer.msg('该供应商为非正式供应商,请先将该供应商转正', {icon: 5})
return
false
;
//
return false;
}
//
}
const
status
=
data
[
0
].
status
;
const
status
=
data
[
0
].
status
;
if
((
status
===
3
||
status
===
2
||
status
===
-
2
))
{
if
((
status
===
3
||
status
===
2
||
status
===
-
2
))
{
let
supplierId
=
data
[
0
].
supplier_id
;
let
supplierId
=
data
[
0
].
supplier_id
;
...
...
This diff is collapsed.
Click to expand it.
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