Commit 1a615684 by 朱继来

调整判断

parent 22a82528
Showing with 1 additions and 1 deletions
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
} }
} }
} else { } else {
if (type == 1 && type == 2) { // 1.联营 2.专卖 if (type == 1 || type == 2) { // 1.联营 2.专卖
layer.msg('仅支持自营商品下单,请在联营订单中下单'); layer.msg('仅支持自营商品下单,请在联营订单中下单');
return false; return false;
} }
......
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