| | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | <style> |
| | | .main-btn { /*头é¨ä¸»æé®*/ |
| | | padding: 0 2px; /*è°æ´æé®å·¦å³ç©ºé大å°*/ |
| | | height: 30px; |
| | | line-height: 30px; |
| | | } |
| | | |
| | | .btn-title { |
| | | font-size: 16px; |
| | | } |
| | | /* 鲿¢ä¸ææ¡ç䏿å表被éè---å¿
须设置--- */ |
| | | .layui-table-cell { |
| | | overflow: visible !important; |
| | | } |
| | | /* 使å¾ä¸ææ¡ä¸åå
æ ¼å好åé */ |
| | | td .layui-form-select { |
| | | margin-top: -10px; |
| | | margin-left: -15px; |
| | | margin-right: -15px; |
| | | } |
| | | |
| | | .layui-form-item .layui-inline { |
| | | margin-top: 5px; |
| | | margin-bottom: 5px; |
| | | margin-right: 0px; |
| | | } |
| | | |
| | | .layui-form-label { |
| | | width: 25%; |
| | | } |
| | | </style> |
| | | |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid" style="padding: 0;"> |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , limit: 500 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , cellMinWidth: 120 |
| | | , totalRow: true |
| | | , height: 'full-170' |
| | | , cols: [[ //表头 |
| | | { type: 'checkbox', totalRowText: 'å计è¡' } |
| | |
| | | , { field: 'HMaterName', title: 'ç©æåç§°' } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·'} |
| | | , { field: 'HJITMaterGroup', title: 'JITç©æåç±»', edit: 'text' } |
| | | , { field: 'HJITSafeStock', title: 'JITæå¨å®å
¨åºåé', edit: 'text', width: 200 } |
| | | , { field: 'HJITMaterDemand', title: 'JITç©æéæ±ä¾è´§å¨æ', edit: 'text', width:200} |
| | | , { field: 'HJITBatchQty', title: 'JITæè´§æ¹é', edit: 'text' } |
| | | , { field: 'HDeliveryPeriod', title: 'JITæè´§æ¹é对åºå¨æï¼å¤©ï¼', edit: 'text', width: 200} |
| | | , { field: 'HLeadTime', title: 'JITä¾è´§æåæï¼å¤©ï¼', edit: 'text', width: 200 } |
| | | , { field: 'HLeadTime_Sec', title: 'JITå°è´§åç½®æï¼å¤©ï¼', edit: 'text', width: 200} |
| | | , { field: 'HJITSafeStock', title: 'JITæå¨å®å
¨åºåé', edit: 'text', width: 200, totalRow: true} |
| | | , { field: 'HJITMaterDemand', title: 'JITç©æéæ±ä¾è´§å¨æ', edit: 'text', width: 200, totalRow: true} |
| | | , { field: 'HJITBatchQty', title: 'JITæè´§æ¹é', edit: 'text', totalRow: true} |
| | | , { field: 'HDeliveryPeriod', title: 'JITæè´§æ¹é对åºå¨æï¼å¤©ï¼', edit: 'text', width: 200, totalRow: true} |
| | | , { field: 'HLeadTime', title: 'JITä¾è´§æåæï¼å¤©ï¼', edit: 'text', width: 200, totalRow: true } |
| | | , { field: 'HLeadTime_Sec', title: 'JITå°è´§åç½®æï¼å¤©ï¼', edit: 'text', width: 200, totalRow: true} |
| | | , { field: 'HDeliveryMode', title: 'JITéè´§æ¹å¼', edit: 'text' } |
| | | , { field: 'HDeliveryDaysCtrl', title: 'JITéè´§æ§å¶å¤©æ°', edit: 'text', width: 200 } |
| | | , { field: 'HDeliveryDaysCtrl', title: 'JITéè´§æ§å¶å¤©æ°', edit: 'text', width: 200, totalRow: true} |
| | | , { field: 'HRemark', title: '夿³¨', edit: 'text' } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo' } |
| | | ]] |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ["../../Baseset/åºç¡èµæ/Gy_MaterialList.html", "yes"] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Material.html', 'yes'] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | //æ´æ°è¡¨æ ¼ç¼åçæ°æ® |
| | | obj.update({ |
| | | "HMaterID": checkStatus.data[0].HItemID |
| | | , "HMaterNumber": checkStatus.data[0].HNumber |
| | | , "HMaterName": checkStatus.data[0].HName |
| | | , "HMaterModel": checkStatus.data[0].HModel |
| | | , "HMaterNumber": checkStatus.data[0].ç©æä»£ç |
| | | , "HMaterName": checkStatus.data[0].ç©æåç§° |
| | | , "HMaterModel": checkStatus.data[0].è§æ ¼åå· |
| | | }) |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |