00014layui-打开多页签tabs-弹窗layer

47次阅读

共计 557 个字符,预计需要花费 2 分钟才能阅读完成。

showRec:function () {var checkStatus = table.checkStatus('egressionListTable')
             var recs = checkStatus.data;
             if(!recs || recs.length!=1){layer.msg('请选择一条记录');
                 return;
             }
             var rec = recs[0];
              window.formData = rec;
             var dialog = layer.tab({
                 tab: [ {
                     title: '外出信息',
                     content: '<iframe src="egressionShow.jsp"style="width:100%;height:100%;"frameborder="0"scrolling="auto"name="iframe0"></iframe>'
                 },{
                     title: '审核信息',
                     content: '<iframe src="../order/auditOrderFlowTab.jsp"style="width:100%;height:97%;"frameborder="0"scrolling="auto"name="iframe1"></iframe>'
                 }]
                 ,btn: ['关闭']
                 ,btnAlign: 'c'
             });
   layer.full(dialog)
},

正文完
 0