|
@@ -107,11 +107,11 @@
|
|
|
</template>
|
|
|
<template slot-scope="{type,size,row,index,disabled}" slot="menu">
|
|
|
<el-button v-if="!row.$cellEdit" :size="size" :disabled="editButton || row.sendNum > 0"
|
|
|
- :type="type" :icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'"
|
|
|
+ :type="type" icon="el-icon-edit"
|
|
|
@click="rowCell(row, index)">编辑
|
|
|
</el-button>
|
|
|
<el-button v-else :size="size" :disabled="editButton || row.sendNum > 0" :type="type"
|
|
|
- :icon="row.$cellEdit ? 'el-icon-plus' : 'el-icon-edit'"
|
|
|
+ icon="el-icon-plus"
|
|
|
@click="rowSave(row, index)">保存
|
|
|
</el-button>
|
|
|
<el-button icon="el-icon-delete" :size="size" :disabled="editButton || row.sendNum > 0"
|
|
@@ -756,7 +756,7 @@ export default {
|
|
|
dialogDrag: true,
|
|
|
addBtn: false,
|
|
|
// 航编辑开启
|
|
|
- cellBtn: true,
|
|
|
+ cellBtn: false,
|
|
|
span: 8,
|
|
|
height: 500,
|
|
|
addRowBtn: false,
|