无数据的情况下去掉提示,直接显示无数据的列表,且带出操作工具栏
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | , height: '350' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | //{ type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao1', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | } |
| | | |
| | | //æ¥è¯¢ |
| | | function get_Display(sWhere) { |
| | | var ajaxLoad = layer.load(); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Sc_MouldRepairCheckBill/GetMouldRepairCheckBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | //éç½® |
| | | function set_ClearQuery() { |
| | | $("#HBillNo").val("");//åæ®å· |
| | |
| | | break; |
| | | }; |
| | | }); |
| | | |
| | | |
| | | //#region æ¥è¯¢ |
| | | function RoadHBillNo(sqlWhere) { |
| | |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | |
| | | ////#endregion |
| | | //#region å¿«éè¿æ»¤ |
| | |
| | | //, { field: 'hsubid', title: 'hsubid', width: 80 } |
| | | , { field: 'æåæ°é', title: 'æåæ°é' } |
| | | ]] |
| | | , text: "æ æ°æ®!" |
| | | }; |
| | | table.render(option); |
| | | } |
| | |
| | | , page: true |
| | | , height: 300 |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | |
| | | //{ field: 'hsubid', title: 'hsubid' } |