bill
This commit is contained in:
@@ -289,6 +289,16 @@ class OrdersList
|
||||
$odata = $this->ci->receiver_order_datas_model->get(['o_id' => $val['id']]);
|
||||
$fields['contract'] = $odata['contract_img'] ? '有' : '无';
|
||||
|
||||
if($odata['jsondata']){
|
||||
$bill_data = json_decode($odata['jsondata'], true);
|
||||
foreach ($bill_data['bill_info'] as $k => $v){
|
||||
if($v['Name'] == '销货单位名称'){
|
||||
$fields['bill_name'] = $v['Value'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($size > 1000) {
|
||||
$user_info = '';
|
||||
if (!$user_info) {
|
||||
@@ -357,6 +367,7 @@ class OrdersList
|
||||
!$fields['bill_time'] && $fields['bill_time'] = ['title' => '开票时间'];
|
||||
!$fields['contract'] && $fields['contract'] = ['title' => '购车合同'];
|
||||
$fields['cps_type_name'] = ['title' => 'CPS品牌'];
|
||||
$fields['bill_name'] = ['title' => '开票方'];
|
||||
}
|
||||
return $fields;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user