Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
4 changed files
with
15 additions
and
3 deletions
1 | <template> | 1 | <template> |
2 | <div v-Loading="Loading"> | 2 | <div v-Loading="Loading"> |
3 | <el-steps :active="activeStep" finish-status="success"> | 3 | |
4 | <el-steps :active="activeStep" finish-status="success" v-if="isADD"> | ||
5 | <el-step title="条件录入"></el-step> | ||
6 | <el-step title="查询结果"></el-step> | ||
7 | </el-steps> | ||
8 | <el-steps :active="activeStep" finish-status="success" v-else> | ||
4 | <el-step title="条件录入" @click.native="on_click(0)" class="pointer"></el-step> | 9 | <el-step title="条件录入" @click.native="on_click(0)" class="pointer"></el-step> |
5 | <el-step title="查询结果" @click.native="on_click(2)" class="pointer"></el-step> | 10 | <el-step title="查询结果" @click.native="on_click(2)" class="pointer"></el-step> |
6 | </el-steps> | 11 | </el-steps> |
... | @@ -74,6 +79,7 @@ | ... | @@ -74,6 +79,7 @@ |
74 | }, | 79 | }, |
75 | data () { | 80 | data () { |
76 | return { | 81 | return { |
82 | isADD: true, | ||
77 | Loading: false, | 83 | Loading: false, |
78 | activeStep: 0, | 84 | activeStep: 0, |
79 | //是否查询 | 85 | //是否查询 |
... | @@ -102,6 +108,7 @@ | ... | @@ -102,6 +108,7 @@ |
102 | }, | 108 | }, |
103 | mounted () { | 109 | mounted () { |
104 | this.loadData() | 110 | this.loadData() |
111 | this.isADD = this.formData.isAdd | ||
105 | if (this.formData.sqcxBsm != '') { | 112 | if (this.formData.sqcxBsm != '') { |
106 | this.activeStep = 2; | 113 | this.activeStep = 2; |
107 | this.isSearch = true; | 114 | this.isSearch = true; |
... | @@ -181,6 +188,7 @@ | ... | @@ -181,6 +188,7 @@ |
181 | store.dispatch('user/reWorkFresh', true) | 188 | store.dispatch('user/reWorkFresh', true) |
182 | this.activeStep = 2; | 189 | this.activeStep = 2; |
183 | this.isSearch = true; | 190 | this.isSearch = true; |
191 | this.isADD = false | ||
184 | this.$nextTick(() => { | 192 | this.$nextTick(() => { |
185 | this.$refs.dydjbInfo.setResult(res.result) | 193 | this.$refs.dydjbInfo.setResult(res.result) |
186 | }) | 194 | }) | ... | ... |
... | @@ -132,7 +132,8 @@ | ... | @@ -132,7 +132,8 @@ |
132 | */ | 132 | */ |
133 | openAddDialog () { | 133 | openAddDialog () { |
134 | this.$popupDialog("房屋明细查询", "sqcx/dydjb/components/addDydjb", { | 134 | this.$popupDialog("房屋明细查询", "sqcx/dydjb/components/addDydjb", { |
135 | sqcxBsm: '' | 135 | sqcxBsm: '', |
136 | isAdd: true | ||
136 | }) | 137 | }) |
137 | } | 138 | } |
138 | }, | 139 | }, | ... | ... |
... | @@ -77,6 +77,7 @@ | ... | @@ -77,6 +77,7 @@ |
77 | this.ruleForm = { | 77 | this.ruleForm = { |
78 | cllx: "", | 78 | cllx: "", |
79 | clmc: "", | 79 | clmc: "", |
80 | clbm: "" | ||
80 | } | 81 | } |
81 | }, | 82 | }, |
82 | /** | 83 | /** |
... | @@ -90,6 +91,7 @@ | ... | @@ -90,6 +91,7 @@ |
90 | this.ruleForm = { | 91 | this.ruleForm = { |
91 | cllx: "", | 92 | cllx: "", |
92 | clmc: "", | 93 | clmc: "", |
94 | clbm: "" | ||
93 | } | 95 | } |
94 | this.$emit("input", false); | 96 | this.$emit("input", false); |
95 | } else { | 97 | } else { | ... | ... |
... | @@ -247,7 +247,8 @@ | ... | @@ -247,7 +247,8 @@ |
247 | let obj = { | 247 | let obj = { |
248 | bsmCompany: this.formData.bsmCompany, | 248 | bsmCompany: this.formData.bsmCompany, |
249 | clmc: data.clmc, | 249 | clmc: data.clmc, |
250 | cllx: data.cllx | 250 | cllx: data.cllx, |
251 | clbm: data.clbm | ||
251 | }; | 252 | }; |
252 | addCompanyMaterial(obj).then(async (res) => { | 253 | addCompanyMaterial(obj).then(async (res) => { |
253 | if (res.code == 200) { | 254 | if (res.code == 200) { | ... | ... |
-
Please register or sign in to post a comment