Commit 8887f1c1 authored by xishifeng's avatar xishifeng

bug修改

parent 3c728d1e
......@@ -702,6 +702,10 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
var _ajaxObjSearchRepeatShop = null;//所调用的ajax对象
function searchRepeatShop() {
var _valAddress = $.trim(_addressInternalObj.val());//输入的地址
if(_valAddress.length<4){
_repeatShopList.parent().hide();
return false;
};
var _valCity = $.trim(_cityInternalObj.val());//市
if(!_valCity){
alert('需要先地址定位');
......@@ -1150,6 +1154,12 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_isBreakFlag = true;
return false;
};
if(item === _addressInternalObj) {
if($.trim(item.val()).length<4)
alert('详细地址不能少于4个字');
_isBreakFlag = true;
return false;
};
if(item === _moonPriceObj){
if(_zujinTypeObj.val() == 1 && $.trim(item.val()) < 1000){
alert('月租金模式不能小于1000');
......
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