Commit c4128182 by 朱继来

调整仓库损耗下拉列表

parent 6c55f147
......@@ -344,7 +344,7 @@ class OrderModel extends Model
$tmp[$i]['order_sn'] = "\t".$order[$i]['order_sn']."\t";
if ($order[$i]['order_goods_type'] == 2) {
$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