wupengfei 2 anni fa
parent
commit
c266f88093
2 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. 2 2
      .idea/workspace.xml
  2. 6 0
      application/operate/controller/SupplierGoods.php

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/operate/view/supplier_goods/form.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/supplier_goods/form.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/operate/controller/SupplierGoods.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/controller/SupplierGoods.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -168,7 +168,7 @@
       <workItem from="1661520525074" duration="602000" />
       <workItem from="1666574984353" duration="7852000" />
       <workItem from="1666659002848" duration="14268000" />
-      <workItem from="1666746114555" duration="7047000" />
+      <workItem from="1666746114555" duration="7304000" />
     </task>
     <servers />
   </component>

+ 6 - 0
application/operate/controller/SupplierGoods.php

@@ -143,4 +143,10 @@ class SupplierGoods extends Controller
         $data['create_at'] = date('Y-m-d H:i:s');
     }
 
+    protected function _form_result($id)
+    {
+        $supplier_id = \app\common\model\SupplierGoods::where('id',$id)->value('supplier_id');
+        $this->success('/operate/supplier_goods/index.html?id='.$supplier_id.'&spm=m-277-294-296');
+    }
+
 }