Commit 5abad057 by Wuyuqiu

lttopn交易前后联动

parent 2638a639
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
"bedgrp.cbs.max.amt": [ "bedgrp.cbs.max.amt": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bedgrp.prb.pts.ref": [ "bedgrp.prb.pts.ref": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -103,5 +103,7 @@ export default { ...@@ -103,5 +103,7 @@ export default {
"cnybop.outflg" :Utils.defaultFunction, "cnybop.outflg" :Utils.defaultFunction,
"ltdgrp.rec.shptrs" :Utils.defaultFunction, "ltdgrp.rec.shptrs" :Utils.defaultFunction,
"ltdgrp.rec.shptrss18" :Utils.defaultFunction, "ltdgrp.rec.shptrss18" :Utils.defaultFunction,
"ltdgrp.rec.expplc" :Utils.defaultFunction,
"ltdgrp.rec.cnfins" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -319,7 +319,12 @@ export default { ...@@ -319,7 +319,12 @@ export default {
onBenpDet(){}, onBenpDet(){},
onIsspDet(){}, onIsspDet(){},
onAplpDet(){}, onAplpDet(){},
onAvbpDet(){},
onAdvpDet(){},
onA2bpDet(){},
onApbpDet(){},
onRmbpDet(){},
......
...@@ -69,13 +69,13 @@ export default { ...@@ -69,13 +69,13 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"ltdgrp.rec.nomtop":[ "ltdgrp.rec.nomtop": [
{type: "string", required: false, message: "必输项"}, { type: "number", required: false, message: "必输项" },
{max: 2,message:"长度不能超过2"} { type: "number",max: 999, message: "长度不能超过2" }
], ],
"ltdgrp.rec.nomton":[ "ltdgrp.rec.nomton": [
{type: "string", required: false, message: "必输项"}, { type: "number",required: false, message: "必输项" },
{max: 2,message:"长度不能超过2"} { type: "number",max: 999, message: "长度不能超过2" }
], ],
"ltdgrp.adt.pts.ref":[ "ltdgrp.adt.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -97,9 +97,9 @@ export default { ...@@ -97,9 +97,9 @@ export default {
"ltdgrp.cbs.max.amt":[ "ltdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"ltdgrp.adt.namelc":[ "ltdgrp.adt.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
], ],
"ltdgrp.adt.pts.adrblk":[ "ltdgrp.adt.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.adt.dbfadrblkcn":[ "ltdgrp.adt.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
], ],
"ltdgrp.be2.pts.adrblk":[ "ltdgrp.be2.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.be2.dbfadrblkcn":[ "ltdgrp.be2.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -188,9 +188,9 @@ export default { ...@@ -188,9 +188,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.cbs.nom1.amt":[ "ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, { type: "string", required: false, message: "必输项" },
{max: 18,message:"整数位不能超过14位"}, { max: 18, message: "整数位不能超过14位" },
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"ledgrp.apl.pts.ref":[ "ledgrp.apl.pts.ref":[
...@@ -309,7 +309,7 @@ export default { ...@@ -309,7 +309,7 @@ export default {
], ],
"ltdgrp.a2t.pts.adrblk":[ "ltdgrp.a2t.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.a2t.dbfadrblkcn":[ "ltdgrp.a2t.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
], ],
"ltdgrp.rmt.pts.adrblk":[ "ltdgrp.rmt.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.rmt.dbfadrblkcn":[ "ltdgrp.rmt.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -375,7 +375,7 @@ export default { ...@@ -375,7 +375,7 @@ export default {
], ],
"ltdgrp.con.pts.adrblk":[ "ltdgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.con.dbfadrblkcn":[ "ltdgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -383,7 +383,7 @@ export default { ...@@ -383,7 +383,7 @@ export default {
], ],
"ltdgrp.avt.pts.adrblk":[ "ltdgrp.avt.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.avt.dbfadrblkcn":[ "ltdgrp.avt.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -556,7 +556,7 @@ export default { ...@@ -556,7 +556,7 @@ export default {
], ],
"ltdgrp.blk.avbwthtxt":[ "ltdgrp.blk.avbwthtxt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.blk.preper":[ "ltdgrp.blk.preper":[
...@@ -606,7 +606,7 @@ export default { ...@@ -606,7 +606,7 @@ export default {
], ],
"ltdgrp.drw.pts.adrblk":[ "ltdgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 999,message:"长度不能超过35"}
], ],
"ltdgrp.drw.dbfadrblkcn":[ "ltdgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入名称地址" placeholder="请输入名称地址"
:disabled="model.ltdgrp.rec.avbwth == 'C'||model.ltdgrp.rec.avbwth == 'I'" :disabled="model.ltdgrp.rec.avbwth == 'I'||model.ltdgrp.rec.avbwth == 'C'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onDrwpDet" @onAplpDet="onDrwpDet"
:disabled="blkDftatFlag" :disabled="blkDftatFlag"
:disabledExtkey="blkDftatFlag"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -194,18 +195,19 @@ ...@@ -194,18 +195,19 @@
<!-- Days of presentation period --> <!-- Days of presentation period -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Presentation Period" prop="ltdgrp.rec.prepers18"> <el-form-item label="Presentation Period" prop="ltdgrp.rec.prepertxts18">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model.number="model.ltdgrp.rec.prepers18" v-model.number="model.ltdgrp.rec.prepertxts18"
placeholder="Please input Presentation Period" placeholder="Please input Presentation Period"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onPreperButtxmsel"
disabled disabled
@click="showGridPromptDialog('lttp.detp', null, null,{TXT:
'ltdgrp.rec.prepertxts18'}, {TXT: false},'doxpDialog')"
> >
... ...
</c-button> </c-button>
...@@ -241,7 +243,8 @@ ...@@ -241,7 +243,8 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onChariaButtxmsel" @click="showGridPromptDialog('lttp.charia.buttxmsel', null, null,{TXT:
'ltdgrp.blk.feetxt'}, {TXT: false},'doxpDialog')"
> >
... ...
</c-button> </c-button>
...@@ -311,7 +314,7 @@ export default { ...@@ -311,7 +314,7 @@ export default {
} }
}, },
methods: { methods: {
...Event, ...Event,
avbwthEvent(){ avbwthEvent(){
if (this.model.ltdgrp.rec.avbwth != 'A'||this.model.ltdgrp.rec.avbwth != 'O') { if (this.model.ltdgrp.rec.avbwth != 'A'||this.model.ltdgrp.rec.avbwth != 'O') {
this.model.ltdgrp.avb.pts.extkey = '' this.model.ltdgrp.avb.pts.extkey = ''
...@@ -350,28 +353,27 @@ export default { ...@@ -350,28 +353,27 @@ export default {
defdetFlag: { defdetFlag: {
get() { get() {
return ( return (
// this.model.ltdgrp.rec.avbby == 'A' || this.model.ltdgrp.rec.avbby == 'A' ||
// this.model.ltdgrp.rec.avbby == 'P' || this.model.ltdgrp.rec.avbby == 'P' ||
// this.model.ltdgrp.rec.avbby == 'M' || this.model.ltdgrp.rec.avbby == 'M'
// this.model.ltdgrp.rec.avbby == '' // this.model.ltdgrp.rec.avbby == ''
this.model.ltdgrp.rec.avbby != 'D' && // this.model.ltdgrp.rec.avbby != 'D' &&
this.model.ltdgrp.rec.avbby != 'N' // this.model.ltdgrp.rec.avbby != 'N'
) )
}, },
}, },
blkDftatFlag: { blkDftatFlag: {
get() { get() {
return ( return (
this.model.ltdgrp.rec.avbby == 'A' || this.model.ltdgrp.rec.avbby == 'M' ||
this.model.ltdgrp.rec.avbby == 'N' || this.model.ltdgrp.rec.avbby == 'D'
this.model.ltdgrp.rec.avbby == 'P'
) )
}, },
}, },
}, },
created: function () {}, created: function () {},
watch: { watch: {
"model.ltdgrp.avb.pts.adrblk": { "model.ltdgrp.avt.pts.adrblk": {
handler(val, oldVal) { handler(val, oldVal) {
this.model.ltdgrp.blk.avbwthtxt = val; this.model.ltdgrp.blk.avbwthtxt = val;
}, },
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.nom1.amt"> <el-form-item label="" label-width="20px" prop="ltdgrp.cbs.nom1.amt">
<c-input-currency <c-input-currency
v-model="model.ltdgrp.cbs.nom1.amt" v-model="model.ltdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
...@@ -308,6 +308,7 @@ ...@@ -308,6 +308,7 @@
v-model="model.ltdgrp.rec.expplc" v-model="model.ltdgrp.rec.expplc"
style="width: 100%" style="width: 100%"
placeholder="Please input in" placeholder="Please input in"
:code="codes.expplc"
></c-select> ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -393,6 +394,7 @@ ...@@ -393,6 +394,7 @@
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
:onlySearch="true" :onlySearch="true"
:disabledExtkey="true"
> >
</c-ptap> </c-ptap>
<c-col :span="24"> <c-col :span="24">
......
...@@ -15,7 +15,10 @@ ...@@ -15,7 +15,10 @@
</el-table-column> </el-table-column>
<el-table-column prop="matdat" label="Maturity" width="150px"> <el-table-column prop="matdat" label="Maturity" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item label-width="0" :prop="'liaall.liaallg.' + scope.$index + '.matdat'"> <el-form-item
label-width="0"
:prop="'liaall.liaallg.' + scope.$index + '.matdat'"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="scope.row.matdat" v-model="scope.row.matdat"
...@@ -30,12 +33,17 @@ ...@@ -30,12 +33,17 @@
</el-table-column> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px"> <el-table-column prop="tenday" label="Tenor" width="70px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <el-form-item
v-model="scope.row.tenday" label-width="0"
style="width: 100%" :prop="'liaall.liaallg.' + scope.$index + '.tenday'"
placeholder="请输入"
> >
</c-input> <c-input
v-model="scope.row.tenday"
style="width: 100%"
placeholder="请输入"
>
</c-input>
</el-form-item>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px"> <el-table-column prop="rol" label="Dbt." width="70px">
...@@ -62,8 +70,8 @@ ...@@ -62,8 +70,8 @@
</el-table-column> </el-table-column>
<el-table-column prop="valdat" label="Value Date" width="200px"> <el-table-column prop="valdat" label="Value Date" width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
{{dateFormat(scope.row.valdat)}} {{ dateFormat(scope.row.valdat) }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right"> <el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
......
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