| | |
| | | , 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' } |
| | | ]] |
| | |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | } |
| | | $("#HPRDORGID").append(Organization); |
| | | $("#HPRDORGID").val(sessionStorage["OrganizationID"]); |
| | | form.render('select'); |
| | | } |
| | | layer.closeAll("loading"); |
| | |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ["../../Baseset/åºç¡èµæ/Gy_DepartmentList.html", "yes"] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_DepartmentList.html', 'yes'] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | |
| | | //æ´æ°è¡¨æ ¼ç¼åçæ°æ® |
| | | obj.update({ |
| | | "HWorkShopID": checkStatus.data[0].HItemID |
| | | ,"HWorkShopNumber": checkStatus.data[0].HNumber |
| | | , "HWorkShopName": checkStatus.data[0].HName |
| | | , "HWorkShopNumber": checkStatus.data[0].é¨é¨ä»£ç |
| | | , "HWorkShopName": checkStatus.data[0].é¨é¨åç§° |
| | | }) |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | |
| | | , 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);//å
³éå¼¹çª |
| | | } |
| | | }) |
| | | } |
| | | obj.event = ""; |
| | | return false; |
| | | } |
| | | |