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

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: ''
                 },{
                     title: '审核信息',
                     content: ''
                 }]
                 ,btn: ['关闭']
                 ,btnAlign: 'c'
             });
   layer.full(dialog)
},

你可能感兴趣的:(jquery)