|
@@ -957,7 +957,7 @@ class Fullordertt extends Start_Controller {
|
|
|
if(isset($post['id']))
|
|
if(isset($post['id']))
|
|
|
{
|
|
{
|
|
|
$id = $this->input->post('id',true);
|
|
$id = $this->input->post('id',true);
|
|
|
- $data = $this->fullordertt->read($id);
|
|
|
|
|
|
|
+ $ud = $data = $this->fullordertt->read($id);
|
|
|
$post['type'] = $this->input->post('warehouse',true);
|
|
$post['type'] = $this->input->post('warehouse',true);
|
|
|
$post['country'] = $this->input->post('country',true);
|
|
$post['country'] = $this->input->post('country',true);
|
|
|
$currency = $this->country->read($post['country']);
|
|
$currency = $this->country->read($post['country']);
|
|
@@ -1058,6 +1058,7 @@ class Fullordertt extends Start_Controller {
|
|
|
// }
|
|
// }
|
|
|
//减少代码复用吧
|
|
//减少代码复用吧
|
|
|
if($post['type'] != 34){
|
|
if($post['type'] != 34){
|
|
|
|
|
+ $post['library'] = $ud['library'];
|
|
|
$lo_ret = $this->logic_order->checkEditExpress($post);
|
|
$lo_ret = $this->logic_order->checkEditExpress($post);
|
|
|
if($lo_ret['code'] != 1){
|
|
if($lo_ret['code'] != 1){
|
|
|
echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;
|
|
echo json_encode(array('msg'=>$lo_ret['msg'],'success'=>false));exit;
|