feat(库存管理): 默认显示实时库存表及差异数据

- 修改RealTimeInventory.vue默认显示库存差异并自动加载差异数据
- 调整plan/index.vue默认加载实时库存表而非设备状态表
- 重新排序页面按钮位置
master
huangjinysf 2 months ago
parent aa8060c7a7
commit 0bcb34eef4

@ -120,7 +120,7 @@ const currentWmsSpecification = ref('')
const wmsTableRef = ref(null)
//
const showDifference = ref(false)
const showDifference = ref(true)
//
const dynamicColumns = computed(() => {
@ -348,6 +348,10 @@ const handleCellDblClick = (row, column, cell, event) => {
//
onMounted(() => {
fetchData();
//
if (showDifference.value) {
fetchDifferenceData();
}
});
</script>

@ -3,6 +3,12 @@
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="warning"
plain
@click="handleRealTimeInventory"
v-hasPermi="['warehouse:WmsImportResult:query']"
>实时库存表</el-button>
<el-button
type="success"
plain
@ -15,12 +21,6 @@
@click="handleEquipmentStatus"
v-hasPermi="['warehouse:WmsImportResult:query']"
>设备运行状态</el-button>
<el-button
type="warning"
plain
@click="handleRealTimeInventory"
v-hasPermi="['warehouse:WmsImportResult:query']"
>实时库存表</el-button>
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -91,9 +91,9 @@ const equipmentData = ref([])
//
const currentComponent = shallowRef(EmptyContent)
//
//
onMounted(() => {
handleEnamellingMachineStatus()
handleRealTimeInventory()
})
const data = reactive({

Loading…
Cancel
Save