|
@@ -61,6 +61,7 @@
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="inventoryQueryList-refresh">查询</a-button>
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="inventoryQueryList-refresh">查询</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="inventoryQueryList-reset">重置</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="inventoryQueryList-reset">重置</a-button>
|
|
<a-button
|
|
<a-button
|
|
|
|
+ v-if="$hasPermissions('B_inventoryQuery_export')"
|
|
type="primary"
|
|
type="primary"
|
|
style="margin-left: 5px"
|
|
style="margin-left: 5px"
|
|
class="button-warning"
|
|
class="button-warning"
|
|
@@ -100,8 +101,20 @@
|
|
</template>
|
|
</template>
|
|
<!-- 操作 -->
|
|
<!-- 操作 -->
|
|
<template slot="action" slot-scope="text, record">
|
|
<template slot="action" slot-scope="text, record">
|
|
- <a-button size="small" type="link" class="button-success" @click="goDetail(record)" id="inventoryQueryList-detail-btn">库存详情</a-button>
|
|
|
|
- <a-button size="small" type="link" class="button-warning" @click="goWarehouseDetail(record)" id="inventoryQueryList-warehouseDetail-btn">出入库明细</a-button>
|
|
|
|
|
|
+ <a-button
|
|
|
|
+ v-if="$hasPermissions('B_inventoryQuery_detail')"
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-success"
|
|
|
|
+ @click="goDetail(record)"
|
|
|
|
+ id="inventoryQueryList-detail-btn">库存详情</a-button>
|
|
|
|
+ <a-button
|
|
|
|
+ v-if="$hasPermissions('B_inventoryQuery_rkDetail')"
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-warning"
|
|
|
|
+ @click="goWarehouseDetail(record)"
|
|
|
|
+ id="inventoryQueryList-warehouseDetail-btn">出入库明细</a-button>
|
|
</template>
|
|
</template>
|
|
</s-table>
|
|
</s-table>
|
|
</a-spin>
|
|
</a-spin>
|