Commit 5abad057 by Wuyuqiu

lttopn交易前后联动

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