Commit 29d67b23 by kai

20211227-zk-ditdck

parent 42636726
import Utils from "~/utils"
/**
* Ditdck Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"didgrp.apl.pts.ref" :null,
"bddgrp.rec.disdat" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"bddgrp.skh.pts.jigomc" :null,
"trnmod.swiadd.orimsgid" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bddgrp.rec.orddat" :null,
"bddgrp.rec.docflg" :null,
"trnmod.swiadd.orimsgtyp" :null,
"bdtp.furide" :null,
"bddgrp.blk.docdis" :null,
"setmod.dspflg" :null,
"bddgrp.cbs.max.amt" :null,
"bddgrp.prb.pts.ref" :null,
"bddgrp.rec.ownref" :null,
"bddgrp.prb.pts.extkey" :null,
"bddgrp.rec.expdat" :null,
"bddgrp.shp.namelc" :null,
"liaall.liaccv.totcovamt" :null,
"trnmod.trndia.diarec.nam" :null,
"bddgrp.rec.rcvdat" :null,
"trnmod.trndia.diarec.cod" :null,
"bddgrp.shp.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"trnmod.trndia.atpget.sdamod.dadsnd" :null,
"bddgrp.blk.comcon" :null,
"bddgrp.prb.pts.bankno" :null,
"bddgrp.rec.reltyp" :null,
"bddgrp.rec.predat" :null,
"bdtp.shpp.ptsget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"trnmod.trndia.diarec.dat" :null,
"bdtp.recget.sdamod.dadsnd" :null,
"bddgrp.skh.pts.bankno" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bddgrp.shp.adrelc" :null,
"bddgrp.rec.matdat" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"trnmod.swiadd.oriinstgagt" :null,
"setmod.docamt" :null,
"liaall.liaccv.cshpct" :null,
"bddgrp.rec.invtyp" :null,
"bdtp.didget.sdamod.dadsnd" :null,
"bddgrp.blk.relstoadr" :null,
"bddgrp.shp.pts.extkey" :null,
"liaall.liaccv.relcshpct" :null,
"bddgrp.rec.docprbrol" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ditdck Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bddgrp.blk.docdis" :Utils.defaultFunction,
"bddgrp.rec.igndisflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"trnmod.trndia.atp.cod" :Utils.defaultFunction,
"bddgrp.shp.pts.extkey" :Utils.defaultFunction,
"bddgrp.shp.adrelc" :Utils.defaultFunction,
"bddgrp.shp.namelc" :Utils.defaultFunction,
"bddgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"didgrp.cbs.nom1.cur" :Utils.defaultFunction,
"bddgrp.prb.pts.extkey" :Utils.defaultFunction,
"didgrp.rec.avbby" :Utils.defaultFunction,
"bddgrp.rec.rtoaplflg" :Utils.defaultFunction,
"bddgrp.rec.rcvdat" :Utils.defaultFunction,
"bdtp.cre752flg" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.rec.tenmaxday" :Utils.defaultFunction,
"bddgrp.rec.matdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"bddgrp.rec.reltyp" :Utils.defaultFunction,
"bddgrp.shp.pts.adrblk" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"bddgrp.rec.docflg" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"bddgrp.cbs.max.cur" :Utils.defaultFunction,
"bddgrp.rec.stadat" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"trnmod.trndia.usr.extkey" :Utils.defaultFunction,
"bddgrp.rec.advtyp" :Utils.defaultFunction,
"bddgrp.rec.dscinsflg" :Utils.defaultFunction,
"trnmod.trndia.dspstm" :Utils.defaultFunction,
"bddgrp.rec.docprbrol" :Utils.defaultFunction,
"bdtp.setnowflg" :Utils.defaultFunction,
"bddgrp.rec.approvcod" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.rec.predat" :Utils.defaultFunction,
"bddgrp.rec.shpdat" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.rec.utlnbr" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"didgrp.rec.shpdat" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trnmod.trndia.diarec.cod" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBdtmodButgetref(){
let rtnmsg = await this.executeRule("bdtmod.butgetref")
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 onShppDet(){
let rtnmsg = await this.executeRule("shpp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButok(){
let rtnmsg = await this.executeRule("syswrn.butok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButcan(){
let rtnmsg = await this.executeRule("syswrn.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaSavdia(){
let rtnmsg = await this.executeRule("trndia.savdia")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiaprt(){
let rtnmsg = await this.executeRule("trndia.diaprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiaexi(){
let rtnmsg = await this.executeRule("trndia.diaexi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDia(){
let rtnmsg = await this.executeRule("trndia.dia")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiadsp(){
let rtnmsg = await this.executeRule("trndia.diadsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiamod(){
let rtnmsg = await this.executeRule("trndia.diamod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiadel(){
let rtnmsg = await this.executeRule("trndia.diadel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndiaDiaexi2(){
let rtnmsg = await this.executeRule("trndia.diaexi2")
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 onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
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 onOthpDet(){
let rtnmsg = await this.executeRule("othp.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: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {
},
}
\ No newline at end of file
......@@ -17,6 +17,7 @@ import Bdtudp from "./Bdtudp"
import Bdtdcr from "./Bdtdcr"
import Trndtl from "./Trnrel/Trndtl"
import Infpta from "./Infpta"
import Ditdck from "./Ditdck"
import Letsel from "./Letsel"
import Letopn from "./Letopn"
......@@ -93,6 +94,7 @@ const BusRouter = [
{ path: 'ditsel', component: Ditsel, name: 'Ditsel', meta: { title: '信用证查询' } },
{ path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: (tag) => { return tag.path.startsWith("/review") ? "复核:" : '买方信用证开立' } } },
{ path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '信用证查询' } },
{ path: 'ditdck', component: Ditdck, name: 'Ditdck', meta: { title: '信用证到单' } },
// 例
{ path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (tag) => { return '买方信用证开立-' + tag.params.inr } } },
{ path: 'office', component: Office, name: 'Office', meta: { title: 'Office' } },
......
<template>
<c-row>
<c-col :span="24">
<c-col :span="12">
<el-form-item
style="height=200px;"
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 50%"
disabled
placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="Settlement"
prop="mtabut.coninf.oitset.oit.inftxt"
>
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 50%"
disabled
placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 40%"
placeholder="请选择执行日期"
></el-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Send for Release to"
prop="mtabut.coninf.usr.extkey"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
style="width: 40%"
disabled="disabled"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-row>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditdck/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="11">
<c-col :span="20">
<el-form-item label="不符点">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" maxlength="50" show-word-limit
placeholder="请输入不符点"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="text-align: left" label-width="-10px" size="small" type="primary" icon="el-icon-search"
@click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="24">
<el-form-item label="注释和结论">
<c-input type="textarea" v-model="model.bddgrp.blk.comcon" maxlength="65" show-word-limit
placeholder="请输入注释和结论"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到期付款确认备注">
<c-input type="textarea" v-model="model.bddgrp.blk.accrmk" maxlength="65" show-word-limit
placeholder="请输入到期付款确认备注"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =================右边====================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bddgrp.rec.igndisflg">忽略不符点</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bddgrp.blk.docdisflg">录入不符点</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="bddgrp.rec.advtyp">
<c-select v-model="model.bddgrp.rec.advtyp" style="width:100%" placeholder="请选择收到的通知类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="bddgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%"
placeholder="请选择付款日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="bddgrp.rec.disdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.disdat" style="width:100%"
placeholder="请选择不符点通知日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bddgrp.rec.approvcod">议付行担保协议</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.bdtp.cre752flg">Create MT 752</c-checkbox>
</c-col>
<c-col :span="16">
<el-form-item label="Further Identification" prop="bdtp.furide">
<c-select v-model="model.bdtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bdtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
</c-col>
<!-- =================已交单据====================== -->
<c-col :span="24">
<c-table :border="true" :list="model.bdtp.docgrdm.docgrd" style="width:80%,text-align:center">
<el-table-column prop="cmail1" label="1st" width="auto"> </el-table-column>
<el-table-column prop="cmail2" label="2st" width="auto"> </el-table-column>
<el-table-column prop="docnam" label="Document" width="auto"> </el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdck/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: {
...Event
},
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24" style="margin-bottom:18px">
Liability
</c-col>
<c-col :span="22" :offset="1">
<c-table :list="model.liaall.liaallg" style="width:80%,text-align:center,margin-bottom:18px" :border="true">
<el-table-column prop="cbtpfx" label="Type" width="auto"> </el-table-column>
<el-table-column prop="matdat" label="Maturity" width="auto"> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="auto"> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="auto"> </el-table-column>
<el-table-column prop="nam" label="Name" width="auto"> </el-table-column>
<el-table-column prop="cdtrol" label="Cdt." width="auto"> </el-table-column>
<el-table-column prop="cur" label="Cur" width="auto"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="auto">
<template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template>
</el-table-column>
<el-table-column prop="amt" label="Booking Amo" width="auto">
<template slot-scope="scope">
{{moneyFormat(scope.row.amt)}}
</template>
</el-table-column>
<el-table-column prop="tenpct" label="%" width="auto"> </el-table-column>
<el-table-column prop="acc" label="Account" width="auto"> </el-table-column>
<el-table-column prop="valdat" label="Value Date" width="auto">
<template slot-scope="scope">
{{dateFormat(scope.row.valdat)}}
</template>
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Sight Amount">
<c-input style="width:50%" 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">
<c-input style="width:50%" 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">
<c-input style="width:70%" 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">
<c-input style="width:20%" disabled v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
<c-input style="width:50%" disabled v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-button size="small" disabled type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally">
<c-input style="width:50%" 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">
<c-input style="width:50%" 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/Ditdck/Event"
export default {
inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="12">
<c-col :span="16">
<el-form-item
label="国内信用证项下开证授信额度:"
prop="liaall.limmod.limpts.wrk.pts.extkey"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
:disabled="true"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="20px">
<c-button
size="small"
type="primary;width:10%"
@click="onSeainf"
>i</c-button
>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
>
Details
</c-button>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width:90%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="额度类型"
prop="liaall.limmod.limpts.nonrevflg1"
>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-button size="small" type="primary" @click="onLimptsGet1">
查询
</c-button>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="合同流水号"
prop="liaall.limmod.limpts.pfcod1"
>
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 55%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
style="width: 70%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table style="text-align: center" :data="tableData" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
-->
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditdck/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
tableData: {},
};
},
methods: { ...Event ,
nonrevflg1Change(){
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1'){
this.model.liaall.limmod.limpts.pfcod1 = "";
}
}
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select v-model="model.bddgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.amt">
<c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-input v-model="model.bddgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Balance" prop="bddgrp.cbs.opn1.amt">
<c-input v-model="model.bddgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Start Date" prop="bddgrp.rec.stadat">
<c-date-picker type="date" v-model="model.bddgrp.rec.stadat" style="width:100%" placeholder="请选择Start Date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<span v-text="model.bdtp.matp.mattxtlab" data-path=".bdtp.matp.mattxtlab" > </span>
</el-col>
<el-col :span="12">
<el-form-item label="Maturity Date" prop="bddgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据到期日" prop="bddgrp.rec.tenmaxday">
<c-input v-model="model.bddgrp.rec.tenmaxday" placeholder="请输入单据到期日"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select v-model="model.bddgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-select v-model="model.bddgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
</c-select>
</el-form-item>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Release of Goods" prop="bddgrp.rec.relgodflg">
<c-select v-model="model.bddgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Contract Number" prop="bdtp.connum">
<c-input v-model="model.bdtp.connum" maxlength="35" placeholder="请输入Contract Number"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Release Type" prop="bddgrp.rec.reltyp">
<c-select v-model="model.bddgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="issue date" prop="bddgrp.rec.relgoddat">
<c-date-picker type="date" v-model="model.bddgrp.rec.relgoddat" style="width:100%" placeholder="请选择issue date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Expiry Date of Shipping Guarantee" prop="bddgrp.rec.expdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.expdat" style="width:100%" placeholder="请选择Expiry Date of Shipping Guarantee"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Carrier" prop="bddgrp.blk.carnam">
<c-input v-model="model.bddgrp.blk.carnam" maxlength="35" placeholder="请输入Carrier"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Transport Doc. Type" prop="bddgrp.rec.trpdoctyp">
<c-select v-model="model.bddgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="B/L Number" prop="bddgrp.rec.blnum">
<c-input v-model="model.bddgrp.rec.blnum" maxlength="20" placeholder="请输入B/L Number"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Transport Doc. No." prop="bddgrp.rec.trpdocnum">
<c-input v-model="model.bddgrp.rec.trpdocnum" maxlength="40" placeholder="请输入Transport Doc. No."></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<c-checkbox v-model="model.bddgrp.rec.rtoaplflg">Release Goods to Applicant ?</c-checkbox>
</el-col>
<el-col :span="12">
<el-form-item label="shipment date" prop="bddgrp.rec.tradat">
<c-date-picker type="date" v-model="model.bddgrp.rec.tradat" style="width:100%" placeholder="请选择shipment date"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Release to Address">
<c-input type="textarea" v-model="model.bddgrp.blk.relstoadr" maxlength="35" show-word-limit placeholder="请输入Release to Address" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Mode of Transport" prop="bddgrp.rec.tramod">
<c-select v-model="model.bddgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Vessel Name" prop="bddgrp.blk.vesnam">
<c-input v-model="model.bddgrp.blk.vesnam" maxlength="40" placeholder="请输入Vessel Name"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Port of Discharge" prop="bddgrp.blk.pordis">
<c-input v-model="model.bddgrp.blk.pordis" maxlength="40" placeholder="请输入Port of Discharge"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bdtp.shpp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bdtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Place of Delivery" prop="bddgrp.blk.delplc">
<c-input v-model="model.bddgrp.blk.delplc" maxlength="40" placeholder="请输入Place of Delivery"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="External Key of Address" prop="bddgrp.shp.pts.extkey">
<c-input v-model="model.bddgrp.shp.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="" prop="bdtp.shpp.ptsget.sdamod.seainf">
<c-input v-model="model.bdtp.shpp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" @click="onShppDet">
Details
</c-button>
</el-col>
<el-col :span="12">
<el-form-item label="名称">
<c-input type="textarea" v-model="model.bddgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Covered Goods">
<c-input type="textarea" v-model="model.bddgrp.blk.roggod" maxlength="40" show-word-limit placeholder="请输入Covered Goods" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Address Block">
<c-input type="textarea" v-model="model.bddgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Chinese address">
<c-input type="textarea" v-model="model.bddgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="地址">
<c-input type="textarea" v-model="model.bddgrp.shp.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Notify Party">
<c-input type="textarea" v-model="model.bddgrp.blk.notpty" maxlength="35" show-word-limit placeholder="请输入Notify Party" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Port of loading" prop="bddgrp.blk.porlod">
<c-input v-model="model.bddgrp.blk.porlod" maxlength="40" placeholder="请输入Port of loading"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Voyage numer" prop="bddgrp.blk.voynum">
<c-input v-model="model.bddgrp.blk.voynum" maxlength="30" placeholder="请输入Voyage numer"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Goods code" prop="bddgrp.rec.ngrcod">
<c-select v-model="model.bddgrp.rec.ngrcod" style="width:100%" placeholder="请选择Goods code">
</c-select>
</el-form-item>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdck/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>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000047 -->
<el-tab-pane label="单据概况" name="litdckp">
<c-content>
<m-litdckp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000137 -->
<!-- <el-tab-pane label="ovwp" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000062 -->
<el-tab-pane label="单据详情" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000079 -->
<!-- <el-tab-pane label="Shipping Detail" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
</el-tab-pane> -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="帐务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" ref="docpan" />
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Ditdck from "~/model/Ditdck"
import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/model/Ditdck/Pattern"
import Default from "~/model/Ditdck/Default";
import Check from "~/model/Ditdck/Check";
import Litdckp from "./Litdckp"
import Ovwp from "./Ovwp"
import Docpre from "./Docpre"
import Shpdet from "./Shpdet"
import Limitbody from "./Limitbody";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
export default {
components:{
"m-litdckp" : Litdckp,
"m-ovwp" : Ovwp,
"m-docpre" : Docpre,
"m-shpdet" : Shpdet,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
"m-coninfp": Coninfp,
"m-ccvpan": Ccvpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "litdckp",
trnName:"ditdck",
model:new Ditdck().data,
//checkRules: Check,
defaultRules: Default,
//pattern: Pattern,
rules:null,
codes:{...CodeTable},
}
},
methods:{
},
created:async function(){
console.log("进入ditdck交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
console.log(rtnmsg)
Utils.copyValueFromVO(this.model,rtnmsg.data)
console.log(this.model);
if(this.isInDisplay){
this.restoreDisplay()
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -51,6 +51,7 @@ export default {
{ inifrm: "infbdd", ininam: "信用证单据查询", pntmiu: "2" },
{ inifrm: "bdtudp", ininam: "信用证承兑", pntmiu: "2" },
{ inifrm: "bdtdcr", ininam: "信用证不符点/拒付", pntmiu: "2" },
{ inifrm: "ditdck", ininam: "信用证到单", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
//{ 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