Commit 24afeb5a by lianyang

gitopn缺陷解决

parent 17975315
......@@ -9,15 +9,9 @@
v-model="model.cfagit.cfaflg"
style="width: 100%"
placeholder="请选择数据采集标志"
@change="dclpChange"
:code="codes.cfaflg1"
@change="cfaflgChange"
>
<el-option
v-for="item in codes.cfaflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -88,18 +82,23 @@ export default {
watch: {},
methods: {
...Event,
async dclpChange() {
this.executeDefault("cfagit.dclnum").then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
}
});
this.executeDefault("cfagit.recp.dclp").then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
async cfaflgChange() {
let rtnmsg = await this.executeRule("cfagit.cfaflg");
if (rtnmsg.respCode == SUCCESS) {
// TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
// 数据采集方式选择新增,会出现新的标签页,签约信息1,
// 而切换到签约信息1标签页会触发tabClick事件,UI合并后,需手动加此切换标签页方法
if(this.model.cfagit.cfaflg=="1"){
this.$nextTick(() => {
this.executeRule("cfagit.recp.conp").then((res) => {
if (res.respCode == SUCCESS)
//TODO 处理数据逻辑
this.updateModel(res.data);
});
});
}
});
}
},
},
created: function () {},
......
......@@ -178,7 +178,7 @@ export default {
// if(name === "detp"){
// rulePath = "gitp.detp"
// }
if (rulePath) {//rulePath不为空串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
......
......@@ -47,7 +47,7 @@
v-model="model.gitp.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
:disabled="model.gitp.swiftflg == ''"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -150,7 +150,6 @@
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
......@@ -253,28 +252,25 @@
v-model="model.gidgrp.blk.apprul"
style="width: 100%"
placeholder="请选择申请条款"
:code="getValues('gidgrp.blk.apprul','apprulc')"
>
<el-option
<!-- <el-option
v-for="item in codes.apprulc1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
<c-input
:disabled="
model.gidgrp.blk.apprul == 'URDG' ||
model.gidgrp.blk.apprul == 'NONE' ||
model.gidgrp.blk.apprul == 'UCPR'
"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入申请条款"
:disabled="model.gidgrp.blk.apprul!='OTHR'"
></c-input>
</el-form-item>
</c-col>
......@@ -709,7 +705,7 @@
v-model="model.gidgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
:disabled="model.gitp.swiftflg == ''"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -1356,7 +1352,7 @@
size="small"
type="primary"
style="margin: 5px 0 0 10px;float: left;
text-align: center;"
text-align: center;"
@click="onGitpButdifliatxtc"
>
查看系统文本
......@@ -1367,7 +1363,7 @@
size="small"
type="primary"
style="margin: 5px 0 0 10px;float: left;
text-align: center;"
text-align: center;"
@click="onGitpButdifhisliatxtc"
>
查看历史文本
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment