|  |  |  | 
|---|
|  |  |  | where.docName = decodeURI(docName); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | console.log(where) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 渲染表格 | 
|---|
|  |  |  | var insTb = table.render({ | 
|---|
|  |  |  | elem: '#order', | 
|---|
|  |  |  | 
|---|
|  |  |  | area: '1300px', | 
|---|
|  |  |  | success: function (layero, dIndex) { | 
|---|
|  |  |  | $(layero).children('.layui-layer-content').css('overflow', 'visible'); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | $.ajax({ | 
|---|
|  |  |  | url: baseUrl + "/docTypeQuery/auth", | 
|---|
|  |  |  | headers: {'token': localStorage.getItem('token')}, | 
|---|
|  |  |  | method: 'POST', | 
|---|
|  |  |  | data: { | 
|---|
|  |  |  | condition: decodeURI(docName) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | success: function (res) { | 
|---|
|  |  |  | if (res.code == 200) { | 
|---|
|  |  |  | if (res.data.length > 0) { | 
|---|
|  |  |  | $("#docType").val(res.data[0].id); | 
|---|
|  |  |  | $(document.getElementById("docType$")).val(res.data[0].value) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | var isExpAdd = !expTpe; | 
|---|
|  |  |  | // 回显数据 | 
|---|
|  |  |  | form.val('editForm', expTpe); | 
|---|