Commit 01919d34eae93a6ab3b2aeb213242ad1a0780151

Authored by 李泰瑜
1 parent 3ef07daa

优化库存汇总显示

ant-design-vue-jeecg/src/views/system/inventory/InventoryMaterialSummaryList.vue
@@ -18,12 +18,6 @@ @@ -18,12 +18,6 @@
18 </a-upload> 18 </a-upload>
19 <!-- 高级查询区域 --> 19 <!-- 高级查询区域 -->
20 <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> 20 <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
21 - <a-dropdown v-if="selectedRowKeys.length > 0">  
22 - <a-menu slot="overlay">  
23 - <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>  
24 - </a-menu>  
25 - <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>  
26 - </a-dropdown>  
27 </div> 21 </div>
28 22
29 <!-- table区域-begin --> 23 <!-- table区域-begin -->
@@ -68,25 +62,6 @@ @@ -68,25 +62,6 @@
68 </a-button> 62 </a-button>
69 </template> 63 </template>
70 64
71 - <span slot="action" slot-scope="text, record">  
72 - <a @click="handleEdit(record)">编辑</a>  
73 -  
74 - <a-divider type="vertical" />  
75 - <a-dropdown>  
76 - <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>  
77 - <a-menu slot="overlay">  
78 - <a-menu-item>  
79 - <a @click="handleDetail(record)">详情</a>  
80 - </a-menu-item>  
81 - <a-menu-item>  
82 - <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">  
83 - <a>删除</a>  
84 - </a-popconfirm>  
85 - </a-menu-item>  
86 - </a-menu>  
87 - </a-dropdown>  
88 - </span>  
89 -  
90 </a-table> 65 </a-table>
91 </div> 66 </div>
92 67
@@ -165,14 +140,6 @@ @@ -165,14 +140,6 @@
165 title:'物料总数', 140 title:'物料总数',
166 align:"center", 141 align:"center",
167 dataIndex: 'qty' 142 dataIndex: 'qty'
168 - },  
169 - {  
170 - title: '操作',  
171 - dataIndex: 'action',  
172 - align:"center",  
173 - fixed:"right",  
174 - width:147,  
175 - scopedSlots: { customRender: 'action' }  
176 } 143 }
177 ], 144 ],
178 url: { 145 url: {
ant-design-vue-jeecg/src/views/system/inventory/subTables/InventoryDetailSubTable.vue
@@ -74,14 +74,7 @@ @@ -74,14 +74,7 @@
74 </a-button> 74 </a-button>
75 </template> 75 </template>
76 76
77 - <span slot="action" slot-scope="text, record">  
78 - <a v-has="'inventoryDetail:edit'" @click="handleEdit(record)">编辑</a>  
79 - <a-divider type="vertical"/>  
80 77
81 - <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">  
82 - <a v-has="'inventoryDetail:add'">删除</a>  
83 - </a-popconfirm>  
84 - </span>  
85 78
86 </a-table> 79 </a-table>
87 </div> 80 </div>
@@ -227,15 +220,11 @@ export default { @@ -227,15 +220,11 @@ export default {
227 { 220 {
228 title: '更新日期', 221 title: '更新日期',
229 align: "center", 222 align: "center",
230 - dataIndex: 'updateTime'  
231 - },  
232 - {  
233 - title: '操作',  
234 - dataIndex: 'action',  
235 - align: "center",  
236 fixed: "right", 223 fixed: "right",
  224 + dataIndex: 'updateTime',
237 width: 147, 225 width: 147,
238 scopedSlots: {customRender: 'action'}, 226 scopedSlots: {customRender: 'action'},
  227 +
239 } 228 }
240 ], 229 ],
241 url: { 230 url: {