| | |
| | | , toolbar: '#toolbarDemo' //å¼å¯å¤´é¨å·¥å
·æ ï¼å¹¶ä¸ºå
¶ç»å®å·¦ä¾§æ¨¡æ¿ |
| | | , defaultToolbar: ['filter', 'exports', 'print'] |
| | | // , where: { msg: "", NowPage: 1, OnePage: 10 } |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid' ,hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨ ', title: 'è¡¨å¤´å¤æ³¨', width: 105 } |
| | | , { field: 'çäº§èµæºåç§°', title: 'çäº§èµæºåç§°' } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: '产åå
ç ', title: '产åå
ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: '产ååå·', title: '产ååå·', width: 115 } |
| | | , { field: 'æ£éªå代ç ', title: 'æ£éªå代ç ', width: 115 } |
| | | , { field: 'æ£éªååç§°', title: 'æ£éªååç§°' } |
| | | , { field: 'å¶å人', title: 'å¶å人', width: 160 } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 160 } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', width: 160 } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', width: 160 } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', width: 160 } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', width: 160 } |
| | | , { field: 'å
³é人', title: 'å
³é人', width: 160 } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', width: 160 } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', hide: true, width: 160 } |
| | | , { field: 'ä½åºæ¥æ ', title: 'ä½åºæ¥æ', width: 215 } |
| | | , { field: 'åæ®ç±»å ', title: 'åæ®ç±»å ', width: 115 } |
| | | ]] |
| | | , cellMinWidth: 100 |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'è¡¨å¤´å¤æ³¨ ', title: 'è¡¨å¤´å¤æ³¨', width: 105 } |
| | | , { field: 'çäº§èµæºåç§°', title: 'çäº§èµæºåç§°' } |
| | | , { field: 'çäº§èµæºä»£ç ', title: 'çäº§èµæºä»£ç ' } |
| | | , { field: '产åå
ç ', title: '产åå
ç ' } |
| | | , { field: '产ååç§°', title: '产ååç§°' } |
| | | , { field: '产ååå·', title: '产ååå·', width: 115 } |
| | | , { field: 'æ£éªå代ç ', title: 'æ£éªå代ç ', width: 115 } |
| | | , { field: 'æ£éªååç§°', title: 'æ£éªååç§°' } |
| | | , { field: 'å¶å人', title: 'å¶å人', width: 160 } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', width: 160 } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', width: 160 } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', width: 160 } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', width: 160 } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', width: 160 } |
| | | , { field: 'å
³é人', title: 'å
³é人', width: 160 } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', width: 160 } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', hide: true, width: 160 } |
| | | , { field: 'ä½åºæ¥æ ', title: 'ä½åºæ¥æ', width: 215 } |
| | | , { field: 'åæ®ç±»å ', title: 'åæ®ç±»å ', width: 115 } |
| | | ]] |
| | | //, skin: 'row' //è¡¨æ ¼é£æ ¼ |
| | | // , even: true |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | , limits: [10, 20, 50, 100] |
| | | , limit: 50 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , page: true //æ¯å¦æ¾ç¤ºå页 |
| | | //, height: 500 |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | , done: function (res, curr, count) { |
| | | _cur_page = curr; |
| | | layer.closeAll("loading"); |
| | | } |
| | | }); |
| | | |
| | | //头工å
·æ äºä»¶ |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetQC_FirstPieceCheck', |
| | | type: "GET", |
| | | data: { "HInterID": InterID }, |
| | | data: { "HInterID": InterID, "user": sessionStorage["HUserName"]}, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | type: "get", |
| | | url: GetWEBURL() +"/QC_Management/MES_QC_FirstPieceCheckBillList_Json", |
| | | async: true, |
| | | data: { "sqlWhere": sqlWhere },//"HSupNo": sessionStorage["HUserName"], |
| | | data: { "sqlWhere": sqlWhere, "user": sessionStorage["HUserName"] },//"HSupNo": sessionStorage["HUserName"], |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(result)).data; |