瀏覽代碼

提交数据

lvhao 1 月之前
父節點
當前提交
3ca76636ed
共有 2 個文件被更改,包括 21 次插入3 次删除
  1. 12 2
      core/CoreApp/controllers/Returngoods.php
  2. 9 1
      template/erp/returngoods.html

+ 12 - 2
core/CoreApp/controllers/Returngoods.php

@@ -530,15 +530,25 @@ class Returngoods extends Start_Controller {
                 $tmp['orderinfo'] =  "<h9 class='window' data-h='/returngoods/edit/".$value['id']."' data-t='订单号:".$value['orderinfo']."'><p>".$value['orderinfo']."</p></h9>";
                 
                // $tmp['orderinfo'] = $value['orderinfo'];
+
+                $table_name = "fullorder";
+                if($value['table_type'] == 2){
+                    $table_name = "fullordertt";
+                }elseif($value['table_type'] == 3){
+                    $table_name = "fullordersmt";
+                }elseif($value['table_type']== 4){
+                    $table_name = "fullorderamz";
+                }
+                $forder_info = $this->logic_order->getInfoByPlat($table_name, $value['number']);
                
-                $tmp['number'] = $value['number'];
+                $tmp['number'] =  "<h9 class='window' data-h='/".$table_name."/"."readonly/".$forder_info['id']."' data-t='订单号:".$value['orderinfo']."'><p>".$value['number']."</p></h9>";
                
                 if(empty($value['cate_two'])){
                     $tmp['cate_show'] = $cate_one_show[$value['cate_one']];
                 }else{
                     $tmp['cate_show'] = $cate_one_show[$value['cate_one']]."-".$cate_two_show[$value['cate_one']][$value['cate_two']];
                 }
-                $tmp['remark'] = $value['remark'];
+                $tmp['remark'] = '<p style="position: relative;padding-top:10px;"><i class="method_self fa fa-list-ul" data-t="'.$forder_info['shipremarks'].'" style="position: absolute;top: 0;right: 0;"></i> '.$value['remark']."<p>";
                 
                 
                 $tmp['back_type'] = isset($back_status_show[$value['back_type']])?$back_status_show[$value['back_type']]: '';

+ 9 - 1
template/erp/returngoods.html

@@ -142,7 +142,7 @@
 <td>订单号</td>
 <td>编号</td>
 <td>登记原因</td>
-<td>备注信息</td>
+<td>售后备注信息</td>
 <td>售后处理类型</td>
 <td>重发订单编号</td>
 <td>退款金额</td>
@@ -187,6 +187,14 @@ $(this).find('td:eq(11)').css("width","5%");
 // $(this).find('td:eq(11)').css("width","5%");
 
 });}
+
+$(".datatext").on('mouseover mouseout',".method_self",function(event) {
+    if (event.type === "mouseover") {
+     $(this).parent("p").append('<font style="position: absolute; top: 20px; right: 0; z-index: 1;border-radius:3px;border: 1px solid #39F;padding:0 10px;background-color: #FFF;box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 24px;width:300px;word-wrap: break-word;">'+$(this).data("t")+'</font>');
+    }else if(event.type == "mouseout"){
+     $(this).siblings("font").remove();
+    }
+});
 function changeCateOne(that){
     let json_str = '{$cate_two_list}';
     let cate_two_list = JSON.parse(json_str);