fdced0a6 by weimo934

feat():业主共有禁用

1 parent 2b0e39e4
......@@ -37,13 +37,15 @@ export default {
},
methods: {
loadingStatus() {
console.log("是否禁用")
let bsm=this.$store.state.zrzbsm;
queryStatus(bsm).then(res => {
if (res.success) {
if (res.result) {
let qszt = res.result.qszt;
this.isDisabled = +qszt !== 0;
}
}
})
},
handleClick(tab, event) {
......
......@@ -21,6 +21,7 @@
type="primary"
class="changeBtn inAdd addMinus"
@click="addRow"
:disabled="isDisabled"
>+
</el-button
>
......