Commit b3e0089e authored by agping's avatar agping

商铺新增

parent 32a800c8
...@@ -325,6 +325,7 @@ ...@@ -325,6 +325,7 @@
<option value="1" selected="selected">月租金</option> <option value="1" selected="selected">月租金</option>
<option value="2">营业额扣点</option> <option value="2">营业额扣点</option>
<option value="3">每平方米租金</option> <option value="3">每平方米租金</option>
<option value="4">年租金</option>
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
......
...@@ -1000,7 +1000,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -1000,7 +1000,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
} else if(_this.val() == '3') { } else if(_this.val() == '3') {
_moonPriceObj.prev().hide(); _moonPriceObj.prev().hide();
_moonPriceObj.next().html('元/天/㎡'); _moonPriceObj.next().html('元/天/㎡');
} else { } else if(_this.val() == '4') {
_moonPriceObj.prev().hide();
_moonPriceObj.next().html('元/年');
}else {
console.log('other value租金模式'); console.log('other value租金模式');
}; };
}); });
...@@ -1176,6 +1179,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -1176,6 +1179,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
alert('每天每平米租金不能超过300'); alert('每天每平米租金不能超过300');
_isBreakFlag = true; _isBreakFlag = true;
return false; return false;
}else if(_zujinTypeObj.val() == 4 && $.trim(item.val()) < 1000){
alert('年租金模式不能小于1000');
_isBreakFlag = true;
return false;
}else{} }else{}
}; };
} }
......
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 to comment