| | |
| | | <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../../layuiadmin/soulTable.slim.js"></script> |
| | | <style type="text/css"> |
| | | input.layui-input.layui-unselect { |
| | | padding-right: 0; |
| | |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () { |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate','soulTable'], function () { |
| | | // #region å
¨å±åé |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | |
| | | , laypage = layui.laypage |
| | | , laydate = layui.laydate |
| | | , util = layui.util |
| | | , soulTable = layui.soulTable |
| | | //æ¥è¯¢æ¡ä»¶ |
| | | var sWhere = " HRealPotType=HBookPotType and HRealPot=HBookPot"; |
| | | var option1 = []; |
| | |
| | | var option6 = []; |
| | | var option7 = []; |
| | | var col = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', width: 200,hide: true} |
| | | , { field: 'HBarCode', title: 'å¨å
·æ¡ç ', width: 200 } |
| | | , { field: 'HMouldNo', title: 'å¨å
·ç¼å·', width: 200 } |
| | | , { field: 'HStockCheck', title: 'çç¹æ¹æ¡', width: 200 } |
| | | , { field: 'HRealPotType', title: 'å®é
ä½ç½®ç±»å', width: 200 } |
| | | , { field: 'HRealPot', title: 'å®é
ä½ç½®', width: 200 } |
| | | , { field: 'HBookPotType', title: 'è´¦é¢ä½ç½®ç±»å', width: 200 } |
| | | , { field: 'HBookPot', title: 'è´¦é¢ä½ç½®', width: 200 } |
| | | , { field: 'HOWNERName', title: 'çç¹ç»ç»', width: 200 } |
| | | , { field: 'HMakeDate', title: 'çç¹æ¥æ', width: 200, templet: "<div>{{d.HMakeDate ==null ?'':layui.util.toDateString(d.HMakeDate, 'yyyy-MM-dd')}}</div>" } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { field: 'HItemID', title: 'HItemID', width: 200, hide: true, sort: true} |
| | | , { field: 'HBarCode', title: 'å¨å
·æ¡ç ', width: 200, sort: true} |
| | | , { field: 'HMouldNo', title: 'å¨å
·ç¼å·', width: 200, sort: true} |
| | | , { field: 'HStockCheck', title: 'çç¹æ¹æ¡', width: 200, sort: true} |
| | | , { field: 'HRealPotType', title: 'å®é
ä½ç½®ç±»å', width: 200, sort: true} |
| | | , { field: 'HRealPot', title: 'å®é
ä½ç½®', width: 200, sort: true} |
| | | , { field: 'HBookPotType', title: 'è´¦é¢ä½ç½®ç±»å', width: 200, sort: true} |
| | | , { field: 'HBookPot', title: 'è´¦é¢ä½ç½®', width: 200, sort: true} |
| | | , { field: 'HOWNERName', title: 'çç¹ç»ç»', width: 200, sort: true} |
| | | , { field: 'HMakeDate', title: 'çç¹æ¥æ', width: 200, templet: "<div>{{d.HMakeDate ==null ?'':layui.util.toDateString(d.HMakeDate, 'yyyy-MM-dd')}}</div>", sort: true } |
| | | ]; |
| | | //#endregion |
| | | |
| | |
| | | option1.data = data1.list[0]; |
| | | table1.render(option1); |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£å¤±æ!", { icon: 5 }); |
| | |
| | | //åå§åè¡¨æ ¼(éåº) |
| | | set_InitGrid7(); |
| | | //åå§æ¥æ£å¸¸é¡µç¾ |
| | | zc_Display(); |
| | | //zc_Display(); |
| | | } |
| | | |
| | | //åå§åè¡¨æ ¼(æ£å¸¸) |
| | |
| | | , toolbar: '#toolbarDemo1' |
| | | , height: '550' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [col] |
| | | , done: function (res, curr, count) { |
| | | soulTable.render(this); |
| | | } |
| | | }; |
| | | option1.data = []; |
| | | table1.render(option1); |
| | |
| | | , toolbar: '#toolbarDemo2' |
| | | , height: '550' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | |
| | | , toolbar: '#toolbarDemo3' |
| | | , height: '550' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | |
| | | , toolbar: '#toolbarDemo4' |
| | | , height: '550' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | |
| | | , toolbar: '#toolbarDemo5' |
| | | , height: '550' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | |
| | | , toolbar: '#toolbarDemo6' |
| | | , height: '550' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | |
| | | , toolbar: '#toolbarDemo7' |
| | | , height: '550' |
| | | , page: true |
| | | , totalRow: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | |
| | | } |
| | | //ççæ¥è¯¢ |
| | | function py_Display() { |
| | | var sWhere = "isnull(HBookPot,'''')='''' and isnull(HRealPot,'''')!=''''"; |
| | | var sWhere = "py"; |
| | | var HItemID = $("#HItemID").val();//åæ®ç±»å |
| | | |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |