Commit f469cdff by lixiaomin

修改

parent 6567f99e
......@@ -254,14 +254,10 @@ export default {
if(specsSelectList[i].name==""){
this.$modal.msgSuccess('选项列表中的第' + index + '行名称不能为空');
return;
}
if(specsSelectList[i].amount==""){
this.$modal.msgSuccess('选项列表中的第' + index + '行价格不能为空');
}else{
if(!regular.test(specsSelectList[i].amount)){
this.$modal.msgSuccess('选项列表中的第' + index + '行价格不是大于等于0的两位小数');
return;
}
}
if(!regular.test(specsSelectList[i].amount)){
this.$modal.msgSuccess('选项列表中的第' + index + '行价格不是大于等于0的两位小数');
return;
}
if(!specsSelectList[i].isRecommend){
specsSelectList[i].isRecommend = "0";
......
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