@@ -52,6 +52,7 @@
type="primary"
@click="editCustomer"
size="small"
+ :disabled="form.status !== 0"
:loading="btnLoading"
>保存数据</el-button>
</div>
@@ -42,7 +42,7 @@
icon="el-icon-delete"
@click.stop="rowDel(scope.row, scope.index)"
- :disabled="scope.row.status == 3"
+ :disabled="scope.row.status !== 0"
>删除
</el-button>
</template>