不管适配多少个策略,必须要选择。

dev
曾超新 5 years ago
parent cf4c4ab914
commit a3e012698b
  1. 8
      frontend/views/car/order-add.php

@ -345,11 +345,11 @@ use common\models\PriceT;
$.post('/marketing-strategy/get-yingxiao', params, function(obj) { $.post('/marketing-strategy/get-yingxiao', params, function(obj) {
if(obj.success) { if(obj.success) {
$('#celuo_id').val(obj.celuo_id); $('#celuo_id').val(obj.celuo_id);
if(obj.num > 1) { // if(obj.num > 1) {
layer_show('选择策略', '/marketing-strategy/select-fanxian?ids=' + obj.ids); layer_show('选择策略', '/marketing-strategy/select-fanxian?ids=' + obj.ids);
} else { // } else {
selectFanxian(obj.ids); // selectFanxian(obj.ids);
} // }
} else { } else {
parent.layer.msg(obj.msg); parent.layer.msg(obj.msg);
} }

Loading…
Cancel
Save