52d9b75d by zhaoqian

树,以及部分权限控制问题

1 parent 7a84d435
...@@ -10,22 +10,22 @@ ...@@ -10,22 +10,22 @@
10 <tr height="30"> 10 <tr height="30">
11 <td colspan="2" align="center" >宗地代码</td> 11 <td colspan="2" align="center" >宗地代码</td>
12 <td colspan="4" > 12 <td colspan="4" >
13 <input class="formInput" maxlength="19" v-model="form.zddm"> 13 <input class="formInput" :disabled="disabled" maxlength="19" v-model="form.zddm">
14 </td> 14 </td>
15 <td colspan="2" align="center" >不动产单元号</td> 15 <td colspan="2" align="center" >不动产单元号</td>
16 <td colspan="4" class="psr"> 16 <td colspan="4" class="psr">
17 <input class="formInput percent80" maxlength="28" v-model="form.bdcdyh"> 17 <input class="formInput percent80" :disabled="disabled" maxlength="28" v-model="form.bdcdyh">
18 <el-button @click.prevent="generatorCode" size="mini" class="createBtn" type="warning">生成</el-button> 18 <el-button @click.prevent="generatorCode" :disabled="disabled" size="mini" class="createBtn" type="warning">生成</el-button>
19 </td> 19 </td>
20 </tr> 20 </tr>
21 <tr height="30"> 21 <tr height="30">
22 <td colspan="2" align="center" >项目名称</td> 22 <td colspan="2" align="center" >项目名称</td>
23 <td colspan="4" > 23 <td colspan="4" >
24 <input class="formInput" v-model="form.xmmc"> 24 <input class="formInput" :disabled="disabled" v-model="form.xmmc">
25 </td> 25 </td>
26 <td colspan="2" align="center" >房屋性质</td> 26 <td colspan="2" align="center" >房屋性质</td>
27 <td colspan="4" > 27 <td colspan="4" >
28 <el-select class="formSelect" v-model="form.fwxzbsm" placeholder="请选择" > 28 <el-select class="formSelect" :disabled="disabled" v-model="form.fwxzbsm" placeholder="请选择" >
29 <el-option 29 <el-option
30 v-for="item in $store.state.fwxzOptions" 30 v-for="item in $store.state.fwxzOptions"
31 :key="item.bsm" 31 :key="item.bsm"
...@@ -39,13 +39,14 @@ ...@@ -39,13 +39,14 @@
39 <tr height="30"> 39 <tr height="30">
40 <td colspan="2" align="center" >共有土地面积(㎡)</td> 40 <td colspan="2" align="center" >共有土地面积(㎡)</td>
41 <td colspan="4" > 41 <td colspan="4" >
42 <input class="formInput" type="number" v-model="form.zdmj"> 42 <input class="formInput" :disabled="disabled" type="number" v-model="form.zdmj">
43 </td> 43 </td>
44 <td colspan="2" align="center" >竣工日期</td> 44 <td colspan="2" align="center" >竣工日期</td>
45 <td colspan="4" > 45 <td colspan="4" >
46 <el-date-picker 46 <el-date-picker
47 style="width:100%" 47 style="width:100%"
48 v-model="form.jgrq" 48 v-model="form.jgrq"
49 :disabled="disabled"
49 type="date" 50 type="date"
50 placeholder="选择日期"> 51 placeholder="选择日期">
51 </el-date-picker> 52 </el-date-picker>
...@@ -55,11 +56,11 @@ ...@@ -55,11 +56,11 @@
55 <tr height="30"> 56 <tr height="30">
56 <td colspan="2" align="center" >分摊土地面积(㎡)</td> 57 <td colspan="2" align="center" >分摊土地面积(㎡)</td>
57 <td colspan="4" > 58 <td colspan="4" >
58 <input class="formInput" type="number" v-model="form.fttdsymj"> 59 <input class="formInput" type="number" :disabled="disabled" v-model="form.fttdsymj">
59 </td> 60 </td>
60 <td colspan="2" align="center" >产别</td> 61 <td colspan="2" align="center" >产别</td>
61 <td colspan="4" > 62 <td colspan="4" >
62 <el-select class="formSelect" v-model="form.fwcbbsm" placeholder="请选择" > 63 <el-select class="formSelect" :disabled="disabled" v-model="form.fwcbbsm" placeholder="请选择" >
63 <el-option 64 <el-option
64 v-for="item in $store.state.cbOptions" 65 v-for="item in $store.state.cbOptions"
65 :key="item.bsm" 66 :key="item.bsm"
...@@ -73,11 +74,11 @@ ...@@ -73,11 +74,11 @@
73 <tr height="30"> 74 <tr height="30">
74 <td colspan="2" align="center" >多幢独用土地面积(㎡)</td> 75 <td colspan="2" align="center" >多幢独用土地面积(㎡)</td>
75 <td colspan="4" > 76 <td colspan="4" >
76 <input class="formInput" type="number" v-model="form.dlsytdmj"> 77 <input class="formInput" :disabled="disabled" type="number" v-model="form.dlsytdmj">
77 </td> 78 </td>
78 <td colspan="2" align="center" >产权来源</td> 79 <td colspan="2" align="center" >产权来源</td>
79 <td colspan="4" > 80 <td colspan="4" >
80 <el-select class="formSelect" v-model="form.fwcqlybsm" placeholder="请选择" > 81 <el-select class="formSelect" :disabled="disabled" v-model="form.fwcqlybsm" placeholder="请选择" >
81 <el-option 82 <el-option
82 v-for="item in $store.state.cqlyOptions" 83 v-for="item in $store.state.cqlyOptions"
83 :key="item.bsm" 84 :key="item.bsm"
...@@ -106,7 +107,7 @@ ...@@ -106,7 +107,7 @@
106 :default-expand-all="defaultExpandAll" 107 :default-expand-all="defaultExpandAll"
107 :multiple="multiple" 108 :multiple="multiple"
108 :placeholder="placeholder" 109 :placeholder="placeholder"
109 :disabled="form.qszt!='0'" 110 :disabled="disabled"
110 :data="$store.state.fwytList" 111 :data="$store.state.fwytList"
111 :props="treeProps" 112 :props="treeProps"
112 :check-strictly="checkStrictly" 113 :check-strictly="checkStrictly"
...@@ -122,7 +123,7 @@ ...@@ -122,7 +123,7 @@
122 :default-expand-all="defaultExpandAll" 123 :default-expand-all="defaultExpandAll"
123 :multiple="multiple" 124 :multiple="multiple"
124 :placeholder="placeholder" 125 :placeholder="placeholder"
125 :disabled="form.qszt!='0'" 126 :disabled="disabled"
126 :data="$store.state.fwytList" 127 :data="$store.state.fwytList"
127 :props="treeProps" 128 :props="treeProps"
128 :check-strictly="checkStrictly" 129 :check-strictly="checkStrictly"
...@@ -144,7 +145,7 @@ ...@@ -144,7 +145,7 @@
144 <span>坐落</span> 145 <span>坐落</span>
145 </td> 146 </td>
146 <td colspan="10" > 147 <td colspan="10" >
147 <input class="formInput" v-model="form.zl"> 148 <input class="formInput" v-model="form.zl" :disabled="disabled">
148 </td> 149 </td>
149 </tr> 150 </tr>
150 151
...@@ -153,7 +154,7 @@ ...@@ -153,7 +154,7 @@
153 <span>附加说明</span> 154 <span>附加说明</span>
154 </td> 155 </td>
155 <td colspan="10" rowspan="2" > 156 <td colspan="10" rowspan="2" >
156 <input class="formInput" v-model="form.bz" type="textarea"> 157 <input class="formInput" v-model="form.bz" :disabled="disabled" type="textarea">
157 </td> 158 </td>
158 </tr> 159 </tr>
159 <tr height="30"> 160 <tr height="30">
...@@ -164,7 +165,7 @@ ...@@ -164,7 +165,7 @@
164 <span>调查意见</span> 165 <span>调查意见</span>
165 </td> 166 </td>
166 <td colspan="10" > 167 <td colspan="10" >
167 <input class="formInput" v-model="form.name"> 168 <input class="formInput" v-model="form.name" :disabled="disabled">
168 </td> 169 </td>
169 </tr> 170 </tr>
170 171
...@@ -173,7 +174,7 @@ ...@@ -173,7 +174,7 @@
173 <span>审查员</span> 174 <span>审查员</span>
174 </td> 175 </td>
175 <td colspan="2" > 176 <td colspan="2" >
176 <input class="formInput" v-model="form.name"> 177 <input class="formInput" v-model="form.name" :disabled="disabled">
177 </td> 178 </td>
178 <td colspan="2" rowspan="2" align="right" style="width:8.33%;padding-right:10px"> 179 <td colspan="2" rowspan="2" align="right" style="width:8.33%;padding-right:10px">
179 <span>审查日期</span> 180 <span>审查日期</span>
...@@ -182,6 +183,7 @@ ...@@ -182,6 +183,7 @@
182 <el-date-picker style="width:100%" 183 <el-date-picker style="width:100%"
183 v-model="form.date" 184 v-model="form.date"
184 type="date" 185 type="date"
186 :disabled="disabled"
185 placeholder="选择日期"> 187 placeholder="选择日期">
186 </el-date-picker> 188 </el-date-picker>
187 </td> 189 </td>
...@@ -387,6 +389,11 @@ ...@@ -387,6 +389,11 @@
387 getDzDetailByBsm(data).then((res)=>{ 389 getDzDetailByBsm(data).then((res)=>{
388 if(res.code===200) { 390 if(res.code===200) {
389 this.form = res.result; 391 this.form = res.result;
392 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){
393 this.disabled = false
394 }else {
395 this.disabled = true
396 }
390 console.log(this.form+"fwytList") 397 console.log(this.form+"fwytList")
391 console.log(this.form) 398 console.log(this.form)
392 if(this.form.fwytList.length===0){ 399 if(this.form.fwytList.length===0){
......
...@@ -377,17 +377,17 @@ export default { ...@@ -377,17 +377,17 @@ export default {
377 switch (row.dylx) { 377 switch (row.dylx) {
378 case "zrz": 378 case "zrz":
379 this.$store.state.zrzbsm = res.result; 379 this.$store.state.zrzbsm = res.result;
380 this.getTreeByBsm(row.glbsm,row.dylx,'2'); 380 this.getTreeByBsm(res.result,row.dylx,'2');
381 path = "/zrz"; 381 path = "/zrz";
382 break; 382 break;
383 case "zd": 383 case "zd":
384 this.$store.state.zdbsm = res.result; 384 this.$store.state.zdbsm = res.result;
385 this.getRightTree(row.glbsm,'2'); 385 this.getRightTree(res.result,'2');
386 path = "/zd"; 386 path = "/zd";
387 break; 387 break;
388 case "dz": 388 case "dz":
389 this.$store.state.dzbsm = res.result; 389 this.$store.state.dzbsm = res.result;
390 this.getTreeByBsm(row.glbsm,row.dylx,'2'); 390 this.getTreeByBsm(res.result,row.dylx,'2');
391 path = "/dz"; 391 path = "/dz";
392 break; 392 break;
393 default: 393 default:
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 <td colspan="2" class="tdright">行政区</td> 10 <td colspan="2" class="tdright">行政区</td>
11 <td colspan="2"> 11 <td colspan="2">
12 <el-select 12 <el-select
13 :disabled="formData.qszt!='0'" 13 :disabled="disabled"
14 class="formSelect" 14 class="formSelect"
15 v-model="formData.xzqbsm" 15 v-model="formData.xzqbsm"
16 @change="changeXzq(formData.xzqbsm)" 16 @change="changeXzq(formData.xzqbsm)"
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
28 <td colspan="2"> 28 <td colspan="2">
29 <el-select 29 <el-select
30 class="formSelect" 30 class="formSelect"
31 :disabled="formData.qszt!='0'" 31 :disabled="disabled"
32 v-model="formData.djqbsm" 32 v-model="formData.djqbsm"
33 @change="changeDjq(formData.djqbsm)" 33 @change="changeDjq(formData.djqbsm)"
34 > 34 >
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
43 </td> 43 </td>
44 <td colspan="2" class="tdright">地籍子区</td> 44 <td colspan="2" class="tdright">地籍子区</td>
45 <td colspan="2"> 45 <td colspan="2">
46 <el-select class="formSelect" @change="changeDjzq" :disabled="formData.qszt!='0'" v-model="formData.djzqbsm"> 46 <el-select class="formSelect" @change="changeDjzq" :disabled="disabled" v-model="formData.djzqbsm">
47 <el-option 47 <el-option
48 v-for="item in $store.state.djzqList" 48 v-for="item in $store.state.djzqList"
49 :key="item.bsm" 49 :key="item.bsm"
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
57 <tr> 57 <tr>
58 <td colspan="2" class="tdright">权利类型</td> 58 <td colspan="2" class="tdright">权利类型</td>
59 <td colspan="4"> 59 <td colspan="4">
60 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qllxbsm"> 60 <el-select class="formSelect" :disabled="disabled" v-model="formData.qllxbsm">
61 <el-option 61 <el-option
62 v-for="item in $store.state.qllxList" 62 v-for="item in $store.state.qllxList"
63 :key="item.bsm" 63 :key="item.bsm"
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 </td> 69 </td>
70 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地特征码</td> 70 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地特征码</td>
71 <td colspan="4"> 71 <td colspan="4">
72 <el-select class="formSelect" ref="zdtzm" :disabled="formData.qszt!='0'" 72 <el-select class="formSelect" ref="zdtzm" :disabled="disabled"
73 v-model="formData.zdtzmbsm"> 73 v-model="formData.zdtzmbsm">
74 <el-option 74 <el-option
75 v-for="item in $store.state.zdtzmList" 75 v-for="item in $store.state.zdtzmList"
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
84 <tr> 84 <tr>
85 <td colspan="2" class="tdright">权利设定方式</td> 85 <td colspan="2" class="tdright">权利设定方式</td>
86 <td colspan="4"> 86 <td colspan="4">
87 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.qlsdfs"> 87 <el-select class="formSelect" :disabled="disabled" v-model="formData.qlsdfs">
88 <el-option 88 <el-option
89 v-for="item in $store.state.qlsdfsList" 89 v-for="item in $store.state.qlsdfsList"
90 :key="item.bsm" 90 :key="item.bsm"
...@@ -96,12 +96,12 @@ ...@@ -96,12 +96,12 @@
96 </td> 96 </td>
97 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地代码</td> 97 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地代码</td>
98 <td colspan="4" class="psr"> 98 <td colspan="4" class="psr">
99 <input :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zddm" on maxlength="19" 99 <input :disabled="disabled" @blur="inputBlur($event)" ref="zddm" on maxlength="19"
100 type="text" 100 type="text"
101 class="formInput percent80" 101 class="formInput percent80"
102 v-model="formData.zddm" 102 v-model="formData.zddm"
103 /> 103 />
104 <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn" 104 <el-button type="warning" :disabled="disabled" class="createBtn"
105 @click="generatorCode" 105 @click="generatorCode"
106 >生成 106 >生成
107 </el-button> 107 </el-button>
...@@ -110,29 +110,29 @@ ...@@ -110,29 +110,29 @@
110 <tr> 110 <tr>
111 <td colspan="2" class="tdright">地籍号</td> 111 <td colspan="2" class="tdright">地籍号</td>
112 <td colspan="4"> 112 <td colspan="4">
113 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.djh"/> 113 <input type="text" :disabled="disabled" class="formInput" v-model="formData.djh"/>
114 </td> 114 </td>
115 115
116 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td> 116 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td>
117 <td colspan="4" class="psr"> 117 <td colspan="4" class="psr">
118 <input 118 <input
119 type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="bdcdyh" 119 type="text" :disabled="disabled" @blur="inputBlur($event)" ref="bdcdyh"
120 maxlength="28" 120 maxlength="28"
121 class="formInput" 121 class="formInput"
122 v-model="formData.bdcdyh" 122 v-model="formData.bdcdyh"
123 /> 123 />
124 <!-- <el-button type="warning" :disabled="formData.qszt!='0'" class="createBtn">生成</el-button> --> 124 <!-- <el-button type="warning" :disabled="disabled" class="createBtn">生成</el-button> -->
125 </td> 125 </td>
126 </tr> 126 </tr>
127 <tr> 127 <tr>
128 <td colspan="2" class="tdright"><i class="requisite">*</i>坐落</td> 128 <td colspan="2" class="tdright"><i class="requisite">*</i>坐落</td>
129 <td colspan="4"> 129 <td colspan="4">
130 <input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zl" 130 <input type="text" :disabled="disabled" @blur="inputBlur($event)" ref="zl"
131 class="formInput" v-model="formData.zl"/> 131 class="formInput" v-model="formData.zl"/>
132 </td> 132 </td>
133 <td colspan="2" class="tdright">项目名称</td> 133 <td colspan="2" class="tdright">项目名称</td>
134 <td colspan="4" class="psr"> 134 <td colspan="4" class="psr">
135 <input :disabled="formData.qszt!='0'" 135 <input :disabled="disabled"
136 type="text" 136 type="text"
137 class="formInput " 137 class="formInput "
138 v-model="formData.xmmc" 138 v-model="formData.xmmc"
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
142 <tr> 142 <tr>
143 <td colspan="2" class="tdright">国民经济行业分类</td> 143 <td colspan="2" class="tdright">国民经济行业分类</td>
144 <td colspan="4"> 144 <td colspan="4">
145 <!-- <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.gmjjhyflbsm">--> 145 <!-- <el-select class="formSelect" :disabled="disabled" v-model="formData.gmjjhyflbsm">-->
146 <!-- <el-option--> 146 <!-- <el-option-->
147 <!-- v-for="item in $store.state.gmjjhyflbsmList"--> 147 <!-- v-for="item in $store.state.gmjjhyflbsmList"-->
148 <!-- :key="item.bsm"--> 148 <!-- :key="item.bsm"-->
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
157 :default-expand-all="defaultExpandAll" 157 :default-expand-all="defaultExpandAll"
158 :multiple="multiple" 158 :multiple="multiple"
159 :placeholder="placeholder" 159 :placeholder="placeholder"
160 :disabled="formData.qszt!='0'" 160 :disabled="disabled"
161 :data="$store.state.gmjjhyflbsmList" 161 :data="$store.state.gmjjhyflbsmList"
162 :props="treeProps" 162 :props="treeProps"
163 :check-strictly="checkStrictly" 163 :check-strictly="checkStrictly"
...@@ -167,13 +167,13 @@ ...@@ -167,13 +167,13 @@
167 </td> 167 </td>
168 <td colspan="2" class="tdright">价格(元)</td> 168 <td colspan="2" class="tdright">价格(元)</td>
169 <td colspan="4" class="psr"> 169 <td colspan="4" class="psr">
170 <input :disabled="formData.qszt!='0'" class="formInput" type="number" v-model="formData.jg"/> 170 <input :disabled="disabled" class="formInput" type="number" v-model="formData.jg"/>
171 </td> 171 </td>
172 </tr> 172 </tr>
173 <tr> 173 <tr>
174 <td colspan="2" class="tdright">容积率</td> 174 <td colspan="2" class="tdright">容积率</td>
175 <td colspan="2"> 175 <td colspan="2">
176 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyrjl"> 176 <el-select class="formSelect" :disabled="disabled" v-model="formData.jyrjl">
177 <el-option 177 <el-option
178 v-for="item in compareList" 178 v-for="item in compareList"
179 :key="item.value" 179 :key="item.value"
...@@ -185,27 +185,27 @@ ...@@ -185,27 +185,27 @@
185 </td> 185 </td>
186 <td colspan="2"> 186 <td colspan="2">
187 <input 187 <input
188 type="text" :disabled="formData.qszt!='0'" 188 type="text" :disabled="disabled"
189 v-model="rjl" 189 v-model="rjl"
190 v-show="isInterval(formData.jyrjl)" 190 v-show="isInterval(formData.jyrjl)"
191 class="formInput percent47" 191 class="formInput percent47"
192 /> 192 />
193 <span class="percent4" v-show="isInterval(formData.jyrjl)">-</span> 193 <span class="percent4" v-show="isInterval(formData.jyrjl)">-</span>
194 <input 194 <input
195 type="text" :disabled="formData.qszt!='0'" 195 type="text" :disabled="disabled"
196 v-model="formData.rjl" 196 v-model="formData.rjl"
197 :class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'" 197 :class="isInterval(formData.jyrjl) ? 'formInput percent47' : 'formInput'"
198 /> 198 />
199 </td> 199 </td>
200 <td colspan="2" class="tdright">容积说明</td> 200 <td colspan="2" class="tdright">容积说明</td>
201 <td colspan="4" class="psr"> 201 <td colspan="4" class="psr">
202 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.rjlsm"/> 202 <input type="text" :disabled="disabled" class="formInput" v-model="formData.rjlsm"/>
203 </td> 203 </td>
204 </tr> 204 </tr>
205 <tr> 205 <tr>
206 <td colspan="2" class="tdright">建筑密度</td> 206 <td colspan="2" class="tdright">建筑密度</td>
207 <td colspan="2"> 207 <td colspan="2">
208 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzmd"> 208 <el-select class="formSelect" :disabled="disabled" v-model="formData.jyjzmd">
209 <el-option 209 <el-option
210 v-for="item in compareList" 210 v-for="item in compareList"
211 :key="item.value" 211 :key="item.value"
...@@ -218,26 +218,26 @@ ...@@ -218,26 +218,26 @@
218 <td colspan="2"> 218 <td colspan="2">
219 <input 219 <input
220 type="text" 220 type="text"
221 v-model="jzmd" :disabled="formData.qszt!='0'" 221 v-model="jzmd" :disabled="disabled"
222 v-show="isInterval(formData.jyjzmd)" 222 v-show="isInterval(formData.jyjzmd)"
223 class="formInput percent47" 223 class="formInput percent47"
224 /> 224 />
225 <span class="percent4" v-show="isInterval(formData.jyjzmd)">-</span> 225 <span class="percent4" v-show="isInterval(formData.jyjzmd)">-</span>
226 <input 226 <input
227 type="text" 227 type="text"
228 v-model="formData.jzmd" :disabled="formData.qszt!='0'" 228 v-model="formData.jzmd" :disabled="disabled"
229 :class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'" 229 :class="isInterval(formData.jyjzmd) ? 'formInput percent47' : 'formInput'"
230 /> 230 />
231 </td> 231 </td>
232 <td colspan="2" class="tdright">建筑密度说明</td> 232 <td colspan="2" class="tdright">建筑密度说明</td>
233 <td colspan="4" class="psr"> 233 <td colspan="4" class="psr">
234 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzmdsm"/> 234 <input type="text" :disabled="disabled" class="formInput" v-model="formData.jzmdsm"/>
235 </td> 235 </td>
236 </tr> 236 </tr>
237 <tr> 237 <tr>
238 <td colspan="2" class="tdright">建筑限高</td> 238 <td colspan="2" class="tdright">建筑限高</td>
239 <td colspan="2"> 239 <td colspan="2">
240 <el-select class="formSelect" :disabled="formData.qszt!='0'" v-model="formData.jyjzxg"> 240 <el-select class="formSelect" :disabled="disabled" v-model="formData.jyjzxg">
241 <el-option 241 <el-option
242 v-for="item in compareList" 242 v-for="item in compareList"
243 :key="item.value" 243 :key="item.value"
...@@ -249,34 +249,34 @@ ...@@ -249,34 +249,34 @@
249 </td> 249 </td>
250 <td colspan="2"> 250 <td colspan="2">
251 <input 251 <input
252 type="text" :disabled="formData.qszt!='0'" 252 type="text" :disabled="disabled"
253 v-model="jzxg" 253 v-model="jzxg"
254 v-show="isInterval(formData.jyjzxg)" 254 v-show="isInterval(formData.jyjzxg)"
255 class="formInput percent47" 255 class="formInput percent47"
256 /> 256 />
257 <span class="percent4" v-show="isInterval(formData.jyjzxg)">-</span> 257 <span class="percent4" v-show="isInterval(formData.jyjzxg)">-</span>
258 <input 258 <input
259 type="text" :disabled="formData.qszt!='0'" 259 type="text" :disabled="disabled"
260 v-model="formData.jzxg" 260 v-model="formData.jzxg"
261 :class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'" 261 :class="isInterval(formData.jyjzxg) ? 'formInput percent47' : 'formInput'"
262 /> 262 />
263 </td> 263 </td>
264 <td colspan="2" class="tdright">建筑限高说明</td> 264 <td colspan="2" class="tdright">建筑限高说明</td>
265 <td colspan="4" class="psr"> 265 <td colspan="4" class="psr">
266 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.jzxgsm"/> 266 <input type="text" :disabled="disabled" class="formInput" v-model="formData.jzxgsm"/>
267 </td> 267 </td>
268 </tr> 268 </tr>
269 <tr> 269 <tr>
270 <td colspan="2" rowspan="2" class="tdright">所在图幅号</td> 270 <td colspan="2" rowspan="2" class="tdright">所在图幅号</td>
271 <td colspan="2" class="tdright">比例尺</td> 271 <td colspan="2" class="tdright">比例尺</td>
272 <td colspan="8" class="psr"> 272 <td colspan="8" class="psr">
273 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.blc"/> 273 <input type="text" :disabled="disabled" class="formInput" v-model="formData.blc"/>
274 </td> 274 </td>
275 </tr> 275 </tr>
276 <tr> 276 <tr>
277 <td colspan="2" class="tdright">图幅号</td> 277 <td colspan="2" class="tdright">图幅号</td>
278 <td colspan="8" class="psr"> 278 <td colspan="8" class="psr">
279 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.tfh"/> 279 <input type="text" :disabled="disabled" class="formInput" v-model="formData.tfh"/>
280 </td> 280 </td>
281 </tr> 281 </tr>
282 282
...@@ -284,28 +284,28 @@ ...@@ -284,28 +284,28 @@
284 <td colspan="2" rowspan="4" class="tdright">宗地四至</td> 284 <td colspan="2" rowspan="4" class="tdright">宗地四至</td>
285 <td colspan="2" class="tdright"><i class="requisite">*</i>北至</td> 285 <td colspan="2" class="tdright"><i class="requisite">*</i>北至</td>
286 <td colspan="8" class="psr"> 286 <td colspan="8" class="psr">
287 <input type="text" @blur="inputBlur($event)" ref="zdszb" :disabled="formData.qszt!='0'" 287 <input type="text" @blur="inputBlur($event)" ref="zdszb" :disabled="disabled"
288 class="formInput" v-model="formData.zdszb"/> 288 class="formInput" v-model="formData.zdszb"/>
289 </td> 289 </td>
290 </tr> 290 </tr>
291 <tr> 291 <tr>
292 <td colspan="2" class="tdright"><i class="requisite">*</i>东至</td> 292 <td colspan="2" class="tdright"><i class="requisite">*</i>东至</td>
293 <td colspan="8" class="psr"> 293 <td colspan="8" class="psr">
294 <input type="text" @blur="inputBlur($event)" ref="zdszd" :disabled="formData.qszt!='0'" 294 <input type="text" @blur="inputBlur($event)" ref="zdszd" :disabled="disabled"
295 class="formInput" v-model="formData.zdszd"/> 295 class="formInput" v-model="formData.zdszd"/>
296 </td> 296 </td>
297 </tr> 297 </tr>
298 <tr> 298 <tr>
299 <td colspan="2" class="tdright"><i class="requisite">*</i>南至</td> 299 <td colspan="2" class="tdright"><i class="requisite">*</i>南至</td>
300 <td colspan="8" class="psr"> 300 <td colspan="8" class="psr">
301 <input type="text" @blur="inputBlur($event)" ref="zdszn" :disabled="formData.qszt!='0'" 301 <input type="text" @blur="inputBlur($event)" ref="zdszn" :disabled="disabled"
302 class="formInput" v-model="formData.zdszn"/> 302 class="formInput" v-model="formData.zdszn"/>
303 </td> 303 </td>
304 </tr> 304 </tr>
305 <tr> 305 <tr>
306 <td colspan="2" class="tdright"><i class="requisite">*</i>西至</td> 306 <td colspan="2" class="tdright"><i class="requisite">*</i>西至</td>
307 <td colspan="8" class="psr"> 307 <td colspan="8" class="psr">
308 <input type="text" @blur="inputBlur($event)" ref="zdszx" :disabled="formData.qszt!='0'" 308 <input type="text" @blur="inputBlur($event)" ref="zdszx" :disabled="disabled"
309 class="formInput" v-model="formData.zdszx"/> 309 class="formInput" v-model="formData.zdszx"/>
310 </td> 310 </td>
311 </tr> 311 </tr>
...@@ -317,39 +317,39 @@ ...@@ -317,39 +317,39 @@
317 <tr> 317 <tr>
318 <td colspan="2" class="tdright">批准面积(㎡)</td> 318 <td colspan="2" class="tdright">批准面积(㎡)</td>
319 <td colspan="4" > 319 <td colspan="4" >
320 <input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')" 320 <input type="text" :disabled="disabled" onkeyup="value=value.replace(/[^\d\.]/g,'')"
321 class="formInput" v-model="formData.pzmj"/> 321 class="formInput" v-model="formData.pzmj"/>
322 </td> 322 </td>
323 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地面积(㎡)</td> 323 <td colspan="2" class="tdright"><i class="requisite">*</i>宗地面积(㎡)</td>
324 <td colspan="4" > 324 <td colspan="4" >
325 <input type="text" :disabled="formData.qszt!='0'" @blur="inputBlur($event)" ref="zdmj" 325 <input type="text" :disabled="disabled" @blur="inputBlur($event)" ref="zdmj"
326 onkeyup="value=value.replace(/[^\d\.]/g,'')" class="formInput" v-model="formData.zdmj"/> 326 onkeyup="value=value.replace(/[^\d\.]/g,'')" class="formInput" v-model="formData.zdmj"/>
327 </td> 327 </td>
328 </tr> 328 </tr>
329 <tr> 329 <tr>
330 <td colspan="2" class="tdright">建筑占地总面积(㎡)</td> 330 <td colspan="2" class="tdright">建筑占地总面积(㎡)</td>
331 <td colspan="4"> 331 <td colspan="4">
332 <input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')" 332 <input type="text" :disabled="disabled" onkeyup="value=value.replace(/[^\d\.]/g,'')"
333 class="formInput" v-model="formData.jzzdzmj"/> 333 class="formInput" v-model="formData.jzzdzmj"/>
334 </td> 334 </td>
335 335
336 <td colspan="2" class="tdright">建筑总面积(㎡)</td> 336 <td colspan="2" class="tdright">建筑总面积(㎡)</td>
337 <td colspan="4"> 337 <td colspan="4">
338 <input type="text" :disabled="formData.qszt!='0'" onkeyup="value=value.replace(/[^\d\.]/g,'')" 338 <input type="text" :disabled="disabled" onkeyup="value=value.replace(/[^\d\.]/g,'')"
339 class="formInput" v-model="formData.jzzmj"/> 339 class="formInput" v-model="formData.jzzmj"/>
340 </td> 340 </td>
341 </tr> 341 </tr>
342 <tr> 342 <tr>
343 <td colspan="2" class="tdright">共有/共用权利人情况</td> 343 <td colspan="2" class="tdright">共有/共用权利人情况</td>
344 <td colspan="10"> 344 <td colspan="10">
345 <input type="text" :disabled="formData.qszt!='0'" class="formInput" 345 <input type="text" :disabled="disabled" class="formInput"
346 v-model="formData.gygyqlrqk"/> 346 v-model="formData.gygyqlrqk"/>
347 </td> 347 </td>
348 </tr> 348 </tr>
349 <tr> 349 <tr>
350 <td colspan="2" class="tdright" rowspan="2">说明</td> 350 <td colspan="2" class="tdright" rowspan="2">说明</td>
351 <td colspan="10" rowspan="2"> 351 <td colspan="10" rowspan="2">
352 <input type="text" :disabled="formData.qszt!='0'" class="formInput" v-model="formData.sm"/> 352 <input type="text" :disabled="disabled" class="formInput" v-model="formData.sm"/>
353 </td> 353 </td>
354 </tr> 354 </tr>
355 </table> 355 </table>
...@@ -498,6 +498,11 @@ ...@@ -498,6 +498,11 @@
498 .then((res) => { 498 .then((res) => {
499 if (res.result) { 499 if (res.result) {
500 this.formData = res.result; 500 this.formData = res.result;
501 if(this.formData.bblx === 0 && this.formData.qszt === 0 && this.formData.bhqkbsm == null){
502 this.disabled = false
503 }else {
504 this.disabled = true
505 }
501 console.log(res.result, 'res.result'); 506 console.log(res.result, 'res.result');
502 this.getXzqData(res.result.xzqbsm, res.result.djqbsm); 507 this.getXzqData(res.result.xzqbsm, res.result.djqbsm);
503 //如果没有宗地代码,自动生成 508 //如果没有宗地代码,自动生成
......
...@@ -600,8 +600,10 @@ ...@@ -600,8 +600,10 @@
600 if(res.code===200){ 600 if(res.code===200){
601 this.form = res.result; 601 this.form = res.result;
602 this.hbsm = res.result.bsm; 602 this.hbsm = res.result.bsm;
603 if(res.result.qszt !== '0'){ 603 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){
604 this.disableFlag = true; 604 this.disableFlag = false
605 }else {
606 this.disableFlag = true
605 } 607 }
606 if(this.form.scyclx==='0'){ 608 if(this.form.scyclx==='0'){
607 this.$set(this.form,"ycjzmj", this.form.jzmj) 609 this.$set(this.form,"ycjzmj", this.form.jzmj)
......
...@@ -10,40 +10,40 @@ ...@@ -10,40 +10,40 @@
10 <td colspan="2" class="tdright">宗地代码</td> 10 <td colspan="2" class="tdright">宗地代码</td>
11 <td colspan="4" style="min-width:450px"> 11 <td colspan="4" style="min-width:450px">
12 <input v-model="form.zddm" class="formInput" disabled> 12 <input v-model="form.zddm" class="formInput" disabled>
13 <input v-show="false" :disabled="form.qszt!='0'" maxlength="19" class="formInput" v-model="form.zdbsm"> 13 <input v-show="false" :disabled="disabled" maxlength="19" class="formInput" v-model="form.zdbsm">
14 </td> 14 </td>
15 <td colspan="2" class="tdright"><i class="requisite">*</i>自然幢号</td> 15 <td colspan="2" class="tdright"><i class="requisite">*</i>自然幢号</td>
16 <td colspan="4" class="psr"> 16 <td colspan="4" class="psr">
17 <input class="formInput percent80" ref="zrzh" @blur="inputBlur($event)" :disabled="form.qszt!='0'" maxlength="24" v-model="form.zrzh"> 17 <input class="formInput percent80" ref="zrzh" @blur="inputBlur($event)" :disabled="disabled" maxlength="24" v-model="form.zrzh">
18 <el-button @click.prevent="generatorCode" type="warning" :disabled="form.qszt!='0'" class="createBtn" size="mini">生成</el-button> 18 <el-button @click.prevent="generatorCode" type="warning" :disabled="disabled" class="createBtn" size="mini">生成</el-button>
19 </td> 19 </td>
20 </tr> 20 </tr>
21 <tr> 21 <tr>
22 <td colspan="2" class="tdright"><i class="requisite">*</i>项目名称</td> 22 <td colspan="2" class="tdright"><i class="requisite">*</i>项目名称</td>
23 <td colspan="4" > 23 <td colspan="4" >
24 <input class="formInput " ref="xmmc" @blur="inputBlur($event)" :disabled="form.qszt!='0'" v-model="form.xmmc"> 24 <input class="formInput " ref="xmmc" @blur="inputBlur($event)" :disabled="disabled" v-model="form.xmmc">
25 </td> 25 </td>
26 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td> 26 <td colspan="2" class="tdright"><i class="requisite">*</i>不动产单元号</td>
27 <td colspan="4"> 27 <td colspan="4">
28 <input class="formInput " ref="bdcdyh" @blur="inputBlur($event)" :disabled="form.qszt!='0'" maxlength="28" v-model="form.bdcdyh"> 28 <input class="formInput " ref="bdcdyh" @blur="inputBlur($event)" :disabled="disabled" maxlength="28" v-model="form.bdcdyh">
29 </td> 29 </td>
30 </tr> 30 </tr>
31 31
32 <tr> 32 <tr>
33 <td colspan="2" class="tdright">建筑物名称</td> 33 <td colspan="2" class="tdright">建筑物名称</td>
34 <td colspan="4" > 34 <td colspan="4" >
35 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwmc"> 35 <input class="formInput" :disabled="disabled" v-model="form.jzwmc">
36 </td> 36 </td>
37 <td colspan="2" class="tdright">建筑物基本用途</td> 37 <td colspan="2" class="tdright">建筑物基本用途</td>
38 <td colspan="4" > 38 <td colspan="4" >
39 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwjbyt"> 39 <input class="formInput" :disabled="disabled" v-model="form.jzwjbyt">
40 </td> 40 </td>
41 </tr> 41 </tr>
42 42
43 <tr> 43 <tr>
44 <td colspan="2" class="tdright"><i class="requisite">*</i>房屋性质</td> 44 <td colspan="2" class="tdright"><i class="requisite">*</i>房屋性质</td>
45 <td colspan="4" > 45 <td colspan="4" >
46 <el-select class="formSelect" ref="fwxz" :disabled="form.qszt!='0'" v-model="form.fwxzbsm" placeholder="请选择" > 46 <el-select class="formSelect" ref="fwxz" :disabled="disabled" v-model="form.fwxzbsm" placeholder="请选择" >
47 <el-option 47 <el-option
48 v-for="item in $store.state.fwxzOptions" 48 v-for="item in $store.state.fwxzOptions"
49 :key="item.bsm" 49 :key="item.bsm"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 <td colspan="4" > 56 <td colspan="4" >
57 <el-date-picker 57 <el-date-picker
58 style="width:100%" 58 style="width:100%"
59 :disabled="form.qszt!='0'" 59 :disabled="disabled"
60 v-model="form.jgrq" 60 v-model="form.jgrq"
61 type="date" 61 type="date"
62 placeholder="选择日期"> 62 placeholder="选择日期">
...@@ -66,55 +66,55 @@ ...@@ -66,55 +66,55 @@
66 <tr> 66 <tr>
67 <td colspan="2" class="tdright">地下层数</td> 67 <td colspan="2" class="tdright">地下层数</td>
68 <td colspan="4" > 68 <td colspan="4" >
69 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxcs"> 69 <input class="formInput" :disabled="disabled" type="number" v-model="form.dxcs">
70 </td> 70 </td>
71 <td colspan="2" class="tdright">地上层数</td> 71 <td colspan="2" class="tdright">地上层数</td>
72 <td colspan="4" > 72 <td colspan="4" >
73 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dscs"> 73 <input class="formInput" :disabled="disabled" type="number" v-model="form.dscs">
74 </td> 74 </td>
75 </tr> 75 </tr>
76 76
77 <tr> 77 <tr>
78 <td colspan="2" class="tdright">总层数</td> 78 <td colspan="2" class="tdright">总层数</td>
79 <td colspan="4" > 79 <td colspan="4" >
80 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zcs"> 80 <input class="formInput" :disabled="disabled" type="number" v-model="form.zcs">
81 </td> 81 </td>
82 <td colspan="2" class="tdright">总套数</td> 82 <td colspan="2" class="tdright">总套数</td>
83 <td colspan="4" > 83 <td colspan="4" >
84 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zts"> 84 <input class="formInput" :disabled="disabled" type="number" v-model="form.zts">
85 </td> 85 </td>
86 86
87 </tr> 87 </tr>
88 <tr> 88 <tr>
89 <td colspan="2" class="tdright">建筑物高度(m)</td> 89 <td colspan="2" class="tdright">建筑物高度(m)</td>
90 <td colspan="4" > 90 <td colspan="4" >
91 <input class="formInput" type="number" :disabled="form.qszt!='0'" v-model="form.jzwgd"> 91 <input class="formInput" type="number" :disabled="disabled" v-model="form.jzwgd">
92 </td> 92 </td>
93 <td colspan="2" class="tdright">地下深度(m)</td> 93 <td colspan="2" class="tdright">地下深度(m)</td>
94 <td colspan="4" > 94 <td colspan="4" >
95 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.dxsd"> 95 <input class="formInput" :disabled="disabled" type="number" v-model="form.dxsd">
96 </td> 96 </td>
97 </tr> 97 </tr>
98 98
99 <tr> 99 <tr>
100 <td colspan="2" class="tdright">幢用地面积(㎡)</td> 100 <td colspan="2" class="tdright">幢用地面积(㎡)</td>
101 <td colspan="4" > 101 <td colspan="4" >
102 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zydmj"> 102 <input class="formInput" :disabled="disabled" type="number" v-model="form.zydmj">
103 </td> 103 </td>
104 <td colspan="2" class="tdright">幢占用地面积(㎡)</td> 104 <td colspan="2" class="tdright">幢占用地面积(㎡)</td>
105 <td colspan="4" > 105 <td colspan="4" >
106 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.zzdmj"> 106 <input class="formInput" :disabled="disabled" type="number" v-model="form.zzdmj">
107 </td> 107 </td>
108 </tr> 108 </tr>
109 109
110 <tr> 110 <tr>
111 <td colspan="2" class="tdright">预测建筑面积(㎡)</td> 111 <td colspan="2" class="tdright">预测建筑面积(㎡)</td>
112 <td colspan="4" > 112 <td colspan="4" >
113 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.ycjzmj"> 113 <input class="formInput" :disabled="disabled" type="number" v-model="form.ycjzmj">
114 </td> 114 </td>
115 <td colspan="2" class="tdright">实测建筑面积(㎡)</td> 115 <td colspan="2" class="tdright">实测建筑面积(㎡)</td>
116 <td colspan="4" > 116 <td colspan="4" >
117 <input class="formInput" :disabled="form.qszt!='0'" type="number" v-model="form.scjzmj"> 117 <input class="formInput" :disabled="disabled" type="number" v-model="form.scjzmj">
118 </td> 118 </td>
119 </tr> 119 </tr>
120 120
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
123 <tr> 123 <tr>
124 <td colspan="2" class="tdright">产别</td> 124 <td colspan="2" class="tdright">产别</td>
125 <td colspan="4" > 125 <td colspan="4" >
126 <el-select v-model="form.fwcbbsm" :disabled="form.qszt!='0'" placeholder="请选择" > 126 <el-select v-model="form.fwcbbsm" :disabled="disabled" placeholder="请选择" >
127 <el-option 127 <el-option
128 v-for="item in $store.state.cbOptions" 128 v-for="item in $store.state.cbOptions"
129 :key="item.bsm" 129 :key="item.bsm"
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
134 </td> 134 </td>
135 <td colspan="2" class="tdright">产权来源</td> 135 <td colspan="2" class="tdright">产权来源</td>
136 <td colspan="4" > 136 <td colspan="4" >
137 <el-select v-model="form.fwcqlybsm" :disabled="form.qszt!='0'" placeholder="请选择" > 137 <el-select v-model="form.fwcqlybsm" :disabled="disabled" placeholder="请选择" >
138 <el-option 138 <el-option
139 v-for="item in $store.state.cqlyOptions" 139 v-for="item in $store.state.cqlyOptions"
140 :key="item.bsm" 140 :key="item.bsm"
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
163 :default-expand-all="defaultExpandAll" 163 :default-expand-all="defaultExpandAll"
164 :multiple="multiple" 164 :multiple="multiple"
165 :placeholder="placeholder" 165 :placeholder="placeholder"
166 :disabled="form.qszt!='0'" 166 :disabled="disabled"
167 :data="$store.state.fwytList" 167 :data="$store.state.fwytList"
168 :props="treeProps" 168 :props="treeProps"
169 :check-strictly="checkStrictly" 169 :check-strictly="checkStrictly"
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
179 :default-expand-all="defaultExpandAll" 179 :default-expand-all="defaultExpandAll"
180 :multiple="multiple" 180 :multiple="multiple"
181 :placeholder="placeholder" 181 :placeholder="placeholder"
182 :disabled="form.qszt!='0'" 182 :disabled="disabled"
183 :data="$store.state.fwytList" 183 :data="$store.state.fwytList"
184 :props="treeProps" 184 :props="treeProps"
185 :check-strictly="checkStrictly" 185 :check-strictly="checkStrictly"
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
200 200
201 </td> 201 </td>
202 <td colspan="9" > 202 <td colspan="9" >
203 <el-select class="persent78" ref="fwjg" :disabled="form.qszt!='0'" v-model="item1.fwjgzdbsm" placeholder="请选择" > 203 <el-select class="persent78" ref="fwjg" :disabled="disabled" v-model="item1.fwjgzdbsm" placeholder="请选择" >
204 <el-option 204 <el-option
205 v-for="item in $store.state.jgOptions" 205 v-for="item in $store.state.jgOptions"
206 :key="item.bsm" 206 :key="item.bsm"
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
222 <span><i class="requisite">*</i>坐落</span> 222 <span><i class="requisite">*</i>坐落</span>
223 </td> 223 </td>
224 <td colspan="10" > 224 <td colspan="10" >
225 <input class="formInput" ref="zl" @blur="inputBlur($event)" :disabled="form.qszt!='0'" v-model="form.zl"> 225 <input class="formInput" ref="zl" @blur="inputBlur($event)" :disabled="disabled" v-model="form.zl">
226 </td> 226 </td>
227 </tr> 227 </tr>
228 228
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
231 <span>附加说明</span> 231 <span>附加说明</span>
232 </td> 232 </td>
233 <td colspan="10" rowspan="2" > 233 <td colspan="10" rowspan="2" >
234 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.bz" type="textarea"> 234 <input class="formInput" :disabled="disabled" v-model="form.bz" type="textarea">
235 </td> 235 </td>
236 </tr> 236 </tr>
237 <tr> 237 <tr>
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
242 <span>调查意见</span> 242 <span>调查意见</span>
243 </td> 243 </td>
244 <td colspan="10" > 244 <td colspan="10" >
245 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.dcyj"> 245 <input class="formInput" :disabled="disabled" v-model="form.dcyj">
246 </td> 246 </td>
247 </tr> 247 </tr>
248 248
...@@ -251,14 +251,14 @@ ...@@ -251,14 +251,14 @@
251 <span>审查员</span> 251 <span>审查员</span>
252 </td> 252 </td>
253 <td colspan="2" > 253 <td colspan="2" >
254 <input class="formInput" :disabled="form.qszt!='0'" v-model="form.scy"> 254 <input class="formInput" :disabled="disabled" v-model="form.scy">
255 </td> 255 </td>
256 <td colspan="2" class="tdright"> 256 <td colspan="2" class="tdright">
257 <span>审查日期</span> 257 <span>审查日期</span>
258 </td> 258 </td>
259 <td colspan="2" > 259 <td colspan="2" >
260 <el-date-picker 260 <el-date-picker
261 :disabled="form.qszt!='0'" 261 :disabled="disabled"
262 v-model="form.date" 262 v-model="form.date"
263 type="date" 263 type="date"
264 style="width: 100%" 264 style="width: 100%"
...@@ -663,6 +663,11 @@ ...@@ -663,6 +663,11 @@
663 // if(res.result.zddm == null){ 663 // if(res.result.zddm == null){
664 // this.generatorCode() 664 // this.generatorCode()
665 // } 665 // }
666 if(this.form.bblx === 0 && this.form.qszt === 0 && this.form.bhqkbsm == null){
667 this.disabled = false
668 }else {
669 this.disabled = true
670 }
666 this.$store.state.zrzh = res.result.zrzh; 671 this.$store.state.zrzh = res.result.zrzh;
667 if(this.form.fwjgList.length===0){ 672 if(this.form.fwjgList.length===0){
668 this.form.fwjgList.push({ 673 this.form.fwjgList.push({
......