Commit 84f2688d by wangna

转让信用证、出口融资汉化

parent c8cf2628
......@@ -233,13 +233,13 @@
return {
ptsaddg: {
columns: [{
title: "第一",
title: "1st",
width: "120px",
dataIndex: "ptyextkey1",
show: "input",
},
{
title: "第二",
title: "2nd",
width: "180px",
dataIndex: "ptyextkey2",
show: "input",
......
......@@ -19,7 +19,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000003 -->
<el-tab-pane label="接收单据" name="drv">
<el-tab-pane label="到单" name="drv">
<m-drv :model="model" :codes="codes"/>
</el-tab-pane>
......
......@@ -354,28 +354,56 @@
></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" @click="closeTrn('popover_' + scope.row.IDX)"/>
<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"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)" slot="reference">
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button style="margin-left: 0" size="small" type="primary" @click="getButtons(scope.row['OWNREF'])">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['出口融资编号'])"
>
处理
</c-button>
</template>
......@@ -383,11 +411,18 @@
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" :model="BptselModel" ownrefPath="bpdgrp" trnCode="bptsel" @onChoose="onChoose">11</m-busbtn>
</div>
<m-busbtn
ref="childs"
:ownref="ownref"
:model="BptselModel"
ownrefPath="bpdgrp"
trnCode="bptsel"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
......@@ -395,7 +430,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbpd/Event";
import BusNavbar from "~/views/Public/BusNavbar";
import BptselModel from "~/model/Bptsel"
import BptselModel from "~/model/Bptsel";
export default {
inject: ["root"],
......@@ -411,103 +446,45 @@ export default {
searchToggle: true,
stmData: {
columns: [
'0 1 "INR" 150',
'1 2 "OWNREF" 150',
'2 3 "NAM" 150',
'3 4 "FIANAM" 150',
'4 5 "PNTNAM" 150',
'5 6 "FIAREF" 150',
'6 7 "PNTREF" 150',
'7 8 "CREDAT" 150',
{
index: 8,
position: 9,
width: 100,
pattern: "date",
label: "OPNDAT",
},
{
index: 9,
position: 10,
width: 100,
pattern: "date",
label: "CLSDAT",
},
'10 11 "MATDAT" 150',
'11 12 "INTUNT" 150',
'12 13 "OWNUSR" 150',
'13 14 "VER" 150',
'14 15 "PNTINR" 150',
'15 16 "FPDINR" 150',
'16 17 "PNTTYP" 150',
'17 18 "INTRAT" 150',
'18 19 "INTDAY" 150',
'19 20 "LIAEXTID" 150',
'20 21 "FINTYP" 150',
'21 22 "PCTFIN" 150',
'22 23 "INTIRT" 150',
'23 24 "JZLLGZ" 150',
'24 25 "ETYEXTKEY" 150',
'25 26 "PUNINTRAT" 150',
'26 27 "TOLRAT" 150',
'27 28 "MARRAT" 150',
'28 29 "GRARAT" 150',
'29 30 "BRANCHINR" 150',
'30 31 "BCHKEYINR" 150',
'31 32 "RSKRAT" 150',
'32 33 "RSKTYP" 150',
'33 34 "FINACT" 170 ',
'34 35 "FORTYP" 150',
'35 36 "LCTYP" 150',
'36 37 "FINCOD" 150',
'37 38 "FINBLK" 150',
'38 39 "ITFBLK" 150',
'39 40 "OVDDAT" 150',
'40 41 "OVDFLG" 150',
'41 42 "FEETYP" 150',
'42 43 "FEEAMT" 150',
'43 44 "ACTYLD" 150',
'44 45 "GUAFLG" 150',
'45 46 "DINJDM" 150',
'46 47 "F0102" 150',
'47 48 "F0103" 150',
'48 49 "F0104" 150',
'49 50 "F0105" 150',
'50 51 "TRNTYP" 150',
'51 52 "OPPACC" 150',
'52 53 "FLOWFLAG" 150',
'53 54 "RECACCOUNT" 150',
'54 55 "RECNAME" 150',
'55 56 "RECCOUNTRYCODE" 150',
'56 57 "RECDISTRICTCODE" 150',
'57 58 "SHUILV" 150',
'58 59 "CONRAT" 150',
'59 60 "INVTYP" 150',
'60 61 "FFTTYP" 150',
'61 62 "BMHSWF" 170 ',
'62 63 "BMHENM" 170 ',
'1 1 "出口融资编号" 150',
'2 2 "客户经理" 80',
// '19 3 "融资类型" 120',
{
index: 63,
position: 64,
width: 100,
pattern: "date",
label: "MCDATE",
},
{
index: 64,
position: 65,
width: 100,
pattern: "date",
label: "BMHRZD",
index: 19,
position: 3,
width: 120,
pattern: "code",
label: "融资类型",
code: this.codes.fintyp_bpd,
},
'65 66 "BMHAMT" 150',
'66 67 "BMHRAT" 150',
'67 68 "YWACCT" 150',
'68 69 "LPRTYP" 150',
'69 70 "BENNAM" 150',
'70 71 "LOANNO" 150',
'71 72 "BENIDCODE" 150',
'72 73 "MYCONTNO" 150',
'3 4 "Parent Contract" 120',
'4 5 "执行利率" 120',
'22 6 "Pta .No" 120',
'23 7 "当事人编号" 200',
'24 8 "Advanced Party" 200',
'25 9 "Advanced CN" 200',
'5 10 "融资状态" 100',
'6 11 "融资账号" 100',
'31 12 "组织机构代码" 100',
'7 13 "开立日期" 80',
'8 14 "关闭日期" 80',
'18 15 "参考指标" 80',
'27 16 "单据金额币种" 100',
'28 17 "单据金额" 110',
'29 18 "余额币种" 100',
'30 19 "余额" 110',
'9 20 "融资天数" 80',
'26 21 "Pty .No" 120',
'10 22 "福费廷类型" 120',
'11 23 "福费廷转卖类型" 150',
'12 24 "卖出日期" 80',
'13 25 "包买行SWIFT号" 120',
'14 26 "包买行英文名称" 120',
'15 27 "包买行融资到期日" 150',
'16 28 "包买行汇入我行款项金额" 200',
'17 29 "我行卖出执行利率" 150',
'20 30 "开证行BIC编码" 120',
'21 31 "开证行BIC名称" 120',
],
data: [],
},
......@@ -535,21 +512,20 @@ export default {
},
methods: {
...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
......
......@@ -182,7 +182,7 @@
<c-col :span="4">
<el-form-item label="" style="text-align: left" prop="docdisflg">
<c-checkbox v-model="docdisflg" @change="defaultFunction()"
>不符点描述 modified</c-checkbox
>不符点描述修改</c-checkbox
>
</el-form-item>
</c-col>
......
......@@ -135,7 +135,7 @@
v-model="model.ltdgrp.rec.avbby"
maxlength="3"
style="width: 100%"
placeholder="请输入余额"
placeholder="请输入"
disabled
:code="codes.avbby"
></c-select>
......@@ -171,7 +171,7 @@
<c-input
v-model="model.ltdgrp.rec.lcrtyp"
maxlength="40"
placeholder="请输入被授权的银行当事人"
placeholder="请输入"
disabled
:code="codes.lcrtyp1"
></c-input>
......@@ -185,7 +185,7 @@
type="date"
v-model="model.ltdgrp.rec.expdat"
style="width: 100%"
placeholder="请选择装运日期"
placeholder="请选择到期日"
disabled
></c-date-picker>
</el-form-item>
......@@ -194,7 +194,7 @@
<c-input
v-model="model.ltdgrp.rec.expplc"
maxlength="40"
placeholder="请输入被授权的银行当事人"
placeholder="请输入到期地点"
disabled
></c-input>
</c-col>
......@@ -279,14 +279,14 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Document Set Ref."
label="单据编号"
prop="btdgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.btdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
placeholder="请输入单据编号"
style="width: 95%"
disabled
></c-input>
......@@ -315,20 +315,20 @@
model.ltdgrp.rec.inr && !model.btdgrp.rec.ownref ? false : true
"
>
Get
获取
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="Document Type"
label="单据类型"
prop="btdgrp.rec.doctypcod"
style="width: 100%"
>
<c-select
v-model="model.btdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Document Type"
placeholder="请选择单据类型"
disabled
>
<el-option
......@@ -344,11 +344,11 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
<el-form-item label="到单单据本金" prop="btdgrp.cbs.max.cur">
<c-input
v-model="model.btdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入单据金额"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
......@@ -369,7 +369,7 @@
<c-input
v-model="model.btdgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请输入到单附加金额"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
......@@ -387,71 +387,71 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="Received on(2nd Ben)"
label="收单日期(第二受益人)"
prop="btdgrp.rec.rcvdatbe2"
>
<c-date-picker
type="date"
v-model="model.btdgrp.rec.rcvdatbe2"
style="width: 100%"
placeholder="请选择Received on(2nd Ben)"
placeholder="请选择收单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date" prop="btdgrp.rec.orddatbe2">
<el-form-item label="交单日期" prop="btdgrp.rec.orddatbe2">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.orddatbe2"
style="width: 100%"
placeholder="请选择Order Date"
placeholder="请选择交单日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<el-form-item label="到单付款到期日" prop="btdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择Maturity Date"
placeholder="请选择到单付款到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipped on" prop="btdgrp.rec.shpdat">
<el-form-item label="最迟装船日期" prop="btdgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipped on"
placeholder="请选择最迟装船日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Period" prop="btdgrp.blk.matper">
<el-form-item label="到单付款期限" prop="btdgrp.blk.matper">
<c-input
type="textarea"
v-model="model.btdgrp.blk.matper"
maxlength="65"
show-word-limit
placeholder="请输入Maturity Period"
placeholder="请输入到单付款期限"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Previous Drawings under 此笔转让证的金额"
label="此笔转让证的原始到单金额"
prop="ltdgrp.rec.utlnbr"
>
<c-input
v-model.number="model.ltdgrp.rec.utlnbr"
placeholder="请输入Previous Drawings under 此笔转让证的金额"
placeholder="请输入此笔转让证的原始到单金额"
disabled
></c-input>
</el-form-item>
......@@ -461,11 +461,11 @@
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Description" prop="btdgrp.rec.nam">
<el-form-item label="描述" prop="btdgrp.rec.nam">
<c-input
v-model="model.btdgrp.rec.nam"
maxlength="40"
placeholder="请输入Description"
placeholder="请输入描述"
disabled
></c-input>
</el-form-item>
......@@ -505,28 +505,6 @@
>
</c-ptap>
</c-col>
<!-- <c-col :span="24">
<el-form-item
label="发票类型"
prop="btdgrp.rec.invtyp"
style="width: 100%"
>
<c-select
v-model="model.btdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
>
<el-option
v-for="item in codes.invtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
</div>
</template>
......
......@@ -27,13 +27,13 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--lttdck PD000049 Documents Received -->
<el-tab-pane label="Documents Received" name="utlp1">
<el-tab-pane label="交单" name="utlp1">
<c-content>
<m-utlp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--bttp PD000296 Discr./Instr. -->
<el-tab-pane label="Discr./Instr." name="dscinsp">
<el-tab-pane label="不符点、指示" name="dscinsp">
<c-content>
<m-dscinsp :model="model" :codes="codes" />
</c-content>
......
......@@ -12,11 +12,11 @@
</el-form-item>
</c-col>
<c-col v-else :span="24">
<el-form-item :label="argadr.title + ' Ref.'" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
<el-form-item :label="argadr.title + '参考号'" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
maxlength="16"
:placeholder="'Please input' + argadr.title + 'Ref.'"
:placeholder="'请输入' + argadr.title + '参考号'"
:disabled="disabled"
></c-input>
</el-form-item>
......@@ -35,11 +35,11 @@
</c-col>
<c-col v-else :span="24">
<el-form-item :label="argadr.title + ' Nam.'" :prop="`${argadr.grp}.${argadr.rol}.pts.nam`">
<el-form-item :label="argadr.title + '名称'" :prop="`${argadr.grp}.${argadr.rol}.pts.nam`">
<c-input
v-model="model[argadr.grp][argadr.rol].pts.nam"
maxlength="40"
:placeholder="'Please input' + argadr.title + ' Nam.'"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled || disabled1"
></c-input>
</el-form-item>
......
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