Commit cd3233ec by 朱继来

fix

parents 4d4de6ce c4128182
......@@ -352,7 +352,7 @@ class OrderModel extends Model
if ($order[$i]['order_goods_type'] == 2) {
$tmp[$i]['sale_type'] = $order[$i]['sale_type'] == 1 ? '现卖' : '预售';
$tmp[$i]['business_type'] = Config('params.business_type')[$order[$i]['business_type']]; // 自营其他业务类型
$tmp[$i]['business_type'] = $order[$i]['business_type'] ? Config('params.business_type')[$order[$i]['business_type']] : '正常订单'; // 自营其他业务类型
}
$tmp[$i]['user_account'] = $order[$i]['mobile'] ? $order[$i]['mobile'] : $order[$i]['email'];
......
......@@ -61,7 +61,6 @@
// 特殊业务类型
'business_type' => [
0 => '正常订单',
1 => '样品销售',
2 => '仓库损耗',
],
......
......@@ -38,9 +38,9 @@
// 自营其他订单类型---仓库损耗
if (mobile == '15022222222') {
$('#business_type').val(2);
$('#business_type').val(2).attr('disabled', true);
} else {
$('#business_type').val(1);
$('#business_type').val(1).attr('disabled', false);
}
$.ajax({
......
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