style(hcxlz):123
Showing
1 changed file
with
46 additions
and
43 deletions
... | @@ -8,46 +8,45 @@ | ... | @@ -8,46 +8,45 @@ |
8 | :modal-append-to-body="false" | 8 | :modal-append-to-body="false" |
9 | > | 9 | > |
10 | <div class="content"> | 10 | <div class="content"> |
11 | <div class="input-suffix"> | 11 | <el-form :label-position="right"> |
12 | 宗 地: | 12 | <el-form-item label="宗地:"> |
13 | <input | 13 | <el-input |
14 | placeholder="请选择宗地" v-model="zdxx" readonly="readonly" | 14 | placeholder="请选择宗地" v-model="zdxx" :disabled="true" |
15 | /> | 15 | /> |
16 | <el-button type="primary" @click="xzzdVisible = true">选择宗地</el-button> | 16 | <div @click="xzzdVisible = true">选择宗地</div> |
17 | </div> | 17 | <!-- <el-button type="primary" @click="xzzdVisible = true">选择宗地</el-button>--> |
18 | <div class="input-suffix"> | 18 | </el-form-item> |
19 | 自然幢: | 19 | <el-form-item label="自然幢:"> |
20 | <el-select v-model="hcxlzData.zrzbsm" filterable placeholder="请选择" @change="zrzChange"> | 20 | <el-select v-model="hcxlzData.zrzbsm" filterable placeholder="请选择" @change="zrzChange"> |
21 | <el-option | 21 | <el-option |
22 | v-for="item in zrzList" | 22 | v-for="item in zrzList" |
23 | :key="item.xmmc" | 23 | :key="item.xmmc" |
24 | :label="item.label" | 24 | :label="item.label" |
25 | :value="item.bsm"> | 25 | :value="item.bsm"> |
26 | </el-option> | 26 | </el-option> |
27 | </el-select> | 27 | </el-select> |
28 | </div> | 28 | </el-form-item> |
29 | <div class="input-suffix"> | 29 | <el-form-item label="逻辑幢:"> |
30 | 逻辑幢: | 30 | <el-select v-model="hcxlzData.ljzbsm" filterable placeholder="请选择" @change="ljzChange"> |
31 | <el-select v-model="hcxlzData.ljzbsm" filterable placeholder="请选择" @change="ljzChange"> | 31 | <el-option |
32 | <el-option | 32 | v-for="item in ljzList" |
33 | v-for="item in ljzList" | 33 | :key="item.bsm" |
34 | :key="item.bsm" | 34 | :label="item.ljzmc" |
35 | :label="item.ljzmc" | 35 | :value="item.bsm"> |
36 | :value="item.bsm"> | 36 | </el-option> |
37 | </el-option> | 37 | </el-select> |
38 | </el-select> | 38 | </el-form-item> |
39 | </div> | 39 | <el-form-item label="幢单元:"> |
40 | <div class="input-suffix"> | 40 | <el-select v-model="hcxlzData.zdybsm" filterable placeholder="请选择"> |
41 | 幢单元: | 41 | <el-option |
42 | <el-select v-model="hcxlzData.zdybsm" filterable placeholder="请选择"> | 42 | v-for="item in zdyList" |
43 | <el-option | 43 | :key="item.bsm" |
44 | v-for="item in zdyList" | 44 | :label="item.zdymc" |
45 | :key="item.bsm" | 45 | :value="item.bsm"> |
46 | :label="item.zdymc" | 46 | </el-option> |
47 | :value="item.bsm"> | 47 | </el-select> |
48 | </el-option> | 48 | </el-form-item> |
49 | </el-select> | 49 | </el-form> |
50 | </div> | ||
51 | </div> | 50 | </div> |
52 | <div class="footer"> | 51 | <div class="footer"> |
53 | <el-button type="primary" @click="save">保存</el-button> | 52 | <el-button type="primary" @click="save">保存</el-button> |
... | @@ -62,6 +61,7 @@ | ... | @@ -62,6 +61,7 @@ |
62 | import queryData from './../../components/queryData/queryData' | 61 | import queryData from './../../components/queryData/queryData' |
63 | import {zdXlcd, hzl} from './../../api/zd' | 62 | import {zdXlcd, hzl} from './../../api/zd' |
64 | import {Message} from 'element-ui' | 63 | import {Message} from 'element-ui' |
64 | |||
65 | export default { | 65 | export default { |
66 | name: "hCxlz", | 66 | name: "hCxlz", |
67 | components: {queryData}, | 67 | components: {queryData}, |
... | @@ -96,6 +96,7 @@ | ... | @@ -96,6 +96,7 @@ |
96 | } | 96 | } |
97 | }, | 97 | }, |
98 | mounted() { | 98 | mounted() { |
99 | this.hcxlzData.bsms = this.bsms; | ||
99 | }, | 100 | }, |
100 | methods: { | 101 | methods: { |
101 | ljzChange: function () { | 102 | ljzChange: function () { |
... | @@ -137,11 +138,11 @@ | ... | @@ -137,11 +138,11 @@ |
137 | }, | 138 | }, |
138 | result: function () { | 139 | result: function () { |
139 | this.hcxlzData = { | 140 | this.hcxlzData = { |
140 | bsms: [], | ||
141 | zrzbsm: '', | 141 | zrzbsm: '', |
142 | ljzbsm: '', | 142 | ljzbsm: '', |
143 | zdybsm: '' | 143 | zdybsm: '' |
144 | }; | 144 | }; |
145 | this.hcxlzData.bsms = this.bsms; | ||
145 | }, | 146 | }, |
146 | cancel() { | 147 | cancel() { |
147 | console.log("cancel......") | 148 | console.log("cancel......") |
... | @@ -171,8 +172,10 @@ | ... | @@ -171,8 +172,10 @@ |
171 | this.isVisible = val | 172 | this.isVisible = val |
172 | }, | 173 | }, |
173 | zd: function (val) { | 174 | zd: function (val) { |
174 | //this.getZrz(val.glbsm) | 175 | this.hcxlzData.zrzbsm = '' |
175 | this.getZrz('815c80d0d5b35968432fdd9c654dd134') | 176 | this.hcxlzData.zdybsm = '' |
177 | this.hcxlzData.ljzbsm = '' | ||
178 | this.getZrz(val.glbsm) | ||
176 | } | 179 | } |
177 | } | 180 | } |
178 | } | 181 | } | ... | ... |
-
Please register or sign in to post a comment