| | |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Initialize"><i class="layui-icon layui-icon-share"></i>åå§å</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_BatchGen"><i class="layui-icon layui-icon-add-1"></i>æ¹éçæ</button> |
| | | </div> |
| | | </script> |
| | | </form> |
| | |
| | | break; |
| | | //åå§åæé® |
| | | case 'get_Initialize': get_Initialize(); |
| | | break; |
| | | case 'get_BatchGen': get_BatchGen(); |
| | | break; |
| | | }; |
| | | }); |
| | |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®å é¤ï¼'); |
| | | } |
| | | } |
| | | |
| | | //æ¹éçæ |
| | | function get_BatchGen() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var HInterID = data[0].hmainid.toString(); |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'æ¹éæ°å¢å¨å
·æ¡£æ¡', |
| | | closeBtn: false, |
| | | shift: 2, |
| | | area: ['70%', '70%'], |
| | | maxmin: true, |
| | | content: 'BatchGen_MouldFile.html?OperationType=3&linterid=' + HInterID + '&HSouceBillType=', |
| | | end: function () { |
| | | //å·æ°é¡µé¢, |
| | | location.reload(); |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ï¼'); |
| | | } |
| | | } |
| | | //以䏿¯layui模å |
| | | }); |
| | | |