Commit 6671cb66 by SunJie

面函

parent 38af3893
......@@ -345,7 +345,16 @@ export default {
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this.title = "面函"
let viewurl = "/#/docpan/show";
var newXml = Utils.showXml(rtnmsg.data.litbenl1blk)
let XMLdata;
if(row.pandsc=="国内信用证")
XMLdata = rtnmsg.data.litbenl1blk
else if(row.pandsc=="开立国内信用证备查表")
XMLdata = rtnmsg.data.litapll1blk
else if(row.pandsc=="")
XMLdata = rtnmsg.data.litbenl1blk
else
XMLdata = rtnmsg.data.litbenl1blk
var newXml = Utils.showXml(XMLdata)
window.sessionStorage.docXML = newXml;
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
......
......@@ -68,7 +68,7 @@
<template slot-scope="scope">
<el-button
size="mini"
:disabled="model.trnmod.trndoc.doceot[scope.row.index].apf=='SWT001'&&model.didgrp.iss.pts.bankno==model.didgrp.adv.pts.bankno"
:disabled="model.trnmod.trndoc.doceot[scope.row.index].pandsc=='MT799'&&model.didgrp.iss.pts.extkey==model.didgrp.adv.pts.extkey"
@click="handleDisplay(scope.row.index, scope.row)">显示</el-button>
<el-button
size="mini"
......
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