| | |
| | | padding-right: 15px; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | #top-title |
| | | { |
| | | margin: 0 30%; |
| | | font-size: 24px; |
| | | font-weight: bold; |
| | | } |
| | | </style> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | |
| | |
| | | <div class="layui-card" style="padding: 1px"> |
| | | <form class="layui-form" action="" lay-filter="component-form-group"> |
| | | <div class="layui-card-header"> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="Delete"><i class="layui-icon layui-icon-add"></i>å é¤</button> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="AskReport"><i class="layui-icon layui-icon-add"></i>ç³è¯·æ£éª</button> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="Exit"><i class="layui-icon layui-icon-add"></i>éåº</button> |
| | | <span style="margin:0 30%;font-size:24px;font-weight:bold;">äº§éæ±æ¥</span> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="Delete" id="Delete"><i class="layui-icon layui-icon-add"></i>å é¤</button> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="AskReport" id="AskReport"><i class="layui-icon layui-icon-add"></i>ç³è¯·æ£éª</button> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="Exit" id="Exit"><i class="layui-icon layui-icon-add"></i>éåº</button> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="ProdReport" id="ProdReport"><i class="layui-icon layui-icon-add"></i>çäº§æ±æ¥</button> |
| | | <span id="top-title">äº§éæ±æ¥</span> |
| | | </div> |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | |
| | | |
| | | <div class="layui-collapse"> |
| | | <div class="layui-colla-item"> |
| | | <div class="layui-colla-title layui-inline"> |
| | |
| | | <script src="../../../layuiadmin/Scripts/json2.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | <script> |
| | | //è·ååæ° |
| | | var workcode = ""; //å·¥åå· |
| | | var HSourceID = ""; //èµæºID |
| | | |
| | | 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 hID = params[params[0]];//ç¼è¾æ¥ç |
| | | var Type = params[params[1]];//åæ®ç¼è¾ç¶æï¼ 1.æ æºåæ°å¢Â  2.ææºåæ°å¢Â  3.ç¼è¾Â 4.æµè§Â 5.åæ´ |
| | | |
| | | var HICMOInterID = ""; //ç产订å主ID |
| | | var HICMOEntryID = ""; //ç产订ååID |
| | | var HSourceBillType = ""; //æºåç±»å |
| | | var SchWhere = ""; //æé®æ¥è¯¢åæ° |
| | | var edit = function (data) { |
| | | workcode = data[0].workcode; |
| | | HSourceID = data[0].HSourceID; |
| | | HSourceName = data[0].HSourceName; |
| | | HICMOInterID = data[0].HICMOInterID; |
| | | HICMOEntryID = data[0].HICMOEntryID; |
| | | HMaker = data[0].HMaker; |
| | | Czybm = data[0].Czybm; |
| | | HSourceBillType = data[0].HSourceBillType; |
| | | } |
| | | //è·å页é¢è·³è½¬åæ° //åæ®ç¼è¾ç¶æï¼ 1.æ æºåæ°å¢Â  2.ææºåæ°å¢Â  3.ç¼è¾Â 4.æµè§Â 5.åæ´ |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | | var OperationType = 1;//æä½ç±»å |
| | | } else { |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HSouceBillType = params[params[2]];//æºåç±»å |
| | | } |
| | | |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'table', 'element', 'laypage','laydate'], function () { |
| | | }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () { |
| | | |
| | | //#region å
¬ç¨åé |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | |
| | | , laydate = layui.laydate |
| | | |
| | | var sWhere = ""; |
| | | var option = []; |
| | | //#endregion |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | ,height: 'full-50' |
| | | , page: true |
| | | ,cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true, hide: true, width: 200} |
| | | , { field: 'HDate', title: 'æ¥æ', width: 200, templet: "<div>{{d.HDate ==null ?'':layui.util.toDateString(d.HDate, 'yyyy-MM-dd HH:mm:ss')}}</div>" } |
| | | , { field: 'HBillNo', title: 'åæ®å·', width: 200} |
| | | , { field: 'HBillType', title: 'åæ®ç±»å', width: 200 } |
| | | , { field: 'HICMOBillNo', title: 'ç产订åå·', width: 200 } |
| | | , { field: 'HICMOInterID', title: 'ç产订å主ID', width: 200, hide: true} |
| | | , { field: 'HICMOEntryID', title: 'ç产订ååID', width: 200, hide: true} |
| | | , { field: 'HSourceBillNo', title: 'æºååå·', width: 200 } |
| | | , { field: 'HSourceInterID', title: 'æºå主å
ç ', width: 200, hide: true} |
| | | , { field: 'HSourceEntryID', title: 'æºååå
ç ', width: 200, hide: true} |
| | | , { field: 'HSourceBillType', title: 'æºåç±»å', width: 200 } |
| | | , { field: 'HMaterID', title: '产åID', width: 200, hide: true} |
| | | , { field: 'HMaterCode', title: '产å代ç ', width: 200 } |
| | | , { field: 'HMaterName', title: '产ååç§°', width: 200 } |
| | | , { field: 'HMaterSpec', title: '产åè§æ ¼', width: 200 } |
| | | , { field: 'HQty', title: 'æ±æ¥æ°é', width: 200 } |
| | | , { field: 'HSourceID', title: 'çäº§èµæºID', width: 200, hide: true} |
| | | , { field: 'HSourceCode', title: 'çäº§èµæºä»£ç ', width: 200 } |
| | | , { field: 'HSourceName', title: 'çäº§èµæº', width: 200 } |
| | | , { field: 'HGroupID', title: 'ç产çç»ID', width: 200, hide: true} |
| | | , { field: 'HGroupCode', title: 'ç产çç»ä»£ç ', width: 200 } |
| | | , { field: 'HGroupName', title: 'ç产çç»åç§°', width: 200 } |
| | | , { field: 'HWorkManID', title: 'æä½åID', width: 200, hide: true} |
| | | , { field: 'HWorkManName', title: 'æä½å', width: 200 } |
| | | , { field: 'HMaker', title: 'å¶å人', width: 200 } |
| | | , { field: 'HMakeDate', title: 'å¶åæ¥æ', width: 160, templet: "<div>{{d.HMakeDate ==null ?'':layui.util.toDateString(d.HMakeDate, 'yyyy-MM-dd HH:mm:ss')}}</div>" } |
| | | , { field: 'HReportType', title: 'æ±æ¥ç±»å', width: 200 } |
| | | ]] |
| | | }; |
| | | var index = layer.load(0, { shade: false }); |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | |
| | | //ææºåæ°å¢ |
| | | if (Type == 2) |
| | | //åå§åè¡¨æ ¼ |
| | | set_InitGrid(); |
| | | //夿æä½ç±»å |
| | | if (OperationType == 2) {//ææºå |
| | | |
| | | //æ¥å·¥å¹³å°æ¥æ£ç³è¯·æ¥çå表 |
| | | set_AddNew(); |
| | | } |
| | | |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | |
| | | //#endregion |
| | | |
| | | table.on('row(mainTable)', function (obj) { |
| | | //éä¸è¡æ¹åé¢è² |
| | | var flag = !obj.tr.find(':checkbox:first').prop('checked'); |
| | | obj.tr.find(':checkbox').prop('checked', flag); |
| | | if (flag) { |
| | | obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked'); //设置å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" });//æ¹åå½åtrèæ¯é¢è²ååä½é¢è² |
| | | } else { |
| | | obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked');//åæ¶å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:" });//åæ¶å½åtré¢è² |
| | | } |
| | | //mainTable ä¸ºè¡¨æ ¼ID æ³¨ææ¤å¤å¦æID䏿£ç¡®å°å¯¼è´ä½ å¨çå¬å¤éæ¡æ¶è·åä¸å°ä½ éæ©çæ°æ®ï¼åé¢çåªæ¯æ·»å æå é¤é䏿ªé䏿 ·å¼ä»¥åè®¾ç½®èæ¯è²ï¼åä½é¢è² |
| | | layui.each(table.cache.mainTable, function (i, l) { |
| | | if (obj.tr.index() == l.LAY_TABLE_INDEX) { |
| | | l.LAY_CHECKED = flag; |
| | | } |
| | | }); |
| | | }) |
| | | |
| | | //#region æ¬é¡µé¢ææè¢«è°ç¨çæ¹æ³ |
| | | |
| | | //åå§åè¡¨æ ¼ |
| | | function set_InitGrid() |
| | | { |
| | | sWhere = " where a.HSourceID='" + HSourceID + "' and a.HICMOBillNo='" + workcode + "'"; |
| | | option = { |
| | | elem: '#mainTable' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limit:500 |
| | | , totalRow: true |
| | | , limits: [100, 500, 1000, 2000] |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计' } |
| | | , { field: 'HInterID', title: 'HInterID', sort: true, hide: true, width: 200 } |
| | | , { field: 'HDate', title: 'æ¥æ', width: 200, templet: "<div>{{d.HDate ==null ?'':layui.util.toDateString(d.HDate, 'yyyy-MM-dd HH:mm:ss')}}</div>" } |
| | | , { field: 'HBillNo', title: 'åæ®å·', width: 200 } |
| | | , { field: 'HBillType', title: 'åæ®ç±»å', width: 200 } |
| | | , { field: 'HBillStatus', title: 'åæ®ç¶æ', width: 200} |
| | | , { field: 'HICMOBillNo', title: 'ç产订åå·', width: 200 } |
| | | , { field: 'HICMOInterID', title: 'ç产订å主ID', width: 200, hide: true } |
| | | , { field: 'HICMOEntryID', title: 'ç产订ååID', width: 200, hide: true } |
| | | , { field: 'HSourceBillNo', title: 'æºååå·', width: 200 } |
| | | , { field: 'HSourceInterID', title: 'æºå主å
ç ', width: 200, hide: true } |
| | | , { field: 'HSourceEntryID', title: 'æºååå
ç ', width: 200, hide: true } |
| | | , { field: 'HSourceBillType', title: 'æºåç±»å', width: 200 } |
| | | , { field: 'HMaterID', title: '产åID', width: 200, hide: true } |
| | | , { field: 'HMaterCode', title: '产å代ç ', width: 200 } |
| | | , { field: 'HMaterName', title: '产ååç§°', width: 200 } |
| | | , { field: 'HMaterSpec', title: '产åè§æ ¼', width: 200 } |
| | | , { field: 'HQty', title: 'æ±æ¥æ°é', width: 200, totalRow: true } |
| | | , { field: 'HSourceID', title: 'çäº§èµæºID', width: 200, hide: true } |
| | | , { field: 'HSourceCode', title: 'çäº§èµæºä»£ç ', width: 200 } |
| | | , { field: 'HSourceName', title: 'çäº§èµæº', width: 200 } |
| | | , { field: 'HGroupID', title: 'ç产çç»ID', width: 200, hide: true } |
| | | , { field: 'HGroupCode', title: 'ç产çç»ä»£ç ', width: 200 } |
| | | , { field: 'HGroupName', title: 'ç产çç»åç§°', width: 200 } |
| | | , { field: 'HWorkManID', title: 'æä½åID', width: 200, hide: true } |
| | | , { field: 'HWorkManName', title: 'æä½å', width: 200 } |
| | | , { field: 'HMaker', title: 'å¶å人', width: 200 } |
| | | , { field: 'HMakeDate', title: 'å¶åæ¥æ', width: 160, templet: "<div>{{d.HMakeDate ==null ?'':layui.util.toDateString(d.HMakeDate, 'yyyy-MM-dd HH:mm:ss')}}</div>" } |
| | | , { field: 'HReportType', title: 'æ±æ¥ç±»å', width: 200 } |
| | | ]] |
| | | }; |
| | | } |
| | | |
| | | //æ¥å·¥å¹³å°è¿å
¥(ææºå) åªè½çå°å½åçäº§èµæºä¸å¼å·¥äºçç产订åçäº§éæ±æ¥å |
| | | function set_AddNew() |
| | | { |
| | | sWhere = " where HSourceID='" + HSourceID + "' and HICMOBillNo='" + workcode + "' and HICMOInterID='" + (HICMOInterID == "null" ? 0 : HICMOInterID) + "' and HICMOEntryID='" + (HICMOEntryID == "null" ? 0 : HICMOEntryID) + "' and HMaker='" + HMaker + "' "; |
| | | SchWhere = sWhere; |
| | | console.log(sWhere); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_MESBeginWorkBill/GetMESProductReportBillList', |
| | |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index); |
| | | |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | sWhere = ""; |
| | | }, error: function () { |
| | | layer.close(index); |
| | | |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | //å é¤æé® |
| | | form.on('submit(Delete)', function (data) |
| | |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var InterID = data[0].hmainid.toString(); |
| | | var InterID = data[0].HInterID.toString(); |
| | | var HICMOInID = data[0].HICMOInterID.toString(); |
| | | var HICMOEnID = data[0].HICMOEntryID.toString(); |
| | | |
| | | //é»è¾å 餿¹æ³ |
| | | layer.confirm("确认è¦å é¤åï¼å é¤åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: GetWEBURL() + "Sc_ICMOReportBill/DeltetICMOReportBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID }, |
| | | url: GetWEBURL() + "Sc_MESBeginWorkBill/DeltetMESProductReportBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | data: { "HInterID": InterID, "HICMOInterID": HICMOInID, "HICMOEntryID": HICMOEnID, "UserName":sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { time: 1 * 2000, icon: 1 }); |
| | |
| | | //ç³è¯·æ£éª |
| | | form.on('submit(AskReport)', function (data) |
| | | { |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | //if (!AllowLoadData(sSubStr))//æ°æ®éªè¯ |
| | | //{ |
| | | // return false; |
| | | //} |
| | | var TabData = table.cache['mainTable']; |
| | | if (TabData == undefined) |
| | | { |
| | | return layer.alert("æ äº§éæ±æ¥æ°æ®ï¼", { icon: 5 }) |
| | | |
| | | } |
| | | if (TabData.length <= 0) { |
| | | return layer.alert("æ äº§éæ±æ¥æ°æ®ï¼", { icon: 5 }) |
| | | } |
| | | //夿æ¯å¦ææªå®¡æ ¸æ°æ® |
| | | |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Sc_ICMOReportBill/SaveGetICMOReportBillList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | type: "Get", |
| | | url: GetWEBURL() + "/Sc_MESBeginWorkBill/SaveGetMESProductReportBillList", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "msg": sMainSub }, |
| | | data: { "ScMaxWork": ScMaxWork(), "HSourceBillType": HSourceBillType, "workcode": workcode, "HSourceID": HSourceID, "HICMOInterID": (HICMOInterID == "null" ? 0 : HICMOInterID), "HICMOEntryID": (HICMOEntryID == "null" ? 0 : HICMOEntryID), "HMaker": HMaker, "Czybm": Czybm }, |
| | | dataType: "json", |
| | | beforeSend: function () { |
| | | $('#AskReport').addClass("layui-btn-disabled").attr("disabled", true); |
| | | }, |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | | $('#AskReport').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | layer.msg(data.Message, { time: 1 * 2000, icon: 1 }, function (index) { |
| | | layer.close(layer.index); |
| | | window.parent.location.reload(); |
| | | }); |
| | | } |
| | | else { |
| | | layer.alert(data.Message, { icon: 5 }) |
| | | layer.alert(data.Message, { icon: 5 }) |
| | | $('#AskReport').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.alert(data.Message, { icon: 5 }) |
| | | $('#AskReport').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | } |
| | | }); |
| | | }) |
| | | |
| | | //çäº§æ±æ¥ |
| | | form.on('submit(ProdReport)', function (data) { |
| | | var checkStatus = table.checkStatus('mainTable'); |
| | | var TabData = checkStatus.data; |
| | | var HInterID = TabData[0].HInterID; |
| | | |
| | | if (checkStatus.data.length != 1) { |
| | | layer.alert("è¯·éæ©ä¸æ¡æ°æ®!åä¸è®¢åçç产æ°éå°ç±ç³»ç»å¤æå¹¶èªå¨å¸¦åºã"); |
| | | } else { |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'çäº§æ±æ¥å-ç¼è¾' |
| | | , shade: 0.6 |
| | | , maxmin: false |
| | | , anim: 0 |
| | | , content: ['../çäº§æ±æ¥å/Sc_Add_ICMOReportBillList.html?OperationType=2&linterid=' + HInterID.toString() + '&HSouceBillType=' + 3724, 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | } |
| | | , end: function () { |
| | | |
| | | } |
| | | }) |
| | | } |
| | | }) |
| | | |
| | | //éåº |
| | | //å é¤æé® |
| | | form.on('submit(Exit)', function (data) { |
| | | var index = parent.layer.getFrameIndex(window.name); //å
å¾å°å½åiframeå±çç´¢å¼ |
| | | parent.layer.close(index); //åæ§è¡å
³é |
| | | form.on('submit(Exit)', function (data) |
| | | { |
| | | Pub_Close(1); //å
³éå¼¹çª |
| | | }) |
| | | |
| | | |
| | |
| | | }); |
| | | |
| | | //æ¥è¯¢æé® |
| | | if (Type == 2) { |
| | | form.on('submit(btnSearch)', function (data) { |
| | | form.on('submit(btnSearch)', function (data) { |
| | | var HDate = $("#HDate").val();//å¼å§æ¥æ |
| | | var HDate1 = $("#HDate1").val();//ç»ææ¥æ |
| | | var HBillNo = $("#HBillNo").val(); //åæ®å· |
| | | var Part = $("#Part").val(); //ç©æä¿¡æ¯ |
| | | var Source = $("#Source").val(); //èµæº |
| | | sWhere += SchWhere; |
| | | if (HDate) { |
| | | sWhere += " and CONVERT(varchar(100),a.HDate, 23) >= '" + HDate + "'"; |
| | | sWhere += " and CONVERT(varchar(100),HDate, 23) >= '" + HDate + "'"; |
| | | } |
| | | if (HDate1) { |
| | | sWhere += " and CONVERT(varchar(100),a.HDate, 23) <= '" + HDate1 + "'"; |
| | | sWhere += " and CONVERT(varchar(100),HDate, 23) <= '" + HDate1 + "'"; |
| | | } |
| | | if (HBillNo) { |
| | | sWhere += " and a.HBillNo like '%" + HBillNo + "%'"; |
| | | sWhere += " and HBillNo like '%" + HBillNo + "%'"; |
| | | } |
| | | if (Part) { |
| | | sWhere += " and concat(m.HNumber,m.HName,m.HModel) like '%" + Part + "%'"; |
| | | sWhere += " and concat(HNumber,HName,HModel) like '%" + Part + "%'"; |
| | | } |
| | | if (Source) { |
| | | sWhere += " and s.HName like '%" + Dept + "%'"; |
| | | sWhere += " and HName like '%" + Dept + "%'"; |
| | | } |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Sc_ICMOReportBill/DeltetICMOReportBill', |
| | | url: GetWEBURL() + '/Sc_MESBeginWorkBill/GetMESProductReportBillList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | |
| | | } else { |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | |
| | | }); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | }); |
| | | } |
| | | |
| | | // #endregion |
| | | //以䏿¯layui模å |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | //è·åæå¤§çäº§æ±æ¥åå· |
| | | function ScMaxWork() |
| | | { |
| | | var ScMaxWork = ""; |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HBillType": '3711' }, |
| | | success: function (d) { |
| | | ScMaxWork = d.data[0].HBillNo; |
| | | } |
| | | }); |
| | | return ScMaxWork; |
| | | } |
| | | </script> |
| | | |
| | | </body> |