huang
2025-10-22 3eaf0f2f1b909ac429cac9fc26af767ddecda065
UI-Project/src/views/GlassStorage/rawfilmstorage2.vue
@@ -9,6 +9,9 @@
import { closeWebSocket, initializeWebSocket } from '@/utils/WebSocketService';
import { inject } from 'vue';
const router = useRouter()
// 表格加载状态(转圈)
const loading = ref(true)
const tableDataa = ref([])
const tableDatab = ref([])
const tableDatad = ref([])
@@ -136,6 +139,7 @@
  rawTableData.value = formattedTasks;
  tableDataa.value = formattedTasks;
  if (data.rawStationDetailsList != null) {
    loading.value = false
    tableDatab.value = data.rawStationDetailsList[0]
    if (data.rawStationDetailsList[0][0].patternThickness != null) {
      card1.value = true
@@ -289,6 +293,11 @@
const handleEdit = (row) => {
  window.localStorage.setItem('deviceId', row.deviceId)
  window.localStorage.setItem('slot', row.slot)
  patternWidth.value = row.patternWidth;
  patternHeight.value = row.patternHeight;
  patternThickness.value = row.patternThickness;
  filmsId.value = row.filmsId;
  remainQuantity.value = row.remainQuantity;
  Edit.value = true;
};
const handleBinda = (row) => {
@@ -475,7 +484,7 @@
  tableDataa.value = filteredData;
  ElMessage.success(`查询成功,共 ${filteredData.length} 条数据`);
  ElMessage.success(t('film.inquire') + ` ${filteredData.length} ` + t('searchOrder.tit'));
};
// 是否禁用
@@ -805,7 +814,7 @@
    </div>
    <el-dialog v-model="dialogFormVisiblea" top="5vh" width="85%">
      <el-table ref="table" style="margin-top: 20px;height: 700px;" :data="tableDatab"
      <el-table ref="table" style="margin-top: 20px;height: 700px;" :data="tableDatab" v-loading="loading"
        :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }">
        <!-- <el-table-column prop="deviceId" fixed align="center" :label="$t('film.station')" min-width="80" /> -->
        <el-table-column prop="slot" fixed align="center" :label="$t('film.slot')" min-width="80" />