fix(wms): 修复钢卷选择器过滤条件并添加加载状态

为钢卷选择器添加状态过滤条件,并在报表页面添加加载状态指示器。同时注释掉ship.vue中不再使用的materialType字段。
This commit is contained in:
砂糖
2025-12-16 09:52:46 +08:00
parent dbc9ac727a
commit 2829e52f5b
4 changed files with 7 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ export default {
qrcode: false,
querys: {
dataType: 1,
materialType: '成品',
// materialType: '成品',
status: 1
},
showControl: false,

View File

@@ -87,7 +87,7 @@
</div>
<div v-else>
<coil-selector ref="coilSelector" placeholder="请选择钢卷添加至计划" @change="handleCoilChange"></coil-selector>
<coil-selector ref="coilSelector" placeholder="请选择钢卷添加至计划" @change="handleCoilChange" :filters="coilFilters"></coil-selector>
<div v-if="selectedCoilList.length > 0 && currentPlan.planId">
<el-table :data="selectedCoilList" highlight-current-row height="400px" style="width: 100%">
<el-table-column type="index" width="50" align="center" label="序号" />
@@ -196,6 +196,9 @@ export default {
currentPlan: {},
// 防抖定时器
debounceTimer: null,
coilFilters: {
status: 0
}
};
},
created() {

View File

@@ -1,5 +1,5 @@
<template>
<div class="delivery-report">
<div class="delivery-report" v-loading="loading">
<!-- 时间筛选 -->
<div class="filter-container">
<el-date-picker

View File

@@ -1,5 +1,5 @@
<template>
<div class="delivery-report">
<div class="delivery-report" v-loading="loading">
<!-- 时间筛选 -->
<div class="filter-container">
<el-date-picker