瀏覽代碼

修改信息

lvhao 1 月之前
父節點
當前提交
535c1e7541
共有 2 個文件被更改,包括 23 次插入0 次删除
  1. 13 0
      core/CoreApp/controllers/Returngoods.php
  2. 10 0
      template/erp/returngoods_detail.html

+ 13 - 0
core/CoreApp/controllers/Returngoods.php

@@ -357,6 +357,10 @@ class Returngoods extends Start_Controller {
             $this->data['open_back_url'] = "/fullordersmt/edit/".$info['back_id'];
         }
         //亚马逊暂无 1513
+        if($shop['type'] == 1513){
+            $this->data['open_url'] = "/fullorderamz/edit/".$order_info['id'];
+            $this->data['open_back_url'] = "/fullorderamz/edit/".$info['back_id'];
+        }
         //tiktok平台
         if($shop['type'] == 1514){
             $this->data['open_url'] = "/fullordertt/edit/".$order_info['id'];
@@ -368,6 +372,15 @@ class Returngoods extends Start_Controller {
             $this->data['open_back_url'] = "/fullorderxw/edit/".$info['back_id'];
         }       
 
+        $jjcd_list = $this->returngoods->getJinJiChengDu();
+        $shpjxx_list= $this->returngoods->getShouHouPingJiaXuanXian();
+        if($info['table_type'] == 2){
+            $info['jjcd_show'] = isset($jjcd_list[$info['jjcd']])?$jjcd_list[$info['jjcd']]:'--';
+            $info['shpjxx_show'] = isset($shpjxx_list[$info['shpjxx']])?$shpjxx_list[$info['shpjxx']]:'--';
+        }else{
+            $info['jjcd_show'] = "--";
+            $info['shpjxx_show'] = "--";
+        }
     
         $this->data['info'] = $info;
         $this->_Template('returngoods_detail',$this->data);

+ 10 - 0
template/erp/returngoods_detail.html

@@ -75,6 +75,16 @@
     <em>登记日期:</em>
     <input readonly value="{$info['create_time']}"  type="text" >
 </li>
+{if $info['table_type'] == 2}
+<li>
+    <em>紧急程度:</em>
+    <input readonly value="{$info['jjcd_show']}"   type="text" >
+</li>
+<li>
+    <em>评价选项:</em>
+    <input readonly value="{$info['shpjxx_show']}"  type="text" >
+</li>
+{/if}
 <li class="length">
     <em>售后订单信息</em>
     <div>