wupengfei před 2 roky
rodič
revize
902ee170e0

+ 1 - 1
.idea/workspace.xml

@@ -168,7 +168,7 @@
       <workItem from="1661520525074" duration="602000" />
       <workItem from="1666574984353" duration="7852000" />
       <workItem from="1666659002848" duration="14268000" />
-      <workItem from="1666746114555" duration="9115000" />
+      <workItem from="1666746114555" duration="9188000" />
     </task>
     <servers />
   </component>

+ 4 - 1
application/operate/controller/SupplierGoods.php

@@ -142,11 +142,14 @@ class SupplierGoods extends Controller
             ->select()->toArray();
         $data['create_at'] = date('Y-m-d H:i:s');
         $this->assign('waitSecond','1');
+        $this->assign("jumpUrl",$_SERVER["HTTP_REFERER"]);
     }
 
     protected function _form_result($id)
     {
-       // $supplier_id = \app\common\model\SupplierGoods::where('id',$id)->value('supplier_id');
+        $supplier_id = \app\common\model\SupplierGoods::where('id',$id)->value('supplier_id');
+        $this->assign('waitSecond','1');
+        $this->assign("jumpUrl",'/operate/supplier_goods/index.html?id='.$supplier_id.'&spm=m-277-294-296');
        // $this->redirect('@operate/supplier_goods/index',['id'=>$supplier_id,'spm'=>'m-277-294-296']);
        // $this->redirect('/operate/supplier_goods/index.html?id='.$supplier_id.'&spm=m-277-294-296');
     }