Commit 442aae34 by wangna

流程交易汉化补充

parent 725c2e23
...@@ -276,12 +276,12 @@ export default { ...@@ -276,12 +276,12 @@ export default {
], ],
relflg: [ relflg: [
{ label: "<all>", value: "" }, { label: "<all>", value: "" },
{ label: "Correct", value: "C" }, { label: "已修改", value: "C" },
{ label: "Final", value: "F" }, { label: "Final", value: "F" },
{ label: "Picked up", value: "P" }, { label: "已拾取", value: "P" },
{ label: "Rejected", value: "N" }, { label: "已拒绝", value: "N" },
{ label: "Released", value: "R" }, { label: "Released", value: "R" },
{ label: "Waiting", value: "W" }, { label: "等待", value: "W" },
], ],
trntyp: [ trntyp: [
{ label: "ALL", value: "" }, { label: "ALL", value: "" },
......
...@@ -41,15 +41,15 @@ ...@@ -41,15 +41,15 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Selected User" prop="usfmod.usr.extkey" v-if="model.usfmod.flt ==='<SELU>'"> <el-form-item label="所选用户" prop="usfmod.usr.extkey" v-if="model.usfmod.flt ==='<SELU>'">
<c-input v-model="model.usfmod.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input> <c-input v-model="model.usfmod.usr.extkey" maxlength="8" placeholder="请输入所选用户"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Selected branch" prop="usfmod.selusb" v-if="model.usfmod.flt ==='<SELB>'"> <el-form-item label="所选分支" prop="usfmod.selusb" v-if="model.usfmod.flt ==='<SELB>'">
<c-select v-model="model.usfmod.selusb" style="width:100%" placeholder="请选择Select user branch" :code="codes.selusg"> <c-select v-model="model.usfmod.selusb" style="width:100%" placeholder="请选择所选分支" :code="codes.selusg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -101,19 +101,6 @@ ...@@ -101,19 +101,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!--
<c-col :span="12">
<el-form-item label="" prop="usfmod.usrget.sdamod.seainf">
<c-input v-model="model.usfmod.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="List of SPT records" prop="sptstm">
<c-input v-model="model.sptstm" placeholder="请输入List of SPT records"></c-input>
</el-form-item>
</c-col>
-->
</c-col> </c-col>
</c-col> </c-col>
...@@ -327,7 +314,7 @@ export default { ...@@ -327,7 +314,7 @@ export default {
} }
}, },
onButpan(){ onButpan(){
this.$confirm('Are you sure that you want to return selected items?','提示',{ this.$confirm('确定要返回所选项目吗?','提示',{
confirmButtonText: '是', confirmButtonText: '是',
cancelButtonText: '否', cancelButtonText: '否',
type: 'warning', type: 'warning',
......
...@@ -6,41 +6,78 @@ ...@@ -6,41 +6,78 @@
id="dialog3" id="dialog3"
@opened="opened" @opened="opened"
> >
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Order Number" prop="sptp.ord.extkey"> <el-form-item label="订单编号" prop="sptp.ord.extkey">
<c-input v-model="model.sptp.ord.extkey" maxlength="32" placeholder="请输入Order Number" disabled></c-input> <c-input
v-model="model.sptp.ord.extkey"
maxlength="32"
placeholder="请输入订单编号"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Sector" prop="sptp.ordp0.conarg.sector"> <el-form-item label="Sector" prop="sptp.ordp0.conarg.sector">
<c-select v-model="model.sptp.ordp0.conarg.sector" style="width:100%" placeholder="请选择Sector" :code="codes.sector" disabled> <c-select
v-model="model.sptp.ordp0.conarg.sector"
style="width: 100%"
placeholder="请选择Sector"
:code="codes.sector"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Contract" prop="sptp.ordp0.conarg.selref"> <el-form-item label="合同" prop="sptp.ordp0.conarg.selref">
<c-input v-model="model.sptp.ordp0.conarg.selref" maxlength="40" placeholder="请输入Contract" disabled></c-input> <c-input
v-model="model.sptp.ordp0.conarg.selref"
maxlength="40"
placeholder="请输入合同"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Ordering Party" prop="sptp.ordp0.pta.ptyextkey"> <el-form-item
<c-input v-model="model.sptp.ordp0.pta.ptyextkey" maxlength="24" placeholder="请输入Ordering Party" disabled></c-input> label="订购方"
prop="sptp.ordp0.pta.ptyextkey"
>
<c-input
v-model="model.sptp.ordp0.pta.ptyextkey"
maxlength="24"
placeholder="请输入订购方"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Responsible User" prop="sptp.ord.ownusr"> <el-form-item label="责任用户" prop="sptp.ord.ownusr">
<c-input v-model="model.sptp.ord.ownusr" maxlength="8" placeholder="请输入Responsible User" disabled></c-input> <c-input
v-model="model.sptp.ord.ownusr"
maxlength="8"
placeholder="请输入责任用户"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Group" prop="sptp.ord.ownusg" label-width="100px"> <el-form-item
<c-select v-model="model.sptp.ord.ownusg" style="width:100%" placeholder="请选择Responsible Group Optional" :code="codes.usgtxt" disabled> label="组"
prop="sptp.ord.ownusg"
label-width="100px"
>
<c-select
v-model="model.sptp.ord.ownusg"
style="width: 100%"
placeholder="请选择"
:code="codes.usgtxt"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -48,58 +85,111 @@ ...@@ -48,58 +85,111 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交易状态" prop="sptp.ord.sta"> <el-form-item label="交易状态" prop="sptp.ord.sta">
<c-select v-model="model.sptp.ord.sta" style="width:100%" placeholder="请选择Status" :code="codes.sptDetSta" disabled> <c-select
v-model="model.sptp.ord.sta"
style="width: 100%"
placeholder="请选择交易状态"
:code="codes.sptDetSta"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Last Update" prop="sptp.ord.stadattim" label-width="100px"> <el-form-item
<c-input v-model="model.sptp.ord.stadattim" placeholder="请输入Timestamp of Last 交易状态 Update" disabled></c-input> label="最后更新"
prop="sptp.ord.stadattim"
label-width="100px"
>
<c-input
v-model="model.sptp.ord.stadattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="External Readable Identification" prop="sptp.ord.nam"> <el-form-item
<c-input v-model="model.sptp.ord.nam" maxlength="40" placeholder="请输入External Readable Identification" disabled></c-input> label="外部可读标识"
prop="sptp.ord.nam"
>
<c-input
v-model="model.sptp.ord.nam"
maxlength="40"
placeholder="请输入外部可读标识"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Ident No." prop="sptp.ord.inr"> <el-form-item label="身份证号码" prop="sptp.ord.inr">
<c-input v-model="model.sptp.ord.inr" maxlength="8" placeholder="请输入Internal Unique ID of Transaction" disabled></c-input> <c-input
v-model="model.sptp.ord.inr"
maxlength="8"
placeholder="请输入身份证号码"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="sptp.ordp0.conarg.selnam"> <el-form-item label="" prop="sptp.ordp0.conarg.selnam">
<c-input v-model="model.sptp.ordp0.conarg.selnam" maxlength="40" placeholder="请输入选定合同的名称" disabled></c-input> <c-input
v-model="model.sptp.ordp0.conarg.selnam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易关键字名称" prop="sptp.ordp0.pta.nam"> <el-form-item label="交易关键字名称" prop="sptp.ordp0.pta.nam">
<c-input v-model="model.sptp.ordp0.pta.nam" maxlength="40" placeholder="请输入Externally Visible 交易关键字名称 of Address" disabled></c-input> <c-input
v-model="model.sptp.ordp0.pta.nam"
maxlength="40"
placeholder="请输入交易关键字名称"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="创建时间" prop="sptp.ord.inidattim"> <el-form-item label="创建时间" prop="sptp.ord.inidattim">
<c-input v-model="model.sptp.ord.inidattim" placeholder="请输入Group" disabled></c-input> <c-input
v-model="model.sptp.ord.inidattim"
placeholder="请输入创建时间"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<span v-text="model.sptp.ordp0.orddur" data-path=".sptp.ordp0.orddur" disabled> </span> <span
v-text="model.sptp.ordp0.orddur"
data-path=".sptp.ordp0.orddur"
disabled
>
</span>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="Target" prop="sptp.ord.tardattim"> <el-form-item label="目标" prop="sptp.ord.tardattim">
<c-input v-model="model.sptp.ord.tardattim" placeholder="请输入Target for Completion" disabled></c-input> <c-input
v-model="model.sptp.ord.tardattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="Completion" prop="sptp.ord.cpldattim"> <el-form-item label="结束" prop="sptp.ord.cpldattim">
<c-input v-model="model.sptp.ord.cpldattim" placeholder="请输入Timestamp of Completion" disabled></c-input> <c-input
v-model="model.sptp.ord.cpldattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -107,71 +197,103 @@ ...@@ -107,71 +197,103 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" <c-button
size="small"
type="primary"
@click="showGridPromptDialog('ordp0.butore')" @click="showGridPromptDialog('ordp0.butore')"
> >
Events 事件
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12" label-width="5px"> <c-col :span="12" label-width="5px">
<c-checkbox v-model="model.sptp.ord.chkflg" disabled>Order OK</c-checkbox> <c-checkbox v-model="model.sptp.ord.chkflg" disabled
>订单确定</c-checkbox
>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<br> <br />
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<br> <br />
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="18"> <c-col :span="18">
<el-form-item label="Infotext" prop="sptp.ord.inftxt"> <el-form-item label="信息文本" prop="sptp.ord.inftxt">
<c-input type="textarea" v-model="model.sptp.ord.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" rows="5" disabled></c-input> <c-input
type="textarea"
v-model="model.sptp.ord.inftxt"
maxlength="65"
show-word-limit
placeholder="请输入信息文本"
rows="5"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6" :offset="-1"> <c-col :span="6" :offset="-1">
<el-form-item label="" prop="sptp.ord.infdsp" label-width="5px"> <el-form-item label="" prop="sptp.ord.infdsp" label-width="5px">
<c-select v-model="model.sptp.ord.infdsp" style="width:100%" placeholder="请选择Infotext" :code="codes.infdsp" disabled> <c-select
v-model="model.sptp.ord.infdsp"
style="width: 100%"
placeholder="请选择"
:code="codes.infdsp"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
<c-button size="small" type="primary" @click="onOrdp0Butsmh" disabled> <c-button
Show &Message size="small"
type="primary"
@click="onOrdp0Butsmh"
disabled
>
显示报文
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12" v-show="false"> <c-col :span="12" v-show="false">
<el-form-item label="Drag Drop Sender" prop="sptp.ordp0.recget.sdamod.dadsnd"> <el-form-item
<c-input v-model="model.sptp.ordp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender" disabled></c-input> label="Drag Drop Sender"
prop="sptp.ordp0.recget.sdamod.dadsnd"
>
<c-input
v-model="model.sptp.ordp0.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" v-show="false"> <c-col :span="12" v-show="false">
<el-form-item label="" prop="sptp.ordp0.recget.sdamod.seainf"> <el-form-item label="" prop="sptp.ordp0.recget.sdamod.seainf">
<c-input v-model="model.sptp.ordp0.recget.sdamod.seainf" placeholder="请输入" disabled></c-input> <c-input
v-model="model.sptp.ordp0.recget.sdamod.seainf"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptneg/Event" import Event from "~/model/Sptneg/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
initdialog3:false, initdialog3: false,
} };
}, },
mounted() { mounted() {
this.trnName = "sptneg"; this.trnName = "sptneg";
...@@ -181,24 +303,22 @@ export default { ...@@ -181,24 +303,22 @@ export default {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.updateModel(res.data); this.updateModel(res.data);
} else { } else {
} }
}) });
}) });
}, },
methods:{...Event, methods: {
...Event,
opened() { opened() {
this.$emit("childmethods"); this.$emit("childmethods");
}, },
}, },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
#dialog3 .el-dialog{ #dialog3 .el-dialog {
width: 80%; width: 80%;
height: 80%; height: 80%;
} }
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Object" prop="clmmod.wfs.objtyp" label-width="40px"> <el-form-item
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" placeholder="请输入Table Used to Store Associated Object" disabled></c-input> label="对象"
prop="clmmod.wfs.objtyp"
label-width="40px"
>
<c-input
v-model="model.clmmod.wfs.objtyp"
maxlength="6"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="clmmod.wfs.objinr" label-width="5px"> <el-form-item label="" prop="clmmod.wfs.objinr" label-width="5px">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" placeholder="请输入Object" disabled></c-input> <c-input
v-model="model.clmmod.wfs.objinr"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Object Name" prop="clmmod.wfs.objnam"> <el-form-item label="对象名称" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification" disabled></c-input> <c-input
v-model="model.clmmod.wfs.objnam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button size="small" type="primary" @click="onClmmodDet" label-width="5px"> <c-button
size="small"
type="primary"
@click="onClmmodDet"
label-width="5px"
>
详情 详情
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<c-istream-table <c-istream-table :list="stmData.data" :columns="stmData.columns">
:list="stmData.data"
:columns="stmData.columns">
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptneg/Event" import Event from "~/model/Sptneg/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
stmData: { stmData: {
columns: [ columns: [
'4 1 "ID" 150', '4 1 "ID" 150',
'5 2 "Service" 200', '5 2 "服务" 200',
'6 3 "交易状态" 150', '6 3 "交易状态" 150',
'8 4 "Last Update" 200', '8 4 "最后更新" 200',
'14 5 "Retries" 200', '14 5 "重试次数" 200',
'3 6 "Text" 300', '3 6 "文本" 300',
], ],
data: [], data: [],
}, },
} };
}, },
methods:{...Event, methods: { ...Event },
}, created: function () {},
created:function(){ };
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<el-dialog <el-dialog
:visible.sync="initdialog2" :visible.sync="initdialog2"
:title="'Details of Pending Item'" :title="'Details of Pending Item'"
...@@ -13,33 +12,59 @@ ...@@ -13,33 +12,59 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="类型" prop="spt.sta"> <el-form-item label="类型" prop="spt.sta">
<c-select v-model="model.spt.sta" style="width:100%" placeholder="请选择Type" :code="codes.sptrelstatus" disabled> <c-select
v-model="model.spt.sta"
style="width: 100%"
placeholder="请选择类型"
:code="codes.sptrelstatus"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="业务编号" prop="spt.objnam"> <el-form-item label="业务编号" prop="spt.objnam">
<c-input v-model="model.spt.objnam" maxlength="40" placeholder="请输入业务编号" disabled></c-input> <c-input
v-model="model.spt.objnam"
maxlength="40"
placeholder="请输入业务编号"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易关键字名称" prop="spt.txt"> <el-form-item label="交易关键字名称" prop="spt.txt">
<c-input v-model="model.spt.txt" maxlength="40" placeholder="请输入交易关键字名称" disabled></c-input> <c-input
v-model="model.spt.txt"
maxlength="40"
placeholder="请输入交易关键字名称"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!------------------右边------------------> <!------------------右边------------------>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易状态" prop="spt.hldflg"> <el-form-item label="交易状态" prop="spt.hldflg">
<c-select v-model="model.spt.hldflg" style="width:100%" placeholder="请选择Hold Flag" :code="codes.hldflg" disabled> <c-select
v-model="model.spt.hldflg"
style="width: 100%"
placeholder="请选择交易状态"
:code="codes.hldflg"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Ident No." prop="spt.inr"> <el-form-item label="身份证号码" prop="spt.inr">
<c-input v-model="model.spt.inr" maxlength="8" placeholder="请输入Internal Unique ID of Pending Transaction" disabled></c-input> <c-input
v-model="model.spt.inr"
maxlength="8"
placeholder="请输入身份证号码"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -47,35 +72,62 @@ ...@@ -47,35 +72,62 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交易 " prop="spt.frm"> <el-form-item label="交易 " prop="spt.frm">
<c-input v-model="model.spt.frm" maxlength="6" placeholder="请输入交易 " disabled></c-input> <c-input
v-model="model.spt.frm"
maxlength="6"
placeholder="请输入交易 "
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Responsible User " prop="spt.ownusr"> <el-form-item label="责任用户" prop="spt.ownusr">
<c-input v-model="model.spt.ownusr" maxlength="8" placeholder="请输入Responsible User " disabled></c-input> <c-input
v-model="model.spt.ownusr"
maxlength="8"
placeholder="请输入责任用户"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Responsible Group" prop="spt.ownusg"> <el-form-item label="责任小组" prop="spt.ownusg">
<c-select v-model="model.spt.ownusg" style="width:100%" placeholder="请选择Responsible Group" disabled> <c-select
v-model="model.spt.ownusg"
style="width: 100%"
placeholder="请选择责任小组"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="18"> <c-col :span="18">
<el-form-item label="Infotext" prop="spt.inftxt"> <el-form-item label="信息文本" prop="spt.inftxt">
<c-input type="textarea" v-model="model.spt.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" rows="5" disabled ></c-input> <c-input
type="textarea"
v-model="model.spt.inftxt"
maxlength="65"
show-word-limit
placeholder="请输入信息文本"
rows="5"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6" :offset="-1"> <c-col :span="6" :offset="-1">
<el-form-item label="" prop="spt.infdsp" label-width="5px"> <el-form-item label="" prop="spt.infdsp" label-width="5px">
<c-select v-model="model.spt.infdsp" placeholder="请选择Infotext" :code="codes.infdsp" disabled> <c-select
v-model="model.spt.infdsp"
placeholder="请选择"
:code="codes.infdsp"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -84,12 +136,21 @@ ...@@ -84,12 +136,21 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="经办柜员" prop="spt.usr"> <el-form-item label="经办柜员" prop="spt.usr">
<c-input v-model="model.spt.usr" maxlength="8" placeholder="请输入经办人" disabled></c-input> <c-input
v-model="model.spt.usr"
maxlength="8"
placeholder="请输入经办人"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="at" prop="spt.dattim" label-width="50px"> <el-form-item label="at" prop="spt.dattim" label-width="50px">
<c-input v-model="model.spt.dattim" placeholder="请输入创建时间" disabled></c-input> <c-input
v-model="model.spt.dattim"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -97,51 +158,79 @@ ...@@ -97,51 +158,79 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="创建交易" prop="spt.cretrn"> <el-form-item label="创建交易" prop="spt.cretrn">
<c-input v-model="model.spt.cretrn" maxlength="6" placeholder="请输入Creating Transaction ID" disabled></c-input> <c-input
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSptpButord"> <c-button size="small" type="primary" @click="onSptpButord">
Order 订单
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Target for Completion" prop="" disabled> <el-form-item label="完成目标" prop="" disabled>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="spt.tardattim" label-width="50px"> <el-form-item label="" prop="spt.tardattim" label-width="50px">
<c-input v-model="model.spt.tardattim" placeholder="请输入Target for Completion" disabled></c-input> <c-input
v-model="model.spt.tardattim"
placeholder="请输入完成目标"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Message Type " prop="sptp.smh.msgtyp"> <el-form-item label="报文类型" prop="sptp.smh.msgtyp">
<c-input v-model="model.sptp.smh.msgtyp" maxlength="20" placeholder="请输入Message Type " disabled></c-input> <c-input
v-model="model.sptp.smh.msgtyp"
maxlength="20"
placeholder="请输入报文类型"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="15"> <c-col :span="15">
<el-form-item label="Receiver Key " prop="sptp.smh.sndkey"> <el-form-item label="接收密钥" prop="sptp.smh.sndkey">
<c-input v-model="model.sptp.smh.sndkey" maxlength="50" placeholder="请输入Receiver Key " disabled></c-input> <c-input
v-model="model.sptp.smh.sndkey"
maxlength="50"
placeholder="请输入接收密钥"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13"> <c-col :span="13">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Relevant Amount" prop="sptp.smh.relcur"> <el-form-item label="相关金额" prop="sptp.smh.relcur">
<c-input v-model="model.sptp.smh.relcur" maxlength="3" placeholder="请输入Relevant Amount" disabled></c-input> <c-input
v-model="model.sptp.smh.relcur"
maxlength="3"
placeholder="请输入相关金额"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="sptp.smh.relamt" label-width="5px"> <el-form-item label="" prop="sptp.smh.relamt" label-width="5px">
<c-input v-model="model.sptp.smh.relamt" placeholder="请输入Relevant Amount Optional" disabled></c-input> <c-input
v-model="model.sptp.smh.relamt"
placeholder="请输入"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -150,21 +239,20 @@ ...@@ -150,21 +239,20 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptneg/Event" import Event from "~/model/Sptneg/Event";
import Sptneg from "~/model/Sptneg" import Sptneg from "~/model/Sptneg";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
initdialog2:false, initdialog2: false,
} };
}, },
mounted() { mounted() {
this.trnName = "sptneg"; this.trnName = "sptneg";
...@@ -174,27 +262,25 @@ export default { ...@@ -174,27 +262,25 @@ export default {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.updateModel(res.data); this.updateModel(res.data);
} else { } else {
} }
}) });
}) });
}, },
methods:{...Event, methods: {
...Event,
opened() { opened() {
this.$emit("childmethods"); this.$emit("childmethods");
}, },
async onSptpButord(){ async onSptpButord() {
this.$emit("onSptp"); this.$emit("onSptp");
}
}, },
created:function(){ },
created: function () {},
} };
}
</script> </script>
<style> <style>
#dialog2 .el-dialog{ #dialog2 .el-dialog {
width: 80%; width: 80%;
height: 80%; height: 80%;
} }
</style> </style>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</c-col> </c-col>
<c-col :span="24" v-if="model.usfmod.flt === '<SELB>'"> <c-col :span="24" v-if="model.usfmod.flt === '<SELB>'">
<el-form-item label="Selected Branch" prop="usfmod.selusg"> <el-form-item label="所选分支" prop="usfmod.selusg">
<c-select <c-select
v-model="model.usfmod.selusg" v-model="model.usfmod.selusg"
style="width: 100%" style="width: 100%"
...@@ -68,12 +68,12 @@ ...@@ -68,12 +68,12 @@
</c-col> </c-col>
<c-col :span="24" v-if="model.usfmod.flt === '<SELU>'"> <c-col :span="24" v-if="model.usfmod.flt === '<SELU>'">
<el-form-item label="Selected User" prop="usfmod.usr.extkey"> <el-form-item label="所选用户" prop="usfmod.usr.extkey">
<c-input <c-input
v-model="model.usfmod.usr.extkey" v-model="model.usfmod.usr.extkey"
maxlength="8" maxlength="8"
style="width: 100%" style="width: 100%"
placeholder="请输入User ID" placeholder="请输入所选用户"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -261,11 +261,11 @@ export default { ...@@ -261,11 +261,11 @@ export default {
flag:true, flag:true,
index:0, index:0,
sta:[ sta:[
{ label: 'All', value: '' }, { label: '全部', value: '' },
{ label: 'Branch Release', value: 'CMC' }, { label: '分支发布', value: 'CMC' },
{ label: 'Branch Register', value: 'CMP' }, { label: '分支登记', value: 'CMP' },
{ label: 'Branch Repair', value: 'CMR' }, { label: '分支维修', value: 'CMR' },
{ label: 'Center Repair', value: 'CTR' }, { label: '中心维修', value: 'CTR' },
], ],
stmData: { stmData: {
columns: [ columns: [
......
...@@ -95,9 +95,6 @@ ...@@ -95,9 +95,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="12" :offset="2">
<c-button size="small" type="primary" @click="onCan"> E&xit </c-button>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
<c-col :span="22" :offset="1"> <c-col :span="22" :offset="1">
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onDisp"> <c-button size="small" type="primary" @click="onDisp">
Display 显示
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onExi"> <c-button size="small" type="primary" @click="onExi">
E&xit 退出
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000052 --> <!--PD000052 -->
<el-tab-pane label="Items Overview" name="sptroup" v-if="false"> <el-tab-pane label="项目概述" name="sptroup" v-if="false">
<m-sptroup :model="model" :codes="codes"/> <m-sptroup :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
......
...@@ -50,17 +50,6 @@ ...@@ -50,17 +50,6 @@
<el-option v-for="item in codes.flt" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.flt" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
<!-- </c-col> -->
<!-- <c-col :span="4" style="text-align: right">
<c-button
size="small"
type="primary"
style="margin: 0 0"
icon="el-icon-search"
@click="onUsfmodShwflt"
>
</c-button>
</c-col> -->
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -119,16 +108,7 @@ ...@@ -119,16 +108,7 @@
</c-button> </c-button>
<c-button style="margin-left: 0" size="small" type="primary" @click="continueEdit(scope.row)">处理 <c-button style="margin-left: 0" size="small" type="primary" @click="continueEdit(scope.row)">处理
</c-button> </c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
type="primary"
@click="choose(scope.$index)"
>选择
</c-button> -->
<el-popover placement="top-start" width="50" trigger="click"> <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"> <ul class="table-button-item-list">
<li> <li>
...@@ -220,12 +200,12 @@ export default { ...@@ -220,12 +200,12 @@ export default {
}, },
async mounted() { async mounted() {
this.sourceData = [ this.sourceData = [
{ label: "Incoming", value: "chkinc" }, { label: "传入", value: "chkinc" },
{ label: "E-Trade", value: "chkdzt" }, { label: "电子贸易", value: "chkdzt" },
// { label: "Break", value: "chkpen" }, // { label: "Break", value: "chkpen" },
{ label: "Correction", value: "chkcor" }, { label: "修改", value: "chkcor" },
{ label: "Automatic", value: "chkaut" }, { label: "自动", value: "chkaut" },
{ label: "Reject", value: "chkdel" }, { label: "拒绝", value: "chkdel" },
{ label: "网银", value: "chktco" }, { label: "网银", value: "chktco" },
{ label: "归档", value: "chkcan" }, { label: "归档", value: "chkcan" },
{ label: "云平台", value: "chkypt" }, { label: "云平台", value: "chkypt" },
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
type="date" type="date"
v-model="model.inidatfro" v-model="model.inidatfro"
style="width: 100%" style="width: 100%"
placeholder="请选择Date of entry of Transaction" placeholder="请选择创建时间"
></c-date-picker> ></c-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
type="date" type="date"
v-model="model.inidattil" v-model="model.inidattil"
style="width: 100%" style="width: 100%"
placeholder="请选择Date of entry of Transaction until" placeholder="请选择"
></c-date-picker> ></c-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
...@@ -68,17 +68,6 @@ ...@@ -68,17 +68,6 @@
> >
</el-option> </el-option>
</c-select> </c-select>
<!-- </c-col> -->
<!-- <c-col :span="4" style="text-align: right">
<c-button
size="small"
type="primary"
style="margin: 0 0"
icon="el-icon-search"
@click="onUsfmodShwflt"
>
</c-button>
</c-col> -->
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -91,7 +80,7 @@ ...@@ -91,7 +80,7 @@
<c-input <c-input
v-model="model.seltxt" v-model="model.seltxt"
maxlength="32" maxlength="32"
placeholder="请输入Selection Name" placeholder="请输入业务描述"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -127,13 +116,6 @@ ...@@ -127,13 +116,6 @@
<c-input></c-input> <c-input></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="8" v-else>
<el-form-item
label=""
style="width: 100%; height: 36.8px; margin: 0 0 0 0"
>
</el-form-item>
</c-col> -->
<c-col :span="8" style="text-align: right" v-else> <c-col :span="8" style="text-align: right" v-else>
<el-button size="small" @click="sptfndHandleReset">重置</el-button> <el-button size="small" @click="sptfndHandleReset">重置</el-button>
...@@ -158,24 +140,6 @@ ...@@ -158,24 +140,6 @@
</c-col> </c-col>
<c-col :span="24" style=""> <c-col :span="24" style="">
<!-- <c-col :span="12" style="text-align:center" >
<c-checkbox v-model="model.chkypt">云平台</c-checkbox>
</c-col> -->
<!-- <c-col :span="8">
<el-form-item
label="退回原因"
prop="yptinf"
style="width: 100%"
>
<c-input
v-model="model.yptinf"
maxlength="60"
placeholder="请输入退回原因"
:readonly="true"
></c-input>
</el-form-item>
</c-col> -->
</c-col> </c-col>
</el-row> </el-row>
</el-form> </el-form>
...@@ -190,7 +154,6 @@ ...@@ -190,7 +154,6 @@
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align:center"><span>操作</span></c-col> <c-col :span="11" style="text-align:center"><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>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
...@@ -249,7 +212,7 @@ export default { ...@@ -249,7 +212,7 @@ export default {
'5 3 "业务编号" 300', '5 3 "业务编号" 300',
'6 2 "交易名称" 180', '6 2 "交易名称" 180',
// '1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA', // '1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
{index:1,position:4,width:100,pattern:'code',label:'状态',code:[{label:"Pending",value:"PEN"}]}, {index:1,position:4,width:100,pattern:'code',label:'状态',code:[{label:"待定",value:"PEN"}]},
'17 5 "报文类型" 100', '17 5 "报文类型" 100',
'18 6 "对方银行BIC" 130', '18 6 "对方银行BIC" 130',
// '7 7 "创建时间" 160 20 DateTime 1', // '7 7 "创建时间" 160 20 DateTime 1',
......
...@@ -171,26 +171,6 @@ export default { ...@@ -171,26 +171,6 @@ export default {
earnAmt: 0, earnAmt: 0,
}, },
stmData: { 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: [ columns: [
'10 1 "交易代码" 100', '10 1 "交易代码" 100',
'11 2 "业务编号" 150', '11 2 "业务编号" 150',
...@@ -204,10 +184,10 @@ export default { ...@@ -204,10 +184,10 @@ export default {
'16 9 "经办柜员" 100', '16 9 "经办柜员" 100',
// '0 10 "业务状态" 80', // '0 10 "业务状态" 80',
{ {
index: 0, position: 10, width: 100, pattern: 'code', label: '业务状态', code: [{ label: "Waiting", value: "W" }, index: 0, position: 10, width: 100, pattern: 'code', label: '业务状态', code: [{ label: "等待", value: "W" },
{ label: "Correct", value: "C" }, { label: "已修改", value: "C" },
{ label: "Picked up", value: "P" }, { label: "已拾取", value: "P" },
{ label: "Rejected", value: "N" },] { label: "已拒绝", value: "N" },]
}, },
'15 11 "业务机构" 120', '15 11 "业务机构" 120',
], ],
...@@ -241,14 +221,14 @@ export default { ...@@ -241,14 +221,14 @@ export default {
async mounted() { async mounted() {
this.relflgCodes = [ this.relflgCodes = [
{ label: "ALL", value: "0" }, //待复核列表业务状态All { label: "全部", value: "0" }, //待复核列表业务状态All
{ label: "Correct", value: "C" }, { label: "已修改", value: "C" },
// { label: "Closed", value: "M" }, // { label: "Closed", value: "M" },
// { label: "Entered", value: "E" }, // { label: "Entered", value: "E" },
// { label: "External", value: "X" }, // { label: "External", value: "X" },
{ label: "Picked up", value: "P" }, { label: "已拾取", value: "P" },
{ label: "Rejected", value: "N" }, { label: "已拒绝", value: "N" },
{ label: "Waiting", value: "W" }, { label: "等待", value: "W" },
]; ];
// await this.handleSearch() // await this.handleSearch()
// this.$store.commit("setTaskList", {key: "trnrel", val: this.stmData.data.length}) // this.$store.commit("setTaskList", {key: "trnrel", val: this.stmData.data.length})
......
...@@ -13,21 +13,34 @@ ...@@ -13,21 +13,34 @@
> >
<c-content> <c-content>
<!-- <c-col :span="24" style="margin:0 0 5px 0"> --> <!-- <c-col :span="24" style="margin:0 0 5px 0"> -->
<c-col :span="12" style="height:24px;"> <c-col :span="12" style="height: 24px">
<el-form-item label="基本信息" class="messageLabel"> <el-form-item label="基本信息" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" style="text-align:right;"> <c-col :span="11" style="text-align: right">
<c-button size="small" type="primary" style="margin-left:0" @click="display(model.trn.inr)">交易快照</c-button> <c-button
<c-button size="small" type="primary" style="margin-left:0">智能提示</c-button> size="small"
<c-button size="small" @click="exit" type="primary" style="margin-left:0">返回</c-button> type="primary"
style="margin-left: 0"
@click="display(model.trn.inr)"
>交易快照</c-button
>
<c-button size="small" type="primary" style="margin-left: 0"
>智能提示</c-button
>
<c-button
size="small"
@click="exit"
type="primary"
style="margin-left: 0"
>返回</c-button
>
</c-col> </c-col>
<!-- </c-col> --> <!-- </c-col> -->
<c-col :span="24" style="height: 10px;margin-bottom:10px"> <c-col :span="24" style="height: 10px; margin-bottom: 10px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<!-- -------------------基础信息------------------- --> <!-- -------------------基础信息------------------- -->
<!-- ========================= Left ========================= --> <!-- ========================= Left ========================= -->
...@@ -35,16 +48,28 @@ ...@@ -35,16 +48,28 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="业务编号"> <el-form-item label="业务编号">
<c-input v-model="model.trn.ownref" maxlength="16" disabled placeholder="请输入业务编号"></c-input> <c-input
v-model="model.trn.ownref"
maxlength="16"
disabled
placeholder="请输入业务编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 14px;" style="margin: 0; padding: 0 14px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -52,16 +77,28 @@ ...@@ -52,16 +77,28 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="交易代码"> <el-form-item label="交易代码">
<c-input v-model="model.recpan.atp.cod" maxlength="6" disabled placeholder="请输入交易代码"></c-input> <c-input
v-model="model.recpan.atp.cod"
maxlength="6"
disabled
placeholder="请输入交易代码"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 14px;" style="margin: 0; padding: 0 14px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -69,12 +106,21 @@ ...@@ -69,12 +106,21 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="相关金额"> <el-form-item label="相关金额">
<c-input v-model="model.trn.reloricur" maxlength="3" disabled placeholder="请输入Relevant Amount"></c-input> <c-input
v-model="model.trn.reloricur"
maxlength="3"
disabled
placeholder="请输入"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="8px"> <el-form-item label="" label-width="8px">
<c-input v-model="model.trn.reloriamt" disabled placeholder="请输入Relevant Amount for Release in Original Currency"></c-input> <c-input
v-model="model.trn.reloriamt"
disabled
placeholder="请输入"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -82,14 +128,23 @@ ...@@ -82,14 +128,23 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="经办柜员"> <el-form-item label="经办柜员">
<c-input v-model="model.trn.usr" maxlength="8" disabled placeholder="请输入经办柜员"></c-input> <c-input
v-model="model.trn.usr"
maxlength="8"
disabled
placeholder="请输入经办柜员"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label-width="40%" label="责任小组"> <el-form-item label-width="40%" label="责任小组">
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> --> <!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> -->
<el-select v-model="model.trn.usg" style="width: 100%" disabled> <el-select
v-model="model.trn.usg"
style="width: 100%"
disabled
>
<el-option <el-option
v-for="item in codes.usgtxt" v-for="item in codes.usgtxt"
:key="item.value" :key="item.value"
...@@ -104,13 +159,24 @@ ...@@ -104,13 +159,24 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="根据识别号"> <el-form-item label="根据识别号">
<c-input v-model="model.trn.cortrninr" maxlength="8" disabled placeholder="请输入根据识别号"></c-input> <c-input
v-model="model.trn.cortrninr"
maxlength="8"
disabled
placeholder="请输入根据识别号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="执行日期"> <el-form-item label="执行日期">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" disabled placeholder="请选择执行日期"></c-date-picker> <c-date-picker
type="date"
v-model="model.trn.exedat"
style="width: 100%"
disabled
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -118,19 +184,25 @@ ...@@ -118,19 +184,25 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="信息文本"> <el-form-item label="信息文本">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" :rows="3" show-word-limit placeholder="请输入信息文本" ></c-input> <c-input
type="textarea"
v-model="model.trn.inftxt"
maxlength="65"
:rows="3"
show-word-limit
placeholder="请输入信息文本"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 12px;" style="margin: 0; padding: 0 12px"
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
></c-button> ></c-button>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<!-- ========================= Right ========================= --> <!-- ========================= Right ========================= -->
...@@ -138,45 +210,60 @@ ...@@ -138,45 +210,60 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="身份证号"> <el-form-item label="身份证号">
<c-input v-model="model.trn.inr" disabled placeholder="请输入身份证号"></c-input> <c-input
v-model="model.trn.inr"
disabled
placeholder="请输入身份证号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 14px;" style="margin: 0; padding: 0 14px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易代码"> <el-form-item label="交易代码">
<!-- <el-select v-model="model.recpan.atp.cod" style="width: 100%" disabled> <c-input
<el-option v-model="this.atptxt"
v-for="item in codes.atptxt" maxlength="6"
:key="item.value" disabled
:label="item.label" placeholder="请输入交易代码"
:value="item.value" ></c-input>
/>
</el-select> -->
<c-input v-model="this.atptxt" maxlength="6" disabled placeholder="请输入交易代码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Drop Receiver"> <el-form-item label="Drop Receiver">
<c-input v-model="model.trn.objnam" maxlength="40" disabled placeholder="请输入External Readable Object Identification"></c-input> <c-input
v-model="model.trn.objnam"
maxlength="40"
disabled
placeholder="请输入"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发布状态"> <el-form-item label="发布状态">
<!-- <c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择交易的发布状态"> <el-select
</c-input> --> v-model="model.trn.relflg"
<el-select v-model="model.trn.relflg" style="width: 100%" disabled> style="width: 100%"
disabled
>
<el-option <el-option
v-for="item in codes.relstaEN" v-for="item in codes.relstaEN"
:key="item.value" :key="item.value"
...@@ -185,19 +272,27 @@ ...@@ -185,19 +272,27 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="经办柜员"> <el-form-item label="经办柜员">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" disabled placeholder="请输入经办人"></c-input> <c-input
v-model="model.recpan.cretrs.usr"
maxlength="8"
disabled
placeholder="请输入经办人"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="时间戳"> <el-form-item label="时间戳">
<c-input v-model="model.recpan.cretrs.dattim" disabled placeholder="请输入时间戳"></c-input> <c-input
v-model="model.recpan.cretrs.dattim"
disabled
placeholder="请输入时间戳"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -217,73 +312,48 @@ ...@@ -217,73 +312,48 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发送退回至"> <el-form-item label="发送退回至">
<c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder=""> <c-input
v-model="model.recpan.usr.extkey"
disabled
style="width: 100%"
placeholder=""
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- -------------------分割线------------------- -->
<!-- <c-col :span="24">
<div style="border-bottom: 10px solid rgb(232, 232, 232);">
</div>
</c-col> -->
<!-- <c-col :span="24" style="height:25px">
<el-divider></el-divider>
</c-col> -->
<!-- -------------------document------------------- --> <!-- -------------------document------------------- -->
<c-col :span="24" style="height:24px"> <c-col :span="24" style="height: 24px">
<el-form-item label="面函/报文" class="messageLabel"> <el-form-item label="面函/报文" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height: 0px;margin-top:-5px"> <c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> --> <c-istream-table
<!-- <c-istream-table :list="documentsData.data" :columns="documentsData.columns" :paginationShow="false"> :list="documentsData.data"
<el-table-column :columns="documentsData.columns"
fixed="right"
prop="display"
label="操作"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:center"><span style="line-height: 30px;">操作</span></c-col>
<c-col :span="12" style="text-align:center"><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="show(scope.$index,scope.row)"
> >
显示
</c-button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
>
打印
</c-button>
</template>
</el-table-column>
</c-istream-table> -->
<c-istream-table :list="documentsData.data" :columns="documentsData.columns">
<el-table-column label="介质" width="110px"> <el-table-column label="介质" width="110px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item label-width="0" <el-form-item
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'"> label-width="0"
<c-select v-model=" :prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'"
scope.row.cortyp >
" style="width: 100%" disabled placeholder="请选择"> <c-select
<el-option v-for="item in codes.doceotCortyp" :key="item.value" v-model="scope.row.cortyp"
:label="item.label" :value="item.value"> style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -291,36 +361,57 @@ ...@@ -291,36 +361,57 @@
</el-table-column> </el-table-column>
<el-table-column label="报文格式" width="150px"> <el-table-column label="报文格式" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-select v-model=" <c-select
scope.row.docsnf v-model="scope.row.docsnf"
" style="width: 100%" placeholder="请选择" style="width: 100%"
@change="executeDefault('trnmod.trndoc.doccur.docsnf')"> placeholder="请选择"
<el-option v-for="item in codes.docsnf" :key="item.value" :label="item.label" @change="executeDefault('trnmod.trndoc.doccur.docsnf')"
:value="item.value"> >
<el-option
v-for="item in codes.docsnf"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="语言" width="150px"> <el-table-column label="语言" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-select v-model=" <c-select
scope.row.docuil v-model="scope.row.docuil"
" style="width: 100%" placeholder="请选择"> style="width: 100%"
<el-option v-for="item in codes.uiltxt" :key="item.value" :label="item.label" placeholder="请选择"
:value="item.value"> >
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="传送方式" width="110px"> <el-table-column label="传送方式" width="110px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item label-width="0" <el-form-item
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.apf'"> label-width="0"
<c-select v-model=" :prop="'trnmod.trndoc.doceot.' + scope.$index + '.apf'"
scope.row.apf >
" disabled style="width: 100%" placeholder="请选择"> <c-select
<el-option v-for="item in codes.apftxt" :key="item.value" v-model="scope.row.apf"
:label="item.label" :value="item.value"> disabled
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.apftxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -328,29 +419,42 @@ ...@@ -328,29 +419,42 @@
</el-table-column> </el-table-column>
<el-table-column label="发送份数" width="70"> <el-table-column label="发送份数" width="70">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input v-model=" <c-input
scope.row.apfcpy1 v-model="scope.row.apfcpy1"
" :readonly="true" style="width: 100%" placeholder="请选择"> :readonly="true"
style="width: 100%"
placeholder="请选择"
>
</c-input> </c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="抄送份数" width="70"> <el-table-column label="抄送份数" width="70">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input v-model=" <c-input
scope.row.apfcpy2 v-model="scope.row.apfcpy2"
" style="width: 100%" placeholder="请选择"> style="width: 100%"
placeholder="请选择"
>
</c-input> </c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="" width="110px"> <el-table-column label="" width="110px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item label-width="0" <el-form-item
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.staflg'"> label-width="0"
<c-select v-model=" :prop="'trnmod.trndoc.doceot.' + scope.$index + '.staflg'"
scope.row.staflg >
" style="width: 100%" placeholder="请选择"> <c-select
<el-option v-for="item in codes.swttlx" :key="item.value" v-model="scope.row.staflg"
:label="item.label" :value="item.value"> style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.swttlx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -358,41 +462,51 @@ ...@@ -358,41 +462,51 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="200px" fixed="right"> <el-table-column label="操作" width="200px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button type="primary" size="small" :disabled=" <c-button
(scope.row type="primary"
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec && size="small"
model.didgrp.rec.elcflg == 'Y')||suppress :disabled="
" @click="show(scope.$index,scope.row)" (scope.row.pandsc == 'MT799' &&
style="margin-right:10px">预览</c-button> model.didgrp &&
<c-button size="small" type="primary" style="margin-left:0" model.didgrp.rec &&
@click="handleDetail(scope.row.index, scope.row)">详情</c-button> model.didgrp.rec.elcflg == 'Y') ||
suppress
"
@click="show(scope.$index, scope.row)"
style="margin-right: 10px"
>预览</c-button
>
<c-button
size="small"
type="primary"
style="margin-left: 0"
@click="handleDetail(scope.row.index, scope.row)"
>详情</c-button
>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<c-col :span="24" style="height:24px;margin-top:20px"> <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="经办/复核" class="messageLabel"> <el-form-item label="经办/复核" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height:0px;margin-top:-5px"> <c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> --> <!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" :paginationShow="false" style="width:100%"> <c-istream-table
:list="SignaturesData.data"
:columns="SignaturesData.columns"
:paginationShow="false"
style="width: 100%"
>
<el-table-column label="Action" width="auto"> <el-table-column label="Action" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{flg[scope.row.IDX]}}</span> <span>{{ flg[scope.row.IDX] }}</span>
<!-- <el-select v-model="action[scope.row.IDX]" style="100%" disabled>
<el-option
v-for="item in codes.flg"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select> -->
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
...@@ -400,20 +514,24 @@ ...@@ -400,20 +514,24 @@
</c-col> </c-col>
<!-- -------------------workflow------------------- --> <!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:20px"> <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="工作流服务" class="messageLabel"> <el-form-item label="工作流服务" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height:0px;margin-top:-5px"> <c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%"> <c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:paginationShow="false"
style="width: 100%"
>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</c-col> </c-col>
</c-content> </c-content>
</el-form> </el-form>
</div> </div>
...@@ -424,16 +542,16 @@ ...@@ -424,16 +542,16 @@
<script> <script>
import Trnrel from "~/model/Trnrel"; import Trnrel from "~/model/Trnrel";
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event";
import DocUtils from '~/utils/DocUtils' import DocUtils from "~/utils/DocUtils";
export default { export default {
name: "InftrnpsDetail", name: "InftrnpsDetail",
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
model: new Trnrel().data, model: new Trnrel().data,
documentsData: { documentsData: {
...@@ -441,9 +559,8 @@ export default { ...@@ -441,9 +559,8 @@ export default {
// "1 1 \"类型\" 300 1 0:0 1 CORTYP", // "1 1 \"类型\" 300 1 0:0 1 CORTYP",
// "2 2 \"外部密钥\" 300", // "2 2 \"外部密钥\" 300",
// "3 3 \"文档\" auto", // "3 3 \"文档\" auto",
"1 4 \"收报人\" 90", '1 4 "收报人" 90',
"2 5 \"描述\" 200", '2 5 "描述" 200',
], ],
data: [], data: [],
}, },
...@@ -451,90 +568,119 @@ export default { ...@@ -451,90 +568,119 @@ export default {
columns: [ columns: [
'1 2:1 "用户" 300', '1 2:1 "用户" 300',
// '2 3:1 "Date / Time" 300', // '2 3:1 "Date / Time" 300',
{index:2,position:3,width:300,pattern:'time',label:'日期/时间'}, {
index: 2,
position: 3,
width: 300,
pattern: "time",
label: "日期/时间",
},
// '3 5:1 "Action" 400', // '3 5:1 "Action" 400',
'4 1:1 "类型" 300' '4 1:1 "类型" 300',
], ],
data: [], data: [],
}, },
codes: { infdsp: CodeTable.infdsp, codes: {
flg : CodeTable.flg, infdsp: CodeTable.infdsp,
atptxt : CodeTable.atptxt, flg: CodeTable.flg,
relstaEN : CodeTable.relstaEN, atptxt: CodeTable.atptxt,
usgtxt : CodeTable.usgtxt, relstaEN: CodeTable.relstaEN,
wfetrssta : CodeTable.wfetrssta }, usgtxt: CodeTable.usgtxt,
wfetrssta: CodeTable.wfetrssta,
},
stmData: { stmData: {
columns: [ columns: [
'1 1 "编号" 100', '1 1 "编号" 100',
'2 2 "服务" 100', '2 2 "服务" 100',
// '3 3 "交易状态" 100', // '3 3 "交易状态" 100',
{index:3,position:3,width:100,pattern:'code',label:'交易状态',code: CodeTable.wfetrssta}, {
index: 3,
position: 3,
width: 100,
pattern: "code",
label: "交易状态",
code: CodeTable.wfetrssta,
},
'4 4 "最新更新" 120', '4 4 "最新更新" 120',
'5 5 "重试" 100', '5 5 "重试" 100',
'6 6 "文本" 200', '6 6 "文本" 200',
'7 7 "相反文本" 200', '7 7 "相反文本" 200',
// '8 8 "Target Time" auto' // '8 8 "Target Time" auto'
{index:8,position:8,width:'auto',pattern:'dateFormat',label:'目标时间'}, {
index: 8,
position: 8,
width: "auto",
pattern: "dateFormat",
label: "目标时间",
},
], ],
data: [], data: [],
}, },
flg:[], flg: [],
atptxt:'', atptxt: "",
relstaEN:'', relstaEN: "",
usgtxt:'', usgtxt: "",
} };
}, },
mounted() { mounted() {
this.loadData() this.loadData();
}, },
methods: { methods: {
...Event, ...Event,
async handleDetail(index, row) { async handleDetail(index, row) {
const params = { const params = {
index: row.idx index: row.idx,
} };
let rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpanDetail`, this.wrapper(params)) let rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpanDetail`,
this.wrapper(params)
);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc this.title = row.pandsc;
this.centerDialogVisible = true, (this.centerDialogVisible = true), this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data); this.dialog = this.model.trnmod.trndoc.doceot[row.idx];
this.dialog = this.model.trnmod.trndoc.doceot[row.idx] this.index = row.idx;
this.index = row.idx
} }
}, },
loadData() { loadData() {
// const { data } = this.$route.query // const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem('InftrnpsDetail')); this.model = JSON.parse(sessionStorage.getItem("InftrnpsDetail"));
this.documentsData.data = this.model.recpan.smhstm.rows; this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows; this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows; this.stmData.data = this.model.recpan.wfestm.rows;
this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3); this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3);
this.atptxt = this.strCalCode(this.model.recpan.atp.cod, this.codes.atptxt); this.atptxt = this.strCalCode(
this.relstaEN = this.strCalCode(this.model.trn.relflg, this.codes.relstaEN); this.model.recpan.atp.cod,
this.codes.atptxt
);
this.relstaEN = this.strCalCode(
this.model.trn.relflg,
this.codes.relstaEN
);
this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt); this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt);
}, },
strCalCode(str, code){ strCalCode(str, code) {
var result = ''; var result = "";
for(let i = 0; i < code.length; i++){ for (let i = 0; i < code.length; i++) {
if(code[i].value === code){ if (code[i].value === code) {
result = code[i].label; result = code[i].label;
continue; continue;
} }
} }
if(result === ''){ if (result === "") {
return str; return str;
}else{ } else {
return result; return result;
} }
}, },
ArrCalCode(table, code, index){ ArrCalCode(table, code, index) {
var result = []; var result = [];
for (let i = 0; i < table.length; i++) { for (let i = 0; i < table.length; i++) {
const d = table[i]; const d = table[i];
const items = d.split("\t"); const items = d.split("\t");
result[i] = items[index]; result[i] = items[index];
for(let j = 0; j < code.length; j++){ for (let j = 0; j < code.length; j++) {
if(code[j].value === result[i]){ if (code[j].value === result[i]) {
result[i] = code[j].label; result[i] = code[j].label;
continue; continue;
} }
...@@ -542,50 +688,62 @@ export default { ...@@ -542,50 +688,62 @@ export default {
} }
return result; return result;
}, },
exit(){ exit() {
this.$store.dispatch("TagsView/delView", this.$route) this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList"); this.$router.history.push("/taskList");
}, },
async show(idx,row){ async show(idx, row) {
var params = {selDst:"recpan.smhstm",selIds:[idx+1],selBtnId:"A"} var params = {
let rtnmsg = await Api.post(`/business/trnrel/executeRule/recpan.smhstm`, this.wrapper(params)) selDst: "recpan.smhstm",
selIds: [idx + 1],
selBtnId: "A",
};
let rtnmsg = await Api.post(
`/business/trnrel/executeRule/recpan.smhstm`,
this.wrapper(params)
);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.title = "面函" this.title = "面函";
let viewurl = "/#/docpan/show"; let viewurl = "/#/docpan/show";
let XMLdata; let XMLdata;
if (row.类型 == 'LET') { if (row.类型 == "LET") {
window.sessionStorage.docTXT = '' window.sessionStorage.docTXT = "";
window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk; window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk;
} else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = "";
XMLdata = rtnmsg.data.litbenl1blk;
} }
else if (row.pandsc == "MT799") { window.open(
window.sessionStorage.docTXT = '' viewurl,
XMLdata = rtnmsg.data.litbenl1blk "newwindow",
} "height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no"
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); );
} else {
const h = this.$createElement;
const msg = rtnmsg.respMsg || "请求执行失败!";
this.$notify.error({
title: "错误",
message: h("p", { style: "word-break:break-all;" }, msg),
});
} }
else { },
const h = this.$createElement },
const msg = rtnmsg.respMsg||'请求执行失败!' };
this.$notify.error({ title: '错误', message: h('p',{style: 'word-break:break-all;'}, msg) })
}
}
}
}
</script> </script>
<style scoped> <style scoped>
.el-col >>> .el-divider--horizontal { .el-col >>> .el-divider--horizontal {
margin-top: 10px; margin-top: 10px;
} }
.formItemLabel >>> .el-form-item__label{ .formItemLabel >>> .el-form-item__label {
text-align: left; text-align: left;
font-weight:bold; font-weight: bold;
} }
.el-col >>> .el-divider--horizontal { .el-col >>> .el-divider--horizontal {
margin-top: 5px; margin-top: 5px;
} }
.messageLabel >>> .el-form-item__label{ .messageLabel >>> .el-form-item__label {
text-align: left; text-align: left;
font-weight:bold; font-weight: bold;
font-size: 12px; font-size: 12px;
} }
</style> </style>
\ No newline at end of file
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<c-select <c-select
v-model="model.trncorco.relflg" v-model="model.trncorco.relflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Status" placeholder="请选择业务状态"
> >
<el-option <el-option
v-for="item in relflgCodes" v-for="item in relflgCodes"
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<c-select <c-select
v-model="model.bchcon" v-model="model.bchcon"
style="width: 100%" style="width: 100%"
placeholder="请选择Branch" placeholder="请选择业务机构"
> >
<el-option <el-option
v-for="item in codes.bchtyp" v-for="item in codes.bchtyp"
......
...@@ -13,21 +13,34 @@ ...@@ -13,21 +13,34 @@
> >
<c-content> <c-content>
<!-- <c-col :span="24" style="margin:0 0 5px 0"> --> <!-- <c-col :span="24" style="margin:0 0 5px 0"> -->
<c-col :span="12" style="height:24px;"> <c-col :span="12" style="height: 24px">
<el-form-item label="基本信息" class="messageLabel"> <el-form-item label="基本信息" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" style="text-align:right;"> <c-col :span="11" style="text-align: right">
<c-button size="small" type="primary" style="margin-left:0" @click="display(model.trn.inr)">交易快照</c-button> <c-button
<c-button size="small" type="primary" style="margin-left:0">智能提示</c-button> size="small"
<c-button size="small" @click="exit" type="primary" style="margin-left:0">返回</c-button> type="primary"
style="margin-left: 0"
@click="display(model.trn.inr)"
>交易快照</c-button
>
<c-button size="small" type="primary" style="margin-left: 0"
>智能提示</c-button
>
<c-button
size="small"
@click="exit"
type="primary"
style="margin-left: 0"
>返回</c-button
>
</c-col> </c-col>
<!-- </c-col> --> <!-- </c-col> -->
<c-col :span="24" style="height: 10px;margin-bottom:10px"> <c-col :span="24" style="height: 10px; margin-bottom: 10px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<!-- -------------------基础信息------------------- --> <!-- -------------------基础信息------------------- -->
<!-- ========================= Left ========================= --> <!-- ========================= Left ========================= -->
...@@ -35,16 +48,28 @@ ...@@ -35,16 +48,28 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="业务编号"> <el-form-item label="业务编号">
<c-input v-model="model.trn.ownref" maxlength="16" disabled placeholder="请输入业务编号"></c-input> <c-input
v-model="model.trn.ownref"
maxlength="16"
disabled
placeholder="请输入业务编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 14px;" style="margin: 0; padding: 0 14px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -52,16 +77,28 @@ ...@@ -52,16 +77,28 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="交易编号"> <el-form-item label="交易编号">
<c-input v-model="model.recpan.atp.cod" maxlength="6" disabled placeholder="请输入交易编号"></c-input> <c-input
v-model="model.recpan.atp.cod"
maxlength="6"
disabled
placeholder="请输入交易编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 14px;" style="margin: 0; padding: 0 14px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -69,12 +106,21 @@ ...@@ -69,12 +106,21 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="相关金额"> <el-form-item label="相关金额">
<c-input v-model="model.trn.reloricur" maxlength="3" disabled placeholder="请输入相关金额"></c-input> <c-input
v-model="model.trn.reloricur"
maxlength="3"
disabled
placeholder="请输入相关金额"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="2%"> <el-form-item label="" label-width="2%">
<c-input v-model="model.trn.reloriamt" disabled placeholder="请输入Relevant Amount for Release in Original Currency"></c-input> <c-input
v-model="model.trn.reloriamt"
disabled
placeholder="请输入"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -82,14 +128,23 @@ ...@@ -82,14 +128,23 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="责任人"> <el-form-item label="责任人">
<c-input v-model="model.trn.usr" maxlength="8" disabled placeholder="请输入责任人"></c-input> <c-input
v-model="model.trn.usr"
maxlength="8"
disabled
placeholder="请输入责任人"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label-width="35%" label="责任小组"> <el-form-item label-width="35%" label="责任小组">
<!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> --> <!-- <c-input v-model="model.trn.usg" maxlength="6" disabled placeholder="请输入责任小组"></c-input> -->
<el-select v-model="model.trn.usg" style="width: 100%" disabled> <el-select
v-model="model.trn.usg"
style="width: 100%"
disabled
>
<el-option <el-option
v-for="item in codes.usgtxt" v-for="item in codes.usgtxt"
:key="item.value" :key="item.value"
...@@ -104,13 +159,24 @@ ...@@ -104,13 +159,24 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="根据身份证号"> <el-form-item label="根据身份证号">
<c-input v-model="model.trn.cortrninr" maxlength="8" disabled placeholder="请输入根据身份证号"></c-input> <c-input
v-model="model.trn.cortrninr"
maxlength="8"
disabled
placeholder="请输入根据身份证号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label-width="35%" label="Execution Date"> <el-form-item label-width="35%" label="执行日期">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" disabled placeholder="请选择Execution Date"></c-date-picker> <c-date-picker
type="date"
v-model="model.trn.exedat"
style="width: 100%"
disabled
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -118,19 +184,25 @@ ...@@ -118,19 +184,25 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="信息文本"> <el-form-item label="信息文本">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" :rows="3" show-word-limit placeholder="请输入信息文本" ></c-input> <c-input
type="textarea"
v-model="model.trn.inftxt"
maxlength="65"
:rows="3"
show-word-limit
placeholder="请输入信息文本"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 12px;" style="margin: 0; padding: 0 12px"
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
></c-button> ></c-button>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<!-- ========================= Right ========================= --> <!-- ========================= Right ========================= -->
...@@ -138,45 +210,60 @@ ...@@ -138,45 +210,60 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="22"> <c-col :span="22">
<el-form-item label="身份证号"> <el-form-item label="身份证号">
<c-input v-model="model.trn.inr" disabled placeholder="请输入身份证号"></c-input> <c-input
v-model="model.trn.inr"
disabled
placeholder="请输入身份证号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" style="text-align: right"> <c-col :span="2" style="text-align: right">
<c-button <c-button
style="margin:0;padding: 0 14px;" style="margin: 0; padding: 0 14px"
size="small" size="small"
type="primary" type="primary"
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易编号"> <el-form-item label="交易编号">
<!-- <el-select v-model="model.recpan.atp.cod" style="width: 100%" disabled> <c-input
<el-option v-model="this.atptxt"
v-for="item in codes.atptxt" maxlength="6"
:key="item.value" disabled
:label="item.label" placeholder="请输入交易编号"
:value="item.value" ></c-input>
/>
</el-select> -->
<c-input v-model="this.atptxt" maxlength="6" disabled placeholder="请输入交易编号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Drop Receiver"> <el-form-item label="Drop Receiver">
<c-input v-model="model.trn.objnam" maxlength="40" disabled placeholder="请输入External Readable Object Identification"></c-input> <c-input
v-model="model.trn.objnam"
maxlength="40"
disabled
placeholder="请输入"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发布状态"> <el-form-item label="发布状态">
<!-- <c-input v-model="model.trn.relflg" style="width:100%" disabled placeholder="请选择交易发布状态"> <el-select
</c-input> --> v-model="model.trn.relflg"
<el-select v-model="model.trn.relflg" style="width: 100%" disabled> style="width: 100%"
disabled
>
<el-option <el-option
v-for="item in codes.relstaEN" v-for="item in codes.relstaEN"
:key="item.value" :key="item.value"
...@@ -185,18 +272,26 @@ ...@@ -185,18 +272,26 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="经办柜员"> <el-form-item label="经办柜员">
<c-input v-model="model.recpan.cretrs.usr" maxlength="8" disabled placeholder="请输入经办人"></c-input> <c-input
v-model="model.recpan.cretrs.usr"
maxlength="8"
disabled
placeholder="请输入经办人"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label-width="35%" label="时间戳"> <el-form-item label-width="35%" label="时间戳">
<c-input v-model="model.recpan.cretrs.dattim" disabled placeholder="请输入时间戳"></c-input> <c-input
v-model="model.recpan.cretrs.dattim"
disabled
placeholder="请输入时间戳"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -216,33 +311,33 @@ ...@@ -216,33 +311,33 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发送退回至"> <el-form-item label="发送退回至">
<c-input v-model="model.recpan.usr.extkey" disabled style="width:100%" placeholder=""> <c-input
v-model="model.recpan.usr.extkey"
disabled
style="width: 100%"
placeholder=""
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- -------------------分割线------------------- -->
<!-- <c-col :span="24">
<div style="border-bottom: 10px solid rgb(232, 232, 232);">
</div>
</c-col> -->
<!-- <c-col :span="24" style="height:25px">
<el-divider></el-divider>
</c-col> -->
<!-- -------------------document------------------- --> <!-- -------------------document------------------- -->
<c-col :span="24" style="height:24px"> <c-col :span="24" style="height: 24px">
<el-form-item label="面函/报文" class="messageLabel"> <el-form-item label="面函/报文" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height: 0px;margin-top:-5px"> <c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> --> <!-- <c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> -->
<c-istream-table :list="documentsData.data" :columns="documentsData.columns" :paginationShow="false" style="width:100%"> <c-istream-table
:list="documentsData.data"
:columns="documentsData.columns"
:paginationShow="false"
style="width: 100%"
>
<el-table-column <el-table-column
fixed="right" fixed="right"
prop="display" prop="display"
...@@ -250,15 +345,19 @@ ...@@ -250,15 +345,19 @@
width="170px" width="170px"
> >
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col> <c-col :span="11" style="text-align: left"
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> ><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>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="show(scope.$index,scope.row)" @click="show(scope.$index, scope.row)"
> >
显示 显示
</c-button> </c-button>
...@@ -274,40 +373,25 @@ ...@@ -274,40 +373,25 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<!-- <c-col :span="12"> <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="User ID">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入客户经理"></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" style="height:24px;margin-top:20px">
<el-form-item label="经办/复核" class="messageLabel"> <el-form-item label="经办/复核" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height:0px;margin-top:-5px"> <c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> --> <!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<c-istream-table :list="SignaturesData.data" :columns="SignaturesData.columns" :paginationShow="false" style="width:100%"> <c-istream-table
:list="SignaturesData.data"
:columns="SignaturesData.columns"
:paginationShow="false"
style="width: 100%"
>
<el-table-column label="Action" width="auto"> <el-table-column label="Action" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{flg[scope.row.IDX]}}</span> <span>{{ flg[scope.row.IDX] }}</span>
<!-- <el-select v-model="action[scope.row.IDX]" style="100%" disabled>
<el-option
v-for="item in codes.flg"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select> -->
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
...@@ -315,20 +399,24 @@ ...@@ -315,20 +399,24 @@
</c-col> </c-col>
<!-- -------------------workflow------------------- --> <!-- -------------------workflow------------------- -->
<c-col :span="24" style="height:24px;margin-top:20px"> <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="工作流服务" class="messageLabel"> <el-form-item label="工作流服务" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height:0px;margin-top:-5px"> <c-col :span="24" style="height: 0px; margin-top: -5px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :paginationShow="false" style="width:100%"> <c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:paginationShow="false"
style="width: 100%"
>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</c-col> </c-col>
</c-content> </c-content>
</el-form> </el-form>
</div> </div>
...@@ -339,99 +427,114 @@ ...@@ -339,99 +427,114 @@
<script> <script>
import Trnrel from "~/model/Trnrel"; import Trnrel from "~/model/Trnrel";
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event";
import DocUtils from '~/utils/DocUtils' import DocUtils from "~/utils/DocUtils";
export default { export default {
name: "InftrnpsDetail", name: "InftrnpsDetail",
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
model: new Trnrel().data, model: new Trnrel().data,
documentsData: { documentsData: {
columns: [ columns: [
"1 1 \"类型\" 300 1 0:0 1 CORTYP", '1 1 "类型" 300 1 0:0 1 CORTYP',
"2 2 \"External Key\" 300", '2 2 "外部密钥" 300',
"3 3 \"Document\" auto", '3 3 "单据" auto',
], ],
data: [], data: [],
}, },
SignaturesData: { SignaturesData: {
columns: [ columns: [
'1 2:1 "User" 300', '1 2:1 "用户" 300',
'2 3:1 "Date / Time" 300', '2 3:1 "日期/时间" 300',
// '3 5:1 "Action" 400', // '3 5:1 "Action" 400',
'4 1:1 "类型" 300' '4 1:1 "类型" 300',
], ],
data: [], data: [],
}, },
codes: { infdsp: CodeTable.infdsp, codes: {
flg : CodeTable.flg, infdsp: CodeTable.infdsp,
atptxt : CodeTable.atptxt, flg: CodeTable.flg,
relstaEN : CodeTable.relstaEN, atptxt: CodeTable.atptxt,
usgtxt : CodeTable.usgtxt, relstaEN: CodeTable.relstaEN,
wfetrssta : CodeTable.wfetrssta }, usgtxt: CodeTable.usgtxt,
wfetrssta: CodeTable.wfetrssta,
},
stmData: { stmData: {
columns: [ columns: [
'1 1 "ID" 100', '1 1 "ID" 100',
'2 2 "Service" 100', '2 2 "服务" 100',
// '3 3 "交易状态" 100', // '3 3 "交易状态" 100',
{index:3,position:3,width:100,pattern:'code',label:'交易状态',code: CodeTable.wfetrssta}, {
'4 4 "Last Update" 100', index: 3,
'5 5 "Retries" 100', position: 3,
'6 6 "Text" 200', width: 100,
'7 7 "Contrary Text" 200', pattern: "code",
'8 8 "Target Time" auto' label: "交易状态",
code: CodeTable.wfetrssta,
},
'4 4 "最后更新" 100',
'5 5 "重试次数" 100',
'6 6 "文本" 200',
'7 7 "对立文本" 200',
'8 8 "目标时间" auto',
], ],
data: [], data: [],
}, },
flg:[], flg: [],
atptxt:'', atptxt: "",
relstaEN:'', relstaEN: "",
usgtxt:'', usgtxt: "",
} };
}, },
mounted() { mounted() {
this.loadData() this.loadData();
}, },
methods: { methods: {
...Event, ...Event,
loadData() { loadData() {
// const { data } = this.$route.query // const { data } = this.$route.query
this.model = JSON.parse(sessionStorage.getItem('InftrnpsDetail')); this.model = JSON.parse(sessionStorage.getItem("InftrnpsDetail"));
this.documentsData.data = this.model.recpan.smhstm.rows; this.documentsData.data = this.model.recpan.smhstm.rows;
this.SignaturesData.data = this.model.recpan.trsstm.rows; this.SignaturesData.data = this.model.recpan.trsstm.rows;
this.stmData.data = this.model.recpan.wfestm.rows; this.stmData.data = this.model.recpan.wfestm.rows;
this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3); this.flg = this.ArrCalCode(this.SignaturesData.data, this.codes.flg, 3);
this.atptxt = this.strCalCode(this.model.recpan.atp.cod, this.codes.atptxt); this.atptxt = this.strCalCode(
this.relstaEN = this.strCalCode(this.model.trn.relflg, this.codes.relstaEN); this.model.recpan.atp.cod,
this.codes.atptxt
);
this.relstaEN = this.strCalCode(
this.model.trn.relflg,
this.codes.relstaEN
);
this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt); this.usgtxt = this.strCalCode(this.model.trn.usg, this.codes.usgtxt);
}, },
strCalCode(str, code){ strCalCode(str, code) {
var result = ''; var result = "";
for(let i = 0; i < code.length; i++){ for (let i = 0; i < code.length; i++) {
if(code[i].value === code){ if (code[i].value === code) {
result = code[i].label; result = code[i].label;
continue; continue;
} }
} }
if(result === ''){ if (result === "") {
return str; return str;
}else{ } else {
return result; return result;
} }
}, },
ArrCalCode(table, code, index){ ArrCalCode(table, code, index) {
var result = []; var result = [];
for (let i = 0; i < table.length; i++) { for (let i = 0; i < table.length; i++) {
const d = table[i]; const d = table[i];
const items = d.split("\t"); const items = d.split("\t");
result[i] = items[index]; result[i] = items[index];
for(let j = 0; j < code.length; j++){ for (let j = 0; j < code.length; j++) {
if(code[j].value === result[i]){ if (code[j].value === result[i]) {
result[i] = code[j].label; result[i] = code[j].label;
continue; continue;
} }
...@@ -439,50 +542,62 @@ export default { ...@@ -439,50 +542,62 @@ export default {
} }
return result; return result;
}, },
exit(){ exit() {
this.$store.dispatch("TagsView/delView", this.$route) this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList"); this.$router.history.push("/taskList");
}, },
async show(idx,row){ async show(idx, row) {
var params = {selDst:"recpan.smhstm",selIds:[idx+1],selBtnId:"A"} var params = {
let rtnmsg = await Api.post(`/business/trnrel/executeRule/recpan.smhstm`, this.wrapper(params)) selDst: "recpan.smhstm",
selIds: [idx + 1],
selBtnId: "A",
};
let rtnmsg = await Api.post(
`/business/trnrel/executeRule/recpan.smhstm`,
this.wrapper(params)
);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.title = "面函" this.title = "面函";
let viewurl = "/#/docpan/show"; let viewurl = "/#/docpan/show";
let XMLdata; let XMLdata;
if (row.类型 == 'LET') { if (row.类型 == "LET") {
window.sessionStorage.docTXT = '' window.sessionStorage.docTXT = "";
window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk; window.sessionStorage.docXML = rtnmsg.data.docimm_xmldocblk;
} else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = "";
XMLdata = rtnmsg.data.litbenl1blk;
} }
else if (row.pandsc == "MT799") { window.open(
window.sessionStorage.docTXT = '' viewurl,
XMLdata = rtnmsg.data.litbenl1blk "newwindow",
} "height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no"
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); );
} else {
const h = this.$createElement;
const msg = rtnmsg.respMsg || "请求执行失败!";
this.$notify.error({
title: "错误",
message: h("p", { style: "word-break:break-all;" }, msg),
});
} }
else { },
const h = this.$createElement },
const msg = rtnmsg.respMsg||'请求执行失败!' };
this.$notify.error({ title: '错误', message: h('p',{style: 'word-break:break-all;'}, msg) })
}
}
}
}
</script> </script>
<style scoped> <style scoped>
.el-col >>> .el-divider--horizontal { .el-col >>> .el-divider--horizontal {
margin-top: 10px; margin-top: 10px;
} }
.formItemLabel >>> .el-form-item__label{ .formItemLabel >>> .el-form-item__label {
text-align: left; text-align: left;
font-weight:bold; font-weight: bold;
} }
.el-col >>> .el-divider--horizontal { .el-col >>> .el-divider--horizontal {
margin-top: 5px; margin-top: 5px;
} }
.messageLabel >>> .el-form-item__label{ .messageLabel >>> .el-form-item__label {
text-align: left; text-align: left;
font-weight:bold; font-weight: bold;
font-size: 12px; font-size: 12px;
} }
</style> </style>
\ No newline at end of file
...@@ -20,20 +20,20 @@ ...@@ -20,20 +20,20 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Transaction Key"> <el-form-item label="事务处理密钥">
<c-input v-model="model.trn.inr" maxlength="8" placeholder="请输入Transaction Key"></c-input> <c-input v-model="model.trn.inr" maxlength="8" placeholder="请输入事务处理密钥"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Ident No."> <el-form-item label="身份证号码">
<c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="请输入Ident No."></c-input> <c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="请输入身份证号码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="External Readable Object Identification"> <el-form-item label="外部可读对象标识">
<c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input> <c-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入外部可读对象标识"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -50,8 +50,8 @@ ...@@ -50,8 +50,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Transaction ID"> <el-form-item label="事务ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input> <c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入事务ID"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -62,75 +62,75 @@ ...@@ -62,75 +62,75 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Transaction ID"> <el-form-item label="事务ID">
<c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入Transaction ID"></c-input> <c-input v-model="model.recpan.atp.cod" maxlength="6" placeholder="请输入事务ID"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw"> <c-button size="small" type="primary" @click="onSyswrnButshw">
&Warning 警告
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Relevant Amount"> <el-form-item label="相关金额">
<c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入Relevant Amount"></c-input> <c-input v-model="model.trn.reloricur" maxlength="3" placeholder="请输入相关金额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Relevant Amount for Release in Original Currency"> <el-form-item label="原币相关发放金额">
<c-input v-model="model.trn.reloriamt" placeholder="请输入Relevant Amount for Release in Original Currency"></c-input> <c-input v-model="model.trn.reloriamt" placeholder="请输入原币相关发放金额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Release Status of Transaction"> <el-form-item label="事务处理的发布状态">
<c-select v-model="model.trn.relflg" style="width:100%" placeholder="请选择Release Status of Transaction"> <c-select v-model="model.trn.relflg" style="width:100%" placeholder="请选择事务处理的发布状态">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanNotmap"> <c-button size="small" type="primary" @click="onRecpanNotmap">
Unmapped 未映射
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Responsible"> <el-form-item label="责任">
<c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入Responsible"></c-input> <c-input v-model="model.trn.usr" maxlength="8" placeholder="请输入责任"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Responsible Group"> <el-form-item label="责任小组">
<c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入Responsible Group"></c-input> <c-input v-model="model.trn.usg" maxlength="6" placeholder="请输入责任小组"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Signatures Required/Obtained"> <el-form-item label="要求/获得的签名">
<c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入Signatures Required/Obtained"></c-input> <c-input v-model="model.trn.relreq" maxlength="3" placeholder="请输入要求/获得的签名"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Applied Signatures"> <el-form-item label="应用的签名">
<c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入Applied Signatures"></c-input> <c-input v-model="model.trn.relres" maxlength="3" placeholder="请输入应用的签名"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Based on Ident No."> <el-form-item label="根据身份证号码">
<c-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入Based on Ident No."></c-input> <c-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入根据身份证号码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Execution Date"> <el-form-item label="执行日期">
<c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择Execution Date"></c-date-picker> <c-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -145,14 +145,14 @@ ...@@ -145,14 +145,14 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Timestamp"> <el-form-item label="时间戳">
<c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入Timestamp"></c-input> <c-input v-model="model.recpan.cretrs.dattim" placeholder="请输入时间戳"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Send to SOP/CASmf reference"> <el-form-item label="发送至SOP/CASmf参考">
<c-input v-model="model.recpan.ackgrp.rec.sndref" maxlength="40" placeholder="请输入Send to SOP/CASmf reference"></c-input> <c-input v-model="model.recpan.ackgrp.rec.sndref" maxlength="40" placeholder="请输入发送至SOP/CASmf参考"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -167,20 +167,20 @@ ...@@ -167,20 +167,20 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Documents"> <el-form-item label="单据">
<c-input v-model="model.recpan.smhstm" placeholder="请输入Documents"></c-input> <c-input v-model="model.recpan.smhstm" placeholder="请输入单据"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanInc"> <c-button size="small" type="primary" @click="onRecpanInc">
Show &Incoming 显示传入
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButord"> <c-button size="small" type="primary" @click="onRecpanButord">
Order 订单
</c-button> </c-button>
</c-col> </c-col>
...@@ -201,14 +201,14 @@ ...@@ -201,14 +201,14 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Infotext"> <el-form-item label="信息文本">
<c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入Infotext" ></c-input> <c-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入信息文本" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Infoflag"> <el-form-item label="信息标志">
<c-select v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag"> <c-select v-model="model.trn.infdsp" style="width:100%" placeholder="请选择信息标志">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -220,8 +220,8 @@ ...@@ -220,8 +220,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="User ID"> <el-form-item label="客户经理">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> <c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入客户经理"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -232,8 +232,8 @@ ...@@ -232,8 +232,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Signatures"> <el-form-item label="签名">
<c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> <c-input v-model="model.recpan.trsstm" placeholder="请输入签名"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="ACKs for transaction"> <el-form-item label="交易确认">
<c-input v-model="model.recpan.ackstm" placeholder="请输入ACKs for transaction"></c-input> <c-input v-model="model.recpan.ackstm" placeholder="请输入交易确认"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="stream of history of transactions"> <el-form-item label="交易历史流">
<c-input v-model="model.recpan.evthisstm" placeholder="请输入stream of history of transactions"></c-input> <c-input v-model="model.recpan.evthisstm" placeholder="请输入交易历史流"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="stream of events"> <el-form-item label="事件流">
<c-input v-model="model.recpan.evtstm" placeholder="请输入stream of events"></c-input> <c-input v-model="model.recpan.evtstm" placeholder="请输入事件流"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="TROs for transaction for display"> <el-form-item label="用于显示交易的TRO">
<c-input v-model="model.recpan.trostm" placeholder="请输入TROs for transaction for display"></c-input> <c-input v-model="model.recpan.trostm" placeholder="请输入用于显示交易的TRO"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
......
...@@ -2,27 +2,27 @@ ...@@ -2,27 +2,27 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Table Used to Store Associated Object"> <el-form-item label="用于存储关联对象的表">
<c-select v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择Table Used to Store Associated Object"> <c-select v-model="model.wfmmod.wfs.objtyp" style="width:100%" placeholder="请选择用于存储关联对象的表">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Object"> <el-form-item label="对象">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入Object"></c-input> <c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" placeholder="请输入对象"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="External Readable Object Identification"> <el-form-item label="外部可读对象标识">
<c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入External Readable Object Identification"></c-input> <c-input v-model="model.wfmmod.wfs.objnam" maxlength="40" placeholder="请输入外部可读对象标识"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="WFEs for transaction for display"> <el-form-item label="用于显示交易的外资企业">
<c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> <c-input v-model="model.recpan.wfestm" placeholder="请输入用于显示交易的外资企业"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
......
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