Commit 24afeb5a by lianyang

gitopn缺陷解决

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