|
@@ -126,6 +126,13 @@ class common {
|
|
|
if($action == "main" || $action == "tools" || $action == "save_layout"){
|
|
if($action == "main" || $action == "tools" || $action == "save_layout"){
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ //tools是为了避免查询的用户,没有配置tools权限,但是新版mark_save需要进入
|
|
|
|
|
+ if($action == "robot_chat" ){
|
|
|
|
|
+ $operate = strtolower(utils::_get('operate'));
|
|
|
|
|
+ if ($operate == "ai_chat_fixed_init"|| $operate == "ai_chat_prompt"){
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
if (!isset($_SESSION['ONLINE_USER'])) {
|
|
if (!isset($_SESSION['ONLINE_USER'])) {
|
|
|
self::timeoutPrintInfor($httpAccept, $ajax, 'no');
|
|
self::timeoutPrintInfor($httpAccept, $ajax, 'no');
|
|
|
} else {
|
|
} else {
|
|
@@ -4021,13 +4028,16 @@ class common {
|
|
|
|
|
|
|
|
$ctnrs = common::excuteListSql("select ctnr,seal_no,size,qty,unit,grs_kgs,cbm,marks,description,is_lcl FROM oc_container oc where oc.serial_no::text = '".$serial_no."'
|
|
$ctnrs = common::excuteListSql("select ctnr,seal_no,size,qty,unit,grs_kgs,cbm,marks,description,is_lcl FROM oc_container oc where oc.serial_no::text = '".$serial_no."'
|
|
|
and oc.ctnr in (select regexp_split_to_table('".$ctnr."', ','))" );
|
|
and oc.ctnr in (select regexp_split_to_table('".$ctnr."', ','))" );
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
$total_pcs = "";
|
|
$total_pcs = "";
|
|
|
$total_pcs_unit = "";
|
|
$total_pcs_unit = "";
|
|
|
$total_weight = "";
|
|
$total_weight = "";
|
|
|
$total_weight_unit = "";
|
|
$total_weight_unit = "";
|
|
|
$total_volume = "";
|
|
$total_volume = "";
|
|
|
- $total_volume_unit = "";
|
|
|
|
|
|
|
+ $total_volume_unit = "";
|
|
|
|
|
+ foreach($ctnrs as $_ctnr_info){
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
$biztype = $oceanInfo['ex_im'] == "Export" && $oceanInfo['transport_mode'] == "sea" ? "SE" :(
|
|
$biztype = $oceanInfo['ex_im'] == "Export" && $oceanInfo['transport_mode'] == "sea" ? "SE" :(
|
|
|
$oceanInfo['ex_im'] == "Import" && $oceanInfo['transport_mode'] == "sea" ? "SI" :(
|
|
$oceanInfo['ex_im'] == "Import" && $oceanInfo['transport_mode'] == "sea" ? "SI" :(
|