Commit b5c0d7fa by 吴佳

2022.01.10 wujia 信用证info

parents 1d2a236b 100709dd
......@@ -35,6 +35,9 @@ export default {
.el-button--primary{
margin-left: 10px;
}
.el-popover {
min-width: 60px;
}
/* .el-form-item--small{
margin-right: 30px;
......
......@@ -218,7 +218,11 @@
.el-checkbox__input.is-checked .el-checkbox__inner {
background-color: #1561E0;
border-color: #1561E0;
}
}
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #1561E0;
border-color: #1561E0;
}
.c-title {
/* color: rgba(0, 0, 0, 0.65); */
/* font-weight: 600; */
......@@ -283,3 +287,6 @@
line-height: 16px;
font-size: 12px;
}
.el-table--border td.lastColumn{
border-right: 0!important;
}
\ No newline at end of file
......@@ -29,7 +29,46 @@
>
</el-table-column>
<slot></slot>
<el-table-column fixed="right" width="48px" v-if="showButtonFlg" class-name="buttonColumn">
<template slot="header">
<c-col style="text-align: left"
><c-button
icon="el-icon-s-tools"
@click="clounmSetting"
style="padding:0 7px"
></c-button
></c-col>
</template>
</el-table-column>
</el-table>
<el-dialog
class="showColumnDialog"
:visible.sync="setColumnFlg"
:title="'自定义列属性'"
appenD-to-body
>
<el-form-item label-width="0">
<el-checkbox-group v-model="columnGroup" @change="handleColumnChange">
<el-checkbox
class="selectColumnClass"
v-for="item in tableColumnsOrigin"
:key="item.label"
:label="parseInt(item.index)"
>{{ item.label }}</el-checkbox
>
</el-checkbox-group>
</el-form-item>
<span slot="footer">
<el-checkbox
class="selectAllClass"
:indeterminate="columnGroup.length > 0 && columnGroup.length < tableColumnsOrigin.length"
v-model="selectAll"
@change="setAll"
>全选</el-checkbox
>
<el-button type="primary" @click="saveColumnEvent">保存</el-button>
</span>
</el-dialog>
<c-col :span="16">
<el-pagination
v-if="paginationShow"
......@@ -80,49 +119,18 @@ export default {
required: false,
default: true,
},
},
computed: {
tableColumns() {
const columnArr = [];
const lines = this.columns;
const etyReg = /\"([^\"]*)\"/;
const obj = {};
for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (etyReg.test(line)) {
const gs = line.match(etyReg);
const columnName = gs[1];
const newLine = line.replace(gs[0], "_");
const colPropArr = newLine.split(" ");
const positionArr = colPropArr[1].split(":");
if (!obj[positionArr[0]]) {
obj[positionArr[0]] = [];
}
obj[positionArr[0]].push({
idx: colPropArr[0],
prop: columnName,
width: colPropArr[3] + 'px',
});
}
}
for (const k in obj) {
if (Object.hasOwnProperty.call(obj, k)) {
const o = obj[k];
const tableColumn = o.map((item) => item.prop).join("\n");
columnArr.push({
prop: tableColumn,
label: tableColumn,
width: o[0].width,
// width: "auto",
index: k,
children: o,
});
showButtonFlg: {
type: Boolean,
required: false,
default: false,
}
},
watch: {
columns() {
this.generateColumns();
}
return columnArr.sort((a, b) => {
return parseInt(a.index) - parseInt(b.index);
});
},
computed: {
tableData() {
// return this.list.map((row) => {
// const res = {}
......@@ -156,12 +164,65 @@ export default {
},
data() {
return {
tableColumnsOrigin: [],
tableColumns: [],
currentPage: 1,
pageSizes: [5, 10, 20, 30, 40, 50, 100],
pageSize: 10,
selectAll: true,
columnGroup: [],
setColumnFlg: false
};
},
mounted() {
this.generateColumns();
},
methods: {
generateColumns() {
const columnArr = [];
const lines = this.columns;
const etyReg = /\"([^\"]*)\"/;
const obj = {};
for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (etyReg.test(line)) {
const gs = line.match(etyReg);
const columnName = gs[1];
const newLine = line.replace(gs[0], "_");
const colPropArr = newLine.split(" ");
const positionArr = colPropArr[1].split(":");
if (!obj[positionArr[0]]) {
obj[positionArr[0]] = [];
}
obj[positionArr[0]].push({
idx: colPropArr[0],
prop: columnName,
width: colPropArr[3] + 'px',
});
}
}
for (const k in obj) {
if (Object.hasOwnProperty.call(obj, k)) {
const o = obj[k];
const tableColumn = o.map((item) => item.prop).join("\n");
columnArr.push({
prop: tableColumn,
label: tableColumn,
width: o[0].width,
// width: "auto",
index: k,
children: o,
});
}
}
const arr = columnArr.sort((a, b) => {
return parseInt(a.index) - parseInt(b.index);
});
this.tableColumnsOrigin = arr;
this.tableColumns = arr;
this.columnGroup = arr.map((item) => parseInt(item.index));
return arr;
},
sizeChange(size) {
this.pageSize = size;
},
......@@ -192,7 +253,25 @@ export default {
this.$refs.table.setCurrentRow(row);
this.$emit("chooseRowEvent", row);
},
clounmSetting() {
this.setColumnFlg = true;
},
saveColumnEvent() {
this.setColumnFlg = false;
const arr = this.columnGroup.map(idx => parseInt(idx));
arr.sort((a,b) => a - b);
this.columnGroup = arr;
this.tableColumns = this.columnGroup.map(
(index) => this.tableColumnsOrigin[parseInt(index) - 1]
);
},
setAll(val) {
this.columnGroup = val ? this.tableColumnsOrigin.map((item) => parseInt(item.index)) : [];
},
handleColumnChange() {
this.selectAll = this.tableColumnsOrigin.length === this.columnGroup.length;
},
}
};
</script>
......@@ -217,8 +296,20 @@ export default {
.el-table .success-row {
background: #f0f9eb;
}
.selectColumnClass .el-checkbox__label {
width: 60px;
font-size: 13px;
}
.selectAllClass .el-checkbox__label {
width: 30px;
font-size: 13px;
padding-left: 5px;
}
.eContainer-table-block .el-table .cell {
white-space: pre-wrap;
}
.el-table.buttonColumn th>.cell {
padding-left: 0;
padding-right: 0;
}
</style>
\ No newline at end of file
......@@ -5874,5 +5874,9 @@ const CodeTable = {
{ label: "出口信用证转让手续费", value: "TRANSF" },
{ label: "第三方风险参贷", value: "URPINT" },
],
infdsp: [
{ label: "Do not display", value: "" },
{ label: "Automatically display", value: "1" },
],
}
export default CodeTable;
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Ditdck{
constructor () {
......@@ -92,6 +93,7 @@ export default class Ditdck{
expdat:"", // Date of Expiry .didgrp.rec.expdat
lcrtyp:"", // 信用证类型 .didgrp.rec.lcrtyp
expplc:"", // 到期日/到期地点 .didgrp.rec.expplc
inr:"",
},
apl:{
pts:new Pts().data,
......@@ -203,31 +205,32 @@ export default class Ditdck{
doceot:[],
},
},
mtabut:{
syswrn:{
dsp:"", // Display .mtabut.syswrn.dsp
},
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
// mtabut:{
// syswrn:{
// dsp:"", // Display .mtabut.syswrn.dsp
// },
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
mtabut: new Pub().data.Mtabut,
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
......@@ -310,6 +313,11 @@ export default class Ditdck{
gleshwstm: {}
}
},
infcon:{
objinr:"",
chksubcon:"",
},
pageId: "" // ctx的key
}
}
......
......@@ -239,83 +239,6 @@ export default {
},
async handleDisplay(index, row){
let cortyp = row.cortyp
let rtnmsg
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
this.model.setmod.msgmod.doccod = row.id
rtnmsg = await Api.post('cptopn/msgmod_butshw', this.wrapper())
} else {
this.model.trnmod.trndoc.doccod = row.id
this.model.trnmod.trndoc.cortyp = cortyp
const params = {
index: index
}
rtnmsg = await Api.post("ditopn/executeDocpan", this.wrapper(params))
}
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl
this.title = "报文"
//window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if (cortyp == 'ELC') {
Modal.info({
title: '电证报文', content: <div style={{ height: 400, overflow: 'auto' }}><ELCMessage mty={row.id} message={rtnmsg.data["\\trnmod\\trndoc\\docinf"]} /></div>,
width: 1000,
})
}
else {
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this.title = "面函"
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.pandsc == "国内信用证") {
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data.litbenl1blk;
}
else if (row.pandsc == "开立国内信用证备查表") {
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data.litapll1blk
}
else if (row.pandsc == "elcs.101.001.01") {
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(element => {
window.sessionStorage.docTXT += element + "\r\n"
});
}
else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
// console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML);
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
this.dialogOpen = true
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
async handleDetail(index, row) {
const params = {
index: index
}
let rtnmsg = await Api.post("ditopn/executeDocpanDetail", this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.title = row.pandsc
this.centerDialogVisible = true,
this.dialog = rtnmsg.data.trnmod_trndoc_doceot[index]
this.index = index
}
},
async BlurBennam(e) {
let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == SUCCESS) {
......
......@@ -127,5 +127,15 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
display(index, row) {
debugger;
Api.post("getTrnNameByInr", { inr:row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
......@@ -64,6 +64,7 @@ export default class Infbdd{
diastm:"", // stream for diaries to selected contract .infcon.diastm
liastm:"", // Stream for all engagements to selected contract .infcon.liastm
ordstm:"", // Stream for Orders for Contract .infcon.ordstm
objinr:"",
},
seadocflg:"", // Document Type .seadocflg
infbut:{
......@@ -117,6 +118,7 @@ export default class Infbdd{
rec:{
ownref:"", // 信用证参考号 .didgrp.rec.ownref
expdat:"", // Date of Expiry .didgrp.rec.expdat
inr:"",
},
cbs:{
opn1:{
......
......@@ -2,100 +2,90 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp(){
async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow(){
async onInfbutUserow () {
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr(){
async onInfbutClr () {
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt(){
async onInfbutButprt () {
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi(){
async onInfbutExi () {
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw(){
async onInfconButshw () {
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword(){
async onInfconButshword () {
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
......
......@@ -4,21 +4,21 @@ import Utils from "~/utils"
* Infcur Check规则
*/
let checkObj = {
"rec.bsrmar" :null,
"rec.maxamt" :null,
"rec.sqrmar" :null,
"rec.dec" :null,
"rec.dif" :null,
"rec.newcur" :null,
"rec.cod" :null,
"rec.enddat" :null,
"rec.rndunt" :null,
"rec.bas" :null,
"rec.dbtday" :null,
"rec.cdtday" :null,
"recpan.recget.sdamod.dadsnd" :null,
"rec.maxcur" :null,
"rec.glbrat" :null,
"rec.bsrmar": null,
"rec.maxamt": null,
"rec.sqrmar": null,
"rec.dec": null,
"rec.dif": null,
"rec.newcur": null,
"rec.cod": null,
"rec.enddat": null,
"rec.rndunt": null,
"rec.bas": null,
"rec.dbtday": null,
"rec.cdtday": null,
"recpan.recget.sdamod.dadsnd": null,
"rec.maxcur": null,
"rec.glbrat": null,
}
for (const key in checkObj) {
......
......@@ -2,76 +2,67 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi(){
async onInfbutExi () {
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp(){
async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow(){
async onInfbutUserow () {
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr(){
async onInfbutClr () {
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt(){
async onInfbutButprt () {
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
......
......@@ -2,208 +2,178 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp(){
async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow(){
async onInfbutUserow () {
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr(){
async onInfbutClr () {
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt(){
async onInfbutButprt () {
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi(){
async onInfbutExi () {
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRecpanButgetref(){
async onRecpanButgetref () {
let rtnmsg = await this.executeRule("recpan.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBenpDet(){
async onBenpDet () {
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet(){
async onAplpDet () {
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdftatButtxmsel(){
async onLcrdftatButtxmsel () {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel(){
async onPreperButtxmsel () {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel(){
async onLcrgodButtxmsel () {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel(){
async onLcrdocButtxmsel () {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel(){
async onAdlcndButtxmsel () {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel(){
async onInsbnkButtxmsel () {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw(){
async onInfconButshw () {
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword(){
async onInfconButshword () {
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
......
......@@ -2,208 +2,174 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp(){
async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow(){
async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr(){
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt(){
async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi(){
async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRecpanButgetref(){
async onRecpanButgetref() {
let rtnmsg = await this.executeRule("recpan.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet(){
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBenpDet(){
async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDefdetButtxmsel(){
async onDefdetButtxmsel() {
let rtnmsg = await this.executeRule("defdet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel(){
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel(){
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel(){
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel(){
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel(){
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw(){
async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword(){
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
......@@ -213,15 +179,23 @@ export default {
async handleSearch() {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
display(index, row) {
debugger;
Api.post("getTrnNameByInr", { inr:row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
......@@ -54,6 +54,7 @@ export default {
}
},
async onDetails() {
this.$router.push({ path: "business/sptpopup", query: { inr: '111' }});
this.detailDialog=true;
let rtnmsg = await this.executeRule("details")
if (rtnmsg.respCode == SUCCESS) {
......@@ -103,13 +104,13 @@ export default {
const res = await this.executeDefault("sptstm")
//TODO 处理数据逻辑
this.stmData.data = res.data.sptstm.rows;
if(res.data.sptstm.rows.length == 0){
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
// if(res.data.sptstm.rows.length == 0){
// this.$notify({
// title: '成功',
// message: '搜索完毕,无满足条件记录',
// type: 'success'
// });
// }
},
async sptfndHandleReset() {
......@@ -139,13 +140,13 @@ export default {
// })
const res = await this.executeDefault("sptstm")
this.stmData.data = res.data.sptstm.rows;
if(res.data.sptstm.rows.length == 0){
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
// if(res.data.sptstm.rows.length == 0){
// this.$notify({
// title: '成功',
// message: '搜索完毕,无满足条件记录',
// type: 'success'
// });
// }
},
async onSptpButord(){
let rtnmsg = await this.executeRule("sptp.butord")
......
......@@ -96,12 +96,23 @@ export default {
refuse: () => { alert("功能开发中") }
});
this.$router.push({ path: viewurl, query: { routeParams: { process: "1", commitFlag: "1" }, trn: row['INR'], idx: idx, operateId: operateId } });
this.$router.push({ path: viewurl, query: { trn: row['INR'], operateId: operateId } });
},
async onDetail(idx, row) {
this.Trnp0Visible = true;
let viewurl = "business/inftrnpsDetail";
const selIds = [idx + 1];
const selDst = "trncorco.trnstm" //列表对应后台模型中的stream
let params = { selDst, selIds };
this.executeRule("dsp",params).then((res) => {
if ((res.respCode = SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
}
});
},
async onRelrow(idx) {
......@@ -115,7 +126,6 @@ export default {
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("relrow", params)
if (rtnmsg.respCode == SUCCESS) {
......@@ -365,44 +375,15 @@ export default {
// })
// }
const res = await this.executeRule("searow")
const arr=[];
res.data.trncorco_trnstm.rows.forEach(element => {
switch (element.charAt(0)) {
case 'W':
arr.push("Waiting" + element.substring(1));
break;
case 'C':
arr.push("Correct" + element.substring(1));
break;
case 'P':
arr.push("Picked up" + element.substring(1));
break;
case 'N':
arr.push("Rejected" + element.substring(1));
break;
case 'E':
arr.push("Entered" + element.substring(1));
break;
case 'X':
arr.push("External" + element.substring(1));
break;
case 'M':
arr.push("Closed" + element.substring(1));
break;
default:
arr.push(element);
break;
}
});
that.$refs.inftrnps.stmData.data = arr;
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
if (res.data.trncorco_trnstm.rows.length == 0) {
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
// if (res.data.trncorco_trnstm.rows.length == 0) {
// this.$notify({
// title: '成功',
// message: '搜索完毕,无满足条件记录',
// type: 'success'
// });
// }
this.$refs.paramsForm.clearValidate();
Utils.positioningErrorMsg(res.fieldErrors, this.$refs.paramsForm.fields)
},
......
......@@ -37,7 +37,7 @@
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="13">
<el-form-item label="信用证额" prop="didgrp.cbs.opn1.cur">
<el-form-item label="信用证额" prop="didgrp.cbs.opn1.cur">
<c-input
v-model="model.didgrp.cbs.opn1.cur"
style="width: 95%"
......@@ -239,7 +239,7 @@
<!-- ==========middle-right======== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="申请人参考号" prop="bddgrp.apl.pts.ref">
<el-form-item label="申请人号" prop="bddgrp.apl.pts.ref">
<c-input
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
......@@ -261,7 +261,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="bddgrp.ben.pts.ref">
<el-form-item label="受益人号" prop="bddgrp.ben.pts.ref">
<c-input
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
......@@ -283,7 +283,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="交单行参考号" prop="bddgrp.prb.pts.ref">
<el-form-item label="交单行号" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
......@@ -333,6 +333,7 @@
maxlength="3"
style="width: 95%"
placeholder="请输入document currency"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -342,6 +343,7 @@
<c-input
v-model="model.setmod.docamt"
placeholder="请输入document amount"
@keyup.enter.native="commonExecuteRule('setmod.docamt')"
></c-input>
</el-form-item>
</c-col>
......@@ -354,6 +356,7 @@
v-model="model.setmod.doccur"
style="width: 95%"
placeholder="请输入扣减金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -363,6 +366,7 @@
<c-input
v-model="model.setmod.redamt"
placeholder="请输入扣减金额"
@keyup.enter.native="commonExecuteRule('setmod.redamt')"
></c-input>
</el-form-item>
</c-col>
......@@ -376,6 +380,7 @@
maxlength="3"
style="width: 95%"
placeholder="请输入document currency"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -385,18 +390,29 @@
<c-input
v-model="model.setmod.setamt"
placeholder="请输入扣费后付款金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="SG000091" prop="bddgrp.rec.clrmtd">
<c-input
<el-form-item label="清算方式" prop="bddgrp.rec.clrmtd">
<c-select
v-model="model.bddgrp.rec.clrmtd"
placeholder=""
style="width: 100%"
placeholder="请选择清算方式"
disabled
></c-input>
>
<el-option
v-for="item in codes.clrtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -426,11 +442,12 @@
<c-col :span="11" :offset="1">
<c-col :span="24" style="margin-top:10px;text-align:right">
<el-form-item label-width="40px">
<c-checkbox v-model="model.mtabut.clsflg" style="margin-left: 50px">闭卷</c-checkbox>
<c-checkbox v-model="model.trtcre.crefinflg">融资</c-checkbox>
<c-checkbox v-model="model.trtcre.crefinflg" style="margin-left: 50px">融资</c-checkbox>
<c-checkbox v-model="model.mtabut.clsflg" >闭卷</c-checkbox>
<c-checkbox v-model="model.paypsb">垫款</c-checkbox>
<c-checkbox v-model="model.dftcre.dfflag">同业代付</c-checkbox>
<c-checkbox v-model="model.bddgrp.rec.frepayflg" style="margin-left: 50px">无偿放单</c-checkbox>
<c-checkbox v-model="model.bddgrp.rec.frepayflg" >无偿放单</c-checkbox>
<c-checkbox v-model="model.dftcre.dfflag" style="margin-left: 50px">同业代付</c-checkbox>
</el-form-item>
</c-col>
......@@ -655,7 +672,13 @@ export default {
docprbrolChange(){
this.executeRule("bddgrp.rec.docprbrol").then((res) => {
if ((res.respCode = SUCCESS)) {
debugger;
Utils.copyValueFromVO(this.model, res.data);
}
});
},
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode = SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
......
......@@ -95,11 +95,18 @@ import Bttset from "./Bttset"
import Bttrcl from "./Bttrcl"
import Betacc from "./Betacc"
import Betrcl from "./Betrcl"
import InftrnpsDetail from "./Trnrel/InftrnpsDetail"
import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail"
import Sptpopup from "./Sptsel/Sptpopup"
/**
* 带有name的才会被添加进顶部的标签页里
*/
const BusRouter = [
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
{ path: 'clttra', component: Clttra, name: 'Clttra', meta: { title: '打包托收催收' } },
{ path: 'cltset', component: Cltset, name: 'Cltset', meta: { title: '打包托收解包' } },
......
......@@ -91,8 +91,8 @@ export default {
let newList = {
code:arr[0],
label:arr[1],
//isDis:arr[2],
isDis:'Y',
isDis:arr[2],
//isDis:'Y',
title:arr[3]
}
//添加到navcode数组中
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
<template>
<c-content class="eibs-tab" :height="200">
<c-infsearch-group @handleSearch="handleSearch" @handleReset="handleReset">
<c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<!-- 持续展示区 -->
<template slot="keepShow">
......@@ -149,7 +149,7 @@
</c-row>
<c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-istream-table :list="model.infbut.dspstm" :columns="stmData.columns">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
......@@ -200,6 +200,9 @@ export default {
"7 7 \"Cur\" 50 ",
"8 8 \"Doc.Amount\" 150 ",
"8 8 \"Open Amount\" 150 ",
],
data:[
]
},
}
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-col :span="12">
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
<c-row>
......
......@@ -7,8 +7,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary" disabled="disabled">Use</c-button>
<c-button size="small" type="primary" disabled="disabled">Loginfo</c-button>
</div>
</p>
......@@ -17,7 +17,7 @@
<c-row>
<c-col :span="12">
<el-form-item label="币种代码" prop="rec.cod">
<c-input disabled="disableed" v-model="model.rec.cod" maxlength="3" placeholder="请输入Currency Code"></c-input>
<c-input disabled="disabled" v-model="model.rec.cod" maxlength="3" placeholder="请输入Currency Code"></c-input>
</el-form-item>
</c-col>
<!--
......@@ -183,12 +183,14 @@
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col class="infrow" style="margin-top:50px;">
<c-istream-table :list="model.recpan.codmod.codtxt" :columns="stmData.columns">
</c-istream-table>
</c-col>
</c-row>
</c-content>
</template>
<script>
......
......@@ -59,7 +59,7 @@
</c-row>
-->
<c-infsearch-group @handleSearch="handleSearch" @handleReset="handleReset">
<c-infsearch-group @handleReset="onInfbutClr" @handleSearch="onInfbutSearow">
<template slot="keepShow">
<c-row>
<c-col :span="12">
......@@ -87,15 +87,15 @@
</c-row>
<el-row class="infrow" style="margin-top:20px;">
<c-istream-table :list="model.infbut.dspstm" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100">
<c-row class="infrow" style="margin-top:20px;">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="操作" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template>
</el-table-column>
</c-istream-table>
</el-row>
</c-row>
</c-content>
</template>
......@@ -122,19 +122,7 @@ export default {
},
}
},
methods: {
...Event,
handleSearch(callback) {
setTimeout(() => {
this.$notify.info({ title: '提示', message: '模拟post请求控制按钮状态' });
// 执行子组件回调函数控制按钮状态
callback()
}, 1000)
},
handleReset() {
}
},
methods:{...Event},
created:function(){
}
......
......@@ -63,17 +63,21 @@ export default {
}
},
created:async function(){
console.log("进入infcur交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//this.$notify.error({title:'提示',message:'初始化执行结束!'});
//TODO 处理数据逻辑
//this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-col :span="24">
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<!-- 顶部 -->
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
</p>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -2,7 +2,7 @@
<!-- Selection -->
<c-content class="eibs-tab" :height="200">
<c-infsearch-group @handleSearch="handleSearch" @handleReset="handleReset">
<c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<!-- 持续展示区 -->
<template slot="keepShow">
<c-row>
......@@ -168,7 +168,7 @@
</c-row>
<c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-istream-table :list="model.infbut.dspstm" :columns="stmData.columns">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
......@@ -209,6 +209,9 @@ export default {
"6 6 \"Cur\" 150 ",
"7 7 \"L/C Amount\" 150 ",
"7 7 \"Open Amount\" 150 ",
],
data: [
]
},
}
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -7,8 +7,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<!--
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -6,8 +6,8 @@
<c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled="disableed">Use</c-button>
<c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
<c-button size="small" type="primary">Use</c-button>
<c-button size="small" type="primary">Loginfo</c-button>
</div>
<c-row>
......
......@@ -198,10 +198,9 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {...CodeTable},
showflg: true,
}
};
},
methods:{
tabClick(){
......
......@@ -26,9 +26,7 @@
</el-form-item>
</c-col>
<c-col :span="2">
&nbsp;
</c-col>
<c-col :span="2"> &nbsp; </c-col>
<c-col :span="10">
<el-form-item
......@@ -297,31 +295,63 @@
</template>
</c-list-search>
<c-col :span="24" style="margin-top:10px">
<c-col :span="24" style="margin-top: 10px">
<c-button type="primary" size="small">信用证开立</c-button>
</c-col>
<el-row>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="150px"
>
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
<c-col :span="11" style="text-align: left"
><span>操作</span></c-col
>
<c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="110">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="display(scope.$index, scope.row)"
>
查看详情
</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>
</el-popover>
<!-- <c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index,scope.row)"
>
详情
</c-button> -->
<c-button
style="margin-left: 0"
size="small"
......@@ -335,11 +365,10 @@
style="margin-left: 0"
size="small"
type="primary"
@click="getDitSelInfo(scope.$index,scope.row)"
@click="getDitSelInfo(scope.$index, scope.row)"
>
info
</c-button>
</template>
</el-table-column>
</c-istream-table>
......@@ -348,10 +377,14 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose" >11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
<!-- <c-col :span="12">
<el-form-item label="Own Reference" prop="infcon.seaownref">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference"></c-input>
......@@ -539,22 +572,36 @@
</div>
</template>
<script>
import Utils from "~/utils/index"
import Utils from "~/utils/index";
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infdid/Event";
import BusNavbar from "~/views/Business/Infdid/BusNavbar"
import BusNavbar from "~/views/Business/Infdid/BusNavbar";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
components:{'m-busbtn':BusNavbar},
components: { "m-busbtn": BusNavbar },
data() {
return {
ownref:"",
initdialog:false,
ownref: "",
initdialog: false,
dialogTableVisible: false,
trnData: {
columns: [
'1 1 "编号" 0',
'2 2 "交易名称" 0',
'3 3 "日期" 0',
'4 4 "状态" 0',
'5 5 "币种" 0',
'6 6 "金额" 0',
'7 7 "Relres" 0',
'0 8 "Inr" 0',
],
data: [],
},
stmData: {
columns: [
'1 1 "Reference" 120',
......@@ -610,10 +657,26 @@ export default {
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.didgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
},
created: function () {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 5px 50px;
}
</style>
......@@ -295,37 +295,43 @@
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="saveColumnFlg ? stmData.columns : saveColumns"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="165px">
<el-table-column fixed="right" prop="op" label="操作" width="165px" class-name="lastColumn">
<template slot="header">
<c-col :span="11" style="text-align: left"
<c-col style="text-align: left"
><span>操作</span></c-col
>
<c-col :span="12" style="text-align: right"
<!-- <c-col style="text-align: right"
><c-button
icon="el-icon-s-tools"
@click="clounmSetting"
></c-button
></c-col>
></c-col> -->
</template>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="onDetails"
>详情
</c-button>
<c-button
style="margin-left: 0;padding:0 12px"
style="margin-left: 0"
size="small"
type="primary"
@click="continueEdit(scope.row)"
>TAKE
>处理
</c-button>
<el-popover placement="left" width="100" trigger="click">
<c-button type="primary" size="small">指派</c-button>
<c-button type="primary" size="small">删除</c-button>
<!-- <el-button slot="reference" type="text">>>></el-button> -->
<a slot="reference" href="javascript:void(0)" style="text-decoration: none; color: #1561e0;font-family: '宋体';font-weight: bold;font-size: 14px;">>>></a
>
<el-popover placement="top-start" width="50" trigger="click">
<!-- <c-button type="primary" size="small">指派</c-button>
<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>
</ul>
<a slot="reference" href="javascript:void(0)" style="margin-left: 5px"
><i class="el-icon-more"></i
></a>
</el-popover>
</template>
</el-table-column>
......@@ -333,33 +339,7 @@
</c-col>
</el-row>
<el-dialog
class="showColumnDialog"
:visible.sync="setColumnFlg"
:title="'自定义列属性'"
appenD-to-body
>
<el-form-item label-width="0">
<el-checkbox-group v-model="columnGroup" @change="handleColumnChange">
<el-checkbox
v-for="item in setColumn"
:key="item.label"
:label="item.index"
>{{ item.label }}</el-checkbox
>
</el-checkbox-group>
</el-form-item>
<span slot="footer">
<el-checkbox
class="cbClass"
:indeterminate="isIndeterminate"
v-model="selectAll"
@change="setAll"
>全选</el-checkbox
>
<el-button type="primary" @click="saveColumnEvent">保存</el-button>
</span>
</el-dialog>
<!-- <el-row style="margin-top: 2rem">
<c-col :span="23">
<el-card class="box-card">
......@@ -400,7 +380,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"></div>
</el-dialog>
<el-dialog
<!-- <el-dialog
class="detailDialogClass"
:visible.sync="detailDialog"
:title="'详情面板'"
......@@ -415,7 +395,7 @@
>
</c-col>
</span>
</el-dialog>
</el-dialog> -->
</div>
</template>
<script>
......@@ -423,27 +403,22 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptsel/Event";
import Sptpopup from "./Sptpopup.vue";
export default {
inject: ["root"],
props: ["model", "codes"],
components: {
"m-sptpopup": Sptpopup,
},
mixins: [CommonProcess],
data() {
return {
saveColumns: [],
// saveColumns: [],
sourceModel: [],
sourceData: [],
initdialog: false,
detailDialog: false,
setColumnFlg: false,
saveColumnFlg: true,
selectAll: true,
isIndeterminate: false,
// detailDialog: false,
// setColumnFlg: false,
// saveColumnFlg: true,
transactionStatus: {
busiNo: "",
modTimes: 0,
......@@ -452,8 +427,7 @@ export default {
earnCount: 0,
earnAmt: 0,
},
setColumn: [],
columnGroup: [],
// setColumn: [],
stmData: {
columns: [
'4 1 "交易代码" 70 ',
......@@ -507,62 +481,41 @@ export default {
this.model[element] = "t";
});
},
clounmSetting() {
this.setColumnFlg = true;
},
saveColumnEvent() {
this.setColumnFlg = false;
this.saveColumnFlg = false;
this.saveColumns = this.setColumn
.filter((item) => item.value)
.map((item) => this.stmData.columns[item.index]);
},
setAll(val) {
this.columnGroup = val
? this.setColumn.map((item) => {
return item.index;
})
: [];
this.isIndeterminate = false;
},
handleColumnChange() {
this.selectAll = this.setColumn.length === this.columnGroup.length;
this.isIndeterminate =
this.columnGroup.length > 0 &&
this.columnGroup.length < this.setColumn.length;
},
...Event,
},
created: function () {
this.setColumn = this.stmData.columns.map((item, index) => {
let begIdx = item.indexOf('"');
let endIdx = item.indexOf('"', begIdx + 1);
let label = item.substring(begIdx + 1, endIdx);
return { label, value: true, index };
});
this.columnGroup = this.setColumn.map((item) => {
return item.index;
});
// this.setColumn = this.stmData.columns.map((item, index) => {
// let begIdx = item.indexOf('"');
// let endIdx = item.indexOf('"', begIdx + 1);
// let label = item.substring(begIdx + 1, endIdx);
// return { label, value: true, index };
// });
// this.columnGroup = this.setColumn.map((item) => item.index);
},
};
</script>
<style scoped>
.el-checkbox >>> .el-checkbox__label {
width: 60px;
font-size: 13px;
}
.cbClass >>> .el-checkbox__label {
width: 30px;
font-size: 13px;
padding-left: 5px;
}
.showColumnDialog >>> .el-dialog__body {
/* .showColumnDialog >>> .el-dialog__body {
padding-bottom: 10px;
}
.showColumnDialog >>> .el-dialog__footer {
padding: 0 20px 10px 20px;
}
.detailDialogClass >>> .el-dialog {
height: 400px;
height: 650px;
} */
.table-button-item-list{
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
<template>
<c-page title="">
<div class="eibs-tab">
<c-col :span="13">
<el-form-item label="Type" prop="spt.sta" style="width:100%">
<c-select v-model="model.spt.sta" style="width:100%" placeholder="请选择Type">
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
>
<c-col :span="11">
<el-form-item label="Type" prop="spt.sta" style="width: 100%">
<c-select
v-model="model.spt.sta"
style="width: 100%"
placeholder="请选择Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Status" prop="spt.hldflg" style="width:100%">
<c-select v-model="model.spt.hldflg" style="width:100%" placeholder="请选择Hold Flag">
<c-col :span="11" :offset="1">
<el-form-item label="Status" prop="spt.hldflg" style="width: 100%">
<c-select
v-model="model.spt.hldflg"
style="width: 100%"
placeholder="请选择Hold Flag"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Reference" prop="spt.objnam" style="width:100%">
<c-input v-model="model.spt.objnam" maxlength="40" style="width:100%" placeholder="请输入Reference"></c-input>
<c-col :span="11">
<el-form-item label="Reference" prop="spt.objnam" style="width: 100%">
<c-input
v-model="model.spt.objnam"
maxlength="40"
style="width: 100%"
placeholder="请输入Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Ident No" prop="spt.inr" style="width:100%">
<c-input v-model="model.spt.inr" maxlength="8" style="width:100%" placeholder="请输入Internal Unique ID of Pending Transaction"></c-input>
<c-col :span="11" :offset="1">
<el-form-item label="Ident No" prop="spt.inr" style="width: 100%">
<c-input
v-model="model.spt.inr"
maxlength="8"
style="width: 100%"
placeholder="请输入Internal Unique ID of Pending Transaction"
></c-input>
</el-form-item>
</c-col>
<c-col :span="23">
<el-form-item label="Name" prop="spt.txt" style="width:100%">
<c-input v-model="model.spt.txt" maxlength="40" style="width:100%" placeholder="请输入Name"></c-input>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Name" prop="spt.txt" style="width: 100%">
<c-input
v-model="model.spt.txt"
maxlength="40"
style="width: 100%"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="24">
<c-col :span="11">
<c-col :span="13">
<el-form-item label="Transaction " prop="spt.frm">
<c-col :span="8">
<c-input v-model="model.spt.frm" maxlength="6" style="width:95%" placeholder="请输入Transaction "></c-input>
</c-col>
<c-col :span="16">
<c-input v-model="model.spt.frm" maxlength="16" placeholder="请输入Transaction "></c-input>
<c-input
v-model="model.spt.frm"
maxlength="6"
style="width: 95%"
placeholder="请输入Transaction "
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="spt.frm" label-width="0">
<c-input
v-model="model.spt.frm"
maxlength="16"
placeholder="请输入Transaction "
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="13">
<c-col :span="11">
<el-form-item label="Responsible User " prop="spt.ownusr">
<c-input v-model="model.spt.ownusr" maxlength="8" placeholder="请输入Responsible User "></c-input>
<c-input
v-model="model.spt.ownusr"
maxlength="8"
placeholder="请输入Responsible User "
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-col :span="11" :offset="1">
<el-form-item label="Responsible Group" prop="spt.ownusg">
<c-select v-model="model.spt.ownusg" style="width:100%" placeholder="请选择Responsible Group">
<c-select
v-model="model.spt.ownusg"
style="width: 100%"
placeholder="请选择Responsible Group"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="17">
<c-col :span="11">
<c-col :span="19">
<el-form-item label="Infotext" prop="spt.inftxt">
<c-input type="textarea" v-model="model.spt.inftxt" maxlength="65" style="width:100%" show-word-limit placeholder="请输入Infotext" ></c-input>
<c-input
type="textarea"
v-model="model.spt.inftxt"
maxlength="65"
style="width: 100%"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="spt.infdsp" label-width="20px">
<c-select v-model="model.spt.infdsp" style="width:100%;padding-left:0px" placeholder="请选择Infotext">
<c-col :span="5">
<el-form-item label="" prop="spt.infdsp" label-width="5px">
<c-select
v-model="model.spt.infdsp"
style="width: 100%; padding-left: 0px"
placeholder="请选择Infotext"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="10">
<el-form-item label="Entered by" prop="spt.usr">
<c-input v-model="model.spt.usr" maxlength="8" placeholder="请输入Entered by"></c-input>
<c-input
v-model="model.spt.usr"
maxlength="8"
placeholder="请输入Entered by"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="at" prop="spt.dattim" label-width="50px">
<c-input v-model="model.spt.dattim" placeholder="请输入Time of Creation"></c-input>
<c-input
v-model="model.spt.dattim"
placeholder="请输入Time of Creation"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-col :span="7">
<el-form-item label="in TRN" prop="spt.cretrn" label-width="70px">
<c-input v-model="model.spt.cretrn" maxlength="6" placeholder="请输入Creating Transaction ID"></c-input>
<c-input
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入Creating Transaction ID"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Target for Completion" prop="spt.tardattim">
<c-input v-model="model.spt.tardattim" placeholder="请输入Target for Completion"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height:20px">
<el-divider></el-divider>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSptpButord">
......@@ -94,11 +184,7 @@
</c-button>
</c-col> -->
<!-- <c-col :span="13">
<el-form-item label="Target for Completion" prop="spt.tardattim">
<c-input v-model="model.spt.tardattim" placeholder="请输入Target for Completion"></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Message Type " prop="sptp.smh.msgtyp">
......@@ -129,29 +215,141 @@
&Close
</c-button>
</c-col> -->
<c-col :span="23" style="height:24px;margin-left:9px">
<!-- <el-form-item label-width="500px"> -->
<c-table :paginationShow="false" :border="true">
<el-table-column
label="Seq.No"
prop="groseq"
width="auto"
></el-table-column>
<el-table-column
label="Msg.Type"
prop="cortyp"
width="auto"
></el-table-column>
<el-table-column
label="Message references"
prop="nam"
width="150px"
></el-table-column>
<el-table-column
label="User"
prop="creusr"
width="auto"
></el-table-column>
<el-table-column
label="Length"
prop="msglen"
width="auto"
></el-table-column>
<el-table-column
label="File name"
prop="docfil"
width="auto"
></el-table-column>
<el-table-column
label="File ext"
prop="docfxt"
width="auto"
></el-table-column>
<el-table-column
label="DB-INR"
prop="inr"
width="auto"
></el-table-column>
<el-table-column
label="CREFRM"
prop="crefrm"
width="auto"
></el-table-column>
<el-table-column
label="CREDATTIM"
prop="credattim"
width="120px"
></el-table-column>
<el-table-column
label="PARTFLG"
prop=""
width="partflg"
></el-table-column>
<el-table-column
label="MSGTYP"
prop="msgtyp"
width="auto"
></el-table-column>
<el-table-column
label="RELCUR"
prop="relcur"
width="auto"
></el-table-column>
<el-table-column
label="RELAMT"
prop="relamt"
width="auto"
></el-table-column>
<el-table-column
label="SYSNO"
prop="sysno"
width="auto"
></el-table-column>
<el-table-column
label="STAFLG"
prop="staflg"
width="auto"
></el-table-column>
<el-table-column
label="F20"
prop="f20"
width="auto"
></el-table-column>
<el-table-column
label="STP"
prop="spt"
width="auto"
></el-table-column>
</c-table>
<!-- </el-form-item> -->
</c-col>
<c-col :span="23" style="height:24px;margin-left:9px">
<!-- <el-form-item label-width="500px"> -->
<c-table :paginationShow="false" :border="true">
<el-table-column label="Start" width="auto"></el-table-column>
<el-table-column label="Type" width="auto"></el-table-column>
<el-table-column label="User" width="auto"></el-table-column>
<el-table-column label="TRN" width="auto"></el-table-column>
<el-table-column label="End" width="auto"></el-table-column>
<el-table-column label="Text" width="auto"></el-table-column>
</c-table>
<!-- </el-form-item> -->
</c-col>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Sptsel from "~/Model/Sptsel";
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptsel/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptsel/Event";
export default {
inject: ['root'],
props:["model","codes"],
// inject: ['root'],
// props:["model","codes"],
mixins: [CommonProcess],
data(){
data() {
return {
}
model: new Sptsel().data,
codes: { ...CodeTable },
};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
<style scoped>
.el-col >>> .el-divider--horizontal {
margin-top: 1px;
}
</style>
......@@ -401,7 +401,7 @@
fixed="right"
prop="display"
label="操作"
width="auto"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
......@@ -454,347 +454,6 @@
</el-table-column>
</c-istream-table>
</c-col>
<el-dialog
:title="title"
:visible.sync="Trnp0Visible"
width="70%"
modal=true
center
>
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Reference">
<c-input v-model="model.trn.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Reference">
<c-input v-model="model.recpan.con" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Transaction Key">
<c-input v-model="model.trn.inr" maxlength="8" placeholder="请输入Transaction Key"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="6">
<el-form-item label-width="30%" label="Ident No.">
<c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="请输入Ident No."></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<c-col :span="6">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Transaction ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Transaction">
<c-input v-model="model.recpan.atpget.sdamod.seainf" placeholder="请输入Transaction"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<c-col :span="14">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
&Warning
</c-button>
</c-col> -->
<c-col :span="12">
<c-row>
<c-col :span="12">
<el-form-item label="Relevant Amount">
<c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入Relevant Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-input v-model="model.trn.reloriamt" placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Release Status of Transaction">
<c-select v-model="model.trn.relflg" style="width:100%" placeholder="请选择Release Status of Transaction">
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanNotmap">
Unmapped
</c-button>
</c-col> -->
<c-col :span="6">
<el-form-item label="Responsible">
<c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入Responsible"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Group">
<c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入Responsible Group"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Signatures Required/Obtained">
<c-cow>
<c-col :span="11">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入Signatures Required/Obtained"></c-input>
</c-col>
<c-col :span="2">
<span style="margin-left:40%">/</span>
</c-col>
<c-col :span="11">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</c-col>
</c-cow>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Applied Signatures">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="6">
<el-form-item label="Based on Ident No.">
<c-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入Based on Ident No."></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Execution Date">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择Execution Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item>
<span style="text-align:center;display:block;" v-text="model.recpan.cpltxt" data-path=".recpan.cpltxt" > </span>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6">
<el-form-item label="Entered by">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" placeholder="请输入Entered by"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Timestamp">
<c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入Timestamp"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Send to SOP/CASmf reference">
<c-input v-model="model.recpan.ackgrp.rec.sndref" maxlength="40" placeholder="请输入Send to SOP/CASmf reference"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.spt.sta" data-path=".recpan.spt.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButspt">
Pending Item
</c-button>
</c-col> -->
<c-col :span="24">
<el-form-item label="Documents">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<el-table size="mini" border="1"
>
<el-table-column property="type" label="type" width="130" sortable></el-table-column>
<el-table-column property="ExternalKey" label="External Key" width="230" sortable></el-table-column>
<el-table-column property="Document" label="Document" width="270" sortable></el-table-column>
<el-table-column property="nam1" label=" " width="120"></el-table-column>
<el-table-column property="nam2" label=" " width="120"></el-table-column>
</el-table>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanInc">
Show &Incoming
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButord">
Order
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.ord.sta" data-path=".recpan.ord.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onImgmod1Image">
imgyge
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanIncben">
Inc to Ben
</c-button>
</c-col> -->
<c-col :span="24">
<c-col :span="16">
<el-form-item label="Infotext">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
...
</c-button>
</c-col>
<c-col :span="6">
<el-form-item label-width="20%" label="Infoflag">
<c-input v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="User ID">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="24">
<c-col :span="18">
<el-form-item label="Signatures">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<el-table size="mini" border="1"
>
<el-table-column property="type" label="type" width="130" sortable></el-table-column>
<el-table-column property="User" label="User" width="230" sortable></el-table-column>
<el-table-column property="date" label="Date/TIme" width="270" sortable></el-table-column>
<el-table-column property="Action" label="Action" width="120" sortable></el-table-column>
</el-table>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Object">
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择Table Used to Store Associated Object"></c-input>
</c-col>
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入Object"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Object Name">
<c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item>
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<el-table size="mini" border="1"
>
<el-table-column property="type" label="ID" width="130" sortable></el-table-column>
<el-table-column property="User" label="Service" width="230" sortable></el-table-column>
<el-table-column property="date" label="Status" width="270" sortable></el-table-column>
<el-table-column property="Action" label="Last Update" width="120" sortable></el-table-column>
<el-table-column property="Action" label="Retries" width="120" sortable></el-table-column>
<el-table-column property="Action" label="Text" width="120" sortable></el-table-column>
</el-table>
</el-form-item>
</c-col>
</div>
</template>
<div slot="footer" class="dialog-footer">
<el-button @click="Trnp0Visible = false">取 消</el-button>
<el-button type="primary" @click="Trnp0Visible = false">确 定</el-button>
</div>
</el-dialog>
</el-row>
<!-- <el-row style="margin-top: 2rem">
<c-col :span="23">
......
<template>
<c-page title="">
<div class="eContainer">
<div class="eibs-tab">
<c-col :span="23">
<div style="float:right;margin-bottom:10px">
<el-button size="small">交易快照</el-button>
<el-button size="small">智能提示</el-button>
<el-button size="small" @click="exit">退出</el-button>
</div>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
style="margin-left:15px"
>
<c-content>
<!-- -------------------基础信息------------------- -->
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Reference">
<c-input v-model="model.trn.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Reference">
<c-input v-model="model.recpan.con" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Transaction Key">
<c-input v-model="model.trn.inr" maxlength="8" placeholder="请输入Transaction Key"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="6">
<el-form-item label-width="30%" label="Ident No.">
<c-input v-model="model.trn.inr" placeholder="请输入Ident No."></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="1">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
<c-col :span="7">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Transaction ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Transaction">
<c-input v-model="model.recpan.atpget.sdamod.seainf" placeholder="请输入Transaction"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="1">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
</c-col>
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="14">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
&Warning
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="12">
<c-row>
<c-col :span="12">
<el-form-item label="Relevant Amount">
<c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入Relevant Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="11">
<c-input v-model="model.trn.reloriamt" placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Release Status of Transaction">
<c-input v-model="model.trn.relflg" style="width:100%" placeholder="请选择Release Status of Transaction">
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanNotmap">
Unmapped
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Responsible">
<c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入Responsible"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Group">
<c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入Responsible Group"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Signatures Required/Obtained">
<c-row>
<c-col :span="11">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入Signatures Required/Obtained"></c-input>
</c-col>
<c-col :span="2">
<span style="margin-left:40%">/</span>
</c-col>
<c-col :span="11">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Applied Signatures">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Based on Ident No.">
<c-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入Based on Ident No."></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Execution Date">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择Execution Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item>
<span style="text-align:center;display:block;" v-text="model.recpan.cpltxt" data-path=".recpan.cpltxt" > </span>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="23" style="margin-left:9px;height:25px;margin-bottom:10px">
<el-divider></el-divider>
</c-col> -->
<!-- -------------------Entered by------------------- -->
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Entered by">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" placeholder="请输入Entered by"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Timestamp">
<c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入Timestamp"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Send to SOP/CASmf reference">
<c-input v-model="model.recpan.ackgrp.rec.sndref" maxlength="40" placeholder="请输入Send to SOP/CASmf reference"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.spt.sta" data-path=".recpan.spt.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButspt">
Pending Item
</c-button>
</c-col> -->
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col>
<!-- -------------------document------------------- -->
<c-col :span="23" style="height:14px;">
<el-form-item class="formItemLabel" label="Documents:">
</el-form-item>
</c-col>
<c-col :span="23">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-col :span="24">
<c-istream-table :list="documentsData.data" :columns="documentsData.columns" :paginationShow="false" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template>
<c-button
style="margin-left: 0"
size="small"
>
Show
</c-button>
<c-button
style="margin-left: 0"
size="small"
>
生成PDF
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanInc">
Show &Incoming
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButord">
Order
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.ord.sta" data-path=".recpan.ord.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onImgmod1Image">
imgyge
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanIncben">
Inc to Ben
</c-button>
</c-col> -->
<c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider>
</c-col>
<!-- -------------------Infotext------------------- -->
<c-col :span="23" style="margin-top:10px">
<c-col :span="17">
<c-col :span="22">
<el-form-item label="Infotext">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" :rows="3" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
style="margin:0 10px 0 10px;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
></c-button>
</c-col>
</c-col>
<c-col :span="7">
<c-col :span="24">
<el-form-item label-width="40%">
<!-- <c-input v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
</c-input> -->
<el-select v-model="model.trn.infdsp" style="width: 100%">
<el-option
v-for="item in codes.infdsp"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label-width="40%" label="Send for Repair to">
<c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder="请选择extkey">
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="User ID">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="23" style="height:14px;">
<el-form-item class="formItemLabel" label="Signatures:">
</el-form-item>
</c-col>
<c-col :span="23">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24">
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" :paginationShow="false" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<!-- <template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template> -->
</el-table-column>
</c-istream-table>
</c-col>
</c-col>
<c-col :span="23" style="margin-left:9px;height:25px;margin-bottom:10px">
<el-divider></el-divider>
</c-col>
<!-- -------------------workflow------------------- -->
<c-col :span="23">
<c-col :span="12">
<el-form-item label="Object">
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择Table Used to Store Associated Object"></c-input>
</c-col>
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入Object"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Object Name">
<c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="24">
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</c-col>
</c-content>
</el-form>
</div>
</div>
</c-page>
</template>
<script>
import Trnrel from "~/Model/Trnrel";
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
name: "InftrnpsDetail",
mixins: [CommonProcess],
data(){
return {
model: new Trnrel().data,
documentsData: {
columns: [
"1 1 \"Type\" 60 1 0:0 1 CORTYP",
"2 2 \"External Key\" 210",
"3 3 \"Document\" 240",
"4 4 \"Show\" 80 5 6:1 0 A",
"5 5 \"GenPDF\" 80 5 6:1 0 B"
],
data: [],
},
SignaturesData: {
columns: [
'1 2:1 "User" 200',
'2 3:1 "Date / Time" 200',
'3 5:1 "Action" 200',
'4 1:1 "Type" 200'
],
data: [],
},
stmData: {
columns: [
'1 1 "ID" 50',
'2 2 "Service" 125 1 0:0 1 SRVTXT',
'3 3 "Status" 80 1 0:0 1 WFE:STA',
'4 4 "Last Update" 102',
'5 5 "Retries" 100 1 0:1',
'6 6 "Text" 300',
'7 7 "Contrary Text" 200',
'8 8 "Target Time" 200'
],
data: [],
},
codes: { infdsp: CodeTable.infdsp },
}
},
mounted() {
this.loadData()
},
methods: {
loadData() {
// const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem('InftrnpsDetail'));
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
},
exit(){
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList");
},
...Event
}
}
</script>
<style scoped>
.el-col >>> .el-divider--horizontal {
margin-top: 10px;
}
.formItemLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
}
</style>
\ No newline at end of file
......@@ -385,24 +385,24 @@
> -->
<el-row>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="200px"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template>
<!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>-->
<!-- <a href="javascript:void(0)" @click="display(scope.$index, scope.row)"
>显示快照</a
> -->
<c-button style="margin-left: 0" size="small" >
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<!--
......@@ -410,7 +410,11 @@
快照
</c-button>
-->
<c-button style="margin-left: 0" size="small" >
<c-button
style="margin-left: 0"
size="small"
type="primary"
>
冲正
</c-button>
</template>
......@@ -484,36 +488,16 @@ export default {
earnAmt: 0,
},
stmData: {
// columns: [
// '10 1 "TRN" 50 1 tdViewTypeEdit:0 3 ATPTXT',
// '11 2:1 "Own Reference" 112',
// '17 2:2 "Addtional Text" 112',
// '12 3 "Cur" 37',
// '13 4 "Relevant Amount" 101 2 8:1 2 5',
// '14 5 "Entry" 104 20 DateTime 1',
// '9 6:1 "Req" 39',
// '2 6:2 "Sig" 35',
// '6 8:1 "Rq0" 40',
// '3 8:2 "Rel0" 40',
// '7 9:1 "Rq1" 40',
// '4 9:2 "Rel1" 40',
// '8 10:1 "Rq2" 40',
// '5 10:2 "Rel2" 40',
// '15 13 "Branch" 142',
// '16 11:1 "User" 62',
// '18 11:2 "" 62',
// '0 12 "Status" 54 1 tdViewTypeEdit:0 1 RELSTA',
// ],
columns: [
'10 1 "交易代码" 80',
'11 2 "业务编号" 170',
'12 3 "币种" 70',
'13 4 "金额" 100',
'14 5 "创建时间" 170',
'9 6 "签名要求" 70',
'2 7 "签名状态" 70',
'16 8 "经办柜员" 70',
'0 9 "业务状态" 70',
'9 6 "签名要求" 80',
'2 7 "签名状态" 80',
'16 8 "经办柜员" 80',
'0 9 "业务状态" 80',
'15 10 "业务机构" 200',
],
data: [],
......
<template>
<c-page title="">
<div class="eContainer">
<div class="eibs-tab">
<c-function-btn :hideFuncBtn="true" :handleStash="true"
>
<el-button size="small">交易快照</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
>
<c-content>
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Reference">
<c-input v-model="model.trn.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Reference">
<c-input v-model="model.recpan.con" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Transaction Key">
<c-input v-model="model.trn.inr" maxlength="8" placeholder="请输入Transaction Key"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="6">
<el-form-item label-width="30%" label="Ident No.">
<c-input v-model="model.trn.inr" placeholder="请输入Ident No."></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
&nbsp;
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<c-col :span="6">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.recpan.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="23">
<c-col :span="8">
<el-form-item label="Transaction ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Transaction">
<c-input v-model="model.recpan.atpget.sdamod.seainf" placeholder="请输入Transaction"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="1">
<c-button size="small" type="primary">
i
</c-button>
</c-col>
<c-col :span="14">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
&Warning
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="12">
<c-row>
<c-col :span="12">
<el-form-item label="Relevant Amount">
<c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入Relevant Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-input v-model="model.trn.reloriamt" placeholder="请输入Relevant Amount for Release in Original Currency"></c-input>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Release Status of Transaction">
<c-input v-model="model.trn.relflg" style="width:100%" placeholder="请选择Release Status of Transaction">
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanNotmap">
Unmapped
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Responsible">
<c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入Responsible"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Group">
<c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入Responsible Group"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="40%" label="Signatures Required/Obtained">
<c-row>
<c-col :span="11">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入Signatures Required/Obtained"></c-input>
</c-col>
<c-col :span="2">
<span style="margin-left:40%">/</span>
</c-col>
<c-col :span="11">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</c-col>
</c-row>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Applied Signatures">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Based on Ident No.">
<c-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入Based on Ident No."></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Execution Date">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择Execution Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item>
<span style="text-align:center;display:block;" v-text="model.recpan.cpltxt" data-path=".recpan.cpltxt" > </span>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="6">
<el-form-item label="Entered by">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" placeholder="请输入Entered by"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label-width="35%" label="Timestamp">
<c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入Timestamp"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Send to SOP/CASmf reference">
<c-input v-model="model.recpan.ackgrp.rec.sndref" maxlength="40" placeholder="请输入Send to SOP/CASmf reference"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.spt.sta" data-path=".recpan.spt.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButspt">
Pending Item
</c-button>
</c-col> -->
<c-col :span="23">
<el-form-item label="Documents">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-istream-table :list="documentsData.data" :columns="documentsData.columns" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanInc">
Show &Incoming
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButord">
Order
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.ord.sta" data-path=".recpan.ord.sta" > </span>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onImgmod1Image">
imgyge
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanIncben">
Inc to Ben
</c-button>
</c-col> -->
<c-col :span="23">
<c-col :span="16">
<el-form-item label="Infotext">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary">
...
</c-button>
</c-col>
<c-col :span="6">
<el-form-item label-width="20%" label="Infoflag">
<c-input v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="User ID">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="">
<c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="23">
<c-col :span="18">
<el-form-item label="Signatures">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<c-col :span="12">
<el-form-item label="Object">
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择Table Used to Store Associated Object"></c-input>
</c-col>
<c-col :span="10">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入Object"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Object Name">
<c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="23">
<el-form-item>
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="auto"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-content>
</el-form>
</div>
</div>
</c-page>
</template>
<script>
import Trnrel from "~/Model/Trnrel";
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
name: "InftrnpsDetail",
mixins: [CommonProcess],
data(){
return {
model: new Trnrel().data,
documentsData: {
columns: [
"1 1 \"Type\" 60 1 0:0 1 CORTYP",
"2 2 \"External Key\" 210",
"3 3 \"Document\" 240",
"4 4 \"Show\" 80 5 6:1 0 A",
"5 5 \"GenPDF\" 80 5 6:1 0 B"
],
data: [],
},
SignaturesData: {
columns: [
'1 2:1 "User" 70 50',
'2 3:1 "Date / Time" 200',
'3 5:1 "Action" 120',
'4 1:1 "Type" 150'
],
data: [],
},
stmData: {
columns: [
'1 1 "ID" 50',
'2 2 "Service" 125 1 0:0 1 SRVTXT',
'3 3 "Status" 80 1 0:0 1 WFE:STA',
'4 4 "Last Update" 102',
'5 5 "Retries" 100 1 0:1',
'6 6 "Text" 300',
'7 7 "Contrary Text" 200',
'8 8 "Target Time" 200'
],
data: [],
},
}
},
methods:{...Event},
mounted() {
this.loadData()
},
methods: {
loadData() {
// const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem('InftrnpsDetail'));
this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows;
}
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<el-form-item label="Correspondence"> </el-form-item>
</c-col> -->
<c-col :span="23" style="margin-left:9px">
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="报文格式">
......@@ -155,107 +151,9 @@
>
</template>
</el-table-column>
<!-- <el-table-column label="">
<template slot-scope="scope">
<el-button
size="medium"
type="danger"
@click="handleDetail(scope.row.index, scope.row)"
>明细</el-button
>
</template>
</el-table-column> -->
</c-istream-table-docpan>
</c-col>
<!-- <c-col :span="24">
<c-table :list="model.trnmod.trndoc.doceot" style="width:80%,text-align:center">
<el-table-column
label="Role"
width="auto"
>
</el-table-column>
<el-table-column
label="Description"
width="auto"
>
</el-table-column>
<el-table-column
label="CORTYP"
width="auto"
>
</el-table-column>
<el-table-column
label="DOCSNF"
width="auto"
>
</el-table-column>
<el-table-column
label="Lang."
width="auto"
>
</el-table-column>
<el-table-column
label="Form"
width="auto"
>
</el-table-column>
<el-table-column
label="Or."
width="auto"
>
</el-table-column>
<el-table-column
label="CC"
width="auto"
>
</el-table-column>
<el-table-column
label=".."
width="auto"
>
</el-table-column>
<el-table-column
label="Show"
width="auto"
>
</el-table-column>
<el-table-column
label="Details"
width="auto"
>
</el-table-column>
</c-table>
</c-col> -->
<!--
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
--><template>
<template>
<el-dialog
:title="title"
:visible.sync="centerDialogVisible"
......@@ -496,7 +394,6 @@
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";
import Api from "~/service/Api";
import Utils from "~/utils/index";
export default {
......@@ -544,7 +441,6 @@ export default {
}
},
methods: {
...Event,
saveDialog() {
this.centerDialogVisible = false;
console.log(this.model);
......@@ -558,6 +454,82 @@ export default {
}
})
},
async handleDisplay(index, row){
//后续要根据快照模式切换请求方式
let cortyp = row.cortyp
let rtnmsg
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
this.model.setmod.msgmod.doccod = row.id
rtnmsg = await Api.post(`${this.declareParams.trnName}/msgmod_butshw`, this.wrapper())
} else {
this.model.trnmod.trndoc.doccod = row.id
this.model.trnmod.trndoc.cortyp = cortyp
const params = {
index: index
}
rtnmsg = await Api.post(`${this.declareParams.trnName}/executeDocpan`, this.wrapper(params))
}
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl
this.title = "报文"
//window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if (cortyp == 'ELC') {
Modal.info({
title: '电证报文', content: <div style={{ height: 400, overflow: 'auto' }}><ELCMessage mty={row.id} message={rtnmsg.data["\\trnmod\\trndoc\\docinf"]} /></div>,
width: 1000,
})
}
else {
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this.title = "面函"
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.pandsc == "国内信用证") {
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data.litbenl1blk;
}
else if (row.pandsc == "开立国内信用证备查表") {
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data.litapll1blk
}
else if (row.pandsc.startsWith("elcs.")) {
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(element => {
window.sessionStorage.docTXT += element + "\r\n"
});
}
else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
// console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML);
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
this.dialogOpen = true
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
async handleDetail(index, row) {
const params = {
index: index
}
let rtnmsg = await Api.post(`${this.declareParams.trnName}/executeDocpanDetail`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc
this.centerDialogVisible = true,
this.dialog = rtnmsg.data.trnmod_trndoc_doceot[index]
this.index = index
}
},
},
created: function () {},
};
......
......@@ -3,7 +3,7 @@
<c-tabs :value="tabVal" type="card" @tab-click="tabClick">
<el-tab-pane label="待经办列表" name="sptsel">
<!-- <c-table :columnsConfig="tableColumns" :list="tableData"></c-table> -->
<c-content>
<c-content :height="0">
<span slot="label">
待经办列表
<el-badge v-if="$store.state.Status.taskList.sptsel>0" :value="$store.state.Status.taskList.sptsel" :max="99"/>
......@@ -36,7 +36,7 @@
<t-sptbrk />
</el-tab-pane>
<el-tab-pane label="到期提示" name="diasel">
<c-content>
<c-content :height="0">
<t-diasel/>
</c-content>
</el-tab-pane>
......
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