瀏覽代碼

修改bug

qukaidi 3 年之前
父節點
當前提交
7dcd454b3b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/maintenance/rebate/index.vue

+ 1 - 1
src/views/maintenance/rebate/index.vue

@@ -12,7 +12,7 @@
               </el-button>
             </template>
             <template slot="menu" slot-scope="{row,index}">
-              <el-button size="small" icon="el-icon-edit" type="text" @click.stop="rowCell(row)">
+              <el-button size="small" icon="el-icon-edit" :disabled="row.id"  type="text" @click.stop="rowCell(row)">
                 {{ row.$cellEdit ?
                     "保存" :
                     "修改"