Commit a274fe29 by lsk

待经办详情

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
......
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