Commit 9ed3b191 authored by verestrasz's avatar verestrasz

update

parent cc8541f8
...@@ -779,15 +779,9 @@ export default { ...@@ -779,15 +779,9 @@ export default {
) { ) {
errMsg = "首付固定金额不能大于商品预售价格"; errMsg = "首付固定金额不能大于商品预售价格";
} }
<<<<<<< HEAD
if (!item.stock) {
errMsg = "请填写 规格信息 - 库存!";
}
=======
// if (!item.stock) { // if (!item.stock) {
// errMsg = "请填写 规格信息 - 库存!"; // errMsg = "请填写 规格信息 - 库存!";
// } // }
>>>>>>> master
if (!item.hash) { if (!item.hash) {
errMsg = "请填写 规格信息 - 溯源哈希!"; errMsg = "请填写 规格信息 - 溯源哈希!";
} }
...@@ -898,16 +892,6 @@ export default { ...@@ -898,16 +892,6 @@ export default {
errMsg = "规格信息 - 重量 格式不正确!"; errMsg = "规格信息 - 重量 格式不正确!";
break; break;
} }
<<<<<<< HEAD
if (!item.stock) {
errMsg = "请填写 规格信息 - 库存!";
break;
}
if (
item.stock < 0 ||
!/^\d+$/.test(item.stock) ||
item.stock > 99999999
=======
// if (!item.stock) { // if (!item.stock) {
// errMsg = "请填写 规格信息 - 库存!"; // errMsg = "请填写 规格信息 - 库存!";
// break; // break;
...@@ -916,7 +900,6 @@ export default { ...@@ -916,7 +900,6 @@ export default {
item.stock < 0 || item.stock < 0 ||
!/^\d+$/.test(item.stock) || !/^\d+$/.test(item.stock) ||
item.stock > 20000 item.stock > 20000
>>>>>>> master
) { ) {
errMsg = "规格信息 - 库存 格式不正确!"; errMsg = "规格信息 - 库存 格式不正确!";
break; break;
......
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