Commit 322893f8 by 潘际乾
parents 612f7557 95646105
......@@ -385,7 +385,7 @@ export default {
font-size: 13px;
padding-left: 5px;
}
.eContainer-table-block .el-table .cell {
.eContainer-table-block >>> .el-table .cell {
white-space: pre-wrap;
}
.buttonDiv{
......
<template>
<!--
<c-col :span="24">
<el-row>
<el-col :span="spanVal" v-for="(item, idx) in displayIconList" :key="idx" :offset="1">
......@@ -34,6 +35,44 @@
</div>
</el-dialog>
</c-col>
-->
<c-col :span="24">
<el-row>
<el-col :span="spanVal" v-for="(item, idx) in displayIconList" :key="idx" :offset="1">
<el-card :body-style="{ padding: '0px' }" style="height:100%">
<!-- <img :src="item.src" class="image"> -->
<div style="padding: 5px;">
<span style="text-align:center;font-size:5px">{{item.name}}</span>
<el-button type="text" class="button" icon="el-icon-delete" @click="DeleteIcon(item.id)"></el-button>
</div>
</el-card>
</el-col>
<el-col :span="2" :offset="1">
<el-card :body-style="{ padding: '5px' }">
<!-- <img :src="require('~/assets/add.png')" class="image" @click="AddIcon"> -->
<!-- <span style="text-align:center;font-size:5px">添加</span> -->
<el-button type="text" class="button" icon="el-icon-plus" @click="AddIcon"></el-button>
</el-card>
</el-col>
</el-row>
<el-dialog :visible.sync="IconDialog" :title="'单据列表'">
<div style="height:200px">
<el-col :span="14">
<el-col :span="spanVal" v-for="(item, idx) in hideIconList" :key="idx" :offset="1">
<el-card :body-style="{ padding: '0px' }" style="height:100%">
<!-- <img :src="item.src" class="image"> -->
<div style="padding: 5px;">
<span style="text-align:center;font-size:5px">{{item.name}}</span>
<el-button type="text" class="button" icon="el-icon-plus" @click="InsertIcon(item.id)"></el-button>
</div>
</el-card>
</el-col>
</el-col>
</div>
</el-dialog>
</c-col>
</template>
......
......@@ -6031,6 +6031,15 @@ const CodeTable = {
{label:"IRREVOCABLE TRANSFERABLE",value:"1" },
{label:"REVOCABLE",value:"2" },
{label:"REVOCABLE TRANSFERABLE",value:"3" },
]
],
persontype:[
{label:"对公" ,value:"1"},
{label:"同业" ,value:"2"},
{label:"对私中国居民" ,value:"D"},
{label:"对私中国非居民" ,value:"F"},
],
}
export default CodeTable;
\ No newline at end of file
import Utils from "~/utils"
/**
* Infpty Check规则
*/
let checkObj = {
"seatypo" :null,
"recgrp.rec.hbkaccflg" :null,
"recgrp.hbk.extkey" :null,
"seatypc" :null,
"seatypb" :null,
"recgrp.ptamaa.issbchinf" :null,
"seatypa" :null,
"seatyph" :null,
"recgrp.rec.heqaccflg" :null,
"recgrp.heq.extkey" :null,
"recgrp.rec.extkey" :null,
"recpan.bchkey" :null,
"recgrp.rec.juscod" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infpty Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.hbk.extkey" :Utils.defaultFunction,
"recgrp.rec.extkey" :Utils.defaultFunction,
"recgrp.typh" :Utils.defaultFunction,
"recgrp.typo" :Utils.defaultFunction,
"recgrp.typc" :Utils.defaultFunction,
"recgrp.typa" :Utils.defaultFunction,
"recgrp.typb" :Utils.defaultFunction,
"recpan.bchkey" :Utils.defaultFunction,
"recgrp.adrmaa.tid" :Utils.defaultFunction,
"recgrp.adrmaa.adr2" :Utils.defaultFunction,
"recgrp.adrmaa.adr1" :Utils.defaultFunction,
"recgrp.adrmaa.adr3" :Utils.defaultFunction,
"recgrp.heq.extkey" :Utils.defaultFunction,
"recgrp.adrmaa.loctxt" :Utils.defaultFunction,
"recgrp.adrmaa.nam1" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"recgrp.rec.juscod" :Utils.defaultFunction,
"recgrp.rec.nam" :Utils.defaultFunction,
"recgrp.rec.nam1" :Utils.defaultFunction,
"recgrp.adrmaa.pobtxt" :Utils.defaultFunction,
"recgrp.ptamaa.issbchinf" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExcel(){
let rtnmsg = await this.executeRule("excel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanGetpty(){
let rtnmsg = await this.executeRule("recpan.getpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanAltnam(){
let rtnmsg = await this.executeRule("recpan.altnam")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanGet(){
let rtnmsg = await this.executeRule("recpan.get")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ptysea.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ptysea.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"adrsea.str1":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"adrsea.bic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"adrsea.loctxt":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"adrsea.loczip":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"shxydm":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.rec.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.rec.juscod":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"recgrp.rec.nam1":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recgrp.adrmaa.nam1":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.tel1":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adrmaa.tel2":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adrmaa.nam2":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.fax1":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adrmaa.fax2":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adrmaa.nam3":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.tlx":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adrmaa.str1":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.bic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"recgrp.adrmaa.blz":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.adrmaa.str2":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.bid":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.loczip":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"recgrp.adrmaa.loctxt":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"recgrp.adrmaa.tid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"recgrp.adrmaa.loc2":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.clc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.pob":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.pobtxt":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"recgrp.adrmaa.dpt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.ptamaa.issbchinf":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adrmaa.eml":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"recpan.hbkget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.hbk.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recpan.hbkget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.hbk.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.heq.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recpan.heqget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.heqget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.heq.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.rec.accusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.adrmaa.adr1":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adrmaa.adr2":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adrmaa.adr3":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adrmaa.pobzip":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infpty{
constructor () {
this.data = {
ptysea:{
nam:"", // External Visible Name .ptysea.nam
extkey:"", // Party No. .ptysea.extkey
},
adrsea:{
str1:"", // Street/SWIFT Line 3 .adrsea.str1
bic:"", // BIC .adrsea.bic
loctxt:"", // Textpart of City/Second Part of SWIFT Line 4 .adrsea.loctxt
loczip:"", // ZIP Code .adrsea.loczip
},
seatypb:"", // Bank .seatypb
seatypc:"", // Client .seatypc
seatypa:"", // Own Address .seatypa
seatypo:"", // Other .seatypo
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
seatyph:"", // 海关 .seatyph
persontype:"", // 客户类别 .persontype
zhbchinr:"", // 支行行号 .zhbchinr
shxydm:"", // 统一社会信用代码 .shxydm
jyzt:"", // 交易主体 .jyzt
recgrp:{
rec:{
extkey:"", // Address Number .recgrp.rec.extkey
nam:"", // Party Name .recgrp.rec.nam
adrsta:"", // Address Status .recgrp.rec.adrsta
hbkaccflg:"", // Use Accounting of House Bank .recgrp.rec.hbkaccflg
heqaccflg:"", // Use Accounting of Headquarters .recgrp.rec.heqaccflg
accusr:"", // User ID of Account Officer .recgrp.rec.accusr
nam1:"", // Chinese name .recgrp.rec.nam1
juscod:"", // 组织机构'码 .recgrp.rec.juscod
dshflg:"", // 是否电商 .recgrp.rec.dshflg
},
typb:"", // Bank .recgrp.typb
typc:"", // Client .recgrp.typc
typa:"", // Own Address .recgrp.typa
typo:"", // Other .recgrp.typo
adrmaa:{
nam1:"", // Name 1/SWIFT Line 1 .recgrp.adrmaa.nam1
nam2:"", // Name 2/SWIFT Line 2 .recgrp.adrmaa.nam2
nam3:"", // Name 3 .recgrp.adrmaa.nam3
str1:"", // Street/SWIFT Line 3 .recgrp.adrmaa.str1
str2:"", // Optional Second Line of Street .recgrp.adrmaa.str2
loczip:"", // ZIP Code/First Part of SWIFT Line 4 .recgrp.adrmaa.loczip
loctxt:"", // Textpart of City/Second Part of SWIFT Line 4 .recgrp.adrmaa.loctxt
loc2:"", // Optional Second Line of City .recgrp.adrmaa.loc2
pob:"", // Line with Postbox .recgrp.adrmaa.pob
pobzip:"", // ZIP Code Used when Addressing Postbox .recgrp.adrmaa.pobzip
pobtxt:"", // Textpart of City Used when Addressing Postbox .recgrp.adrmaa.pobtxt
loccty:"", // Country .recgrp.adrmaa.loccty
eml:"", // eMail/Internet .recgrp.adrmaa.eml
tel1:"", // Telephone 1 .recgrp.adrmaa.tel1
tel2:"", // Telephone 2 .recgrp.adrmaa.tel2
fax1:"", // Telefax 1 .recgrp.adrmaa.fax1
fax2:"", // Telefax 2 .recgrp.adrmaa.fax2
tlx:"", // Telex Number .recgrp.adrmaa.tlx
bic:"", // BIC of Address Optional .recgrp.adrmaa.bic
bid:"", // Branch Identification Used in Option B of SWIFT Fieldtags .recgrp.adrmaa.bid
tid:"", // TradeConnect ID .recgrp.adrmaa.tid
blz:"", // Bankleitzahl German Clearing Code .recgrp.adrmaa.blz
clc:"", // Clearing Code for Banks .recgrp.adrmaa.clc
uil:"", // Default Language Code .recgrp.adrmaa.uil
cortyp:"", // Primary Output Chanel of Messages SWT, LET, TLX, TCO .recgrp.adrmaa.cortyp
dpt:"", // Department .recgrp.adrmaa.dpt
adr1:"", // Chinese Address .recgrp.adrmaa.adr1
adr2:"", // .recgrp.adrmaa.adr2
adr3:"", // .recgrp.adrmaa.adr3
},
hbk:{
extkey:"", // Address Number .recgrp.hbk.extkey
nam:"", // External Visible Name .recgrp.hbk.nam
},
heq:{
extkey:"", // Address Number .recgrp.heq.extkey
nam:"", // External Visible Name .recgrp.heq.nam
},
typh:"", // 海关 .recgrp.typh
ptamaa:{
issbchinf:"", // Info of bank .recgrp.ptamaa.issbchinf
},
},
recpan:{
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
hbkget:{
sdamod:{
seainf:"", // .recpan.hbkget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.hbkget.sdamod.dadsnd
},
},
heqget:{
sdamod:{
seainf:"", // .recpan.heqget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.heqget.sdamod.dadsnd
},
},
bchkey:"", // Branch Key .recpan.bchkey
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -128,7 +128,21 @@ export default class Switsk{
filext:"", // File Extension .srvtci.filext
},
srvemi:{
fildirlab:"", // Label for FILDIR .srvemi.fildirlab
filextlab:"", // Label for FILEXT .srvemi.filextlab
exeflg:"", // Incoming Email .srvemi.exeflg
prt:{
prttyp:"", // Type of Print .srvemi.prt.prttyp
heatxt:"", // Text for Header .srvemi.prt.heatxt
tef:"", // Technical Form .srvemi.prt.tef
getprt:"", // Default Printer from: .srvemi.prt.getprt
prt:"", // Printer .srvemi.prt.prt
bin:"", // Paperbin .srvemi.prt.bin
bin2:"", // Bin for 2nd Page .srvemi.prt.bin2
cpycnt:"", // # of Copies .srvemi.prt.cpycnt
},
fildir:"", // Directory for Files .srvemi.fildir
filext:"", // File Extension .srvemi.filext
},
srvdte:{
exeflg:"", // Incoming Swift .srvdte.exeflg
......
......@@ -115,6 +115,9 @@ import ExamRule from "./ExamRule";
import Gitsel from "./Gitsel"
import Gitset from "./Gitset"
import Gitcrq from "./Gitcrq"
import Infpty from "./Infpty"
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -241,5 +244,8 @@ const BusRouter = [
{ path: 'gitsel', component: Gitsel, name: 'Gitsel', meta: { title: '进口保函查询' } },
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
{ path: 'Infpty', component: Infpty, name: 'Infpty', meta: { title: 'Infpty' } },
]
export default BusRouter
<template>
<div class="eibs-tab">
<!-- =================左边====================== -->
<c-col :span="11">
<c-col :span="12">
<el-form-item label="不符点">
<c-col :span="21">
<c-input
......@@ -54,7 +54,7 @@
</c-col>
<!-- =================右边====================== -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="" prop="bddgrp.rec.igndisflg">
<c-checkbox v-model="model.bddgrp.rec.igndisflg"
......@@ -132,6 +132,9 @@
<!-- =================已交单据====================== -->
<c-col :span="24">
<el-button style="margin-bottom:5px;float:right" @click="addDocgrdDataStore" type="primary">新增单据</el-button>
</c-col>
<c-col :span="24">
<!-- :list="model.bdtp.docgrdm.docgrd" -->
<c-table
:border="true"
......@@ -175,8 +178,8 @@
</el-table-column>
<el-table-column prop="state" label="状态" width="auto">
</el-table-column>
<el-table-column label="操作" prop="det" width="100px" fixed="right">
<template slot="header">
<el-table-column label="操作" prop="det" width="170px" fixed="right">
<!-- <template slot="header">
<span>操作</span>
<el-button
circle
......@@ -186,7 +189,7 @@
@click="addDialogVisible = true"
>
</el-button>
</template>
</template> -->
<template slot-scope="scope">
<el-popover
placement="right"
......@@ -209,24 +212,42 @@
<div class="file-add" title="导入文件">
<i class="el-icon-plus"></i>
</div>
<el-button slot="reference" @click="addPDF(scope.row.id)">添加</el-button>
<el-button slot="reference" @click="addPDF(scope.row.id)" type="primary">添加</el-button>
<el-button v-if="scope.row.state != '缺失'" slot="reference" @click="detailPDF(scope.row.id)">详情</el-button>
</el-popover>
</template>
</el-table-column>
</c-table>
</c-col>
<!-- 不符点 -->
<c-col>
<el-dialog :visible.sync="InsertErrorDialogVisibal" center width="500px">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="错误信息" label-width="100px">
<el-form-item label="不符点" label-width="100px">
<c-input v-model="newInsertError"></c-input>
</el-form-item>
</c-col>
</c-col>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="InsertError()">确定</el-button>
<el-button @click="InsertErrorDialogVisibal = false">取消</el-button>
<el-button @click="InsertErrorDialogVisibal = false;newInsertError= ''">取消</el-button>
</span>
</el-dialog>
</c-col>
<!-- 新加单据 -->
<c-col>
<el-dialog :visible.sync="InsertGridDataDialogVisibal" center width="500px">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="单据名称" label-width="100px">
<c-input v-model="newInsertGridData"></c-input>
</el-form-item>
</c-col>
</c-col>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="InsertGridData()">确定</el-button>
<el-button @click="InsertGridDataDialogVisibal = false;newInsertGridData = ''">取消</el-button>
</span>
</el-dialog>
</c-col>
......@@ -250,8 +271,10 @@ export default {
return {
addDialogVisible: false,
InsertErrorDialogVisibal: false,
InsertGridDataDialogVisibal: false,
newInsertError:"",
newInsertErrorIndex: -1,
newInsertGridData:"",
dialog: {
cmail1: "",
cmail2: "",
......@@ -322,22 +345,22 @@ export default {
},
]
},
{
name:"KZ3500220597AA-003.pdf",
errorData:[
{
discribe:"货物数量有误",
state:true
},
]
},
// {
// name:"KZ3500220597AA-003.pdf",
// errorData:[
// {
// discribe:"货物数量有误",
// state:true
// },
// ]
// },
],
},
{
id:"oceanShipping",
data:[
{
name:"KZ3500220597AA-004.pdf",
name:"KZ3500220597AA-003.pdf",
errorData:[
]
},
......@@ -365,14 +388,26 @@ export default {
addPDF(idx){
this.selectPDFData = idx;
},
detailPDF(id){
this.openPdfDialog(id, 0);
},
openPdfDialog(id, idx) {
this.$refs.ocrRecognition.show = true
var tempId = 0;
for(let i = 0; i < this.docgrdDataStore.length; i++){
if(id == this.docgrdDataStore[i].id){
tempId = i;
break;
}
}
this.$refs.ocrRecognition.formData.type = this.$refs.ocrRecognition.fileType[tempId].value;
this.selectedPdf.id = id;
this.selectedPdf.index = idx;
},
selectGridPDF(){
const id = this.selectedPdf.id;
const idx = this.selectedPdf.index;
// const idx = this.selectedPdf.index;
const idx = 0; //PDF全部展示,就不存在idx
var tempData = [];
var list = [];
var flag = false;
......@@ -436,6 +471,19 @@ export default {
this.newInsertError = "";
this.InsertErrorDialogVisibal = false;
},
addDocgrdDataStore(){
this.InsertGridDataDialogVisibal = true;
},
InsertGridData(){
var index = this.docgrdData.length;
var tempData = this.dialog;
tempData.cmail1 = this.newInsertGridData;
tempData.id = "tempId" + index;
tempData.state = "符合";
this.docgrdData.push(this.dialog);
this.InsertGridDataDialogVisibal = false;
this.newInsertGridData = "";
}
},
created: function () {
var IconList = JSON.parse(sessionStorage.getItem("IconList"));
......@@ -460,13 +508,13 @@ export default {
if(this.selectPDFData.length > 0){
const arr = []
for(let i = 0; i < this.gridData.length; i++){
if(this.gridData[i].id == this.selectPDFData){
// if(this.gridData[i].id == this.selectPDFData){
// arr.push({"id" : this.gridData[i].id});
for(let j = 0; j < this.gridData[i].data.length; j++){
arr.push({"name" : this.gridData[i].data[j].name});
}
break;
}
// break;
// }
}
this.gridPDFData = arr;
}
......
......@@ -286,7 +286,7 @@ export default {
formData.append('mode', 'formdata');
formData.append('the_file', file)
const loading = this.$parent.root.loading("正在识别中...")
axios.post('/ocr/file', formData, {
axios.post('/ocr/mockfile', formData, {
'Content-Type': 'multipart/form-data'
}).then(res => {
const data = res.data
......
......@@ -8,31 +8,31 @@
<c-col :span="16">
<c-col :span="24">
<el-form-item label="货物描述" prop="didgrp.blk.lcrgod">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" ></c-input>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据要求" prop="didgrp.blk.lcrdoc">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" ></c-input>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrdoc" maxlength="1950" style="margin-right:20px;" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加条款" prop="didgrp.blk.adlcnd">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" ></c-input>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.adlcnd" style="margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="给付款、承兑、议付行的指示" prop="didgrp.blk.insbnk">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" ></c-input>
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.insbnk" style="margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<IntellectIcon :IconList="IconList" :span="spanVal" v-on:deleteIcon="deleteIcon" v-on:insertIcon="insertIcon"></IntellectIcon>
<c-col :span="7" :offset="1">
<IntellectIcon :IconList="IconList" :spanVal="spanVal" v-on:deleteIcon="deleteIcon" v-on:insertIcon="insertIcon"></IntellectIcon>
</c-col>
<!-- <c-col :span="8">
<el-row>
......@@ -116,7 +116,7 @@ export default {
IconList:[
"invoice","receipt",
],
spanVal:4,
spanVal:5,
}
},
methods:{
......@@ -141,7 +141,10 @@ export default {
}
},
created:function(){
sessionStorage.setItem('IconList', JSON.stringify(this.IconList));
var IconList = JSON.parse(sessionStorage.getItem("IconList"));
if(IconList == null){
sessionStorage.setItem('IconList', JSON.stringify(this.IconList));
}
}
}
</script>
......
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000039 -->
<el-tab-pane label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes" ref="infsea" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Party" name="ptyp0">
<m-ptyp0 :model="model" :codes="codes" ref="ptyp0" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Infpty from "~/model/Infpty";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Infpty/Check";
import Default from "~/model/Infpty/Default";
import Pattern from "~/model/Infpty/Pattern";
import Infsea from "./Infsea";
import Ptyp0 from "./Ptyp0";
export default {
name: "Infpty",
components: {
"m-infsea": Infsea,
"m-ptyp0": Ptyp0,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "infpty",
model: new Infpty().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick() {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入infpty交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//处理istream的数据
// this.$refs.infsea.stmData.columns = rtnmsg.codeSet['infbut.dspstm']
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
......@@ -233,8 +233,7 @@
</el-form>
<c-col :span="24" style="">
<div style="border-bottom: 10px solid rgb(232, 232, 232)">
</div>
<div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
</c-col>
<!-- </template> -->
<!-- </c-list-search> -->
......@@ -304,7 +303,10 @@
>
<c-table-column fixed="right" prop="op" label="操作" width="165px">
<template slot-scope="{ scope }">
<c-button style="margin-left: 0" size="small" @click="onDetails(scope.$index,scope.row)"
<c-button
style="margin-left: 0"
size="small"
@click="onDetails(scope.$index, scope.row)"
>详情
</c-button>
<c-button
......@@ -319,10 +321,21 @@
<c-button type="primary" size="small">删除</c-button> -->
<ul class="table-button-item-list">
<li><c-button size="small" style="margin-left:0">指派</c-button></li>
<li><c-button size="small" style="margin-left:0">删除</c-button></li>
<li>
<c-button size="small" style="margin-left: 0"
>指派</c-button
>
</li>
<li>
<c-button size="small" style="margin-left: 0"
>删除</c-button
>
</li>
</ul>
<a slot="reference" href="javascript:void(0)" style="margin-left: 5px"
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
><i class="el-icon-more"></i
></a>
</el-popover>
......@@ -332,7 +345,6 @@
</c-col>
</el-row>
<!-- <el-row style="margin-top: 2rem">
<c-col :span="24">
<el-card class="box-card">
......@@ -411,7 +423,7 @@ export default {
// detailDialog: false,
// setColumnFlg: false,
// saveColumnFlg: true,
transactionStatus: {
busiNo: "",
modTimes: 0,
......@@ -427,11 +439,24 @@ export default {
'5 2 "业务编号" 300',
'6 3 "交易名称" 150',
//'1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
{index:1,position:4,width:110,pattern:'code',label:'状态',code:this.codes.sptrelstatus},
{
index: 1,
position: 4,
width: 110,
pattern: "code",
label: "状态",
code: this.codes.sptrelstatus,
},
'17 5 "报文类型" 100',
'18 6 "对方银行BIC" 110',
// '7 7 "创建时间" 160 20 DateTime 1',
{index:7,position:7,width:140,pattern:'time',label:'创建时间'},
{
index: 7,
position: 7,
width: 140,
pattern: "time",
label: "创建时间",
},
'19 8 "币种" 50',
'20 9 "金额" 69 2 8 1 16',
......@@ -476,7 +501,7 @@ export default {
this.model[element] = "t";
});
},
...Event,
},
created: function () {
......@@ -500,7 +525,7 @@ export default {
.detailDialogClass >>> .el-dialog {
height: 650px;
} */
.table-button-item-list{
.table-button-item-list {
padding: 0;
margin: 0;
}
......@@ -511,6 +536,4 @@ export default {
color: #606266;
cursor: pointer;
}
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="140px" size="small" :validate-on-rule-change="false">
<!-- <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> -->
<!-- <el-tab-pane :value="tabVal" label="待办任务查询" name="menu"> -->
<!-- <c-content> -->
<m-menu :model="model" :codes="codes" ref="Menu" />
<!-- </c-content> -->
<!-- </el-tab-pane> -->
<!-- </c-tabs> -->
</el-form>
</div>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
tokenKey="modelForm"
label-width="140px"
size="small"
:validate-on-rule-change="false"
>
<!-- <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> -->
<!-- <el-tab-pane :value="tabVal" label="待办任务查询" name="menu"> -->
<!-- <c-content> -->
<m-menu :model="model" :codes="codes" ref="Menu" />
<!-- </c-content> -->
<!-- </el-tab-pane> -->
<!-- </c-tabs> -->
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -20,51 +28,49 @@ import Pattern from "~/model/Sptsel/Pattern"
import Utils from "~/utils/index"
import Default from "~/model/Sptsel/Default";
import Check from "~/model/Sptsel/Check";
import Menu from "./Menu"
import Event from "~/model/Sptsel/Event"
import Menu from "./Menu";
import Event from "~/model/Sptsel/Event";
export default {
name: 'Sptsel',
components:{
"m-menu" : Menu,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
tabVal: "menu",
trnName:"sptsel",
model:new Sptsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{
flt:CodeTable.flt,
dflg:CodeTable.dflg,
sptrelstatus:CodeTable.sptrelstatus,
},
}
},
methods:{...Event},
mounted:async function(){
console.log("进入sptsel交易");
const that = this;
that.init(that.model).then(res => {
//TODO 处理数据逻辑
that.model = Utils.copyValueFromVO(that.model, res.data)
// that.$refs.Menu.stmData.columns = res.data.sptstm.rows;
this.$refs.Menu.handleSearch();
})
}
}
name: "Sptsel",
components: {
"m-menu": Menu,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
tabVal: "menu",
trnName: "sptsel",
model: new Sptsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
flt: CodeTable.flt,
dflg: CodeTable.dflg,
sptrelstatus: CodeTable.sptrelstatus,
},
};
},
methods: { ...Event },
mounted: async function () {
console.log("进入sptsel交易");
const that = this;
that.init(that.model).then((res) => {
//TODO 处理数据逻辑
that.model = Utils.copyValueFromVO(that.model, res.data);
// that.$refs.Menu.stmData.columns = res.data.sptstm.rows;
this.$refs.Menu.handleSearch();
});
},
};
</script>
<style>
</style>
......@@ -2,7 +2,9 @@
<div class="eibs-tab">
<c-col :span="12">
<el-form-item>
<c-checkbox v-model="model.srveli.exeflg">Incoming Elc</c-checkbox>
</el-form-item>
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<el-form-item label="">
<c-col :span="12">
<c-checkbox v-model="model.srvemi.exeflg">Incoming Email</c-checkbox>
</c-col>
</el-form-item>
<c-col :span="12">
<el-form-item label="Type of Print" prop="srvemi.prt.prttyp">
<c-select v-model="model.srvemi.prt.prttyp" style="width:100%" placeholder="请选择Type of Print">
......@@ -59,9 +59,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<span v-text="model.srvemi.fildirlab" data-path=".srvemi.fildirlab" > </span>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="Directory for Files" prop="srvemi.fildir">
......@@ -69,9 +69,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<span v-text="model.srvemi.filextlab" data-path=".srvemi.filextlab" > </span>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="File Extension" prop="srvemi.filext">
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="">
<c-col :span="24">
<c-checkbox v-model="model.srvtli.exeflg">Incoming Telex</c-checkbox>
</c-col>
</el-form-item>
<c-col :span="12">
<el-form-item label="Type of Print" prop="srvtli.prt.prttyp">
<c-select v-model="model.srvtli.prt.prttyp" style="width:100%" placeholder="请选择Type of Print">
......@@ -59,9 +59,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<span v-text="model.srvtli.fildirlab" data-path=".srvtli.fildirlab" > </span>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="Directory for Files" prop="srvtli.fildir">
......@@ -69,9 +69,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<span v-text="model.srvtli.filextlab" data-path=".srvtli.filextlab" > </span>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="File Extension" prop="srvtli.filext">
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<!-- ============左========= -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Service Types to be handled:">
<c-fullbox>
......@@ -73,7 +73,7 @@
</c-col>
<!-- ============右========= -->
<c-col :span="13" :offset="1">
<c-col :span="11" :offset="1">
<!-- <c-col :span="24">
<el-form-item
label="Automatic Start Flag"
......
......@@ -128,8 +128,9 @@ export default {
{inifrm:"gitsel",ininam:"进口保函查询",pntmiu:"13"},
{inifrm:"gitset",ininam:"进口保函赔付",pntmiu:"13"},
{inifrm:"gitcrq",ininam:"进口保函索赔登记",pntmiu:"13"},
{ inifrm: "14",ininam: "Switsk", pntmiu: "" },
{ inifrm: "14",ininam: "服务管理", pntmiu: "" },
{ inifrm: "switsk", ininam: "Switsk", pntmiu: "14" },
{ inifrm: "mgrtsk", ininam: "Mgrtsk", pntmiu: "14" },
],
menus: [],
menusHeight: 0
......
......@@ -92,7 +92,7 @@ export default {
created() {},
methods: {
tabClick(tab) {
this.$store.commit("setTaskListTabVal", tab.name)
this.$store.commit("setTaskListTabVal", tab.name);
},
},
components: {
......
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