Commit c41144af by 杨树贤

Merge branch 'dev/ver/1.0.0' of http://git.ichunt.net/semour/semour_web into dev/ver/1.0.0

parents 0858c8e6 3e1e61df
...@@ -129,7 +129,6 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) { ...@@ -129,7 +129,6 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) {
var goods_name = $(this).find(".inquiry_goods_namexs").val(); var goods_name = $(this).find(".inquiry_goods_namexs").val();
var num_ = $(this).find(".inquiry_numxs").val(); var num_ = $(this).find(".inquiry_numxs").val();
var brand = $(this).find(".inquiry_brandxs").val(); var brand = $(this).find(".inquiry_brandxs").val();
if (goods_name || num_) {
if (!goods_name) { if (!goods_name) {
liexin_pop.Tip({ title: "Part No CANNOT BE EMPTY" }); liexin_pop.Tip({ title: "Part No CANNOT BE EMPTY" });
arr_ = []; arr_ = [];
...@@ -140,7 +139,7 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) { ...@@ -140,7 +139,7 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) {
arr_ = []; arr_ = [];
return false; return false;
} }
}
if (goods_name && num_) { if (goods_name && num_) {
arr_.push({ arr_.push({
goods_name: goods_name, goods_name: goods_name,
...@@ -150,8 +149,8 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) { ...@@ -150,8 +149,8 @@ define('mallUi', ['tool', 'liexin_pop'], function (require, exports, module) {
} }
}) })
if (arr_.length == 0) { if (arr_.length == 0) {
liexin_pop.Tip({ title: "Part No CANNOT BE EMPTY" })
return return
} }
$.liexin_ajax('/api/inquiry/add', 'POST', { $.liexin_ajax('/api/inquiry/add', 'POST', {
......
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
</div> </div>
<div class="tikup"> <div class="tikup">
<span>*</span> <span>*</span>
By clicking "Register", you acknowledge that you have read and agreed to SEMOUR’s Terms By clicking "Submit", you acknowledge that you have read and agreed to SEMOUR’s Terms
and Conditions and Privacy Policy Statement. and Conditions and Privacy Policy Statement.
</div> </div>
<div class="tips"></div> <div class="tips"></div>
......
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 sign in to comment