Commit 54b0afa7 by 朱继来

调整交货地

parent 16956301
......@@ -427,7 +427,8 @@
}
// if (goods_type == 1) { // 联营需要选择交货地
delivery_place = $('input[name=delivery_place]:checked').val();
// delivery_place = $('input[name=delivery_place]:checked').val();
delivery_place = $('.delivery_place').val();
if (delivery_place == null) {
layer.msg('请选择交货地');
......@@ -498,9 +499,10 @@
currency_sign = 'USD';
delivery_place = 2;
}
// $('input[name=delivery_place][value='+delivery_place+']').attr('checked', true);
$('input[name=delivery_place][value='+delivery_place+']').trigger('click');
// $('input[name=delivery_place][value='+delivery_place+']').trigger('click');
$('.delivery_place').val(delivery_place);
$('.currency-sign').text(currency_sign);
$('.currency-section').show();
......
......@@ -253,19 +253,28 @@
<span class="currency-section hide"> 币别:<span class="currency-sign"></span></span>
</div>
<div class="form-group">
<span>交货地址:</span>
<select name="delivery_place" class="delivery_place" disabled>
<option value="1">大陆</option>
<option value="2">香港</option>
</select>
</div>
</div>
<div class="col-sm-6">
<!-- <div class="col-sm-6">
<div class="form-group">
<span>交货地址:</span>
<label class="radio-inline">
<input type="radio" name="delivery_place" class="delivery_place" value="1" checked="checked"> 大陆
<input type="radio" name="delivery_place" class="delivery_place" value="1" checked="checked" disabled="disabled"> 大陆
</label>
<label class="radio-inline">
<input type="radio" name="delivery_place" class="delivery_place" value="2"> 香港
<input type="radio" name="delivery_place" class="delivery_place" value="2" disabled="disabled"> 香港
</label>
</div>
</div>
</div> -->
</div>
</div>
......
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