Authored by peuei

fix 样式3

... ... @@ -288,41 +288,50 @@
<div class="panel-body">
<div class="row">
[[each couponAvailableChannels as Available_Channels i]]
<div class="form-group">
<div class="col-sm-8">
<label class="col-sm-2 control-label">可用渠道 [[i]]</label>
<!-- 渠道 -->
<div class="col-sm-2">
<label class="checkbox-inline">
<!-- 判断是否选中 -->
<input type="checkbox" class="couponAvailableChannels" disabled
[[each channel as Available_Channels_status j]]
[[if Available_Channels_status.groupId==Available_Channels.groupId]]
checked
[[/if]]
[[/each]]
value="[[Available_Channels.groupId]]"> [[Available_Channels.groupName]]
</label>
<div>
<div>
<div class="form-group">
<div class="col-sm-12">
<!--<label class="col-sm-2 control-label"></label>-->
<!-- 渠道 -->
<div class="col-sm-8">
<label class="checkbox-inline">
<!-- 判断是否选中 -->
<input type="checkbox" class="couponAvailableChannels" disabled
[[each channel as Available_Channels_status j]]
[[if Available_Channels_status.groupId==Available_Channels.groupId]]
checked
[[/if]]
[[/each]]
value="[[Available_Channels.groupId]]"> [[Available_Channels.groupName]]
</label>
</div>
</div>
</div>
</div>
<div>
<!-- 子门店 -->
[[if Available_Channels.storeList]]
<div class="col-sm-8">
[[each Available_Channels.storeList as Available_storeList index]]
<label class="checkbox-inline">
<!-- 判断是否选中 -->
<input type="checkbox" class="couponAvailableChannelStoreList couponAvailableChannelStoreList_[[Available_Channels.groupId]]" disabled
[[each channel as Available_Channels_status j]]
[[if Available_Channels_status.groupId==Available_Channels.groupId]]
[[each Available_Channels_status.storeList as Available_Channels_storeList_status k]]
[[if Available_Channels_storeList_status==Available_storeList.storeId]]
checked
[[/if]]
[[/each]]
[[/if]]
<div class="form-group">
<label class="col-sm-2 control-label"></label>
<div class="col-sm-8">
[[each Available_Channels.storeList as Available_storeList index]]
<label class="checkbox-inline">
<!-- 判断是否选中 -->
<input type="checkbox" class="couponAvailableChannelStoreList couponAvailableChannelStoreList_[[Available_Channels.groupId]]" disabled
[[each channel as Available_Channels_status j]]
[[if Available_Channels_status.groupId==Available_Channels.groupId]]
[[each Available_Channels_status.storeList as Available_Channels_storeList_status k]]
[[if Available_Channels_storeList_status==Available_storeList.storeId]]
checked
[[/if]]
[[/each]]
[[/if]]
[[/each]]
value="[[Available_storeList.storeId]]"> [[Available_storeList.storeName]] [[Available_Channels_storeList_status]]
</label>
[[/each]]
value="[[Available_storeList.storeId]]"> [[Available_storeList.storeName]] [[Available_Channels_storeList_status]]
</label>
[[/each]]
</div>
</div>
[[/if]]
</div>
... ...