Commit c0e30dec by nanrui

cfasel以及EAD优化、码表添加。

parent 9adf4f13
...@@ -7603,6 +7603,23 @@ const CodeTable = { ...@@ -7603,6 +7603,23 @@ const CodeTable = {
{ label: 'limited', value: '' }, { label: 'limited', value: '' },
{ label: 'unlimited', value: 'X' }, { label: 'unlimited', value: 'X' },
{ label: 'both', value: 'B' }, { label: 'both', value: 'B' },
] ],
creditortype:[
{ label: '政府', value: '20001100' },
{ label: '国际金融组织', value: '20001200' },
{ label: '中央银行', value: '20001300' },
{ label: '境外银行', value: '20001401' },
{ label: '中资银行海外分支及附属机构', value: '20001402' },
{ label: '境内银行离岸部', value: '20001403' },
{ label: '境外非银行金融机构', value: '20001501' },
{ label: '中资非银行金融机构海外分支及附属机构', value: '20001502' },
{ label: '境内企业境外母公司', value: '20001601' },
{ label: '境内企业境外分支及附属机构', value: '20001602' },
{ label: '关联企业', value: '20001603' },
{ label: '其他企业', value: '20001699' },
{ label: '个人', value: '20001700' },
{ label: '资本市场', value: '20001800' },
{ label: '其他', value: '20009900' },
],
} }
export default CodeTable; export default CodeTable;
...@@ -5,6 +5,10 @@ export default class Cfasel{ ...@@ -5,6 +5,10 @@ export default class Cfasel{
constructor () { constructor () {
this.data = { this.data = {
eblstm:"", // Selection .eblstm eblstm:"", // Selection .eblstm
eadstm:"", // Selection .eadstm
eafstm:"", // Selection .eafstm
ebastm:"", // Selection .ebastm
ecastm:"", // Selection .ecastm
cfaquep:{ cfaquep:{
cfatyp:"", // 申报类型 .cfaquep.cfatyp cfatyp:"", // 申报类型 .cfaquep.cfatyp
frmdat:"", // From .cfaquep.frmdat frmdat:"", // From .cfaquep.frmdat
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
<c-form-item label="业务编号" prop="cfaquep.ownref" style="width: 100%"> <c-form-item label="业务编号" prop="cfaquep.ownref" style="width: 100%">
<c-input v-model="model.cfaquep.ownref" maxlength="16" placeholder="请输入业务编号"></c-input> <c-input v-model="model.cfaquep.ownref" maxlength="30" placeholder="请输入业务编号"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
...@@ -220,6 +220,168 @@ export default { ...@@ -220,6 +220,168 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
stmDataAll: {
columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ",
"2 2 \"申报号码\" 220 1 0:0 1 ",
"3 3 \"业务参考号\" 150 1 0:0 1 ",
"4 4 \"柜员\" 100 1 0:2 1 ",
"5 5 \"日期\" 150 4 7:2 1 ",
// "6 6 \"申报类型\" 120 1 0:2 1 CFATYP",
{ index: 6, position: 6, width: 120, pattern: 'code', label: '申报类型', code: this.codes.cfatyp1 },
"7 7 \"信息类型\" 120 1 0:2 1 ",
"8 8 \"操作类型\" 100 1 0:2 1 ",
// "9 9 \"状态\" 80 1 20:0 1 TransCFASTA",
{ index: 9, position: 9, width: 100, pattern: 'code', label: '状态', code: this.codes.staflg1 },
],
data: [],
},
stmDataEad: {
columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ",
"2 2 \"申报号码\" 220 1 0:0 1 ",
"3 3 \"业务参考号\" 150 1 0:0 1 ",
"4 4 \"柜员\" 100 1 0:2 1 ",
"5 5 \"日期\" 150 4 7:2 1 ",
// "6 6 \"申报类型\" 120 1 0:2 1 CFATYP",
{ index: 6, position: 6, width: 120, pattern: 'code', label: '申报类型', code: this.codes.cfatyp1 },
"7 7 \"信息类型\" 120 1 0:2 1 ",
"8 8 \"操作类型\" 100 1 0:2 1 ",
// "9 9 \"状态\" 80 1 20:0 1 TransCFASTA",
{ index: 9, position: 9, width: 100, pattern: 'code', label: '状态', code: this.codes.staflg1 },
],
data: [],
},
stmDataEaf: {
columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ",
"2 2 \"申报号码\" 180 1 0:0 1 ",
"3 3 \"业务参考号\" 120 1 0:0 1 ",
"4 4 \"柜员\" 80 1 0:2 1 ",
"5 5 \"日期\" 85 4 7:2 1 ",
"6 6 \"申报类型\" 120 1 0:2 1 CFATYP",
"7 7 \"信息类型\" 100 1 0:2 1 ",
"8 8 \"操作类型\" 100 1 0:2 1 ",
"9 9 \"状态\" 80 1 20:0 1 TransCFASTA",
"13 10 \"操作原因\" 150 1 0:0 1 ",
"14 11 \"债务人代码\" 120 1 0:2 1 ",
"15 12 \"债务类型\" 100 1 0:2 1 DEBTYP",
"16 13 \"起息日\" 100 4 7:2 1 ",
"17 14 \"签约币种\" 100 1 0:2 1 ",
"18 15 \"签约金额\" 100 2 8:1 2 4",
"19 16 \"到期日\" 100 4 7:2 1 ",
"20 17 \"开证申请人代码\" 160 1 0:2 1 ",
"21 18 \"开证申请人名称\" 180 1 0:0 1 ",
"22 19 \"债权人代码\" 120 1 0:0 1 ",
"23 20 \"债权人中文名称\" 180 1 0:0 1 ",
"24 21 \"债权人英文名称\" 180 1 0:0 1 ",
"25 22 \"债权人类型代码\" 140 1 0:2 1 ",
"26 23 \"债权人总部所在国家(地区)代码\" 240 1 0:2 1 ",
"27 24 \"债权人经营地所在国家(地区)代码\" 240 1 0:2 1 ",
"28 25 \"是否经外汇局特批不需占用指标\" 240 1 0:2 1 ",
"29 26 \"银行业务参号\" 130 1 0:0 1 ",
"30 27 \"变动编号\" 100 1 0:2 1 ",
"31 28 \"变动类型\" 100 1 0:2 1 CHGTXT",
"32 29 \"变动日期\" 100 4 7:2 1 ",
"33 30 \"变动币种\" 100 1 0:2 1 ",
"34 31 \"变动金额\" 100 2 8:1 2 4",
"35 32 \"公允价值\" 100 2 8:1 2 4",
"36 33 \"备注\" 180 1 0:0 1 ",
"37 34 \"相关业务类型\" 120 1 0:0 1 ",
"38 35 \"是否附有银行承兑汇票\" 180 1 0:0 1 ",
"39 36 \"对方与本机构的关系\" 180 1 0:2 1 EXDTYP",
],
data: [],
},
stmDataEba: {
columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ",
"2 2 \"申报号码\" 180 1 0:0 1 ",
"3 3 \"业务参考号\" 120 1 0:0 1 ",
"4 4 \"柜员\" 80 1 0:2 1 ",
"5 5 \"日期\" 80 4 7:2 1 ",
"6 6 \"申报类型\" 100 1 0:2 1 CFATYP",
"7 7 \"信息类型\" 100 1 0:2 1 ",
"8 8 \"操作类型\" 100 1 0:2 1 ",
"9 9 \"状态\" 80 1 20:0 1 TransCFASTA",
"13 10 \"操作原因\" 130 1 0:0 1 ",
"14 11 \"担保人代码\" 120 1 0:2 1 ",
"15 12 \"签约日期\" 100 4 7:2 1 ",
"16 13 \"保函金额\" 100 2 8:1 2 4",
"17 14 \"保函币种\" 100 1 0:2 1 ",
"18 15 \"到期日\" 100 4 7:2 1 ",
"19 16 \"担保类型\" 100 1 0:2 1 ",
"20 17 \"主债务币种\" 120 1 0:2 1 ",
"21 18 \"主债务金额\" 120 2 8:1 2 4",
"22 19 \"受益人代码\" 120 1 0:0 1 ",
"23 20 \"受益人中文名称\" 150 1 0:0 1 ",
"24 21 \"受益人英文名称\" 150 1 0:0 1 ",
"25 22 \"受益人类型\" 120 1 0:2 1 ",
"26 23 \"受益人国别/地区\" 140 1 0:2 1 ",
"27 24 \"被担保人代码\" 120 1 0:0 1 ",
"28 25 \"被担保人中文名称\" 150 1 0:0 1 ",
"29 26 \"被担保人英文名称\" 150 1 0:0 1 ",
"30 27 \"被担保人类型\" 120 1 0:2 1 ",
"31 28 \"被担保人国别/地区代码\" 200 1 0:2 1 ",
"32 29 \"担保申请人代码\" 140 1 0:0 1 ",
"33 30 \"担保申请人中文名称\" 170 1 0:0 1 ",
"34 31 \"担保申请人英文名称\" 170 1 0:0 1 ",
"35 32 \"核准文件号\" 120 1 0:0 1 ",
"36 33 \"担保责任余额变动日期\" 200 4 7:2 1 ",
"37 34 \"担保责任余额\" 120 2 8:1 2 4",
"38 35 \"履约编号\" 100 1 0:2 1 ",
"39 36 \"担保人代码\" 120 1 0:2 1 ",
"40 37 \"银行业务参号\" 120 1 0:0 1 ",
"41 38 \"履约日期\" 100 4 7:2 1 ",
"42 39 \"履约币种\" 100 1 0:2 1 ",
"43 40 \"履约金额\" 100 2 8:1 2 4",
"44 41 \"购汇履约金额\" 120 2 8:1 2 4",
"45 42 \"备注\" 150 1 0:0 1 ",
],
data: [],
},
stmDataEca: {
columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ",
"2 2 \"申报号码\" 180 1 0:0 1 ",
"3 3 \"业务参考号\" 120 1 0:0 1 ",
"4 4 \"柜员\" 80 1 0:2 1 ",
"5 5 \"日期\" 85 4 7:2 1 ",
"6 6 \"申报类型\" 120 1 0:2 1 CFATYP",
"7 7 \"信息类型\" 100 1 0:2 1 ",
"8 8 \"操作类型\" 100 1 0:2 1 ",
"9 9 \"状态\" 80 1 20:0 1 TransCFASTA",
"13 10 \"操作原因\" 150 1 0:0 1 ",
"14 11 \"债权人代码\" 110 1 0:2 1 ",
"15 12 \"债务人代码\" 110 1 0:2 1 ",
"16 13 \"债务人中文名称\" 180 1 0:0 1 ",
"17 14 \"国内外汇贷款类型\" 150 1 0:0 1 DOFTYP",
"18 15 \"转贷项目名称\" 180 1 0:0 1 ",
"19 16 \"转贷协议号\" 120 1 0:0 1 ",
"20 17 \"起息日\" 100 4 7:2 1 ",
"21 18 \"到期日\" 100 4 7:2 1 ",
"22 19 \"货款币种\" 100 1 0:2 1 ",
"23 20 \"签约金额\" 100 2 8:1 2 4",
"24 21 \"年化利率值\" 120 2 8:1 2 4",
"25 22 \"银行业务参号\" 120 1 0:0 1 ",
"26 23 \"变动编号\" 100 1 0:2 1 ",
"27 24 \"期初余额\" 100 2 8:1 2 4",
"28 25 \"变动日期\" 100 4 7:2 1 ",
"29 26 \"提款币种\" 100 1 0:2 1 ",
"30 27 \"提款金额\" 100 2 8:1 2 4",
"31 28 \"结汇金额\" 100 2 8:1 2 4",
"32 29 \"资金用途\" 100 1 0:0 1 DOFUSE",
"33 30 \"还本币种\" 100 1 0:2 1 ",
"34 31 \"还本金额\" 100 2 8:1 2 4",
"35 32 \"购汇还本金额\" 120 2 8:1 2 4",
"36 33 \"付息币种\" 100 1 0:2 1 ",
"37 34 \"付息金额\" 100 2 8:1 2 4",
"38 35 \"购汇付息金额\" 120 2 8:1 2 4",
"39 36 \"期末余额\" 100 2 8:1 2 4",
"40 37 \"备注\" 180 1 0:0 1 ",
],
data: [],
},
stmData: { stmData: {
columns: [ columns: [
"0 1 \"业务流水\" 100 1 0:2 1 ", "0 1 \"业务流水\" 100 1 0:2 1 ",
...@@ -238,10 +400,32 @@ export default { ...@@ -238,10 +400,32 @@ export default {
}, },
} }
}, },
watch: {
"model.cfaquep.cfatyp"(newValue, oldValue) {
console.log(newValue);
switch (newValue) {
case "ALL":
this.stmData = this.stmDataAll;
break;
case "EAD":
this.stmData = this.stmDataEad;
break;
case "EAF":
this.stmData = this.stmDataEaf;
break;
case "EBA":
this.stmData = this.stmDataEba;
break;
case "ECA":
this.stmData = this.stmDataEca;
break;
}
}
},
methods: { methods: {
...Event, ...Event,
async handleSearch() { async handleSearch() {
this.stmData.data = []; // this.stmData.data = [];
let frmdat = this.model.cfaquep.frmdat; let frmdat = this.model.cfaquep.frmdat;
if (!frmdat || frmdat == '') { if (!frmdat || frmdat == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' }); this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
...@@ -254,33 +438,81 @@ export default { ...@@ -254,33 +438,81 @@ export default {
} }
let rtnmsg = await this.executeRule("serbut") let rtnmsg = await this.executeRule("serbut")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 switch (this.model.cfaquep.cfatyp) {
Utils.copyValueFromVO(this.model, rtnmsg.data); case "ALL":
this.stmData.data = rtnmsg.data.eblstm.rows; this.stmData.data = rtnmsg.data.eblstm.rows;
console.log(this.stmData.data); break;
case "EAD":
this.stmData.data = rtnmsg.data.eadstm.rows;
break;
case "EAF":
this.stmData.data = rtnmsg.data.eafstm.rows;
break;
case "EBA":
this.stmData.data = rtnmsg.data.ebastm.rows;
break;
case "ECA":
this.stmData.data = rtnmsg.data.ecastm.rows;
break;
}
console.log(stmData.data);
if (this.stmData.data == 0) {
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
} else {
this.$notify({
title: '成功',
message: '查询成功',
type: 'success'
});
}
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); let errorMsg = "";
if (res.fieldErrors) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in res.fieldErrors) {
errorMsgkey = key;
errorMsgVal = res.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
} else if (res.respMsg) {
errorMsg = res.respMsg;
}
this.$notify.error({ title: '错误', message: '查询失败!错误信息[' + errorMsg + ']' });
} }
}, },
toEadadd() { toEadadd() {
this.$router.history.push({ name: "Eadadd", params: { prePageId: this.model.pageId }}); this.$router.history.push({ name: "Eadadd", params: { prePageId: this.model.pageId } });
}, },
toEafadd() { toEafadd() {
this.$router.history.push({ name: "Eafadd", params: { prePageId: this.model.pageId }}); this.$router.history.push({ name: "Eafadd", params: { prePageId: this.model.pageId } });
}, },
toEbaadd() { toEbaadd() {
this.$router.history.push({ name: "Ebaadd", params: { prePageId: this.model.pageId }}); this.$router.history.push({ name: "Ebaadd", params: { prePageId: this.model.pageId } });
}, },
toEcaadd() { toEcaadd() {
this.$router.history.push({ name: "Ecaadd", params: { prePageId: this.model.pageId }}); this.$router.history.push({ name: "Ecaadd", params: { prePageId: this.model.pageId } });
}, },
async getInfo(idx, row) { async getInfo(idx, row) {
console.log(row); console.log(row);
let business = row.申报类型.toLowerCase() + "inf"; let business = row.申报类型.toLowerCase() + "inf";
const selIds = [idx + 1]; const selIds = [idx + 1];
let selDst;
console.log(selIds); console.log(selIds);
const selDst = "eblstm" //列表对应后台模型中的stream if (this.model.cfaquep.cfatyp == "ALL") {
selDst = "eblstm" //列表对应后台模型中的stream
} else {
selDst = this.model.cfaquep.cfatyp.toLowerCase() + "stm" //列表对应后台模型中的stream
}
let params = { selDst, selIds }; let params = { selDst, selIds };
console.log(params); console.log(params);
this.executeRule("dtlbut", params).then((res) => { this.executeRule("dtlbut", params).then((res) => {
...@@ -298,9 +530,13 @@ export default { ...@@ -298,9 +530,13 @@ export default {
}, },
async getAmend(idx, row) { async getAmend(idx, row) {
let business = row.申报类型.toLowerCase() + "ame"; let business = row.申报类型.toLowerCase() + "ame";
let viewurl = "/business/" + business;
const selIds = [idx + 1]; const selIds = [idx + 1];
const selDst = "eblstm" //列表对应后台模型中的stream let selDst;
if (this.model.cfaquep.cfatyp == "ALL") {
selDst = "eblstm" //列表对应后台模型中的stream
} else {
selDst = this.model.cfaquep.cfatyp.toLowerCase() + "stm" //列表对应后台模型中的stream
}
let params = { selDst, selIds }; let params = { selDst, selIds };
this.executeRule("amebut", params).then((res) => { this.executeRule("amebut", params).then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
...@@ -316,9 +552,13 @@ export default { ...@@ -316,9 +552,13 @@ export default {
}, },
async getDelete(idx, row) { async getDelete(idx, row) {
let business = row.申报类型.toLowerCase() + "del"; let business = row.申报类型.toLowerCase() + "del";
let viewurl = "/business/" + business;
const selIds = [idx + 1]; const selIds = [idx + 1];
const selDst = "eblstm" //列表对应后台模型中的stream let selDst;
if (this.model.cfaquep.cfatyp == "ALL") {
selDst = "eblstm" //列表对应后台模型中的stream
} else {
selDst = this.model.cfaquep.cfatyp.toLowerCase() + "stm" //列表对应后台模型中的stream
}
let params = { selDst, selIds }; let params = { selDst, selIds };
this.executeRule("delbut", params).then((res) => { this.executeRule("delbut", params).then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
...@@ -336,7 +576,7 @@ export default { ...@@ -336,7 +576,7 @@ export default {
// created: function () { // created: function () {
// console.log(this.model.pageId); // console.log(this.model.pageId);
// }, // },
mounted () { mounted() {
console.log(this.model.pageId); console.log(this.model.pageId);
} }
} }
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate"> <el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%" <c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000020')" disabled></c-date-picker> :placeholder="$t('other.please_enter') + $t('pubp.S0000020')" :disabled="model.cfabut.basflg !== 'X'"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000021 : 签约金额 --> <!-- S0000021 : 签约金额 -->
...@@ -44,14 +44,14 @@ ...@@ -44,14 +44,14 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="签约金额" prop="recgrp.bas.contractcurr"> <el-form-item label="签约金额" prop="recgrp.bas.contractcurr">
<c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" placeholder="请选择币种" <c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" placeholder="请选择币种"
:code="codes.curtxt1" disabled> :code="codes.curtxt1" :disabled="model.cfabut.basflg !== 'X'">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount"> <c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount">
<c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额" disabled></c-input> <c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -59,49 +59,49 @@ ...@@ -59,49 +59,49 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item label="年化利率值" prop="recgrp.bas.anninrate"> <c-form-item label="年化利率值" prop="recgrp.bas.anninrate">
<c-input v-model="model.recgrp.bas.anninrate" <c-input v-model="model.recgrp.bas.anninrate"
:placeholder="$t('other.please_enter') + $t('eadp.S0000012')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000012')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000002 : 债权人代码 --> <!-- S0000002 : 债权人代码 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode"> <c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode">
<c-input v-model="model.recgrp.bas.creditorcode" maxlength="11" <c-input v-model="model.recgrp.bas.creditorcode" maxlength="11"
:placeholder="$t('other.please_enter') + $t('pubp.S0000002')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000002')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000004 : 债权人中文名称 --> <!-- S0000004 : 债权人中文名称 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname"> <c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname">
<c-input v-model="model.recgrp.bas.creditorname" maxlength="128" <c-input v-model="model.recgrp.bas.creditorname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000004')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000004')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000005 : 债权人英文名称 --> <!-- S0000005 : 债权人英文名称 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen"> <c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen">
<c-input v-model="model.recgrp.bas.creditornamen" maxlength="128" <c-input v-model="model.recgrp.bas.creditornamen" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000005')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000005')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000019 : 申请人代码 --> <!-- S0000019 : 申请人代码 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000019')" prop="recgrp.bas.appcode"> <c-form-item :label="$t('eadp.S0000019')" prop="recgrp.bas.appcode">
<c-input v-model="model.recgrp.bas.appcode" maxlength="18" <c-input v-model="model.recgrp.bas.appcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('eadp.S0000019')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000019')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000026 : 申请人名称 --> <!-- S0000026 : 申请人名称 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000026')" prop="recgrp.bas.appname"> <c-form-item :label="$t('eadp.S0000026')" prop="recgrp.bas.appname">
<c-input v-model="model.recgrp.bas.appname" maxlength="128" <c-input v-model="model.recgrp.bas.appname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('eadp.S0000026')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000026')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000023 : 备注 --> <!-- S0000023 : 备注 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark"> <c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark">
<c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit <c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -124,14 +124,14 @@ ...@@ -124,14 +124,14 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity"> <el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%" <c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000023')" disabled></c-date-picker> :placeholder="$t('other.please_enter') + $t('pubp.S0000023')" :disabled="model.cfabut.basflg !== 'X'"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 --> <!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex"> <el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex">
<c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%" <c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%"
placeholder="请选择是否不纳入跨境融资风险加权余额计算" disabled :code="codes.spapfeboindex"> placeholder="请选择是否不纳入跨境融资风险加权余额计算" :disabled="model.cfabut.basflg !== 'X'" :code="codes.spapfeboindex">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('eadp.S0000011')" prop="recgrp.bas.floatrate"> <el-form-item :label="$t('eadp.S0000011')" prop="recgrp.bas.floatrate">
<c-select v-model="model.recgrp.bas.floatrate" style="width:100%" <c-select v-model="model.recgrp.bas.floatrate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000011')" :code="codes.floatrate" disabled> :placeholder="$t('other.please_enter') + $t('eadp.S0000011')" :code="codes.floatrate" :disabled="model.cfabut.basflg !== 'X'">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype"> <el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype">
<c-select v-model="model.recgrp.bas.creditortype" style="width:100%" <c-select v-model="model.recgrp.bas.creditortype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000003')" disabled :placeholder="$t('other.please_enter') + $t('pubp.S0000003')" :disabled="model.cfabut.basflg !== 'X'"
:code="codes.creditortype"> :code="codes.creditortype">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -157,9 +157,9 @@ ...@@ -157,9 +157,9 @@
<c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode"> <c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode">
<c-fullbox> <c-fullbox>
<c-input v-model="model.recgrp.bas.crehqcode" maxlength="3" <c-input v-model="model.recgrp.bas.crehqcode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'" disabled></c-input> :placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'" :disabled="model.cfabut.basflg !== 'X'"></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" disabled <c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" :disabled="model.cfabut.basflg !== 'X'"
icon="el-icon-search" @click="onCouselCrehqselbut"> icon="el-icon-search" @click="onCouselCrehqselbut">
</c-button> </c-button>
</template> </template>
...@@ -171,10 +171,10 @@ ...@@ -171,10 +171,10 @@
<c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode"> <c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode">
<c-fullbox> <c-fullbox>
<c-input v-model="model.recgrp.bas.opercode" maxlength="3" <c-input v-model="model.recgrp.bas.opercode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'" disabled></c-input> :placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'" :disabled="model.cfabut.basflg !== 'X'"></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" <c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselOperselbut" disabled> icon="el-icon-search" @click="onCouselOperselbut" :disabled="model.cfabut.basflg !== 'X'">
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
...@@ -184,48 +184,18 @@ ...@@ -184,48 +184,18 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000021')" prop="recgrp.bas.inltcabuscode"> <c-form-item :label="$t('eadp.S0000021')" prop="recgrp.bas.inltcabuscode">
<c-input v-model="model.recgrp.bas.inltcabuscode" maxlength="32" <c-input v-model="model.recgrp.bas.inltcabuscode" maxlength="32"
:placeholder="$t('other.please_enter') + $t('eadp.S0000021')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000021')" :disabled="model.cfabut.basflg !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000027 : 对方与本机构的关系 --> <!-- S0000027 : 对方与本机构的关系 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation"> <el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation">
<c-select v-model="model.recgrp.bas.relation" style="width:100%" <c-select v-model="model.recgrp.bas.relation" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000027')" disabled :code="codes.relation"> :placeholder="$t('other.please_enter') + $t('eadp.S0000027')" :disabled="model.cfabut.basflg !== 'X'" :code="codes.relation">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutSav">
{{ $t('cutp.C0000006') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutChk">
{{ $t('cutp.C0000007') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr">
{{ $t('cutp.C0000009') }}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.recp.pubp.creditcodwarn" data-path=".recp.pubp.creditcodwarn"> </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutExt">
{{ $t('cutp.C0000008') }}
</c-button>
</c-col> -->
<!-- S0000028 : 家(地区)代码 -->
<!-- S0000029 : 国家(地区)代码 -->
</div> </div>
</template> </template>
<script> <script>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item prop="cfabut.basflg"> <el-form-item>
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox> <c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc"> <c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7" <c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled> show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" :disabled="model.cfabut.basflg !== 'X'">
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
...@@ -14,6 +14,19 @@ ...@@ -14,6 +14,19 @@
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox> <c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item>
<c-checkbox v-model="model.cfabut.addnew" class="checkbox-left" disabled>新增接口数据</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model.number="model.cfabut.newdcl" placeholder="请输入DCL数目">
</c-input>
</c-form-item>
</c-col>
</c-col>
</c-col> </c-col>
<!-- ======================= 右边 ========================= --> <!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
......
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
</el-tab-pane> --> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"></c-function-btn> <c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
:handleCheck="handleCheck.bind(this, 'cfabut.chk')" :handleStash="handleStash"></c-function-btn>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -45,12 +45,12 @@ ...@@ -45,12 +45,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24" style="margin-top: 10px"> <!-- <c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" style="margin-left: 80px" type="primary" @click="toEadame">修改 <c-button class="medium_bcs" size="medium" style="margin-left: 80px" type="primary" @click="toEadame">修改
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" type="primary" @click="toEaddel">删除 <c-button class="medium_bcs" size="medium" type="primary" @click="toEaddel">删除
</c-button> </c-button>
</c-col> </c-col> -->
<!-- <div> <!-- <div>
......
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