fe28a277 by tianhaohao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents b9ec2ba9 0fa3bba0
<template>
<div v-Loading="Loading">
<el-steps :active="activeStep" finish-status="success">
<el-steps :active="activeStep" finish-status="success" v-if="isADD">
<el-step title="条件录入"></el-step>
<el-step title="查询结果"></el-step>
</el-steps>
<el-steps :active="activeStep" finish-status="success" v-else>
<el-step title="条件录入" @click.native="on_click(0)" class="pointer"></el-step>
<el-step title="查询结果" @click.native="on_click(2)" class="pointer"></el-step>
</el-steps>
......@@ -74,6 +79,7 @@
},
data () {
return {
isADD: true,
Loading: false,
activeStep: 0,
//是否查询
......@@ -102,6 +108,7 @@
},
mounted () {
this.loadData()
this.isADD = this.formData.isAdd
if (this.formData.sqcxBsm != '') {
this.activeStep = 2;
this.isSearch = true;
......@@ -181,6 +188,7 @@
store.dispatch('user/reWorkFresh', true)
this.activeStep = 2;
this.isSearch = true;
this.isADD = false
this.$nextTick(() => {
this.$refs.dydjbInfo.setResult(res.result)
})
......
......@@ -132,7 +132,8 @@
*/
openAddDialog () {
this.$popupDialog("房屋明细查询", "sqcx/dydjb/components/addDydjb", {
sqcxBsm: ''
sqcxBsm: '',
isAdd: true
})
}
},
......
......@@ -77,6 +77,7 @@
this.ruleForm = {
cllx: "",
clmc: "",
clbm: ""
}
},
/**
......@@ -90,6 +91,7 @@
this.ruleForm = {
cllx: "",
clmc: "",
clbm: ""
}
this.$emit("input", false);
} else {
......
......@@ -247,7 +247,8 @@
let obj = {
bsmCompany: this.formData.bsmCompany,
clmc: data.clmc,
cllx: data.cllx
cllx: data.cllx,
clbm: data.clbm
};
addCompanyMaterial(obj).then(async (res) => {
if (res.code == 200) {
......