Commit bfd97ada by 朱继来

联营批量导入添加单价判断

parent 1340f2da
Showing with 4 additions and 0 deletions
......@@ -814,6 +814,10 @@ Class AddOrderController extends Controller
return;
}
}
if ($type == 1 && $val['goods_price'] <= 0) {
$err[] = '第'.$key.'行,商品单价等于或小于0';
}
foreach ($val as $k=>$v) {
if (in_array($k, $required_keys)) {
......
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