|
@@ -282,7 +282,7 @@ public function info(){
|
|
|
return error_show(1002,"参数id不能为空");
|
|
|
}
|
|
|
//->field('good_code,good_name,good_num,customer_code,orderCode')
|
|
|
- $einfo = Db::name('sale')->where(['id'=>$id,'is_del'=>0])->field('good_code,good_name,good_num,customer_code,orderCode')->find();
|
|
|
+ $einfo = Db::name('sale')->where(['id'=>$id,'is_del'=>0])->find();
|
|
|
if(empty($einfo)){
|
|
|
return error_show(1002,"未找到销售订单数据");
|
|
|
}
|
|
@@ -296,6 +296,7 @@ public function info(){
|
|
|
if($value['addr_code']!=""){
|
|
|
$addr=GetAddr($value['addr_code']);
|
|
|
$value['addr_info'] = $addr;
|
|
|
+ $value['addr_code'] = json_decode($value['addr_code'],true);
|
|
|
}
|
|
|
$addrs[]=$value;
|
|
|
}
|