Commit 0f3dc01e by 朱继来

只验证正常订单

parent 48257c6b
......@@ -1934,6 +1934,7 @@
var sale_id = $('input[name=sale_id]').val();
var order_goods_type = $('input[name=order_goods_type]').val();
var order_id = $('input[name=order_id]').val();
var business_type = $('input[name=business_type]').val();
// 联营订单需要先指派业务员
if (order_goods_type == 1 && sale_id == 0) {
......@@ -1961,7 +1962,8 @@
return false;
}
// 校验商品数量、单价
// 正常订单校验数量、单价
if (business_type == 0) {
var change_price = false;
var change_goods_number = false;
var change_str = '';
......@@ -1985,6 +1987,7 @@
layer.alert(change_str)
return false;
}
}
// 预付款
if (pay_type == 2) {
......
......@@ -22,6 +22,7 @@
<input type="hidden" name="check_failed" value="">
<input type="hidden" name="check_failed_info" value="">
<input type="hidden" name="change_pay_type" value="">
<input type="hidden" name="business_type" value="{{$order_temp_info['business_type']}}">
<?php $isNewClient = App\Http\Controllers\isNewClient($order_info['order_goods_type'], $order_info['user_id'], $order_info['create_time']); ?>
@if ($isNewClient)
......
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