Commit d5bb675c by jianglong

fttfcm界面增加校验和默认赋值

parent d67357d0
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
return { return {
rec: { rec: {
objtyp: "FTD", objtyp: "FTD",
objtyp: "", objinr: "",
ownref: model.ftdgrp.rec.ownref, ownref: model.ftdgrp.rec.ownref,
msgtyp: model.fttp.msgtyp, msgtyp: model.fttp.msgtyp,
fttyp: model.ftdgrp.rec.fttyp, fttyp: model.ftdgrp.rec.fttyp,
......
import commonFunctions from "~/mixin/commonFunctions.js"; import commonFunctions from "~/mixin/commonFunctions.js";
import Api from "~/service/Api"; import Api from "~/service/Api";
import Pts from "~/page/Model/Common/Pts"
export default { export default {
mixins: [commonFunctions], mixins: [commonFunctions],
methods: { methods: {
...@@ -8,7 +10,7 @@ export default { ...@@ -8,7 +10,7 @@ export default {
if (this.model.ftdgrp.rec.fttyp == "") { if (this.model.ftdgrp.rec.fttyp == "") {
this.$notify.warning({ this.$notify.warning({
title: '提示', title: '提示',
message: '请先选择平盘类型!' message: '请先选择定存拆借类型!'
}); });
return; return;
} }
...@@ -22,6 +24,24 @@ export default { ...@@ -22,6 +24,24 @@ export default {
this.model.ftdgrp.rec.ownref = res.data; this.model.ftdgrp.rec.ownref = res.data;
}, },
async onFttypChange() {
if (this.model.ftdgrp.rec.fttyp =='LI'||
this.model.ftdgrp.rec.fttyp =='DI'){
this.model.ftdgrp.tri.pts=new Pts().data;
}else if(this.model.ftdgrp.rec.fttyp =='LO'||
this.model.ftdgrp.rec.fttyp =='DO'){
this.model.fttp.troact='';
this.model.ftdgrp.tro.pts=new Pts().data;
}else{
this.model.fttp.troact='';
this.model.fttp.triact='';
this.model.ftdgrp.tro.pts=new Pts().data;
this.model.ftdgrp.tri.pts=new Pts().data;
this.model.ftdgrp.act.pts=new Pts().data;
}
},
async onMaxcurChange() { async onMaxcurChange() {
......
export default { export default {
"ftt320l1blk":[ data() {
{type: "string", required: true, message: "必输项"}, return {
{max: 200,message:"长度不能超过200"} rules: {
], "ftdgrp.rec.ownref": [
{
"fttp.mt32m.a53act":[ type: "string",
{type: "string", required: false, message: "必输项"}, required: true,
{max: 34,message:"长度不能超过34"} message: "必输项",
], },
"fttp.mt32m.b53act":[ {
{type: "string", required: false, message: "必输项"}, max: 16,
{max: 34,message:"长度不能超过34"} message: "长度不能超过16",
], },
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[ ],
{type: "string", required: false, message: "必输项"}, "ftdgrp.rec.nam": [
{max: 16,message:"长度不能超过16"} {
], type: "string",
"fttp.mt32m.a53.pts.extkey":[ required: false,
{type: "string", required: false, message: "必输项"}, message: "必输项",
{max: 16,message:"长度不能超过16"} },
], {
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[ max: 40,
{type: "string", required: false, message: "必输项"}, message: "长度不能超过40",
{max: 3,message:"长度不能超过3"} },
], ],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[ "ftdgrp.rec.usr": [
{type: "string", required: false, message: "必输项"}, {
{max: 16,message:"长度不能超过16"} type: "string",
], required: true,
"fttp.mt32m.b53.pts.extkey":[ message: "必输项",
{type: "string", required: false, message: "必输项"}, },
{max: 16,message:"长度不能超过16"} {
], max: 8,
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[ message: "长度不能超过8",
{type: "string", required: false, message: "必输项"}, },
{max: 3,message:"长度不能超过3"} ],
],
"ftdgrp.rec.ownusr": [
{
"fttp.mt32m.a53.pts.nam":[ type: "string",
{type: "string", required: false, message: "必输项"}, required: true,
{max: 40,message:"长度不能超过40"} message: "必输项",
], },
"fttp.mt32m.b53.pts.nam":[ {
{type: "string", required: false, message: "必输项"}, max: 8,
{max: 40,message:"长度不能超过40"} message: "长度不能超过8",
], },
"fttp.mt32m.iniact":[ ],
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"} "ftdgrp.rec.fttyp": [
], {
type: "string",
"fttp.mt32m.b56act":[ required: true,
{type: "string", required: false, message: "必输项"}, message: "必输项",
{max: 34,message:"长度不能超过34"} },
], ],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, "ftdgrp.cbs.max.cur": [
{max: 16,message:"长度不能超过16"} {
], type: "string",
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[ required: true,
{type: "string", required: false, message: "必输项"}, message: "必输项",
{max: 16,message:"长度不能超过16"} },
], ],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"}, "ftdgrp.cbs.max.amt": [
{max: 16,message:"长度不能超过16"} {
], type: "string",
"fttp.mt32m.inip.ptsget.sdamod.seainf":[ required: true,
{type: "string", required: false, message: "必输项"}, message: "必输项",
{max: 3,message:"长度不能超过3"} },
], ],
"fttp.mt32m.b56.pts.extkey":[ "ftdgrp.rec.opndat": [
{type: "string", required: false, message: "必输项"}, {
{max: 16,message:"长度不能超过16"} type: "string",
], required: true,
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[ message: "必输项",
{type: "string", required: false, message: "必输项"}, },
{max: 3,message:"长度不能超过3"} ],
], "ftdgrp.rec.valdat": [
{
"fttp.mt32m.conref":[ type: "string",
{type: "string", required: false, message: "必输项"}, required: true,
{max: 16,message:"长度不能超过16"} message: "必输项",
], },
"fttp.mt32m.ini.pts.nam":[ ],
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} "ftdgrp.rec.matdat": [
], {
"fttp.mt32m.b56.pts.nam":[ type: "string",
{type: "string", required: false, message: "必输项"}, required: true,
{max: 40,message:"长度不能超过40"} message: "必输项",
], },
"fttp.mt32m.rbcact":[ // {
{type: "string", required: false, message: "必输项"}, // validator (rule, value, callback) {
{max: 34,message:"长度不能超过34"} // if (moment(value).diff(moment(this.model.ftdgrp.rec.valdat), 'days') > 0) {
], // return callback(new Error('起息日不能大于到期日'));
"fttp.mt32m.owcact":[ // }
{type: "string", required: false, message: "必输项"}, // callback();
{max: 34,message:"长度不能超过34"} // },
], // }
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"}, ],
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, "ftdgrp.rec.rat": [
{max: 16,message:"长度不能超过16"} { required: true,message: "必输项", },
], ],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"}, "ftdgrp.rec.cntfra": [
{max: 16,message:"长度不能超过16"} { type: "string",required: true,message: "必输项", },
], ],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} "ftdgrp.cbs.ins.amt": [
], { type: "string", required: true, message: "必输项", },
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, "ftdgrp.rec.bnktyp": [
{max: 16,message:"长度不能超过16"} { type: "string", required: true, message: "必输项", },
], ],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // ftt320l1blk: [
], // { type: "string", required: true, message: "必输项" },
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[ // { max: 200, message: "长度不能超过200" },
{type: "string", required: false, message: "必输项"}, // ],
{max: 3,message:"长度不能超过3"}
], // "fttp.mt32m.a53act": [
// { type: "string", required: false, message: "必输项" },
"fttp.mt32m.rbc.pts.adrblk":[ // { max: 34, message: "长度不能超过34" },
{type: "string", required: true, message: "必输项"}, // ],
{max: 35,message:"长度不能超过35"} // "fttp.mt32m.b53act": [
], // { type: "string", required: false, message: "必输项" },
"fttp.mt32m.rbc.dbfadrblkcn":[ // { max: 34, message: "长度不能超过34" },
{type: "string", required: true, message: "必输项"}, // ],
{max: 35,message:"长度不能超过35"} // "fttp.mt32m.a53p.ptsget.sdamod.dadsnd": [
], // { type: "string", required: false, message: "必输项" },
"fttp.mt32m.owc.pts.adrblk":[ // { max: 16, message: "长度不能超过16" },
{type: "string", required: true, message: "必输项"}, // ],
{max: 35,message:"长度不能超过35"} // "fttp.mt32m.a53.pts.extkey": [
], // { type: "string", required: false, message: "必输项" },
"fttp.mt32m.owc.dbfadrblkcn":[ // { max: 16, message: "长度不能超过16" },
{type: "string", required: true, message: "必输项"}, // ],
{max: 35,message:"长度不能超过35"} // "fttp.mt32m.a53p.ptsget.sdamod.seainf": [
], // { type: "string", required: false, message: "必输项" },
// { max: 3, message: "长度不能超过3" },
"fttp.mt32m.s30x":[ // ],
{type: "date", required: false, message: "输入正确的日期"}
], // "fttp.mt32m.b53p.ptsget.sdamod.dadsnd": [
"fttp.mt32m.a58act":[ // { type: "string", required: false, message: "必输项" },
{type: "string", required: false, message: "必输项"}, // { max: 16, message: "长度不能超过16" },
{max: 34,message:"长度不能超过34"} // ],
], // "fttp.mt32m.b53.pts.extkey": [
"fttp.mt32m.b58act":[ // { type: "string", required: false, message: "必输项" },
{type: "string", required: false, message: "必输项"}, // { max: 16, message: "长度不能超过16" },
{max: 34,message:"长度不能超过34"} // ],
], // "fttp.mt32m.b53p.ptsget.sdamod.seainf": [
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[ // { type: "string", required: false, message: "必输项" },
{type: "string", required: false, message: "必输项"}, // { max: 3, message: "长度不能超过3" },
{max: 16,message:"长度不能超过16"} // ],
],
"fttp.mt32m.a58.pts.extkey":[ // "fttp.mt32m.a53.pts.nam": [
{type: "string", required: false, message: "必输项"}, // { type: "string", required: false, message: "必输项" },
{max: 16,message:"长度不能超过16"} // { max: 40, message: "长度不能超过40" },
], // ],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[ // "fttp.mt32m.b53.pts.nam": [
{type: "string", required: false, message: "必输项"}, // { type: "string", required: false, message: "必输项" },
{max: 3,message:"长度不能超过3"} // { max: 40, message: "长度不能超过40" },
], // ],
// "fttp.mt32m.iniact": [
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[ // { type: "string", required: false, message: "必输项" },
{type: "string", required: false, message: "必输项"}, // { max: 34, message: "长度不能超过34" },
{max: 16,message:"长度不能超过16"} // ],
],
"fttp.mt32m.str300":[ // "fttp.mt32m.b56act": [
{type: "string", required: true, message: "必输项"}, // { type: "string", required: false, message: "必输项" },
{max: 35,message:"长度不能超过35"} // { max: 34, message: "长度不能超过34" },
], // ],
"fttp.mt32m.b58.pts.extkey":[ // "fttp.mt32m.inip.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"}, // { type: "string", required: false, message: "必输项" },
{max: 16,message:"长度不能超过16"} // { max: 16, message: "长度不能超过16" },
], // ],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[ // "fttp.mt32m.b56p.ptsget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"}, // { type: "string", required: false, message: "必输项" },
{max: 3,message:"长度不能超过3"} // { max: 16, message: "长度不能超过16" },
], // ],
// "fttp.mt32m.ini.pts.extkey": [
"fttp.mt32m.a58.pts.adrblk":[ // { type: "string", required: false, message: "必输项" },
{type: "string", required: true, message: "必输项"}, // { max: 16, message: "长度不能超过16" },
{max: 35,message:"长度不能超过35"} // ],
], // "fttp.mt32m.inip.ptsget.sdamod.seainf": [
"fttp.mt32m.a58.dbfadrblkcn":[ // { type: "string", required: false, message: "必输项" },
{type: "string", required: true, message: "必输项"}, // { max: 3, message: "长度不能超过3" },
{max: 35,message:"长度不能超过35"} // ],
],
"fttp.mt32m.b58.pts.adrblk":[ // "fttp.mt32m.b56.pts.extkey": [
{type: "string", required: true, message: "必输项"}, // { type: "string", required: false, message: "必输项" },
{max: 35,message:"长度不能超过35"} // { max: 16, message: "长度不能超过16" },
], // ],
"fttp.mt32m.b58.dbfadrblkcn":[ // "fttp.mt32m.b56p.ptsget.sdamod.seainf": [
{type: "string", required: true, message: "必输项"}, // { type: "string", required: false, message: "必输项" },
{max: 35,message:"长度不能超过35"} // { max: 3, message: "长度不能超过3" },
], // ],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"}, // "fttp.mt32m.conref": [
{max: 16,message:"长度不能超过16"} // { type: "string", required: false, message: "必输项" },
], // { max: 16, message: "长度不能超过16" },
"relref":[ // ],
{type: "string", required: false, message: "必输项"}, // "fttp.mt32m.ini.pts.nam": [
{max: 16,message:"长度不能超过16"} // { type: "string", required: false, message: "必输项" },
], // { max: 40, message: "长度不能超过40" },
"narblk":[ // ],
{type: "string", required: true, message: "必输项"}, // "fttp.mt32m.b56.pts.nam": [
{max: 35,message:"长度不能超过35"} // { type: "string", required: false, message: "必输项" },
], // { max: 40, message: "长度不能超过40" },
"ftt199l1blk":[ // ],
{type: "string", required: true, message: "必输项"}, // "fttp.mt32m.rbcact": [
{max: 200,message:"长度不能超过200"} // { type: "string", required: false, message: "必输项" },
], // { max: 34, message: "长度不能超过34" },
"ftt299l1blk":[ // ],
{type: "string", required: true, message: "必输项"}, // "fttp.mt32m.owcact": [
{max: 200,message:"长度不能超过200"} // { type: "string", required: false, message: "必输项" },
], // { max: 34, message: "长度不能超过34" },
} // ],
\ No newline at end of file // "fttp.mt32m.conno": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.rbcp.ptsget.sdamod.dadsnd": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.rbc.pts.extkey": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.rbcp.ptsget.sdamod.seainf": [
// { type: "string", required: false, message: "必输项" },
// { max: 3, message: "长度不能超过3" },
// ],
// "fttp.mt32m.owcp.ptsget.sdamod.dadsnd": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.owc.pts.extkey": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.owcp.ptsget.sdamod.seainf": [
// { type: "string", required: false, message: "必输项" },
// { max: 3, message: "长度不能超过3" },
// ],
// "fttp.mt32m.rbc.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.rbc.dbfadrblkcn": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.owc.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.owc.dbfadrblkcn": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.s30x": [
// { type: "date", required: false, message: "输入正确的日期" },
// ],
// "fttp.mt32m.a58act": [
// { type: "string", required: false, message: "必输项" },
// { max: 34, message: "长度不能超过34" },
// ],
// "fttp.mt32m.b58act": [
// { type: "string", required: false, message: "必输项" },
// { max: 34, message: "长度不能超过34" },
// ],
// "fttp.mt32m.a58p.ptsget.sdamod.dadsnd": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.a58.pts.extkey": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.a58p.ptsget.sdamod.seainf": [
// { type: "string", required: false, message: "必输项" },
// { max: 3, message: "长度不能超过3" },
// ],
// "fttp.mt32m.b58p.ptsget.sdamod.dadsnd": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.str300": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.b58.pts.extkey": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// "fttp.mt32m.b58p.ptsget.sdamod.seainf": [
// { type: "string", required: false, message: "必输项" },
// { max: 3, message: "长度不能超过3" },
// ],
// "fttp.mt32m.a58.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.a58.dbfadrblkcn": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.b58.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "fttp.mt32m.b58.dbfadrblkcn": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// "ftdgrp.rec.ownref": [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// relref: [
// { type: "string", required: false, message: "必输项" },
// { max: 16, message: "长度不能超过16" },
// ],
// narblk: [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" },
// ],
// ftt199l1blk: [
// { type: "string", required: true, message: "必输项" },
// { max: 200, message: "长度不能超过200" },
// ],
// ftt299l1blk: [
// { type: "string", required: true, message: "必输项" },
// { max: 200, message: "长度不能超过200" },
// ],
},
};
},
};
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item label="Related Reference" prop="relref"> <c-form-item label="Related Reference" prop="relref">
<c-input disabled v-model="model.relref" maxlength="16" placeholder=""></c-input> <c-input v-model="model.relref" maxlength="16" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item label="Related Reference" prop="relref"> <c-form-item label="Related Reference" prop="relref">
<c-input disabled v-model="model.relref" maxlength="16" placeholder=""></c-input> <c-input v-model="model.relref" maxlength="16" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="定存拆借类型" prop="ftdgrp.rec.fttyp"> <el-form-item label="定存拆借类型" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.fttyp" :filterKey="['LO','LI','DO','DI']" style="width:100%" <c-select @change="onFttypChange" v-model="model.ftdgrp.rec.fttyp" :code="codes.fttyp" :filterKey="['LO','LI','DO','DI']" style="width:100%"
placeholder="请输入定存拆借类型"> placeholder="请输入定存拆借类型">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -94,8 +94,21 @@ ...@@ -94,8 +94,21 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="年利率" prop="ftdgrp.rec.rat"> <c-form-item label="年利率" prop="ftdgrp.rec.rat">
<c-input v-model="model.ftdgrp.rec.rat" placeholder="请输入年利率"></c-input> <!-- <c-input v-model="model.ftdgrp.rec.rat" placeholder="请输入年利率"></c-input> -->
<c-fullbox>
<c-input v-model="model.ftdgrp.rec.rat" placeholder="请输入年利率" ></c-input>
<template slot="footer">
<span style="margin: 0 5px" size="small" type="primary">
%
</span>
</template>
</c-fullbox>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="计息方式" prop="ftdgrp.rec.cntfra"> <el-form-item label="计息方式" prop="ftdgrp.rec.cntfra">
...@@ -146,13 +159,17 @@ ...@@ -146,13 +159,17 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="业务摘要" prop="ftdgrp.rec.nam"> <c-form-item label="业务摘要" prop="ftdgrp.rec.nam">
<c-input v-model="defaultNam950" maxlength="40" <c-input disabled v-model="defaultNam950" maxlength="40"
placeholder="请输入名称"></c-input> placeholder="请输入名称"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" @change="onTroChange" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" <c-ptap :model="model" @change="onTroChange" :disabled="true"
:requiredExtkey="model.ftdgrp.rec.fttyp =='LI'||model.ftdgrp.rec.fttyp =='DI'"
:disabledExtkey="model.ftdgrp.rec.fttyp =='LO'||model.ftdgrp.rec.fttyp =='DO'|| model.ftdgrp.rec.fttyp ==''||model.ftdgrp.rec.fttyp ==undefined"
:isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B"> :isShowCard="false" :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-ptap> </c-ptap>
</el-card > </el-card >
...@@ -164,9 +181,12 @@ ...@@ -164,9 +181,12 @@
</el-form-item> --> </el-form-item> -->
<el-form-item label="" prop="fttp.troact"> <el-form-item label="Account" prop="fttp.troact">
<el-select <el-select
v-model="model.fttp.troact" clearablex v-model="model.fttp.troact" clearablex
:disabled="model.ftdgrp.rec.fttyp =='LO'||model.ftdgrp.rec.fttyp =='DO'|| model.ftdgrp.rec.fttyp ==''||model.ftdgrp.rec.fttyp ==undefined"
placeholder="请选择账号" placeholder="请选择账号"
> >
<el-option v-for="item in troActlist" :key="item" :label="item" <el-option v-for="item in troActlist" :key="item" :label="item"
...@@ -180,14 +200,19 @@ ...@@ -180,14 +200,19 @@
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" @change="onTriChange" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" <c-ptap :model="model" @change="onTriChange" :disabled="true"
:requiredExtkey="model.ftdgrp.rec.fttyp =='LO'||model.ftdgrp.rec.fttyp =='DO'"
:disabledExtkey="model.ftdgrp.rec.fttyp =='LI'||model.ftdgrp.rec.fttyp =='DI'|| model.ftdgrp.rec.fttyp ==''||model.ftdgrp.rec.fttyp ==undefined" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B"> :isShowCard="false" :argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
</c-ptap> </c-ptap>
</el-card> </el-card>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" @change="onActChange" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" <c-ptap :model="model" @change="onActChange" :disabled="true"
:disabledExtkey="model.ftdgrp.rec.fttyp ==''||model.ftdgrp.rec.fttyp ==undefined"
:isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '资金拆出我方账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B"> :isShowCard="false" :argadr="{ title: '资金拆出我方账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-ptap> </c-ptap>
</el-card> </el-card>
...@@ -199,9 +224,10 @@ ...@@ -199,9 +224,10 @@
</el-form-item> --> </el-form-item> -->
<el-form-item label="" prop="fttp.triact"> <el-form-item label="Account" prop="fttp.triact">
<el-select <el-select
v-model="model.fttp.triact" clearablex v-model="model.fttp.triact" clearablex
:disabled="model.ftdgrp.rec.fttyp ==''||model.ftdgrp.rec.fttyp ==undefined"
placeholder="请选择账号" placeholder="请选择账号"
> >
<el-option v-for="item in triActlist" :key="item" :label="item" <el-option v-for="item in triActlist" :key="item" :label="item"
...@@ -228,6 +254,8 @@ export default { ...@@ -228,6 +254,8 @@ export default {
mixins: [Event,commonProcess], mixins: [Event,commonProcess],
data() { data() {
return { return {
triActlist:['1111120209999','1111120209998'],
troActlist:['2222220209999','2222220209998'],
} }
}, },
...@@ -249,6 +277,9 @@ export default { ...@@ -249,6 +277,9 @@ export default {
this.model.ftdgrp.rec.nam=nam; this.model.ftdgrp.rec.nam=nam;
return nam return nam
}, },
}, },
methods: { methods: {
......
...@@ -44,7 +44,7 @@ import operationFunc from "~/mixin/operationFunc"; ...@@ -44,7 +44,7 @@ import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import event from "../event"; import event from "../event";
import Check from "../model/Check" import Check from "../model/Check.js"
// import Default from "../model/Default" // import Default from "../model/Default"
// import Pattern from "../model/Pattern" // import Pattern from "../model/Pattern"
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess,operationFunc,commonDepend,event,buildFn], mixins: [commonProcess,operationFunc,commonDepend,event,Check,buildFn],
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
......
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