张泽亮 před 1 rokem
rodič
revize
73765b8df0
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      static/js/project/listingItems/items.js

+ 3
- 3
static/js/project/listingItems/items.js Zobrazit soubor

@@ -544,7 +544,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
if (data.data){ if (data.data){
//判断用户出价不能高于当前出价最低价格 //判断用户出价不能高于当前出价最低价格
if(newMoney < $('#money').val()){ if(newMoney < $('#money').val()){
tools.initError('出价不能高于当前出价最低价格');
tools.initError('不能高于当前最低价格');
return; return;
} }
} }
@@ -561,7 +561,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
if (data.data){ if (data.data){
//判断用户出价不能低于当前出价最高价格 //判断用户出价不能低于当前出价最高价格
if(newMoney >= $('#money').val()){ if(newMoney >= $('#money').val()){
tools.initError('出价不能低于当前出价最高价格');
tools.initError('不能低于当前最高价格');
return; return;
} }
} }
@@ -851,4 +851,4 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function
}, '登录', function () { }, "取消") }, '登录', function () { }, "取消")
} }
return module; return module;
});
});

Načítá se…
Zrušit
Uložit