Explorar el Código

修改不正确的传值

Qukatie hace 1 semana
padre
commit
7c59f547b4
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/views/iosBasicData/advancePayment/index.vue

+ 3 - 3
src/views/iosBasicData/advancePayment/index.vue

@@ -30,11 +30,11 @@
         <!-- <el-button type="success" size="small" @click="outExport" icon="el-icon-printer">导出</el-button> -->
       </template>
       <template slot-scope="{ row, index }" slot="menu">
-        <el-button type="text" icon="el-icon-view" size="small" @click.stop="rowView(row, scope.index)">查看 </el-button>
-        <el-button type="text" icon="el-icon-edit" size="small" @click.stop="rowEdit(row, scope.index)" :disabled="row.usedAmount != 0"
+        <el-button type="text" icon="el-icon-view" size="small" @click.stop="rowView(row, index)">查看 </el-button>
+        <el-button type="text" icon="el-icon-edit" size="small" @click.stop="rowEdit(row, index)" :disabled="row.usedAmount != 0"
           >编辑
         </el-button>
-        <el-button type="text" icon="el-icon-delete" size="small" @click.stop="rowDel(row, scope.index)" :disabled="row.usedAmount != 0"
+        <el-button type="text" icon="el-icon-delete" size="small" @click.stop="rowDel(row,index)" :disabled="row.usedAmount != 0"
           >删除
         </el-button>
       </template>