fdced0a6 by weimo934

feat():业主共有禁用

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