Authored by xuhongyun

Merge branch 'dev_2.2' into test

@@ -280,7 +280,7 @@ @@ -280,7 +280,7 @@
280 280
281 <div class="form-group"> 281 <div class="form-group">
282 <label class="col-sm-2 control-label">预计上架时间<span class="red">*</span></label> 282 <label class="col-sm-2 control-label">预计上架时间<span class="red">*</span></label>
283 - <div class="col-sm-2"><input type="hidden" id="firstShelveTime" value="[[firstShelveTime]]" /> 283 + <div class="col-sm-2">
284 <input type="text" id="expectShelfTimeStr" jsaction="time" value="[[expectShelfTimeStr]]" required class="form-control" readonly="readonly" placeholder="预计上架时间" /> 284 <input type="text" id="expectShelfTimeStr" jsaction="time" value="[[expectShelfTimeStr]]" required class="form-control" readonly="readonly" placeholder="预计上架时间" />
285 </div> 285 </div>
286 [[if isAdvance=='Y']] 286 [[if isAdvance=='Y']]
@@ -242,7 +242,7 @@ $(document).on("click",".sortadd",function(){ @@ -242,7 +242,7 @@ $(document).on("click",".sortadd",function(){
242 common.util.__tip("请填写销售价","warning"); 242 common.util.__tip("请填写销售价","warning");
243 return; 243 return;
244 } 244 }
245 - if ($.trim($("#firstShelveTime").val())!=""&&$.trim($("#firstShelveTime").val())!=0) { 245 + if(ACTION == 1 && !canEditSort){
246 common.util.__tip("商品有过上架操作,不允许修改厂家颜色","warning"); 246 common.util.__tip("商品有过上架操作,不允许修改厂家颜色","warning");
247 return; 247 return;
248 } 248 }