Commit a274fe29 by liushikai

待经办详情

parent b5c0d7fa
......@@ -3246,6 +3246,9 @@ const CodeTable = {
{ label: "Waiting for SRVCOM", value: "R" },
{ label: "Waiting for ReDo in SPTREL", value: "S" },
],
frm: [
{label:"Advising / Confirming",value:"LETOPN"},
],
hndtyp: [
{ label: "Receive to issue", value: "FR" },
{ label: "Transfer", value: "OT" },
......
......@@ -53,17 +53,27 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDetails() {
this.$router.push({ path: "business/sptpopup", query: { inr: '111' }});
this.detailDialog=true;
let rtnmsg = await this.executeRule("details")
async onDetails(idx, row) {
let viewurl = "business/sptpopup";
const selIds= [idx + 1];
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) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
} */
},
async continueEdit(row) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
......
......@@ -103,8 +103,8 @@ import Sptpopup from "./Sptsel/Sptpopup"
* 带有name的才会被添加进顶部的标签页里
*/
const BusRouter = [
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '详情' } },
// { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '详情' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
......
......@@ -311,7 +311,7 @@
></c-col> -->
</template>
<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
......
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