wupengfei 1 year ago
parent
commit
08f82b2fe5

+ 6 - 4
.idea/workspace.xml

@@ -3,7 +3,9 @@
   <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$/public/dist/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/public/dist/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/mall/view/express_company/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/mall/view/express_company/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/mall/view/freight_template/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/mall/view/freight_template/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/mall/view/store_goods/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/mall/view/store_goods/index.html" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -378,7 +380,7 @@
       <workItem from="1689813742376" duration="13449000" />
       <workItem from="1689900489647" duration="18483000" />
       <workItem from="1690159826319" duration="22343000" />
-      <workItem from="1690246325106" duration="9100000" />
+      <workItem from="1690246325106" duration="9562000" />
     </task>
     <servers />
   </component>
@@ -544,10 +546,10 @@
       <screen x="0" y="0" width="2560" height="1400" />
     </state>
     <state x="1291" y="317" key="run.anything.popup/0.0.2560.1400@0.0.2560.1400" timestamp="1686300134364" />
-    <state x="1581" y="565" width="672" height="678" key="search.everywhere.popup" timestamp="1689934349617">
+    <state x="1581" y="565" width="672" height="678" key="search.everywhere.popup" timestamp="1690263804726">
       <screen x="0" y="0" width="2560" height="1400" />
     </state>
-    <state x="1581" y="565" width="672" height="678" key="search.everywhere.popup/0.0.2560.1400@0.0.2560.1400" timestamp="1689934349617" />
+    <state x="1581" y="565" width="672" height="678" key="search.everywhere.popup/0.0.2560.1400@0.0.2560.1400" timestamp="1690263804726" />
     <state x="1115" y="647" key="vcs.readOnlyHandler.ReadOnlyStatusDialog" timestamp="1683770722863">
       <screen x="0" y="0" width="2560" height="1400" />
     </state>

+ 9 - 4
application/mall/view/express_company/index.html

@@ -2,6 +2,7 @@
 
 {block name="button"}
     <button data-modal='{:url("add")}' data-title="添加" class='layui-btn layui-btn-sm layui-btn-primary'>添加</button>
+<button data-action='{:url("del")}'  data-confirm="确定要删除吗?" data-csrf="{:systoken('del')}" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>批量删除</button>
 {/block}
 
 {block name="content"}
@@ -9,15 +10,19 @@
     <table class="layui-table margin-top-20" lay-skin="line">
         <thead>
         <tr>
-            <th class='text-left nowrap' style="width: 25%">物流公司</th>
-            <th class='text-left nowrap' style="width: 25%">编码</th>
-            <th class='text-left nowrap' style="width: 25%">状态</th>
-            <th class="text-left nowrap" style="width: 25%">操作</th>
+            <th class='list-table-check-td think-checkbox'><input data-auto-none data-check-target='.list-check-box' type='checkbox'></th>
+            <th class='text-left nowrap' >ID</th>
+            <th class='text-left nowrap' >物流公司</th>
+            <th class='text-left nowrap' >编码</th>
+            <th class='text-left nowrap' >状态</th>
+            <th class="text-left nowrap">操作</th>
         </tr>
         </thead>
         <tbody>
         {foreach $list as $key=>$vo}
         <tr>
+            <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
+            <td class='text-left nowrap'>{$vo.id|default=''}</td>
             <td class='text-left nowrap'>{$vo.express_title|default=''}</td>
             <td class='text-left nowrap'>{$vo.express_code|default=''}</td>
             <td class='text-left nowrap'>{$vo.status == 1 ?'已启用' :'已禁用'}</td>

+ 1 - 0
application/mall/view/freight_template/index.html

@@ -2,6 +2,7 @@
 
 {block name="button"}
     <button data-open='{:url("add")}' data-title="添加运费模板" class='layui-btn layui-btn-sm layui-btn-primary'>添加运费模板</button>
+    <button data-action='{:url("del")}'  data-confirm="确定要删除吗?" data-csrf="{:systoken('del')}" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>批量删除</button>
 {/block}
 
 {block name="content"}

+ 4 - 0
application/mall/view/store_goods/index.html

@@ -1,6 +1,8 @@
 {extend name='admin@main'}
 {block name="button"}
 <button data-open='{:url("add")}' data-title="添加商品" class='layui-btn layui-btn-sm layui-btn-primary'>添加商品</button>
+<button data-action='{:url("remove")}'  data-confirm="确定要删除吗?" data-csrf="{:systoken('remove')}" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>批量删除</button>
+
 {/block}
 
 {block name="content"}
@@ -10,6 +12,7 @@
         {notempty name='list'}
         <thead>
         <tr>
+            <th class='list-table-check-td think-checkbox'><input data-auto-none data-check-target='.list-check-box' type='checkbox'></th>
             <th class='list-table-sort-td'>
                 <button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>
             </th>
@@ -29,6 +32,7 @@
         <tbody>
         {foreach $list as $key=>$vo}
         <tr data-dbclick>
+            <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
             <td class='list-table-sort-td'><input data-action-blur="{:request()->url()}" data-value="id#{$vo.id};action#sort;sort#{value}" data-loading="false" value="{$vo.sort}" class="list-sort-input"></td>
             <td class='text-left nowrap'>
                 {notempty name='vo.cover'}