wupengfei 2 年之前
父节点
当前提交
820a6615ca

+ 2 - 1
.idea/workspace.xml

@@ -4,6 +4,7 @@
     <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/controller/SupplierGoods.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/controller/SupplierGoods.php" 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" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -168,7 +169,7 @@
       <workItem from="1661520525074" duration="602000" />
       <workItem from="1666574984353" duration="7852000" />
       <workItem from="1666659002848" duration="14268000" />
-      <workItem from="1666746114555" duration="9338000" />
+      <workItem from="1666746114555" duration="9918000" />
     </task>
     <servers />
   </component>

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

@@ -149,7 +149,7 @@ class SupplierGoods extends Controller
     {
         $supplier_id = \app\common\model\SupplierGoods::where('id',$id)->value('supplier_id');
         $url = '/operate/supplier_goods/index.html?id='.$supplier_id.'&spm=m-277-294-296';
-        redirect($url,3);
+        $this->redirect($url, 3,'页面跳转中~');
     }
 
 }

+ 8 - 0
application/operate/view/supplier_goods/form.html

@@ -150,6 +150,14 @@
                         </label>
                     </div>
 
+
+                    <div class="layui-form-item layui-row layui-col-space15">
+                        <label class="layui-col-xs9 relative">
+                            <span class="color-green">阅读量</span>
+                            <input name="read_num" required class="layui-input" placeholder="请输入阅读量" value="{$vo.read_num|default='0'}">
+                        </label>
+                    </div>
+
                     <div class="layui-form-item layui-row layui-col-space15">
                         <label class="layui-col-xs9 relative">
                             <span class="color-green">商品详情</span>