| | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script> |
| | | function getUrlVars() { |
| | | var vars = [], hash; |
| | | var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); |
| | | for (var i = 0; i < hashes.length; i++) { |
| | | hash = hashes[i].split('='); |
| | | vars.push(hash[0]); |
| | | vars[hash[0]] = hash[1]; |
| | | } |
| | | return vars; |
| | | } |
| | | var params = getUrlVars(); |
| | | var HOtherOrgID = params[params[0]]; |
| | | |
| | | |
| | | layui.use(['table', 'form', 'layer'], function () { |
| | | var table = layui.table |
| | | , form = layui.form |
| | |
| | | , page: true |
| | | }); |
| | | ///å è½½æ¾ç¤ºæ°æ® |
| | | function RoadQuery(Where) { |
| | | function RoadQuery(Where, HOrgID) { |
| | | var Value = Where; |
| | | if (Value == null) { |
| | | Value = ''; |
| | | } |
| | | if (HOrgID == null) { |
| | | HOrgID = 0; |
| | | } |
| | | $.ajax({ |
| | | type: "get", |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetSupplierList_Json", |
| | | url: GetWEBURL() + "/Web/GetSupplierList_Json", |
| | | async: true, |
| | | data: { "Supplier": Value }, |
| | | data: { "Supplier": Value, "HOrgID": HOtherOrgID }, |
| | | //data: { "Value": Value }, |
| | | success: function (result) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(result)).data; |
| | |
| | | //#endregion |
| | | |
| | | |
| | | option_YQN = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , limit: 50 |
| | | , limits: [50, 500, 5000, 20000] |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true } |
| | | , { field: 'HEntryID', title: 'HEntryID', sort: true, width: 165, hide: true } |
| | | |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120, hide: true } |
| | | , { field: 'éå®è®¢åæ¥æ', title: 'éå®è®¢åæ¥æ', sort: true, width: 120, hide: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170, hide: true } |
| | | |
| | | , { field: 'éå®è®¢åæ¥æ', title: 'éå®è®¢åæ¥æ', sort: true, width: 200 } |
| | | , { field: 'éå®è®¢åç¼å·', title: 'éå®è®¢åç¼å·', sort: true, width: 200 } |
| | | , { field: 'éå®ç©æåç§°', title: 'éå®ç©æåç§°', sort: true, width: 200 } |
| | | , { field: 'å
è£
æ¹å¼', title: 'å
è£
æ¹å¼', sort: true, width: 150 } |
| | | , { field: 'é宿°é', title: 'é宿°é', sort: true, width: 150 } |
| | | , { field: 'éå®è®¢åè系人', title: 'éå®è®¢åè系人', sort: true, width: 150 } |
| | | , { field: 'ä¸å¡ç¶æ', title: 'ä¸å¡ç¶æ', sort: true, width: 150 } |
| | | |
| | | , { field: '订åè·è¸ªå·', title: '订åè·è¸ªå·', sort: true, width: 120, hide: true } |
| | | , { field: 'HDeptID', title: 'HDeptID', hide: true } |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115, hide: true } |
| | | , { field: 'ç产车é´', title: 'ç产车é´', width: 115, hide: true } |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 160, hide: true } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160, hide: true } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 215, hide: true } |
| | | , { field: 'hunitid', title: 'hunitid', hide: true } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 115, hide: true } |
| | | , { field: '计éåä½', title: '计éåä½', hide: true } |
| | | |
| | | , { field: 'hempid', title: 'hempid', hide: true } |
| | | , { field: 'ä¸å¡å代ç ', title: 'ä¸å¡å代ç ', width: 100, hide: true } |
| | | , { field: 'ä¸å¡å', title: 'ä¸å¡å', hide: true } |
| | | , { field: 'hcusid', title: 'hcusid', hide: true } |
| | | , { field: '客æ·ä»£ç ', title: '客æ·ä»£ç ', hide: true } |
| | | , { field: '客æ·', title: '客æ·', hide: true } |
| | | , { field: 'HCenterID', title: 'HCenterID', hide: true } |
| | | , { field: 'å·¥ä½ä¸å¿ä»£ç ', title: 'å·¥ä½ä¸å¿ä»£ç ', hide: true } |
| | | , { field: 'å·¥ä½ä¸å¿', title: 'å·¥ä½ä¸å¿', hide: true } |
| | | , { field: 'hbomid', title: 'hbomid', hide: true } |
| | | , { field: 'BOMåç¼ç ', title: 'BOMåç¼ç ', hide: true } |
| | | , { field: 'HRoutingInterID', title: 'HRoutingInterID', hide: true } |
| | | , { field: 'å·¥èºè·¯çº¿ä»£ç ', title: 'å·¥èºè·¯çº¿ä»£ç ', hide: true } |
| | | , { field: 'å·¥èºè·¯çº¿', title: 'å·¥èºè·¯çº¿', hide: true } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ', hide: true } |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ', hide: true } |
| | | , { field: 'æè¿å¼å·¥æ¥æ', title: 'æè¿å¼å·¥æ¥æ', hide: true } |
| | | , { field: 'æè¿å®å·¥æ¥æ', title: 'æè¿å®å·¥æ¥æ', hide: true } |
| | | , { field: 'é½å¥æ°é', title: 'é½å¥æ°é', hide: true } |
| | | , { field: '计åç产æ°é', title: '计åç产æ°é', hide: true } |
| | | , { field: 'å
³èæ°é', title: 'å
³èæ°é', hide: true } |
| | | , { field: 'æªå
³èæ°é', title: 'æªå
³èæ°é', hide: true } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨', hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'æºååå·', title: 'æºååå·', hide: true } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ', hide: true } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ', hide: true } |
| | | , { field: 'å¶å人', title: 'å¶å人', hide: true } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', hide: true } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', hide: true } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', hide: true } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', hide: true } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', hide: true } |
| | | , { field: 'å
³é人', title: 'å
³é人', hide: true } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', hide: true } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', hide: true } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ', hide: true } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人', hide: true } |
| | | , { field: 'å
³éç±»å', title: 'å
³éç±»å', hide: true } |
| | | , { field: 'åæ®ç±»å', title: 'åæ®ç±»å', hide: true } |
| | | , { field: '计åè·è¸ªå·', title: '计åè·è¸ªå·', hide: true } |
| | | ]] |
| | | }; |
| | | |
| | | function set_InitGrid() { |
| | | $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd")); |
| | | $("#HDate1").val(Format(new Date(), "yyyy-MM-dd")); |
| | |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true } |
| | | , { field: 'HEntryID', title: 'HEntryID', sort: true, width: 165, hide: true } |
| | | |
| | | , { field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120, hide: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'æ¥æ', title: 'æ¥æ' } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 160 } |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 215 } |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115 } |
| | | , { field: 'ç产车é´', title: 'ç产车é´', width: 115 } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 115 } |
| | | , { field: '计éåä½', title: '计éåä½' } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ' } |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ' } |
| | | , { field: 'æè¿å¼å·¥æ¥æ', title: 'æè¿å¼å·¥æ¥æ' } |
| | | , { field: 'æè¿å®å·¥æ¥æ', title: 'æè¿å®å·¥æ¥æ' } |
| | | , { field: 'é½å¥æ°é', title: 'é½å¥æ°é' } |
| | | , { field: '计åç产æ°é', title: '计åç产æ°é' } |
| | | , { field: 'å
³èæ°é', title: 'å
³èæ°é' } |
| | | , { field: 'æªå
³èæ°é', title: 'æªå
³èæ°é' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', hide: true } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ', hide: true } |
| | | , { field: 'éå®è®¢åæ¥æ', title: 'éå®è®¢åæ¥æ', sort: true, width: 120, hide: true } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170, hide: true } |
| | | |
| | | |
| | | , { field: 'éå®è®¢åæ¥æ', title: 'éå®è®¢åæ¥æ', sort: true, width: 200 } |
| | | , { field: 'éå®è®¢åç¼å·', title: 'éå®è®¢åç¼å·', sort: true, width: 200 } |
| | | , { field: 'éå®ç©æåç§°', title: 'éå®ç©æåç§°', sort: true, width: 200 } |
| | |
| | | , { field: 'é宿°é', title: 'é宿°é', sort: true, width: 150 } |
| | | , { field: 'éå®è®¢åè系人', title: 'éå®è®¢åè系人', sort: true, width: 150 } |
| | | , { field: 'ä¸å¡ç¶æ', title: 'ä¸å¡ç¶æ', sort: true, width: 150 } |
| | | |
| | | , { field: '订åè·è¸ªå·', title: '订åè·è¸ªå·', sort: true, width: 120, hide: true } |
| | | , { field: 'HDeptID', title: 'HDeptID', hide: true} |
| | | , { field: 'ç产车é´ä»£ç ', title: 'ç产车é´ä»£ç ', width: 115, hide: true } |
| | | , { field: 'ç产车é´', title: 'ç产车é´', width: 115, hide: true} |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true } |
| | | , { field: '产å代ç ', title: '产å代ç ', width: 160, hide: true} |
| | | , { field: '产ååç§°', title: '产ååç§°', width: 160, hide: true} |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 215, hide: true} |
| | | , { field: 'hunitid', title: 'hunitid', hide: true } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 115, hide: true} |
| | | , { field: '计éåä½', title: '计éåä½', hide: true} |
| | | |
| | | , { field: 'hempid', title: 'hempid' , hide: true} |
| | | , { field: 'ä¸å¡å代ç ', title: 'ä¸å¡å代ç ', width: 100, hide: true} |
| | | , { field: 'ä¸å¡å', title: 'ä¸å¡å', hide: true} |
| | |
| | | , { field: 'HRoutingInterID', title: 'HRoutingInterID' , hide: true} |
| | | , { field: 'å·¥èºè·¯çº¿ä»£ç ', title: 'å·¥èºè·¯çº¿ä»£ç ', hide: true } |
| | | , { field: 'å·¥èºè·¯çº¿', title: 'å·¥èºè·¯çº¿', hide: true} |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ', hide: true} |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ', hide: true} |
| | | , { field: 'æè¿å¼å·¥æ¥æ', title: 'æè¿å¼å·¥æ¥æ', hide: true} |
| | | , { field: 'æè¿å®å·¥æ¥æ', title: 'æè¿å®å·¥æ¥æ', hide: true} |
| | | , { field: 'é½å¥æ°é', title: 'é½å¥æ°é', hide: true} |
| | | , { field: '计åç产æ°é', title: '计åç产æ°é', hide: true } |
| | | , { field: 'å
³èæ°é', title: 'å
³èæ°é', hide: true} |
| | | , { field: 'æªå
³èæ°é', title: 'æªå
³èæ°é', hide: true} |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨', hide: true} |
| | | , { field: 'hsubid', title: 'hsubid' , hide: true} |
| | | , { field: 'æºååå·', title: 'æºååå·', hide: true} |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ', hide: true} |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ', hide: true} |
| | | , { field: 'å¶å人', title: 'å¶å人', hide: true} |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ', hide: true } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº', hide: true } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ', hide: true} |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº', hide: true } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ', hide: true} |
| | | , { field: 'å
³é人', title: 'å
³é人', hide: true} |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ', hide: true } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº', hide: true} |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ', hide: true } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人', hide: true} |
| | | , { field: 'å
³éç±»å', title: 'å
³éç±»å', hide: true} |
| | | , { field: 'åæ®ç±»å', title: 'åæ®ç±»å', hide: true} |
| | |
| | | |
| | | //éæ©ä¾åºå |
| | | form.on('submit(HSupID-BT)', function () { |
| | | var HStockInOrgID = sessionStorage["OrganizationID"]; |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_SupplierList.html', 'yes'] |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_SupplierList.html?HOrgID=' + HStockInOrgID + '', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | |
| | | }) |
| | | }); |
| | | |
| | | |
| | | |
| | | //éæ©äº§å |
| | | form.on('submit(HMateriaID-BT)', function () {//éæ©äº§å |
| | | layer.open({ |
| | |
| | | } |
| | | //#endregion |
| | | |
| | | ////éæ©ä¾åºå |
| | | //form.on('submit(HSupID-BT)', function () { |
| | | // layer.open({ |
| | | // type: 2 |
| | | // , area: ['80%', '80%'] |
| | | // , title: 'ä¾åºåå表' |
| | | // , shade: 0.6 //é®ç½©éæåº¦ |
| | | // , maxmin: true //å
许å
¨å±æå°å |
| | | // , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | // , content: ['../../Baseset/åºç¡èµæ/Gy_SupplierList.html', 'yes'] |
| | | // , resize: false |
| | | // , cancel: function () { |
| | | // //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | | // } |
| | | // }) |
| | | //}); |
| | | |
| | | //éæ©ä¾åºå |
| | | form.on('submit(HSupID-BT)', function () { |
| | | var HStockInOrgID = sessionStorage["OrganizationID"]; |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_SupplierList.html', 'yes'] |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_SupplierList.html?HOrgID=' + HStockInOrgID + '', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | //$(".layui-btn").removeClass("layui-btn-disabled"); |