loulijun2021
2022-07-09 bed893abbebac6a1e43478b693e1f862a6b6c8fe
src/views/zzmx/chda.vue
@@ -160,6 +160,7 @@
            prop="lm_date"
            label="创建时间"
            sortable="custom"
            width="160"
          />
          <el-table-column
            label="工艺路线"
@@ -201,7 +202,7 @@
      :close-on-click-modal="false"
      :title="operation==='add'?'新增':'编辑'"
      :visible.sync="dialogVisible"
      width="65%"
      width="800px"
      top="15vh"
      @closed="handleClose"
      @close="handleClose"
@@ -298,7 +299,7 @@
      :close-on-click-modal="false"
      title="单位设置"
      :visible.sync="officeDialogVisible"
      width="65%"
      width="800px"
      top="15vh"
      class="officeDialogVisible"
      @close="handleCloseOffice"
@@ -418,7 +419,7 @@
      :close-on-click-modal="false"
      title="关联工艺路线"
      :visible.sync="dialogVisibleRoute"
      width="50%"
      width="800px"
      top="15vh"
      :fullscreen="isFullscreen"
      class="dialogVisibleRoute"
@@ -521,7 +522,7 @@
const SER_HZ = /^[\u4e00-\u9fa5]+$/
export default {
  name: 'Zzjg',
  name: 'CHDA',
  components: {
    Pagination
  },
@@ -788,7 +789,7 @@
      this.$nextTick(() => {
        this.mainHeight = window.innerHeight - 250
        this.tableHeight = this.mainHeight - 100
        this.isFullscreen = window.innerHeight < 800
        // this.isFullscreen = window.innerHeight < 800
        if (window.innerHeight < 800) {
          this.tableHeight = this.tableHeight - 50
        }
@@ -967,7 +968,7 @@
    // 新增
    addOffice() {
      let number = Math.random() * Math.random()// 作为删除时的标识符
      number = number === 0 ? Math.random() * Math.random() : number
      number = number === 0 ? (10 + Math.random()) : number
      const data = { code: '', name: '', digdect: '', r_ule: '', isVisible: 1, number: number }
      this.officeTableData.unshift(data)
    },
@@ -1101,9 +1102,9 @@
  color: #606266;
}
//::v-deep .el-dialog__body {
//  padding: 20px 100px !important;
//}
::v-deep .el-dialog__body {
  padding: 20px 100px !important;
}
.dialogVisibleRoute {
  ::v-deep .el-dialog__body {