Commit 88f8f612 by mushishixian

fix

parent 79784040
...@@ -372,6 +372,11 @@ ...@@ -372,6 +372,11 @@
} }
const status = data[0].status; const status = data[0].status;
const hasSku = data[0].sku_num; const hasSku = data[0].sku_num;
const needReview = data[0].need_review;
if (needReview === 1) {
layer.msg("该供应商还没有进行复审,不能直接禁用;", {icon: 5})
return;
}
if ((status === 3 || status === 2) && !hasSku) { if ((status === 3 || status === 2) && !hasSku) {
layer.confirm('对应供应商设为禁用并且审核通过后,猎芯将无法与其进行交易,如要再次启用,则须再次走入驻流程,是否执行当前操作?', function (index) { layer.confirm('对应供应商设为禁用并且审核通过后,猎芯将无法与其进行交易,如要再次启用,则须再次走入驻流程,是否执行当前操作?', function (index) {
let supplierId = data[0].supplier_id; let supplierId = data[0].supplier_id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment