|
@@ -917,7 +917,7 @@ class destination_delivery {
|
|
|
common::echo_json_encode(200,$data);
|
|
common::echo_json_encode(200,$data);
|
|
|
exit();
|
|
exit();
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
$saveData = $saveDataArr['result'];
|
|
$saveData = $saveDataArr['result'];
|
|
|
foreach($saveData as $sData){
|
|
foreach($saveData as $sData){
|
|
|
$serial_no = common::uuid();
|
|
$serial_no = common::uuid();
|
|
@@ -1723,7 +1723,7 @@ class destination_delivery {
|
|
|
|
|
|
|
|
//检查是否选中所有的BCN
|
|
//检查是否选中所有的BCN
|
|
|
foreach($groupedByMbol as $mkey => $mval){
|
|
foreach($groupedByMbol as $mkey => $mval){
|
|
|
- $mcount = common::excuteObjectSql("select count(*) from kln_ocean where m_bol = '".common::check_input($mkey)."'");
|
|
|
|
|
|
|
+ $mcount = common::excuteOneSql("select count(*) from kln_ocean where m_bol = '".common::check_input($mkey)."'");
|
|
|
$hcount = count($mval['h_serial_no']);
|
|
$hcount = count($mval['h_serial_no']);
|
|
|
if($mcount <> $hcount){
|
|
if($mcount <> $hcount){
|
|
|
return array("msg"=>"MBL No.: ".$mkey.",The shipment of BCN has not been fully selected");
|
|
return array("msg"=>"MBL No.: ".$mkey.",The shipment of BCN has not been fully selected");
|