fcx
3 天以前 4dc0880780b52c0c35456666a4643a7866b454a7
pages/QC/SJ/ProductionLineSubmit.vue
@@ -31,19 +31,19 @@
        </view>
      </view>
      
      <!-- 添加状态筛选和日期选择器(仅在已提交页面显示) -->
      <!-- 添加状态筛选和日期选择器(未提交和已提交页面都显示) -->
      <view class="filter-controls" style="margin-bottom: 5px;">
        <view class="dropdown-filter" v-if="currentTab === 1">
        <view class="dropdown-filter">
          <picker @change="onStateChange" :value="stateIndex" :range="state">
            <view class="picker">{{state[stateIndex]}}</view>
          </picker>
        </view>
        <view class="dropdown-filter" v-if="currentTab === 1">
        <view class="dropdown-filter">
          <picker mode="date" :value="startDate" :end="endDate" @change="bindStartDate">
            <view class="picker">{{startDate}}</view>
          </picker>
        </view>
        <view class="dropdown-filter" v-if="currentTab === 1">
        <view class="dropdown-filter">
          <picker mode="date" :value="endDate" :start="startDate" @change="bindEndDate">
            <view class="picker">{{endDate}}</view>
          </picker>
@@ -276,8 +276,7 @@
          list = [...failedItems, ...otherItems];
        }
        
        // 如果是已提交页面,进行前端筛选
        if (this.currentTab === 1) {
        // 对所有页面进行前端筛选(未提交和已提交)
          // 状态筛选
          if (this.stateIndex > 0) {
            const selectedState = this.state[this.stateIndex];
@@ -322,7 +321,7 @@
              }
              return true;
            });
          }        }
        }
        if (this.pageIndex === 1) {
          this.data = list;
        } else {