| | |
| | | //SQL Server2000/2005æ°æ®åºä¸ã |
| | | //public const string SqlConnStr = "Data Source=(local);Initial Catalog=gridreport;Persist Security Info=True;User ID=sa;Password=;"; |
| | | |
| | | public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; |
| | | //public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; |
| | | public const string SqlConnStr = "Data Source=.;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; |
| | | //public const string SqlConnStr = "Data Source=.;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;"; |
| | | |
| | | //public string sServer; |
| | |
| | | var time = date.getFullYear() + "-" + month + "-" + day |
| | | return time; |
| | | } |
| | | function DateDiff(sDate1, sDate2) { //sDate1åsDate2æ¯2002-12-18æ ¼å¼ |
| | | var aDate, oDate1, oDate2, iDays |
| | | aDate = sDate1.split("-") |
| | | oDate1 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]) //转æ¢ä¸º12-18-2002æ ¼å¼ |
| | | aDate = sDate2.split("-") |
| | | oDate2 = new Date(aDate[1] + '-' + aDate[2] + '-' + aDate[0]) |
| | | iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24) //æç¸å·®çæ¯«ç§æ°è½¬æ¢ä¸ºå¤©æ° |
| | | return iDays |
| | | } |
| | | function getUrlVars() { |
| | | var vars = [], hash; |
| | | var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); |
| | |
| | | , done: function (value, date) { |
| | | data[field] = value; |
| | | obj.update(data); |
| | | |
| | | if (obj.data.HKFDQDate != "" && obj.data.HKFDate != "") { |
| | | var days = DateDiff(obj.data.HKFDQDate, obj.data.HKFDate); |
| | | obj.update({ |
| | | HKFPeriod: days, |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | |
| | | // , where: { msg: "", NowPage: 1, OnePage: 10 } |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { checkbox: true, fixed: true } |
| | | , { field: 'sorderid', title: 'åºå·', width: 80, fixed: true } |
| | | { checkbox: true/*, fixed: true*/ } |
| | | , { field: 'sorderid', title: 'åºå·', width: 80/*, fixed: true*/ } |
| | | , { field: 'HItemID', title: '主é®', width: 100, hide: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', width: 100, sort: true, fixed: true } |
| | | , { field: 'æ¡ç ç¼å·', title: 'æ¡ç ç¼å·', width: 180, sort: true, fixed: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 180, sort: true, fixed: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', width: 100, sort: true/*, fixed: true*/ } |
| | | , { field: 'æ¡ç ç¼å·', title: 'æ¡ç ç¼å·', width: 180, sort: true/*, fixed: true*/ } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 180, sort: true/*, fixed: true*/ } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 180, sort: true } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 180, sort: true } |
| | | , { field: '计éåä½', title: '计éåä½', width: 80, sort: true } |
| | |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | //{ checkbox: true, fixed: true } |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox'/*, fixed: 'left'*/ } |
| | | //{ type: 'radio', fixed: true } |
| | | , { field: 'sorderid', title: 'åºå·', width: 80, fixed: true } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true, fixed: true, hide: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', sort: true, fixed: true } |
| | | , { field: 'åé¦ç¶æ', title: 'åé¦ç¶æ', width: 100, fixed: true } |
| | | , { field: 'ä¼å
级', title: 'ä¼å
级', width: 100, fixed: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 180, sort: true, fixed: 'left' } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 180, sort: true, fixed: 'left' } |
| | | , { field: 'ä¾åºå', title: 'ä¾åºå', width: 180, sort: true, fixed: 'left' } |
| | | , { field: 'sorderid', title: 'åºå·', width: 80/*, fixed: true*/ } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true /*, fixed: true*/, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true /*, fixed: true*/, hide: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', sort: true /*, fixed: true*/ } |
| | | , { field: 'åé¦ç¶æ', title: 'åé¦ç¶æ', width: 100 /*, fixed: true*/ } |
| | | , { field: 'ä¼å
级', title: 'ä¼å
级', width: 100 /*, fixed: true*/ } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 180, sort: true/*, fixed: 'left'*/ } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 180, sort: true/*, fixed: 'left' */ } |
| | | , { field: 'ä¾åºå', title: 'ä¾åºå', width: 180, sort: true/*, fixed: 'left' */ } |
| | | , { field: '计åè·è¸ªåå·', title: '计åè·è¸ªåå·', sort: true, hide: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 180, sort: true } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 180, sort: true } |
| | |
| | | // , where: { msg: "", NowPage: 1, OnePage: 10 } |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { checkbox: true, fixed: true } |
| | | { checkbox: true/*, fixed: true*/ } |
| | | |
| | | , { field: 'sorderid', title: 'åºå·', width: 80, fixed: true } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true, fixed: true, hide: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', width: 100, sort: true, fixed: true } |
| | | , { field: 'åæ®ç¶æ', title: 'åæ®ç¶æ', sort: true, fixed: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 180, sort: true, fixed: true } |
| | | , { field: 'éè´§åå·', title: 'éè´§åå·', width: 180, sort: true, fixed: true } |
| | | , { field: 'ç©æµåå·', title: 'ç©æµåå·', width: 180, sort: true, fixed: true } |
| | | , { field: 'sorderid', title: 'åºå·', width: 80/*, fixed: true*/ } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true/*, fixed: true*/, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true/*, fixed: true*/, hide: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', width: 100, sort: true/*, fixed: true*/ } |
| | | , { field: 'åæ®ç¶æ', title: 'åæ®ç¶æ', sort: true/*, fixed: true*/ } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 180, sort: true/*, fixed: true*/ } |
| | | , { field: 'éè´§åå·', title: 'éè´§åå·', width: 180, sort: true/*, fixed: true*/ } |
| | | , { field: 'ç©æµåå·', title: 'ç©æµåå·', width: 180, sort: true/*, fixed: true*/ } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 180, sort: true } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 180, sort: true } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 180, sort: true } |
| | |
| | | //{ checkbox: true, fixed: true } |
| | | { type: 'checkbox', fixed: 'left' } |
| | | //{ type: 'radio', fixed: true } |
| | | , { field: 'sorderid', title: 'åºå·', width: 80, fixed: true } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true, fixed: true, hide: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', sort: true, fixed: true } |
| | | , { field: 'åé¦ç¶æ', title: 'åé¦ç¶æ', width: 100, fixed: true } |
| | | , { field: 'ä¼å
级', title: 'ä¼å
级', width: 100, fixed: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 180, sort: true, fixed: 'left' } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 180, sort: true, fixed: 'left' } |
| | | , { field: 'sorderid', title: 'åºå·', width: 80/*, fixed: true */} |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, /*fixed: true,*/ hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true, /*fixed: true,*/ hide: true } |
| | | , { field: 'ç¶æ', title: 'ç¶æ', sort: true/*, fixed: true */} |
| | | , { field: 'åé¦ç¶æ', title: 'åé¦ç¶æ', width: 100/*, fixed: true */} |
| | | , { field: 'ä¼å
级', title: 'ä¼å
级', width: 100/*, fixed: true */} |
| | | , { field: 'åæ®å·', title: 'åæ®å·', width: 180, sort: true/*, fixed: 'left' */} |
| | | , { field: 'æ¥æ', title: 'æ¥æ', width: 180, sort: true/*, fixed: 'left' */} |
| | | , { field: 'HSupID', title: 'HSupID', width: 180, hide: true } |
| | | , { field: 'ä¾åºå', title: 'ä¾åºå', width: 180, sort: true, fixed: 'left' } |
| | | , { field: 'ä¾åºå', title: 'ä¾åºå', width: 180, sort: true/*, fixed: 'left' */} |
| | | , { field: '计åè·è¸ªåå·', title: '计åè·è¸ªåå·', sort: true, hide: true } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', width: 180, sort: true } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 180, sort: true } |
| | |
| | | Item |
| | | Name='å¤ç®±å
è£
æ°' |
| | | End |
| | | Item |
| | | Name='HShortNumber' |
| | | End |
| | | End |
| | | End |
| | | Items Column |
| | |
| | | Weight=400 |
| | | Charset=134 |
| | | End |
| | | DataField='ç©æä»£ç ' |
| | | DataField='HShortNumber' |
| | | End |
| | | Item |
| | | Type=FieldBox |