569c54cf by renchao@pashanhoo.com

style:业务申请抵押权模块功能的完善

1 parent 7cad9acd
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
44 </el-row> 44 </el-row>
45 <div class="slxx_title title-block"> 45 <div class="slxx_title title-block" v-if="ruleForm.hlist && ruleForm.hlist.length>0">
46 抵押户信息列表信息({{ruleForm.hlist.length}} 户) 46 抵押户信息列表信息({{ruleForm.hlist.length}} 户)
47 <div class="triangle"></div> 47 <div class="triangle"></div>
48 </div> 48 </div>
...@@ -51,10 +51,9 @@ ...@@ -51,10 +51,9 @@
51 抵押信息 51 抵押信息
52 <div class="triangle"></div> 52 <div class="triangle"></div>
53 </div> 53 </div>
54 <el-row :gutter="10"> 54 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
55 <el-col :span="8"> 55 <el-col :span="8">
56 <el-form-item label="抵押方式:"> 56 <el-form-item label="抵押方式:">
57 <!-- <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> -->
58 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs"> 57 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs">
59 <el-radio label="1">一般抵押</el-radio> 58 <el-radio label="1">一般抵押</el-radio>
60 <el-radio label="2">最高额抵押</el-radio> 59 <el-radio label="2">最高额抵押</el-radio>
...@@ -79,7 +78,7 @@ ...@@ -79,7 +78,7 @@
79 </el-col> 78 </el-col>
80 </el-row> 79 </el-row>
81 80
82 <el-row :gutter="10"> 81 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
83 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> 82 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
84 <el-form-item label="被担保主债权数额:"> 83 <el-form-item label="被担保主债权数额:">
85 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input> 84 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input>
...@@ -114,7 +113,7 @@ ...@@ -114,7 +113,7 @@
114 </el-col> 113 </el-col>
115 </el-row> 114 </el-row>
116 115
117 <el-row> 116 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
118 <el-col :span="24"> 117 <el-col :span="24">
119 <el-form-item label="担保范围:"> 118 <el-form-item label="担保范围:">
120 <el-input v-model="ruleForm.diyaqList[0].dbfw" 119 <el-input v-model="ruleForm.diyaqList[0].dbfw"
...@@ -122,14 +121,14 @@ ...@@ -122,14 +121,14 @@
122 </el-form-item> 121 </el-form-item>
123 </el-col> 122 </el-col>
124 </el-row> 123 </el-row>
125 <el-row> 124 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
126 <el-col :span="24"> 125 <el-col :span="24">
127 <el-form-item label="最高债权确定事实和数额:"> 126 <el-form-item label="最高债权确定事实和数额:">
128 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input> 127 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input>
129 </el-form-item> 128 </el-form-item>
130 </el-col> 129 </el-col>
131 </el-row> 130 </el-row>
132 <el-row> 131 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
133 <el-col> 132 <el-col>
134 <el-form-item label="附记:" prop="fj"> 133 <el-form-item label="附记:" prop="fj">
135 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input> 134 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input>
...@@ -141,7 +140,7 @@ ...@@ -141,7 +140,7 @@
141 抵押权人信息 140 抵押权人信息
142 <div class="triangle"></div> 141 <div class="triangle"></div>
143 </div> 142 </div>
144 <el-row :gutter="10"> 143 <el-row :gutter="10" v-if="ruleForm.sldyList && ruleForm.sldyList.length>0">
145 <el-col :span="14"> 144 <el-col :span="14">
146 <el-form-item label="共有方式:"> 145 <el-form-item label="共有方式:">
147 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs"> 146 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs">
...@@ -170,7 +169,8 @@ ...@@ -170,7 +169,8 @@
170 </el-form-item> 169 </el-form-item>
171 </el-col> 170 </el-col>
172 </el-row> 171 </el-row>
173 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" /> 172 <qlrCommonTable v-if="ruleForm.sldyList && ruleForm.sldyList.length>0" :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
173 :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" />
174 <div class="slxx_title title-block"> 174 <div class="slxx_title title-block">
175 抵押人信息 175 抵押人信息
176 <div class="triangle"></div> 176 <div class="triangle"></div>
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
181 登记原因 181 登记原因
182 <div class="triangle"></div> 182 <div class="triangle"></div>
183 </div> 183 </div>
184 <el-row :gutter="10"> 184 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
185 <el-col> 185 <el-col>
186 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> 186 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy">
187 <el-input class="textArea" type="textarea" :disabled="!ableOperation" 187 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
210 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; 210 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js";
211 import { mapGetters } from "vuex"; 211 import { mapGetters } from "vuex";
212 export default { 212 export default {
213 created () { 213 mounted () {
214 this.ableOperation = this.$parent.currentSelectTab.ableOperation 214 this.ableOperation = this.$parent.currentSelectTab.ableOperation
215 this.propsParam = this.$attrs; 215 this.propsParam = this.$attrs;
216 var formdata = new FormData(); 216 var formdata = new FormData();
...@@ -220,9 +220,13 @@ ...@@ -220,9 +220,13 @@
220 formdata.append("djlx", this.propsParam.djlx); 220 formdata.append("djlx", this.propsParam.djlx);
221 formdata.append("isEdit", this.ableOperation); 221 formdata.append("isEdit", this.ableOperation);
222 bacthInit(formdata).then((res) => { 222 bacthInit(formdata).then((res) => {
223 this.$endLoading();
223 if (res.code === 200 && res.result) { 224 if (res.code === 200 && res.result) {
225 this.$nextTick(() => {
224 this.ruleForm = res.result; 226 this.ruleForm = res.result;
225 this.$endLoading(); 227 })
228 } else {
229 this.$message.error(res.message);
226 } 230 }
227 }) 231 })
228 }, 232 },
......