|
@@ -5613,8 +5613,11 @@ class Whlabel extends Start_Controller
|
|
// $warehouse_name = "定制头套仓";
|
|
// $warehouse_name = "定制头套仓";
|
|
// }
|
|
// }
|
|
$details = ($post['details'] != '') ? '位置:(' . $post['details'] . ') <font style="font-size: 18px;">' . $cpid . '</font>' : '';
|
|
$details = ($post['details'] != '') ? '位置:(' . $post['details'] . ') <font style="font-size: 18px;">' . $cpid . '</font>' : '';
|
|
|
|
+ if(!empty($warehouse_name)){
|
|
|
|
+ $details = "仓库 <b>".$warehouse_name."</b> ".$details;
|
|
|
|
+ }
|
|
$purchase = $this->purchase->read($post['purchase']);
|
|
$purchase = $this->purchase->read($post['purchase']);
|
|
- echo json_encode(array('title' => $title, 'num' => $post['label'], 'bqsku' => $bqsku, 'xbqnum' => $xbqnum, 'zh' => str_replace('自然色 ', '', rtrim($zh, ' ')), 'details' => $details, 'purchase' => $purchase['title'], 'warehouse_name'=>$warehouse_name,'cpbz' => $post['cpbz'], 'usa' => 0, 'success' => true));
|
|
|
|
|
|
+ echo json_encode(array('title' => $title, 'num' => $post['label'], 'bqsku' => $bqsku, 'xbqnum' => $xbqnum, 'zh' => str_replace('自然色 ', '', rtrim($zh, ' ')), 'details' => $details, 'purchase' => $purchase['title'], 'cpbz' => $post['cpbz'], 'usa' => 0, 'success' => true));
|
|
exit; //特殊仓目前不需要仓库选项
|
|
exit; //特殊仓目前不需要仓库选项
|
|
}
|
|
}
|
|
}
|
|
}
|