Commit c33d833e by 朱继来

调整js

parent 7711c919
Showing with 2 additions and 2 deletions
......@@ -1020,7 +1020,7 @@ layui.config({
uid: user_id,
cart_id: cart_id,
};
console.log(old)
switch (obj.field) {
case 'goods_number':
var min_buy = obj.data.min_buy;
......@@ -1037,7 +1037,7 @@ console.log(old)
}
var curr_goods_type = obj.data.goods_type;
var joint_goods_type = [1, 2]; // 商品联营类型
var joint_goods_type = ["1", "2"]; // 商品联营类型
if (joint_goods_type.indexOf(curr_goods_type) == -1) { // 自营数量需要结合倍数
var mpl = Number(obj.data.mpl); // 倍数
......
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