Authored by weiqingting

基础商品bug修改

... ... @@ -216,7 +216,7 @@ var g = new common.grid({
var formatted = t.format("yyyy-MM-dd hh:mm:ss");
return "<p>"+formatted+"</p>";
}},
{display:"创建人",name:"createUser"},
{display:"创建人",name:"founderName"},
{display:"操作",render:function(item){
var html=[];
... ...
... ... @@ -202,7 +202,7 @@ tabTree.prototype= {
$.each(g.selected, function(count, item) {
arr.push(item.sortName);
});
g.dom["cityboxbtn"].html(arr.join(' '));
g.dom["cityboxbtn"].html(arr.join(' > '));
p.datas.length = 0;
$.each(g.selected, function(count, item) {
p.datas.push(item)
... ... @@ -254,7 +254,7 @@ tabTree.prototype= {
$.each(g.selected, function(count, item) {
arr.push(item.sortName);
});
g.dom["cityboxbtn"].html(arr.join('')||'请选择类目');
g.dom["cityboxbtn"].html(arr.join(' > ')||'请选择类目');
if (g.selected.length > 0 && !g.selected[g.selected.length - 1].isdirect) {
if (g.selected.length != p.datas.length) {
... ...
... ... @@ -195,7 +195,7 @@
<input type="checkbox" name="ageLevel" value="2">大童</label>
<label class="radio-inline">
<input type="checkbox" name="ageLevel" value="3">小童</label>
<input type="hidden" id="ageLevel" name="ageLevel" value="[[ageLevel||'1']]" for="checkbox" placeholder="年龄层" />
<input type="hidden" id="ageLevel" name="ageLevel" value="[[ageLevel||'1']]" for="checkbox" placeholder="年龄层" required />
</div>
<label class="col-sm-1 control-label">性别<span class="red">*</span></label>
<div class="col-sm-2">
... ...
... ... @@ -63,7 +63,6 @@
</div>
<div class="form-group">
<div class="col-sm-3">是否补货:[[isLimited]]</div>
<div class="col-sm-3">促销礼品:[[isPromotionalGifts]]</div>
<div class="col-sm-3">限量款:[[isLimited]]</div>
</div>
... ...