严智鑫
2024-07-25 8a76767b0a7ad271c8487a02063590b956deb5df
UI-Project/src/views/GlassStorage/MaterialRackManagement.vue
@@ -64,8 +64,17 @@
            <!-- <el-button type="success" size="mini" @click="addglass()">添加原片</el-button> -->
          </template>
        </el-table-column>
      </el-table>
      </el-table>
      <el-pagination
        v-if="totalItems > 0"
        background
        layout="prev, pager, next"
        :total="totalItems"
        :page-size="pageSize"
        @current-change="handleCurrentChange"
      ></el-pagination>
      
  </el-dialog>
@@ -256,6 +265,17 @@
   
    const Hidden = ref(false)
    const totalItems = ref(0);
    totalItems.value = 10;
    const pageSize = 10;
    let currentPage = ref(1);
    const handleCurrentChange = (val) => {
      currentPage.value = val;
    };
   const getTagType2 =(status) => {
      switch (status) {
@@ -555,17 +575,13 @@
</script>
<style scoped>
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* 禁止出现滚动条 */
}
.app-container {
  flex-direction: column;
  height: 100vh; /* 使用视口高度 */
#dt { display:block; float:left;line-height: 20px;margin-left: 100px;}
#dta { display:block; float:left;line-height: 20px;margin-left: 80%;}
#dialog-footer{
  text-align: center;
  margin-top: -15px;
}