wupengfei 2 年之前
父节点
当前提交
76a725c322

+ 2 - 1
.idea/workspace.xml

@@ -3,6 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="a760c6e5-d38f-48d9-be27-0f7a4f48e29f" 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/store/view/goods/add_first.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/store/view/goods/add_first.html" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/store/view/goods/import_first_list.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/store/view/goods/import_first_list.html" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
@@ -149,7 +150,7 @@
       <workItem from="1661820079823" duration="2898000" />
       <workItem from="1661907611720" duration="5931000" />
       <workItem from="1661993135050" duration="4377000" />
-      <workItem from="1662078426211" duration="1898000" />
+      <workItem from="1662078426211" duration="1966000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/store/view/goods/add_first.html

@@ -14,7 +14,7 @@
                 <input name="num" placeholder="" class="layui-input">
             </label>
         </div>
-        <input type="hidden" name="c_id" value="{$Think.get.id}"/>
+        <input type="hidden" name="c_id" value="{$Think.get.c_id}"/>
     </div>
 
     <div class="hr-line-dashed"></div>

+ 1 - 1
application/store/view/goods/import_first_list.html

@@ -1,6 +1,6 @@
 {extend name='admin@main'}
 {block name="button"}
-    <a data-dbclick class="layui-btn layui-btn-sm" data-modal='{:url("add_first")}'>添加</a>
+    <a data-dbclick class="layui-btn layui-btn-sm" data-modal='{:url("add_first")}?c_id={$Think.get.id}'>添加</a>
 {/block}
 {block name="content"}
 <div class="think-box-shadow">