Commit a274fe29 by liushikai

待经办详情

parent b5c0d7fa
...@@ -3246,6 +3246,9 @@ const CodeTable = { ...@@ -3246,6 +3246,9 @@ const CodeTable = {
{ label: "Waiting for SRVCOM", value: "R" }, { label: "Waiting for SRVCOM", value: "R" },
{ label: "Waiting for ReDo in SPTREL", value: "S" }, { label: "Waiting for ReDo in SPTREL", value: "S" },
], ],
frm: [
{label:"Advising / Confirming",value:"LETOPN"},
],
hndtyp: [ hndtyp: [
{ label: "Receive to issue", value: "FR" }, { label: "Receive to issue", value: "FR" },
{ label: "Transfer", value: "OT" }, { label: "Transfer", value: "OT" },
......
...@@ -53,17 +53,27 @@ export default { ...@@ -53,17 +53,27 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onDetails() { async onDetails(idx, row) {
this.$router.push({ path: "business/sptpopup", query: { inr: '111' }}); let viewurl = "business/sptpopup";
this.detailDialog=true; const selIds= [idx + 1];
let rtnmsg = await this.executeRule("details") const selDst= "sptstm";
let params = {selIds,selDst};
this.executeRule("sptstm,butspt",params).then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('Sptpopup', JSON.stringify(this.model));
this.$router.push({ path: viewurl, query: {}});
}else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
/* let rtnmsg = await this.executeRule("details")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} } */
}, },
async continueEdit(row) { async continueEdit(row) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}}) //let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
......
...@@ -103,8 +103,8 @@ import Sptpopup from "./Sptsel/Sptpopup" ...@@ -103,8 +103,8 @@ import Sptpopup from "./Sptsel/Sptpopup"
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
*/ */
const BusRouter = [ const BusRouter = [
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } }, // { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '详情' } }, { path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } }, { path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } }, { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } }, { path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
......
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
></c-col> --> ></c-col> -->
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="onDetails" <c-button style="margin-left: 0" size="small" @click="onDetails(scope.$index,scope.row)"
>详情 >详情
</c-button> </c-button>
<c-button <c-button
......
<template> <template>
<c-page title=""> <c-page title="">
<div class="eibs-tab"> <c-content :height="120">
<el-form <div class="eibs-tab">
:model="model" <el-form
ref="modelForm" :model="model"
tokenKey="modelForm" ref="modelForm"
:validate-on-rule-change="false" tokenKey="modelForm"
label-width="150px" :validate-on-rule-change="false"
size="small" label-width="150px"
> size="small"
<c-col :span="11"> >
<el-form-item label="Type" prop="spt.sta" style="width: 100%">
<c-select <c-col :span="21" style="height:24px">
v-model="model.spt.sta" <el-form-item label="基本信息" class="messageLabel">
style="width: 100%" </el-form-item>
placeholder="请选择Type" </c-col>
> <c-col :span="2" style="text-align:right">
</c-select> <c-button size="small" @click="exit">返回</c-button>
</el-form-item> </c-col>
</c-col> <c-col :span="24" style="height: 10px">
<el-divider></el-divider>
</c-col>
<c-col :span="11" :offset="1"> <c-col :span="11">
<el-form-item label="Status" prop="spt.hldflg" style="width: 100%"> <el-form-item label="Type" prop="spt.sta" style="width: 100%">
<c-select <c-select
v-model="model.spt.hldflg" v-model="model.spt.sta"
style="width: 100%" style="width: 100%"
placeholder="请选择Hold Flag" placeholder="请选择Type"
> disabled
</c-select> >
</el-form-item> </c-select>
</c-col> </el-form-item>
</c-col>
<c-col :span="11"> <c-col :span="11" :offset="1">
<el-form-item label="Reference" prop="spt.objnam" style="width: 100%"> <el-form-item label="Status" prop="spt.hldflg" style="width: 100%">
<c-input <c-select
v-model="model.spt.objnam" v-model="model.spt.hldflg"
maxlength="40" style="width: 100%"
style="width: 100%" placeholder="请选择Hold Flag"
placeholder="请输入Reference" :code="codes.hldflg"
></c-input> disabled
</el-form-item> >
</c-col> </c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1"> <c-col :span="11">
<el-form-item label="Ident No" prop="spt.inr" style="width: 100%"> <el-form-item label="Reference" prop="spt.objnam" style="width: 100%">
<c-input
v-model="model.spt.inr"
maxlength="8"
style="width: 100%"
placeholder="请输入Internal Unique ID of Pending Transaction"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Name" prop="spt.txt" style="width: 100%">
<c-input
v-model="model.spt.txt"
maxlength="40"
style="width: 100%"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="13">
<el-form-item label="Transaction " prop="spt.frm">
<c-input <c-input
v-model="model.spt.frm" v-model="model.spt.objnam"
maxlength="6" maxlength="40"
style="width: 95%" style="width: 100%"
placeholder="请输入Transaction " placeholder="请输入Reference"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11">
<el-form-item label="" prop="spt.frm" label-width="0"> <c-col :span="11" :offset="1">
<el-form-item label="Ident No" prop="spt.inr" style="width: 100%">
<c-input <c-input
v-model="model.spt.frm" v-model="model.spt.inr"
maxlength="16" maxlength="8"
placeholder="请输入Transaction " style="width: 100%"
placeholder="请输入Internal Unique ID of Pending Transaction"
disabled
></c-input> ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Name" prop="spt.txt" style="width: 100%">
<c-input
v-model="model.spt.txt"
maxlength="40"
style="width: 100%"
placeholder="请输入Name"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col>
<c-col :span="11"> <c-col :span="24">
<el-form-item label="Responsible User " prop="spt.ownusr"> <c-col :span="11">
<c-input <c-col :span="13">
v-model="model.spt.ownusr" <el-form-item label="Transaction " prop="spt.frm">
maxlength="8" <c-input
placeholder="请输入Responsible User " v-model="model.spt.frm"
></c-input> maxlength="6"
</el-form-item> style="width: 95%"
</c-col> placeholder="请输入Transaction "
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="spt.frm" label-width="0">
<c-select
v-model="model.spt.frm"
maxlength="16"
placeholder="请输入Transaction "
:code="codes.frm"
style="width:100%"
disabled
></c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1"> <c-col :span="11">
<el-form-item label="Responsible Group" prop="spt.ownusg"> <el-form-item label="Responsible User " prop="spt.ownusr">
<c-select <c-input
v-model="model.spt.ownusg" v-model="model.spt.ownusr"
style="width: 100%" maxlength="8"
placeholder="请选择Responsible Group" placeholder="请输入Responsible User "
> disabled
</c-select> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11" :offset="1">
<c-col :span="19"> <el-form-item label="Responsible Group" prop="spt.ownusg">
<el-form-item label="Infotext" prop="spt.inftxt"> <c-select
<c-input v-model="model.spt.ownusg"
type="textarea" style="width: 100%"
v-model="model.spt.inftxt" placeholder="请选择Responsible Group"
maxlength="65" disabled
style="width: 100%" >
show-word-limit </c-select>
placeholder="请输入Infotext" </el-form-item>
></c-input> </c-col>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="spt.infdsp" label-width="5px">
<c-select
v-model="model.spt.infdsp"
style="width: 100%; padding-left: 0px"
placeholder="请选择Infotext"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1"> <c-col :span="11">
<c-col :span="10"> <c-col :span="19">
<el-form-item label="Entered by" prop="spt.usr"> <el-form-item label="Infotext" prop="spt.inftxt">
<c-input <c-input
v-model="model.spt.usr" type="textarea"
maxlength="8" v-model="model.spt.inftxt"
placeholder="请输入Entered by" maxlength="65"
></c-input> style="width: 100%"
</el-form-item> show-word-limit
</c-col> placeholder="请输入Infotext"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="spt.infdsp" label-width="5px">
<c-select
v-model="model.spt.infdsp"
style="width: 100%; padding-left: 0px"
placeholder="请选择Infotext"
:code="codes.infdsp"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="7"> <c-col :span="11" :offset="1">
<el-form-item label="at" prop="spt.dattim" label-width="50px"> <c-col :span="10">
<c-input <el-form-item label="Entered by" prop="spt.usr">
v-model="model.spt.dattim" <c-input
placeholder="请输入Time of Creation" v-model="model.spt.usr"
></c-input> maxlength="8"
</el-form-item> placeholder="请输入Entered by"
</c-col> disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item label="in TRN" prop="spt.cretrn" label-width="70px"> <el-form-item label="at" prop="spt.dattim" label-width="50px">
<c-input <c-input
v-model="model.spt.cretrn" v-model="model.spt.dattim"
maxlength="6" placeholder="请输入Time of Creation"
placeholder="请输入Creating Transaction ID" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Target for Completion" prop="spt.tardattim">
<c-input v-model="model.spt.tardattim" placeholder="请输入Target for Completion"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height:20px"> <c-col :span="7">
<el-divider></el-divider> <el-form-item label="in TRN" prop="spt.cretrn" label-width="70px">
</c-col> <c-input
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入Creating Transaction ID"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Target for Completion" prop="spt.tardattim">
<c-input
v-model="model.spt.tardattim"
placeholder="请输入Target for Completion"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height:24px;margin-top:8px">
<el-form-item label="报文信息表" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</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 Order
</c-button> </c-button>
</c-col> --> </c-col> -->
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Message Type " prop="sptp.smh.msgtyp"> <el-form-item label="Message Type " prop="sptp.smh.msgtyp">
...@@ -215,8 +255,8 @@ ...@@ -215,8 +255,8 @@
&Close &Close
</c-button> </c-button>
</c-col> --> </c-col> -->
<c-col :span="23" style="height:24px;margin-left:9px"> <c-col :span="23" style="margin-left: 9px">
<!-- <el-form-item label-width="500px"> --> <!-- <el-form-item label-width="500px"> -->
<c-table :paginationShow="false" :border="true"> <c-table :paginationShow="false" :border="true">
<el-table-column <el-table-column
label="Seq.No" label="Seq.No"
...@@ -309,23 +349,36 @@ ...@@ -309,23 +349,36 @@
width="auto" width="auto"
></el-table-column> ></el-table-column>
</c-table> </c-table>
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> </c-col>
<c-col :span="23" style="height:24px;margin-left:9px">
<!-- <el-form-item label-width="500px"> --> <c-col :span="24" style="height:24px;margin-top:20px">
<c-table :paginationShow="false" :border="true"> <el-form-item label="接口信息表" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="23" style="margin-left: 9px">
<!-- <el-form-item label-width="500px"> -->
<!-- <c-table :paginationShow="false" :border="true">
<el-table-column label="Start" width="auto"></el-table-column> <el-table-column label="Start" width="auto"></el-table-column>
<el-table-column label="Type" width="auto"></el-table-column> <el-table-column label="Type" width="auto"></el-table-column>
<el-table-column label="User" width="auto"></el-table-column> <el-table-column label="User" width="auto"></el-table-column>
<el-table-column label="TRN" width="auto"></el-table-column> <el-table-column label="TRN" width="auto"></el-table-column>
<el-table-column label="End" width="auto"></el-table-column> <el-table-column label="End" width="auto"></el-table-column>
<el-table-column label="Text" width="auto"></el-table-column> <el-table-column label="Text" width="auto"></el-table-column>
</c-table> </c-table> -->
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> <c-istream-table :list="stmData2.data" :columns="stmData2.columns" :paginationShow="false" style="width:100%">
</el-form> </c-istream-table>
</div>
</c-page> </c-col>
</el-form>
</div>
</c-content>
</c-page>
</template> </template>
<script> <script>
import Sptsel from "~/Model/Sptsel"; import Sptsel from "~/Model/Sptsel";
...@@ -341,15 +394,48 @@ export default { ...@@ -341,15 +394,48 @@ export default {
data() { data() {
return { return {
model: new Sptsel().data, model: new Sptsel().data,
codes: { ...CodeTable }, codes: { hldflg: CodeTable.hldflg ,...CodeTable},
trnName:"sptsel",
stmData2:{
columns:[
"7 1 \"Start\" 0",
"1 2 \"Type\" 0",
"8 3 \"User\" 0",
"4 4 \"TRN\" 0",
"7 5 \"End\" 0",
"6 6 \"Text\" 0",
],
data:[],
}
}; };
}, },
methods: { ...Event }, mounted() {
this.loadData();
},
methods: {
...Event,
loadData() {
this.model = JSON.parse(sessionStorage.getItem("Sptpopup"));
this.executeRule("sptp.ordp0.butore").then((res) => {
this.stmData2.data=res.data.sptstm.rows;
});
},
exit() {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList");
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
<style scoped> <style scoped>
.el-col >>> .el-divider--horizontal { .el-col >>> .el-divider--horizontal {
margin-top: 1px; margin-top: 5px;
}
.messageLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
font-size: 12px;
} }
</style> </style>
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