|
|
@@ -264,7 +264,7 @@ class ocean_order {
|
|
|
$cp = common::check_input($_POST ['cp']); //current_page
|
|
|
$ps = common::check_input($_POST ['ps']); //ps
|
|
|
if (empty($ps))
|
|
|
- $ps = 50;
|
|
|
+ $ps = 100;
|
|
|
if (empty($cp))
|
|
|
$cp = 1;
|
|
|
|
|
|
@@ -442,6 +442,26 @@ class ocean_order {
|
|
|
//移除filterTag
|
|
|
$sqlWhere_bk = $sqlWhere_befrom_filterTag;
|
|
|
|
|
|
+ //后端带入Incoterms/Service
|
|
|
+ $incoterms_sql = "select DISTINCT incoterms from online_ocean" . $sqlWhere_bk;
|
|
|
+ $incoterms = common::excuteListSql($incoterms_sql);
|
|
|
+ $IncotermsList = array();
|
|
|
+ foreach($incoterms as $terms){
|
|
|
+ if(!empty($terms['incoterms'])){
|
|
|
+ $IncotermsList[] = array("name"=>$terms['incoterms'],"checked"=>false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ $service_sql = "select DISTINCT service from online_ocean" . $sqlWhere_bk;
|
|
|
+ $service = common::excuteListSql($service_sql);
|
|
|
+ $ServiceList = array();
|
|
|
+ foreach($service as $_service){
|
|
|
+ if(!empty($_service['service'])){
|
|
|
+ $ServiceList[] = array("name"=>$_service['service'],"checked"=>false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
$sql = $this->getOcanOrderSearchSql("All",$sqlWhere_bk);
|
|
|
$rc = common::excuteOneSql($sql);
|
|
|
error_log("online_ocean_count_ALL_SQL:".$sql);
|
|
|
@@ -556,6 +576,8 @@ class ocean_order {
|
|
|
'tagsList' => $tagsList,
|
|
|
'TransportList' => $TransportList,
|
|
|
'allColums' => $allBookingColumns,
|
|
|
+ 'IncotermsList' =>$IncotermsList,
|
|
|
+ 'ServiceList' =>$ServiceList,
|
|
|
'canEdiVgm' => _canEdiVgm(),
|
|
|
'rc' => $search_rc,
|
|
|
'ps' => $ps,
|
|
|
@@ -567,6 +589,8 @@ class ocean_order {
|
|
|
$arrTmp = array('searchData' => array(),
|
|
|
'tagsList' => $tagsList,
|
|
|
'TransportList' => $TransportList,
|
|
|
+ 'IncotermsList' =>$IncotermsList,
|
|
|
+ 'ServiceList' =>$ServiceList,
|
|
|
'allColums' => $allBookingColumns,
|
|
|
'canEdiVgm' => _canEdiVgm(),
|
|
|
'rc' => $rc,
|