f29d2d81 by tianhaohao@pashanhoo.com

修改抵押权相关逻辑

1 parent 1b2b5c68
......@@ -50,9 +50,6 @@ export function Init (data) {
*/
export function saveData (data, djlx) {
let apiUrl = "/rest/ywbl/dyaq/saveData";
if (djlx == "400") {
apiUrl = "/rest/ywbl/dyaq/saveLogoutData";
}
return request({
url: SERVER.SERVERAPI + apiUrl,
method: 'post',
......
......@@ -110,6 +110,12 @@
</div>
<el-row :gutter="10">
<el-col :span="8" v-if="ruleForm.sldy.djlx != '100'">
<el-form-item label="原不动产登记证明号:">
<el-input v-if="ruleForm.sldy.djlx == '400'" disabled v-model="ruleForm.qlxx.bdcqzh"></el-input>
<el-input v-else disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="抵押方式:">
<el-radio-group disabled v-model="ruleForm.diyaq.dyfs">
......@@ -118,7 +124,7 @@
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="16">
<el-col :span="8">
<el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
<el-radio-group v-model="ruleForm.diyaq.sfczjzhxz">
<el-radio label="1">启用</el-radio>
......@@ -164,7 +170,7 @@
<el-col :span="24">
<el-form-item label="担保范围:">
<el-input v-model="ruleForm.diyaq.dbfw"
:disabled="$route.query.viewtype == 1 || ruleForm.slsq.djlx == '300'"></el-input>
:disabled="$route.query.viewtype == 1 || ruleForm.sldy.djlx == '300'"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -230,7 +236,7 @@
</div>
<el-row :gutter="10">
<el-col>
<el-form-item v-if="ruleForm.slsq.djlx == '400'" label="注销抵押原因:" prop="djyy">
<el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy">
<el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
v-model="ruleForm.diyaq.zxdyyy">
</el-input>
......
......@@ -60,6 +60,9 @@ export function queueDjywmc(djywbm, djqxbm) {
case "A37200"://抵押权转移
case "A37300"://抵押权变更
case "A37400"://抵押权注销
case "B37200"://抵押权转移
case "B37300"://抵押权变更
case "B37400"://抵押权注销
vm = "diyaq";
break;
case "B39300"://续封
......