76a3cd95 by 杨威

宗地分割判断幢信息是否全部选择

1 parent c9707e48
......@@ -5,6 +5,7 @@
:visible.sync="isVisible"
width="70%"
@close="close"
:modal-append-to-body="false"
center>
<div class="search">
<!-- <el-button type="primary" @click="search">查询</el-button>
......
......@@ -5,6 +5,7 @@
:visible.sync="isVisible"
width="70%"
@close="close"
:modal-append-to-body="false"
center>
<div class="search">
<el-row>
......
......@@ -439,7 +439,7 @@ export default {
width: 100%;
height: 100vh;
position: relative;
min-width: 1500px;
min-width: 1680px;
overflow-x: auto;
.calcWidth{
width: calc(100% - 300px);
......
......@@ -724,20 +724,24 @@
}
},
saveZd() {
zdfg(this.zdFghData).then(res => {
if (res.success) {
this.$store.state.zdbsms = res.result;
this.$router.push({
path: '/zd',
query: {
bsm: res.result[0],
source: 3, //分割标识
}
});
} else {
Message.error("保存失败")
}
})
if(this.tempBsmList.length == (this.zdZxx.dzList.length + this.zdZxx.zrzList.length)){
zdfg(this.zdFghData).then(res => {
if (res.success) {
this.$store.state.zdbsms = res.result;
this.$router.push({
path: '/zd',
query: {
bsm: res.result[0],
source: 3, //分割标识
}
});
} else {
Message.error("保存失败")
}
})
}else{
this.$message.warning("幢信息未选择完成,无法保存")
}
},
saveDz() {
......