|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <el-dialog :title="title" :visible.sync="visible" v-if="visible" :before-close="handleClose"
|
|
|
|
|
- :close-on-click-modal="false" :close-on-press-escape="false" append-to-body width="75%">
|
|
|
|
|
|
|
+ <ele-modal :title="title" :visible.sync="visible" v-if="visible" :before-close="handleClose"
|
|
|
|
|
+ :close-on-click-modal="false" :close-on-press-escape="false" append-to-body width="75%" :maxable="true">
|
|
|
<el-card shadow="never">
|
|
<el-card shadow="never">
|
|
|
<ProductSearch @search="reload" ref="searchRef" />
|
|
<ProductSearch @search="reload" ref="searchRef" />
|
|
|
|
|
|
|
@@ -25,7 +25,7 @@
|
|
|
<el-button type="primary" size="small" @click="selected">选择</el-button>
|
|
<el-button type="primary" size="small" @click="selected">选择</el-button>
|
|
|
<el-button size="small" @click="handleClose">关闭</el-button>
|
|
<el-button size="small" @click="handleClose">关闭</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- </el-dialog>
|
|
|
|
|
|
|
+ </ele-modal>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
@@ -60,6 +60,13 @@ export default {
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
reserveSelection: true
|
|
reserveSelection: true
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ action: 'action',
|
|
|
|
|
+ slot: 'action',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ label: '选择',
|
|
|
|
|
+ fixed: 'left'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
prop: 'code',
|
|
prop: 'code',
|
|
|
label: '编码'
|
|
label: '编码'
|
|
@@ -128,12 +135,7 @@ export default {
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- action: 'action',
|
|
|
|
|
- slot: 'action',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- label: '选择'
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
],
|
|
],
|
|
|
|
|
|
|
|
columns2: [
|
|
columns2: [
|
|
@@ -146,6 +148,13 @@ export default {
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
fixed: 'left'
|
|
fixed: 'left'
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ action: 'action',
|
|
|
|
|
+ slot: 'action',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ fixed: 'left',
|
|
|
|
|
+ label: '选择'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
prop: 'fixCode',
|
|
prop: 'fixCode',
|
|
|
label: '固资编码',
|
|
label: '固资编码',
|
|
@@ -195,12 +204,6 @@ export default {
|
|
|
label: '生命周期',
|
|
label: '生命周期',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 110
|
|
minWidth: 110
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- action: 'action',
|
|
|
|
|
- slot: 'action',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- label: '选择'
|
|
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
|
|
|