Browse Source

图片预览点击modal关闭Dialog,代码优化等

pull/70/head
wangxy 3 years ago
parent
commit
d3c703da23
6 changed files with 3 additions and 29 deletions
  1. +1
    -1
      src/views/plant/attr.vue
  2. +1
    -17
      src/views/plant/matrix.vue
  3. +0
    -4
      src/views/plant/statecolor.vue
  4. +0
    -5
      src/views/plant/unit.vue
  5. +0
    -1
      src/views/productexe/basic/osdFile.vue
  6. +1
    -1
      src/views/quality/basic/view.vue

+ 1
- 1
src/views/plant/attr.vue View File

@ -110,7 +110,7 @@
<el-tab-pane label="值列表" name="second">
<el-table
:data="form.Valst"
style="width: 100%;"
style="width: 100%;margin-bottom:10px;"
height="400px"
border
@header-click="sortEvent">


+ 1
- 17
src/views/plant/matrix.vue View File

@ -55,18 +55,6 @@
/>
<el-dialog :title="title" :visible.sync="open" width="800px" :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<!-- <el-col :span="12">
<el-form-item :label="getColumnName('weekmodel-finr')" prop="weekmodel-finr">
<el-select v-model="form['weekmodel-finr']" placeholder="请选择车间" :disabled="!isAdd">
<el-option
v-for="item in options"
:key="item.pid"
:label="item.descr"
:value="item.pid"
/>
</el-select>
</el-form-item>
</el-col> -->
<el-row>
<el-col :span="12">
<!-- 产线ID -->
@ -297,8 +285,4 @@ export default {
}
}
}
</script>
<style lang="scss" scoped>
</style>
</script>

+ 0
- 4
src/views/plant/statecolor.vue View File

@ -282,7 +282,3 @@ export default {
}
}
</script>
<style lang="scss" scoped>
</style>

+ 0
- 5
src/views/plant/unit.vue View File

@ -121,7 +121,6 @@ import {
delBaseUnit
} from '@/api/system/unit'
import { getWorkshopList } from '@/common/workshop'
var self
export default {
name: 'Unit',
data() {
@ -285,7 +284,3 @@ export default {
}
}
</script>
<style lang="scss" scoped>
</style>

+ 0
- 1
src/views/productexe/basic/osdFile.vue View File

@ -170,7 +170,6 @@
</el-form>
<el-dialog title="明细"
:append-to-body="true"
:close-on-click-modal="false"
:visible.sync="dialogVisible">
<img v-if="dialogType == 1"
width="100%"


+ 1
- 1
src/views/quality/basic/view.vue View File

@ -207,7 +207,7 @@
:data="defectList"></el-transfer>
</div>
</el-form>
<el-dialog title="预览" :close-on-click-modal="false"
<el-dialog title="预览"
:append-to-body="true"
:visible.sync="dialogVisible">
<img v-if="dialogType == 1"


Loading…
Cancel
Save