Commit b17ff11e by jianglong

修改BDTDCR前端界面

parent 993ab191
import Utils from "~/utils"
/**
* Bdtdcr Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bdtp.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"bdtp.oth.namelc" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bddgrp.rec.orddat" :null,
"bddgrp.blk.docdis" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"expmno" :null,
"bddgrp.prb.pts.ref" :null,
"bddgrp.rec.sndref" :null,
"bddgrp.prb.pts.extkey" :null,
"bddgrp.rec.advdocflg" :null,
"bddgrp.apl.pts.nam" :null,
"bdtp.oth.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"advdisflg" :null,
"bddgrp.prb.pts.nam" :null,
"bddgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bddgrp.prb.pts.dizhii" :null,
"bddgrp.prb.pts.bankno" :null,
"bdtp.othp.ptsget.sdamod.dadsnd" :null,
"bddgrp.blk.disdoc" :null,
"mtabut.coninf.conexedat" :null,
"bddgrp.rec.bilpro" :null,
"bdtp.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"bdtp.oth.pts.adrblk" :null,
"setmod.docamt" :null,
"bdtp.didget.sdamod.dadsnd" :null,
"bddgrp.prb.pts.jigomc" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bdtdcr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bddgrp.rec.advdocflg" :Utils.defaultFunction,
"bddgrp.blk.docdis" :Utils.defaultFunction,
"advdisflg" :Utils.defaultFunction,
"advrefflg" :Utils.defaultFunction,
"advbwdflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bddgrp.blk.disdocflg" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.prb.pts.extkey" :Utils.defaultFunction,
"bddgrp.rec.docprbrol" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction,
"bdtp.oth.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bdtp.oth.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.rec.docflg" :Utils.defaultFunction,
"bddgrp.cbs.max.cur" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"bdtp.oth.adrelc" :Utils.defaultFunction,
"bdtp.oth.namelc" :Utils.defaultFunction,
"bdtp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bddgrp.rec.stadat" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"rejpenins" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"bddgrp.rec.payrol" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bddgrp.blk.disdoc" :Utils.defaultFunction,
"bddgrp.rec.sndref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDisdocButtxmsel(){
let rtnmsg = await this.executeRule("disdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthp1Det(){
let rtnmsg = await this.executeRule("othp1.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Bdtdcr {
constructor() {
this.data = {
bddgrp: {
rec: {
docflg: "", // 单据类型 .bddgrp.rec.docflg
rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat
predat: "", // 到单日期 .bddgrp.rec.predat
docprbrol: "", // 单据类型 .bddgrp.rec.docprbrol
payrol: "", // 发送承付电 .bddgrp.rec.payrol
ownref: "", // 单据参考号 .bddgrp.rec.ownref
nam: "", // Name of Bill Contract .bddgrp.rec.nam
docsta: "", // 单据状态 .bddgrp.rec.docsta
matdat: "", // Maturity Date .bddgrp.rec.matdat
tenmaxday: "", // 单据到期日 .bddgrp.rec.tenmaxday
stadat: "", // Start Date .bddgrp.rec.stadat
igndisflg: "", // Ignore Discrepancies .bddgrp.rec.igndisflg
advtyp: "", // Type of Advice Received .bddgrp.rec.advtyp
totdat: "", // 付款日期 .bddgrp.rec.totdat
disdat: "", // 不符点通知日期 .bddgrp.rec.disdat
approvcod: "", // Documents on Approval Basis .bddgrp.rec.approvcod
relgodflg: "", // Release of Goods .bddgrp.rec.relgodflg
reltyp: "", // Release Type .bddgrp.rec.reltyp
relgoddat: "", // issue date .bddgrp.rec.relgoddat
expdat: "", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat
trpdoctyp: "", // Transport Doc. Type .bddgrp.rec.trpdoctyp
trpdocnum: "", // Transport Doc. No. .bddgrp.rec.trpdocnum
tradat: "", // shipment date .bddgrp.rec.tradat
tramod: "", // Mode of Transport .bddgrp.rec.tramod
rtoaplflg: "", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg
ngrcod: "", // Goods code .bddgrp.rec.ngrcod
blnum: "", // B/L Number .bddgrp.rec.blnum
totcur: "", // Total Amount Claimed .bddgrp.rec.totcur
totamt: "", // Total Amount to be Paid .bddgrp.rec.totamt
},
cbs: {
max: {
cur: "", // 单据金额 .bddgrp.cbs.max.cur
amt: "", // 单据金额 .bddgrp.cbs.max.amt
},
opn1: {
cur: "", // 单据余额 .bddgrp.cbs.opn1.cur
amt: "", // Balance .bddgrp.cbs.opn1.amt
},
},
apl: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
prb: {
pts: new Pts().data,
},
blk: {
comcon: "", // Comments and Conclusions .bddgrp.blk.comcon
docdis: "", // Discrepancies .bddgrp.blk.docdis
docdisflg: "", // discrepancies modified .bddgrp.blk.docdisflg
accrmk: "", // 到期付款确认备注 .bddgrp.blk.accrmk
vesnam: "", // Vessel Name .bddgrp.blk.vesnam
pordis: "", // Port of Discharge .bddgrp.blk.pordis
delplc: "", // Place of Delivery .bddgrp.blk.delplc
roggod: "", // Covered Goods .bddgrp.blk.roggod
relstoadr: "", // Release to Address .bddgrp.blk.relstoadr
porlod: "", // Port of loading .bddgrp.blk.porlod
voynum: "", // Voyage numer .bddgrp.blk.voynum
notpty: "", // Notify Party .bddgrp.blk.notpty
carnam: "", // Carrier .bddgrp.blk.carnam
chaded: "", // Charges Deducted .bddgrp.blk.chaded
chaadd: "", // Charges .bddgrp.blk.chaadd
},
shp: {
pts: new Pts().data,
namelc: "", // 名称 .bddgrp.shp.namelc
adrelc: "", // 地址 .bddgrp.shp.adrelc
dbfadrblkcn: "", // Chinese address .bddgrp.shp.dbfadrblkcn
},
acb: {
pts: new Pts().data,
namelc: "", // 名称 .bddgrp.acb.namelc
adrelc: "", // 地址 .bddgrp.acb.adrelc
dbfadrblkcn: "", // Chinese address .bddgrp.acb.dbfadrblkcn
},
beb: {
pts: new Pts().data,
namelc: "", // 名称 .bddgrp.beb.namelc
adrelc: "", // 地址 .bddgrp.beb.adrelc
dbfadrblkcn: "", // Chinese address .bddgrp.beb.dbfadrblkcn
},
},
advrefflg: "", // Advice of Refusal MT734 .advrefflg
advdisflg: "", // Advice of Discrepancy MT750 .advdisflg
mtabut: {
clsflg: "", // Close Flag .mtabut.clsflg
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
},
},
},
rejpenins: "", // Rejection pending instructions .rejpenins
didgrp: {
rec: {
ownref: "", // 信用证参考号 .didgrp.rec.ownref
expdat: "", // Date of Expiry .didgrp.rec.expdat
},
cbs: {
opn1: {
cur: "", // Currency .didgrp.cbs.opn1.cur
amt: "", // Balance .didgrp.cbs.opn1.amt
},
},
},
bdtp: {
didget: {
sdamod: {
seainf: "", // .bdtp.didget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
seainf: "", // .bdtp.recget.sdamod.seainf
},
},
matp: {
mattxtlab: "", // Label for MATTXT .bdtp.matp.mattxtlab
},
oth: {
pts: new Pts().data,
namelc: "", // 名称 .bdtp.oth.namelc
adrelc: "", // 地址 .bdtp.oth.adrelc
dbfadrblkcn: "", // Chinese address .bdtp.oth.dbfadrblkcn
},
othp: {
ptsget: {
sdamod: {
seainf: "", // .bdtp.othp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bdtp.othp.ptsget.sdamod.dadsnd
},
},
},
docgrdm: {
docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab
},
},
rejtype: "", // 退单方式 .rejtype
swtdat: "", // SWIFT发送时间 .swtdat
advbwdflg: "", // 是否发送213拒付报文 .advbwdflg
expmno: "", // 快递单号 .expmno
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
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: {
docamt: "", // document amount .setmod.docamt
doccur: "", // document currency .setmod.doccur
docamttyplab: "", // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref
dspflg: "", // Type of settlement .setmod.dspflg
xreflg: "", // Recalculate Rates .setmod.xreflg
setglg: {
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll: []
},
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod: {
gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
trnmod: {
trndoc: {
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot: [],
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="12">
<c-row>
<c-col :span="24">
<el-form-item label="不符点">
<c-input
type="textarea"
:disabled="model.bddgrp.blk.docdisflg ? false : true"
:rows="6"
v-model="model.bddgrp.blk.docdis"
maxlength="65"
show-word-limit
placeholder="请输入不符点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-istream-table
:list="model.bdtp.docgrdm.docgrd"
:columns="columns"
>
</c-istream-table>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<c-row>
<c-col :span="24">
<div class="c-checkbox">
<c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="changed"
>录入不符点</c-checkbox
>
</div>
</c-col>
</c-row>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtdcr/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
};
},
methods: {
...Event,
changed(e) {
if (!e) {
this.model.bddgrp.blk.docdis = "";
}
},
},
created: function () {},
};
</script>
<style>
.c-checkbox {
text-align: center;
margin: 10px;
font-size: 16px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="国内证不符点/拒付">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000037 -->
<el-tab-pane label="内容" name="utlp">
<c-content>
<m-utlp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000059 -->
<el-tab-pane label="不符点详情" name="brtdcrd">
<m-brtdcrd :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="帐务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Bdtdcr from "~/model/Bdtdcr";
import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Pattern from "~/model/Bdtdcr/Pattern";
import Default from "~/model/Bdtdcr/Default";
import Check from "~/model/Bdtdcr/Check";
import Utlp from "./Utlp";
import Brtdcrd from "./Brtdcrd";
import Engp from "~/views/Public/Engp";
//import Setpan from "./Setpan";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "./Limitbody";
export default {
name: "Bdtdcr",
components: {
"m-utlp": Utlp,
"m-brtdcrd": Brtdcrd,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
tabVal: "utlp",
trnName: "bdtdcr",
model: new Bdtdcr().data,
//checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入bdtdcr交易");
let rtnmsg =await this.init();
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
......@@ -10,6 +10,7 @@ import Sptsel from "./Sptsel"
import Trnrel from "./Trnrel"
import Tstopn from "./Tstopn"
import Bdtudp from "./Bdtudp"
import Bdtdcr from "./Bdtdcr"
import Trndtl from "./Trnrel/Trndtl"
import Infpta from "./Infpta"
......@@ -45,6 +46,7 @@ import Trtame from "./Trtame"
*/
const BusRouter = [
{ path: 'bdtudp', component: Bdtudp, name: 'Bdtudp', meta: { title: '国内证承兑' } },
{ path: 'bdtdcr', component: Bdtdcr, name: 'Bdtdcr', meta: { title: '国内证不符点/拒付' } },
{ path: 'cptadv', component: Cptadv, name: 'Cptadv', meta: { title: '汇入汇款' } },
{ path: 'cptopn', component: Cptopn, name: 'Cptopn', meta: { title: '汇出汇款' } },
{ path: 'diasel', component: Diasel, name: 'Diasel', meta: { title: '备忘录选择交易' } },
......
......@@ -58,6 +58,7 @@ export default {
{ inifrm: "ditsel", ininam: "信用证查询", pntmiu: "2" },
{ inifrm: "infbdd", ininam: "买方信用证单据查询", pntmiu: "2" },
{ inifrm: "bdtudp", ininam: "国内证承兑", pntmiu: "2" },
{ inifrm: "bdtdcr", ininam: "国内证不符点/拒付", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "", icon: require("~/assets/icons/sideMenu/出口信用证.svg") },
//{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
{ inifrm: "letsel", ininam: "出口信用证查询", pntmiu: "3" },
......
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