450ae3c0 by 杨威

新建多幢传入zdbsm

1 parent 6985d154
......@@ -286,7 +286,7 @@ export default {
//todo 在新增时,如果是点击顶部新建里面的自然幢则不传zdbsm 如果是点击右键里面的添加定着物则传zdbsm
this.$refs['ruleForm2'].validate((valid) => {
if (valid) {
this.ruleForm2.zdbsm = this.$store.state.rightClickZdbsm != '' ? this.$store.state.rightClickZdbsm : '';
this.ruleForm2.zdbsm = this.$store.state.zdbsm != '' ? this.$store.state.zdbsm : '';
insertDzjbxx(this.ruleForm2)
.then((res) => {
if (res.code == "200") {
......