提交 3c746b04 authored 作者: huaxinzhu's avatar huaxinzhu

fix-bug

上级 d7c71fe9
...@@ -588,9 +588,6 @@ ...@@ -588,9 +588,6 @@
} else if ( !Number(slingleSpeObj['stock']) || Number(slingleSpeObj['stock']) <0 ) { } else if ( !Number(slingleSpeObj['stock']) || Number(slingleSpeObj['stock']) <0 ) {
goodsPriceMsg = '[ 商品售价 ]中,库存量不能为空,并且只能填大于0的整数' goodsPriceMsg = '[ 商品售价 ]中,库存量不能为空,并且只能填大于0的整数'
isGoodsPrice = false; isGoodsPrice = false;
} else if ( !Number(slingleSpeObj['weight']) || Number(slingleSpeObj['weight']) <0 ) {
goodsPriceMsg = '[ 商品售价 ]中,商品重量不能为空,并且只能填大于0的数字'
isGoodsPrice = false;
} else { } else {
goodsPriceMsg = '' goodsPriceMsg = ''
isGoodsPrice = true; isGoodsPrice = true;
...@@ -608,7 +605,7 @@ ...@@ -608,7 +605,7 @@
isGoodsPrice = false; isGoodsPrice = false;
break; break;
}else if( !Number(ladderItem['money']) || Number(ladderItem['money']) <0 ) { }else if( !Number(ladderItem['money']) || Number(ladderItem['money']) <0 ) {
goodsPriceMsg = '[ 阶梯定价 ]中,商品数量不能为空,并且只能填大于0的数字' goodsPriceMsg = '[ 阶梯定价 ]中,商品价格不能为空,并且只能填大于0的数字'
isGoodsPrice = false; isGoodsPrice = false;
break; break;
}else { }else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论