Commit 0377b3f7 by “yanyuxin”

Trtopn交易Bug修改

parent ee5d86a1
...@@ -170,5 +170,8 @@ export default { ...@@ -170,5 +170,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf() {
},
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Trtame{ export default class Trtame{
constructor () { constructor () {
...@@ -91,106 +92,10 @@ export default class Trtame{ ...@@ -91,106 +92,10 @@ export default class Trtame{
}, },
}, },
newmatdat:"", // New Due Date .newmatdat newmatdat:"", // New Due Date .newmatdat
liaall:{ liaall:new Pub().data.Liaall,
misamt:"", // Amount not yet assigned .liaall.misamt setmod:new Pub().data.Setmod,
concur:"", // External Booking Amount .liaall.concur mtabut:new Pub().data.Mtabut,
outpct:"", // Sight Amount Percentage .liaall.outpct trnmod:new Pub().data.Trnmod,
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -84,6 +84,7 @@ let checkObj = { ...@@ -84,6 +84,7 @@ let checkObj = {
"dftcre.dfdgrp.rec.fintyp" :null, "dftcre.dfdgrp.rec.fintyp" :null,
"trdgrp.rec.flowflag" :null, "trdgrp.rec.flowflag" :null,
"trdgrp.rec.fintyp1" :null, "trdgrp.rec.fintyp1" :null,
// "trdgrp.rec.sndto" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -91,5 +91,6 @@ export default { ...@@ -91,5 +91,6 @@ export default {
"trdgrp.rec.lprtyp" :Utils.defaultFunction, "trdgrp.rec.lprtyp" :Utils.defaultFunction,
"trdgrp.rec.tenday" :Utils.defaultFunction, "trdgrp.rec.tenday" :Utils.defaultFunction,
"trtmod.finmod.acttyp1" :Utils.defaultFunction, "trtmod.finmod.acttyp1" :Utils.defaultFunction,
// "trdgrp.rec.sndto" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
], ],
"trdgrp.rec.issdat":[ "trdgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.fip.namelc":[ "trdgrp.fip.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
{max: 4,message:"长度不能超过4"} {max: 4,message:"长度不能超过4"}
], ],
"trdgrp.rec.matdat":[ "trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.rec.tenday":[ "trdgrp.rec.tenday":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
{max: 10,message:"长度不能超过10"} {max: 10,message:"长度不能超过10"}
], ],
"trdgrp.rec.stttendat":[ "trdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.rec.intrat":[ "trdgrp.rec.intrat":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public" import Pub from "../Public"
export default class Trtopn{ export default class Trtopn{
...@@ -27,6 +28,7 @@ export default class Trtopn{ ...@@ -27,6 +28,7 @@ export default class Trtopn{
invtyp:"", // 发票类型 .trdgrp.rec.invtyp invtyp:"", // 发票类型 .trdgrp.rec.invtyp
lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno:"", // 交易合同号 .trdgrp.rec.mycontno mycontno:"", // 交易合同号 .trdgrp.rec.mycontno
// sndto:"",
}, },
fip:{ fip:{
pts:new Pts().data, pts:new Pts().data,
...@@ -239,7 +241,8 @@ export default class Trtopn{ ...@@ -239,7 +241,8 @@ export default class Trtopn{
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
pageId: "" // ctx的key pageId: "", // ctx的key
roldsc: "",
} }
} }
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Trtsel{ export default class Trtsel{
constructor () { constructor () {
this.data = { this.data = {
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public" import Pub from "../Public"
......
...@@ -504,7 +504,8 @@ ...@@ -504,7 +504,8 @@
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
flag: false flag: false,
}; };
}, },
watch:{ watch:{
......
...@@ -23,15 +23,17 @@ ...@@ -23,15 +23,17 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane
v-if="model.gitp.swiftflg == 'Y'" <!-- v-if="model.gitp.swiftflg == 'Y'" -->
<!-- <el-tab-pane
label="Presentation/Delivery" label="Presentation/Delivery"
name="preperp" name="preperp"
> >
<c-content> <c-content>
<m-preperp :model="model" :codes="codes" :sndto="sndto" /> <m-preperp :model="model" :codes="codes" :sndto="sndto" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--dftcre PD000001 同业代付 --> <!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag"> <el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
...@@ -150,7 +152,6 @@ export default { ...@@ -150,7 +152,6 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable}, codes: {...CodeTable},
sndto: [],
} }
}, },
methods:{ methods:{
...@@ -195,8 +196,8 @@ export default { ...@@ -195,8 +196,8 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
console.log(rtnmsg.codeSet['gidgrp.rec.sndto']) console.log(rtnmsg.codeSet['trdgrp.rec.sndto'])
this.buildSndto(rtnmsg.codeSet['gidgrp.rec.sndto'] || []); this.buildSndto(rtnmsg.codeSet['trdgrp.rec.sndto'] || []);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if(this.isInDisplay){ if(this.isInDisplay){
this.restoreDisplay(); this.restoreDisplay();
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-content :height="300"> <c-content :height="300">
<c-crow> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-crow> </c-row>
</c-content> </c-content>
</div> </div>
</template> </template>
......
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