王震
2023-12-26 0324f86d1de3f1c535ba2f5731187bfac4a7e8fa
src/views/common/rawMaterial-part.vue
@@ -1,4 +1,5 @@
<template>
  <div class="body">
    <el-dialog
      v-diadrag
      width="60%"
@@ -32,6 +33,7 @@
        <el-button type="primary" @click="saveSelectRow">确 定</el-button>
      </div>
    </el-dialog>
  </div>
  </template>
  <script>
  import ttable from '@/views/common/ztt-table'
@@ -188,7 +190,6 @@
    // props:['currentRow'],
    methods: {
      getData() {
        console.log(1111);
        if (this.$refs.rawPartTable !== undefined) {
          this.$refs.rawPartTable.getDataList()
        }
@@ -220,6 +221,7 @@
        this.innerVisible = this.currshowlist
        if (this.currshowlist) {
          this.$nextTick(() => {
            // this.table.data=[]
            this.getData()
          })
        }
@@ -246,5 +248,10 @@
    margin-top: 0px;
    margin-bottom: 5px;
  }
  @media screen and (max-width: 800px) {
    .el-dialog {
      height: 600px !important;
    }
}
  </style>