Commit e1101691 by WF1020

litopn暂存修改

parent 1b4bf460
import Api from '~/service/Api';
import { getTrnNameByInr } from "~/service/business/common";
import moment from 'moment';
export default {
methods: {
async handleSearch() {
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let params = {
...this.model.infcon,
fenlishi: this.model.fenlishi,
seapurpos: this.model.seapurpos,
seagtyp: this.model.seagtyp,
fromflg: this.model.fromflg,
cmtflg: this.model.cmtflg,
fingua: this.model.fingua,
pageIndex: this.pagination.pageIndex,
pageSize: this.pagination.pageSize,
opndatfrom:moment(opndatfrom).format('YYYY-MM-DD'),
opndatto:moment(opndatto).format('YYYY-MM-DD'),
};
let rtnmsg = await Api.post('/service/inflid/getList', params);
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = [];
this.stmData.data = rtnmsg.data.list;
this.pagination.total = rtnmsg.data.total;
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.infcon.seaownref = '';
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.isGuarantee = '';
this.model.infcon.nam = '';
this.model.infcon.pty.extkey = '';
this.model.infcon.seapty = '';
this.model.infcon.searef = '';
this.model.infcon.pty.nam = '';
this.model.infcon.searol = '';
this.model.infcon.usr.extkey = '';
this.model.infcon.seasta = '';
this.model.infcon.seacur = '';
this.model.infcon.seaamtfr = '';
this.model.infcon.seaamtto = '';
this.model.seagtyp = '';
this.model.infcon.relflg = '';
this.model.infcon.hndtyp = '';
this.model.infcon.cxmflg = '';
this.model.seapurpos = '';
this.model.seahndtyp = '';
this.model.infcon.segtyp = '';
this.model.fromflg = '';
this.model.fenlishi = '';
this.model.cmtflg = '';
this.model.fingua = '';
},
// pageSize改变
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pagination.pageIndex = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.pagination.pageIndex = val;
this.handleSearch();
},
toLitpop() {
this.$router.history.push('/business/litpop');
},
toLitopn() {
// 点击开立,清空从待经办进来的时候带的行参数
localStorage.setItem('row_gitopn', null)
this.$router.history.push('/business-new/litopn');
},
toLetopn() {
this.$router.history.push('/business-new/letopn');
},
// 详情
async details(row) {
const params = {
//根据xx字段 查询详情表的数据
ownref: row.ownref,
};
const res = await Api.post('/service/inflid/getDetailByOwnref', params);
if (res.respCode === SUCCESS) {
this.trnData.data = res.data;
}
},
// 关闭详情弹框
closeDetailsDialog(refId) {
this.$refs[refId].doClose();
console.log('close');
},
// 处理
async handler(row) {
this.initdialog = true;
this.currentHandleRow = row
const params = {
//根据xx字段 查询处理的数据
ownref: row.ownref,
};
const res = await Api.post('/service/inflid/dealWithByOwnref', params);
if (res.respCode === SUCCESS) {
if (res.data) {
this.handlerDataList = []
Object.keys(res.data).map((item) => {
this.handlerDataList.push({
label: item,
value: res.data[item]
})
})
}
}
},
handleClick (btn) {
if (btn.value === 'N') {
return
}
let filterRoute = this.btnRouteMap.filter((item) => {
return item.label === btn.label
})
this.$router.history.push({
path: filterRoute[0].route,
query: {
inr: this.currentHandleRow.inr
}
});
},
// 关闭处理弹框
closeHandlerDialog() {
this.initdialog = false;
},
/**
* 打开详情页面
* @param {string} inr
*/
display(inr) {
getTrnNameByInr({ inr }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + inr
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
}
},
};
export default class Inflid{
constructor () {
this.data = {
seagodcod: '',
seacnfdet: '',
sealcrtyp: '',
infcon: {
opndatfrom: '',
opndatto: '',
seaownref: '',
seaamtfr: '',
seasta: '',
seacur: '',
pty: {
extkey: '',
nam: ''
},
usr: {
extkey: ''
},
seaamtto: '',
searol: '',
nam: '',
seapty: '',
searef: ''
}
}
}}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small">
<el-row>
<c-col :span="8">
<el-form-item label="信用证编号" prop="infcon.seaownref" style="width: 100%">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择起始日期"
value-format="yyyy-MM-dd" style="width: 100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择截至日期" style="width: 100%"
value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人参考号" prop="infcon.searef" style="width: 100%">
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入当事人参考号"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="当事人编号" prop="infcon.pty.extkey" style="width: 100%">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入当事人编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人名称" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入当事人名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人BIC编码" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="当事人BIC编码"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入业务简略信息"
style="width: 100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择当事人角色" :code="codes.payrol">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户经理" prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta" style="width: 100%">
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择业务状态">
<el-option v-for="item in codes.seasta" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<el-option v-for="item in codes.seacur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额区间" prop="infcon.seaamtfr" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入金额下限" style="width: 100%"></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入金额上限" style="width: 100%"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="保兑指示" prop="seacnfdet" style="width: 100%">
<c-select v-model="model.seacnfdet" style="width: 100%" placeholder="请选择保兑指示">
<el-option v-for="item in codes.cnfins" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="信用证类型" prop="sealcrtyp" style="width: 100%">
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width: 100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="货物类型" prop="seagodcod" style="width: 100%">
<c-select v-model="model.seagodcod" style="width: 100%" placeholder="请选择货物类型">
<el-option v-for="item in codes.godcod" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0px" title="LITOPN"
@click="toLitopn">
进口信用证开立
</c-button>
</c-col>
<div style="height: 90%">
<c-col :span="24">
<el-table
:data="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span
class="el-icon-close"
style="cursor: pointer"
@click="closeDetailsDialog('popover_' + scope.row.IDX)"
></span>
</div>
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="250px" >
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['inr'])"
>详情</c-button
>
</template>
</el-table-column>
</el-table>
<c-button
style="margin-left: 0"
size="small"
slot="reference"
@click="details(scope.row)">
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="handler(scope.row)"
>处理
</c-button>
</template>
</el-table-column>
</el-table>
<div class="pagination-box">
<el-pagination
style="margin-right: 30px;"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="sizes, prev, pager, next"
:total="pagination.total">
</el-pagination>
</div>
</c-col>
</div>
<!-- <m-busbtn ref="childs" :ownref="ownref" trnCode="litsel" :model="litselModel" ownrefPath="lidget.lid.ownref">
</m-busbtn> -->
</div>
</template>
<script>
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {},
data() {
return {
ownref: "",
isGuarantee: "",
// 表格相关
stmData: {
columns: [
{
label: '保函编号',
prop: 'ownref'
},
{
label: '客户经理',
prop: 'ownusr'
},
{
label: '分行名称',
prop: 'bchname'
},
{
label: '处理类型',
prop: 'hndtyp',
},
{
label: '电子渠道类型',
prop: 'fromflg'
},
{
label: '其他编号',
prop: 'othersno'
},
{
label: '保函品种',
prop: 'othersno',
},
{
label: '开立日期',
prop: 'opndat'
},
{
label: '保函效期',
prop: 'expdat'
},
],
data: [],
},
pagination: {
pageIndex: 1,
pageSize: 10,
total: 0
},
// 详情
trnData: {
columns: [
{
label: '交易id',
prop: 'inr'
},
{
label: '保函编号',
prop: 'ownref'
},
{
label: '交易名称',
prop: 'ininam'
},
{
label: '条目',
prop: 'inidattim'
},
{
label: '状态',
prop: 'relflg'
},
{
label: '币种',
prop: 'reloricur'
},
{
label: '相关金额',
prop: 'reloriamt'
},
{
label: '标识',
prop: 'relres'
},
],
data: [],
},
// 处理
initdialog: false,
handlerDataList: [],
btnRouteMap: [
{
label: '注销',
route: '/business-new/gitcan'
},
{
label: '修改',
route: '/business-new/gitame'
},
{
label: '保函索赔登记',
route: '/business-new/gitcrq'
},
{
label:'保函收费',
route:'/business-new/gitfee'
},
{
label:'绑定电子凭证',
route:'/business-new/gitatt'
},
{
label:'保证金收取',
route:'/business-new/fctopn'
}
],
currentHandleRow: {}
};
},
methods: {
},
created: function () { },
};
</script>
<style>
.m-table-search {
padding:
20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
</style>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Inflid from "../model";
import Infsea from "./Infsea";
export default {
name: 'Inflid',
components:{
"m-infsea" : Infsea,
},
provide() {
return {
root: this
}
}, // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "inflid",
model: new Inflid().data,
rules: null,
codes:{...CodeTable},
}
},
methods:{
getInidatfro() {
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10);
this.model.infcon.opndatfrom = new Date(datetime);
}
},
mounted () {
this.getInidatfro()
},
}
</script>
<style scoped>
</style>
......@@ -131,8 +131,31 @@ export default {
this.model.lidgrp.rec.ownref = res.data;
}
},
onSeainf() {},
async onExtkey(e) {},
// 初始化开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/litopn/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
},
};
import Api from '~/service/Api';
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Litopn {
constructor() {
this.data = {
addbcbl1blk: '',
litbenl1blk: '',
litapll1blk: '',
litrmbl1blk: '',
lidgrp: {
rec: {
ownref: '', // Reference .lidgrp.rec.ownref
lcrtyp: '', // Form of L/C .lidgrp.rec.lcrtyp
nomtop: '', // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton: '', // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc: '', // Amount Specification .lidgrp.rec.nomspc
opndat: '', // L/C Issued on .lidgrp.rec.opndat
preadvdt: '', // Date Pre-advised .lidgrp.rec.preadvdt
shpdat: '', // Latest Shipment Date .lidgrp.rec.shpdat
expdat: '', // L/C Expiring on .lidgrp.rec.expdat
expplc: '', // in (Place)/ counters of .lidgrp.rec.expplc
shppar: '', // Partial Shipment .lidgrp.rec.shppar
shptrs: '', // Transhipment .lidgrp.rec.shptrs
apprul: '', // Applicable Rules .lidgrp.rec.apprul
apprultxt: '', // Other Applicable Rules .lidgrp.rec.apprultxt
cnfdet: '', // Confirm. Instructions .lidgrp.rec.cnfdet
rmbflg: '', // Reimbursement Information .lidgrp.rec.rmbflg
revflg: '', // Revolving Flag .lidgrp.rec.revflg
nam: '', // Name .lidgrp.rec.nam
resflg: '', // Reserved Contract .lidgrp.rec.resflg
shppars18: '', // Partial Shipment .lidgrp.rec.shppars18
shptrss18: '', // Transhipment .lidgrp.rec.shptrss18
guaflg: '', // Mortgage Flag .lidgrp.rec.guaflg
regref: '', // Register Ref. .lidgrp.rec.regref
rptref: '', // 合同号 .lidgrp.rec.rptref
oppbnk: '', // 对手行代码 .lidgrp.rec.oppbnk
dkflg: '', // 是否代开信用证 .lidgrp.rec.dkflg
avbwth: '', // Available with .lidgrp.rec.avbwth
avbby: '', // Available by .lidgrp.rec.avbby
shpfro: '', // Dispatch from .lidgrp.rec.shpfro
porloa: '', // Air-/Port of Departure .lidgrp.rec.porloa
pordis: '', // Air-/Port of Destination .lidgrp.rec.pordis
shpto: '', // Final Destination .lidgrp.rec.shpto
chato: '', // Drafts at .lidgrp.rec.chato
stacty: '', // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday: '0', // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18: '21', // Days of presentation period .lidgrp.rec.prepers18
prepertxts18: '', // Presentation period text .lidgrp.rec.prepertxts18
stagod: '', // Goods Code .lidgrp.rec.stagod
spcbenflg: '', // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
spcrcbflg: '', // Special Payment Conditions for specified Bank only .lidgrp.rec.spcrcbflg
redclsflg: '', // Red/Green Clause .lidgrp.rec.redclsflg
branchinr: '',
gidgrp:{
rec:{
purpos:''
}
},
cbs: {
cnf: {
cur: '', // Confirmation Amount .gidgrp.cbs.cnf.cur
amt: '0.00', // Balance .gidgrp.cbs.cnf.amt
gitp:{
swiftflg:''
},
nom1: {
cur: '', // Nominal Amount .lidgrp.cbs.nom1.cur
amt: '0.00', // Nominal Amount .lidgrp.cbs.nom1.amt
litp: {
avblab: '',
usr: {
extkey: ''
},
max: {
cur: '', // Maximum Amount .lidgrp.cbs.max.cur
amt: '0.00', // Maximum Amount .lidgrp.cbs.max.amt
aamp: {
aammod: {
addamtflg: ''
}
}
},
max2: {
cur: '', // Additional Amount .lidgrp.cbs.max2.cur
amt: '0.00', // Additional Amount .lidgrp.cbs.max2.amt
bccls5: '',
godnam: '',
label4: '',
bccls6: '',
number: '',
label5: '',
bccls7: '',
label6: '',
hmdmod2: {
bennam: ''
},
opn1: {
cur: '',
amt: '0.00',
bccls1: '',
bccls2: '',
bccls3: '',
bccls4: '',
bcbtyp6: '',
cnybop: {
cnylib: {
doccurdate: '',
stermtype: '',
sorgcode: '',
dcreditenddate: '',
dexchangeenddate: '',
sbankorgcode: '',
sbanktrano: '',
currencycode: '',
stranstype: '',
famt: '',
sforbankswiftbic: '',
spk: '',
denddate: '',
dexchangedate: '',
stransattr: '',
sforeigncountrycode: ''
},
fexchangeamt: '',
sbankname: '',
outflg: '',
cnyflg: '',
sforeignorgname: '',
traflg: '',
saddwordlib: '',
vouflg: '',
libflg: '',
sorgname: ''
},
bcbtyp7: '',
bcbtyp4: '',
bcbtyp5: '',
bcbtyp2: '',
bcbtyp3: '',
bcbtyp1: '',
bcbdat: '',
label1: '',
label2: '',
label3: '',
lidgrp: {
a2b: {
pts: new Pts().data,
},
opn2: {
cur: '', // Open Add. Amount .lidgrp.cbs.opn2.cur
amt: '0.00', // Open Add. Amount .lidgrp.cbs.opn2.amt
blk: {
insbnk: '',
feetxt: '',
mixdet: '',
shpper: '',
adlcnd: '',
addamtcov: '',
avbwthtxt: '',
defdet: '',
lcrdoc: '',
lcrgod: '',
spcben: '',
dftat: '',
spcrcb: ''
},
oldmax: {
cur: '',
amt: '0.00'
}
rec: {
tenmaxday: '',
expplc: '',
nomton: '',
stacty: '',
dkflg: '',
rmbflg: '',
avbwth: '',
opndat: '',
nomtop: '',
revflg: '',
stagod: '',
spcbenflg: '',
shpdat: '',
oppbnk: '',
nam: '',
prepertxts18: '',
redclsflg: '',
nomspc: '',
shptrss18: '',
spcrcbflg: '',
shpfro: '',
lcrtyp: '',
ownref: '',
preadvdt: '',
avbby: '',
pordis: '',
shppar: '',
apprul: '',
prepers18: '',
guaflg: '',
expdat: '',
shpto: '',
rptref: '',
cnfdet: '',
regref: '',
porloa: '',
apprultxt: ''
},
apl: {
adv: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.apl.namelc
adrelc: '', // 地址 .lidgrp.apl.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.apl.dbfadrblkcn
},
adv: {
con: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.adv.namelc
adrelc: '', // 地址 .lidgrp.adv.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.adv.dbfadrblkcn
},
ben: {
ini: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.ben.namelc
adrelc: '', // 地址 .lidgrp.ben.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.ben.dbfadrblkcn
},
blk: {
addamtcov: '', // Covered .lidgrp.blk.addamtcov
avbwthtxt: '', // Available in .lidgrp.blk.avbwthtxt
defdet: '', // Deferred Payment Details .lidgrp.blk.defdet
dftat: '', // Drafts at .lidgrp.blk.dftat
shpper: '', // Shipment Period .lidgrp.blk.shpper
preper: '', // Presentation Period .lidgrp.blk.preper
preperflg: '', // Presentation Period modified .lidgrp.blk.preperflg
feetxt: '', // Additional Details to Code for Charges .lidgrp.blk.feetxt
mixdet: '', // Mixed Payment Details .lidgrp.blk.mixdet
lcrgod: '', // Description. of Goods .lidgrp.blk.lcrgod
lcrdoc: '', // Documents Required .lidgrp.blk.lcrdoc
adlcnd: '', // Additional Conditions .lidgrp.blk.adlcnd
insbnk: '', // Instructions to Pay., .lidgrp.blk.insbnk
spcrcb: '', // Special Payment .lidgrp.blk.spcrcb
spcben: '', // Special Payment Conditions .lidgrp.blk.spcben
cbs: {
opn2: {
cur: '',
amt: '0.00'
},
avb: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.avb.namelc
adrelc: '', // 地址 .lidgrp.avb.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.avb.dbfadrblkcn
max: {
cur: '',
amt: '0.00'
},
drw: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.drw.namelc
adrelc: '', // 地址 .lidgrp.drw.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.drw.dbfadrblkcn
nom1: {
cur: '',
amt:'0.00'
},
ini: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.ini.namelc
adrelc: '', // 地址 .lidgrp.ini.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.ini.dbfadrblkcn
max2: {
cur: '',
amt: '0.00'
}
},
rmb: {
pts: new Pts().data,
},
a2b: {
drw: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.a2b.namelc
adrelc: '', // 地址 .lidgrp.a2b.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.a2b.dbfadrblkcn
},
con: {
ben: {
pts: new Pts().data,
namelc: '', // 名称 .lidgrp.con.namelc
adrelc: '', // 地址 .lidgrp.con.adrelc
dbfadrblkcn: '', // Chinese address .lidgrp.con.dbfadrblkcn
},
},
litp: {
avbwthtxt: '',
ptsaddp: {
ptsaddg: '',
},
recget: {
sdamod: {
seainf: '', // .litp.recget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.recget.sdamod.dadsnd
},
},
usr: {
extkey: '', // Responsible User .litp.usr.extkey
},
usrget: {
sdamod: {
seainf: '', // .litp.usrget.sdamod.seainf
},
},
aamp: {
addamtcov: '',
aammod: {
addamtflg: '', // Add. Amount .litp.aamp.aammod.addamtflg
},
},
aplp: {
ptsget: {
sdamod: {
seainf: '', // .litp.aplp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.aplp.ptsget.sdamod.dadsnd
},
},
},
advp: {
ptsget: {
sdamod: {
seainf: '', // .litp.advp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.advp.ptsget.sdamod.dadsnd
},
},
},
benp: {
ptsget: {
sdamod: {
seainf: '', // .litp.benp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.benp.ptsget.sdamod.dadsnd
},
},
},
oppbnkl: '', // 对手行代码 .litp.oppbnkl
avbp: {
ptsget: {
sdamod: {
seainf: '', // .litp.avbp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.avbp.ptsget.sdamod.dadsnd
},
avb: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
},
drwp: {
ptsget: {
sdamod: {
seainf: '', // .litp.drwp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.drwp.ptsget.sdamod.dadsnd
},
},
},
defdetlab: '', // Label DEFDET .litp.defdetlab
avblab: '', // Label Available with Bank .litp.avblab
inip: {
ptsget: {
sdamod: {
seainf: '', // .litp.inip.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.inip.ptsget.sdamod.dadsnd
},
},
},
rmbp: {
ptsget: {
sdamod: {
dadsnd: '', // Drag Drop Sender .litp.rmbp.ptsget.sdamod.dadsnd
seainf: '', // .litp.rmbp.ptsget.sdamod.seainf
},
},
},
a2bp: {
ptsget: {
sdamod: {
seainf: '', // .litp.a2bp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.a2bp.ptsget.sdamod.dadsnd
},
},
},
conp: {
ptsget: {
sdamod: {
seainf: '', // .litp.conp.ptsget.sdamod.seainf
dadsnd: '', // Drag Drop Sender .litp.conp.ptsget.sdamod.dadsnd
},
},
},
},
bcbtyp1: '', // 不在名录 .bcbtyp1
bcbtyp2: '', // 异地付汇 .bcbtyp2
bcbtyp3: '', // 转口�'�易 .bcbtyp3
bcbtyp4: '', // 90天以上信用证 .bcbtyp4
bcbtyp5: '', // 不需要 .bcbtyp5
bcbtyp6: '', // 其它 .bcbtyp6
bcbtyp7: '', // 备查表类型填写文本框 .bcbtyp7
godnam: '', // �'�物简称 .godnam
label1: '1、申请人与我行已签署贸易融资协议(如需);', // 国际部意见 .label1
label2: '2、申请书要素齐全;', // 国际部意见 .label2
label3: '3、申请书是否双面签章,签章已经核符;', // 国际部意见 .label3
label4: '4、占用授信额度的开证业务;', // 国际部意见 .label4
label6: '', // 国际部意见 .label6
label5: '', // 国际部意见 .label5
bcbdat: '', // 备案表效期 .bcbdat
bccls1: '', // 异地通知 .bccls1
bccls2: '', // 受益人为保税区企业 .bccls2
bccls3: '', // 运输单据抬头人为开证行,申请人不得拒付 .bccls3
bccls4: '', // 目的港在境外的转口贸易/境外工程业务 .bccls4
bccls5: '', // 起运地与目的地均为国内,属于加工贸易深加工 .bccls5
bccls6: '', // 非物权凭证,贸易背景真实 .bccls6
bccls7: '', // 超90天,已经总行贸易金融部批准办理 .bccls7
cnybop: {
cnyflg: '', // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg: '', // 是否报送跨境人民币2107表 .cnybop.traflg
outflg: '', // 是否报送跨境人民币2111表 .cnybop.outflg
libflg: '', // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg: '', // 是否报送跨境人民币2122表 .cnybop.vouflg
cnylib: {
spk: '', // 业务主键 .cnybop.cnylib.spk
sbankorgcode: '', // 银行机构代码 .cnybop.cnylib.sbankorgcode
stransattr: '', // 业务属性 .cnybop.cnylib.stransattr
stranstype: '', // 业务类型 .cnybop.cnylib.stranstype
sforbankswiftbic: '', // 境外对手行代码 .cnybop.cnylib.sforbankswiftbic
sorgcode: '', // 境内企业机构代码 .cnybop.cnylib.sorgcode
sforeigncountrycode: '', // 境外企业国别地区代码 .cnybop.cnylib.sforeigncountrycode
doccurdate: '', // 业务发生日期 .cnybop.cnylib.doccurdate
denddate: '', // 业务到期日 .cnybop.cnylib.denddate
dcreditenddate: '', // 信用证到期日 .cnybop.cnylib.dcreditenddate
famt: '', // 金额 .cnybop.cnylib.famt
dexchangedate: '', // 承兑日期 .cnybop.cnylib.dexchangedate
dexchangeenddate: '', // 承兑到期日 .cnybop.cnylib.dexchangeenddate
sbanktrano: '', // 银行业务编号 .cnybop.cnylib.sbanktrano
stermtype: '', // 期限条件 .cnybop.cnylib.stermtype
currencycode: '', // 币种 .cnybop.cnylib.currencycode
},
sorgname: '', // 境内企业名称 .cnybop.sorgname
sforeignorgname: '', // 境外企业名称 .cnybop.sforeignorgname
saddwordlib: '', // 交易附言 .cnybop.saddwordlib
sbankname: '', // 银行机构名称 .cnybop.sbankname
fexchangeamt: '', // 承兑金额 .cnybop.fexchangeamt
},
hmdmod2: {
bennam: '', // 交易对手名称 .hmdmod2.bennam
},
pageId: '', // ctx的key
statusInfo: '',
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -39,7 +39,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAvbpDet"
icon="el-icon-info"
>
</c-button>
......@@ -135,7 +134,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.drw.pts.extkey')"
icon="el-icon-search"
>
......@@ -145,7 +143,6 @@
size="small"
type="primary"
:disabled="this.flag2"
@click="onDrwpDet"
icon="el-icon-info"
>
</c-button>
......@@ -252,7 +249,6 @@
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
></c-button>
</template>
</c-fullbox>
......@@ -275,7 +271,6 @@
size="small"
type="primary"
icon="el-icon-search"
@click="onChariaButtxmsel"
></c-button>
</template>
</c-fullbox>
......@@ -344,9 +339,7 @@ export default {
};
},
methods: {
onAvbpDet() {
console.log(this.model.lidgrp.rec.avbby);
},
},
created: function () {},
watch: {
......
......@@ -21,7 +21,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px; height: 32px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
>
</c-button>
......@@ -69,7 +68,6 @@
style="margin-left: 10px; padding: 0 12px"
type="primary"
icon="el-icon-search"
@click="onExtkey"
>
</c-button>
</template>
......@@ -384,7 +382,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.apl.pts.extkey')"
icon="el-icon-search"
>
</c-button>
......@@ -392,7 +389,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
icon="el-icon-info"
>
</c-button>
......@@ -447,7 +443,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.adv.pts.extkey')"
icon="el-icon-search"
>
</c-button>
......@@ -455,7 +450,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAdvpDet"
icon="el-icon-info"
>
</c-button>
......@@ -506,7 +500,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.ben.pts.extkey')"
icon="el-icon-search"
>
</c-button>
......@@ -514,7 +507,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onBenpDet"
icon="el-icon-info"
>
</c-button>
......
......@@ -28,7 +28,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.ini.pts.extkey')"
icon="el-icon-search"
>
......@@ -38,7 +37,7 @@
size="small"
type="primary"
icon="el-icon-info"
@click="onInipDet"
>
</c-button>
......@@ -86,7 +85,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.rmb.pts.extkey')"
icon="el-icon-search"
>
......@@ -96,7 +94,6 @@
size="small"
type="primary"
icon="el-icon-info"
@click="onRmbpDet"
>
</c-button>
</template>
......@@ -144,7 +141,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.con.pts.extkey')"
icon="el-icon-search"
>
......@@ -153,7 +149,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onConpDet"
icon="el-icon-info"
>
......@@ -206,7 +201,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.a2b.pts.extkey')"
icon="el-icon-search"
>
......@@ -215,7 +209,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onA2bpDet"
icon="el-icon-info"
>
......@@ -267,7 +260,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf('lidgrp.avb.pts.extkey')"
icon="el-icon-search"
>
......@@ -276,7 +268,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAvbpDet"
icon="el-icon-info"
>
</c-button>
......
......@@ -93,20 +93,13 @@
</c-tabs>
</el-form>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData1"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
......@@ -121,10 +114,9 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import operationFunc from '~/mixin/operationFunc';
import Litopn from "../model";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "../model/check";
import Event from "../event";
import formRules from '../model/check'
import event from "../event";
import Ovwp from "./Ovwp";
import Aamp from "./Aamp";
import Detp from "./Detp";
......@@ -180,7 +172,7 @@ export default {
root: this,
};
},
mixins: [operationFunc, Event],
mixins: [operationFunc, event],
computed: {
...mapState({
toHandleRowData: (state) => state.litopn.toHandleRowData
......@@ -191,7 +183,7 @@ export default {
tabVal: "ovwp",
trnName: "litopn",
model: new Litopn().data,
rules: Check,
rules: formRules,
codes: { ...CodeTable },
activeNames: ["engp"],
promptData: {
......@@ -236,18 +228,14 @@ export default {
],
data: []
},
promptData1: {
title: '',
columns: [],
data:[]
}
};
},
methods: {
},
created: async function () {
console.log("进入litopn交易");
this.init();
mounted () {
this.init()
this.queryHndtypCodeTableList(this.trnName)
},
};
</script>
......
......@@ -439,8 +439,8 @@ export default {
let routeQuery = this.$route.query
const params = {
//根据inr 查询详情表的数据
// selsptinr: routeQuery.inr
selsptinr: '00006885'
selsptinr: routeQuery.inr
// selsptinr: '00006885'
}
const res = await Api.post('/service/sptsel/detail', params);
if (res.respCode === SUCCESS) {
......
......@@ -35,6 +35,6 @@ const Business = [
{ path: 'brtacp', component: () => import('~/business/brtacp/views'), name: 'brtacp', meta: { title: '进口信用证单据接受不符点' } },
{ path: 'litsel', component: () => import('~/business/litsel/views'), name: 'litsel', meta: { title: '进口信用证入口交易' } },
{ path: 'brtset', component: () => import('~/business/brtset/views'), name: 'brtset', meta: { title: '进口信用证单据进口付汇' } },
{ path: 'inflid', component: () => import('~/business/inflid/views'), name: 'inflid', meta: { title: '信用证入口交易' } },
]
export default Business
\ No newline at end of file
......@@ -276,7 +276,7 @@ export default {
if (menuItem.pntmiu === undefined || menuItem.pntmiu === "") {
const children = [];
// 此处为了兼容新的保函模块
if (menuItem.inifrm === '13') {
if (['4', '13'].includes(menuItem.inifrm)) {
menuItem.path = "/business-new";
} else {
menuItem.path = "/business";
......
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