Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI
| | |
| | | //var WEBURL = "http://localhost/API/"; //颿忬å°é
ç½® |
| | | //var WEBURL = "http://localhost:8082/LuBaoAPI/"; //æ¨ä¹æ¬å°é
ç½® |
| | | /* var WEBURL = "http://localhost:8082/API/"; */ //æè´ºæ¬å°é
ç½® |
| | | var WEBURL = "http://localhost/API/"; //æ½æµæ¸¸æ¬å°é
ç½® */ |
| | | //var WEBURL = "http://localhost/API/"; //æ½æµæ¸¸æ¬å°é
ç½® */ |
| | | //var WEBURL = "http://localhost:8082/API/"; //æè´ºæ¬å°é
ç½® |
| | | /*var WEBURL = "http://localhost/API/";*/ //æ½æµæ¸¸æ¬å°é
ç½® |
| | | /*var WEBURL = "http://localhost:8082/API/"; //æè´ºæ¬å°é
ç½®*/ |
| | |
| | | <option value="3720">çäº§ç¨ææ¸
å</option> |
| | | <option value="3721">çäº§å¤æå</option> |
| | | <option value="1214">ç产åæéç¥å</option> |
| | | <option value="3710">ç产订å</option> |
| | | <option value="-1">æå·¥å½å
¥</option> |
| | | </select> |
| | | </div> |
| | |
| | | $("#HMainSourceBillType").empty(); |
| | | var optionHtml = ''; |
| | | optionHtml += "<option value = '" + d.data[0].HSourceBillType + "' >" + 'ç产åæéç¥å' + "</option>"; |
| | | $("#HMainSourceBillType").append(optionHtml); |
| | | layui.form.render('select'); |
| | | $("#HMainSourceBillType").attr("disabled", "disabled"); |
| | | } |
| | | else if (d.data[0].HSourceBillType == "3710") { |
| | | $("#HMainSourceBillType").empty(); |
| | | var optionHtml = ''; |
| | | optionHtml += "<option value = '" + d.data[0].HSourceBillType + "' >" + 'ç产订å' + "</option>"; |
| | | $("#HMainSourceBillType").append(optionHtml); |
| | | layui.form.render('select'); |
| | | $("#HMainSourceBillType").attr("disabled", "disabled"); |
| | |
| | | else if (HSourceBillType == '1214') { |
| | | HSourceTitle = "ç产åæéç¥å"; |
| | | } |
| | | else if (HSourceBillType == '3710') { |
| | | HSourceTitle = "ç产订å"; |
| | | } |
| | | |
| | | layer.open({ |
| | | type: 2 |
| | |
| | | layui.form.render('select'); |
| | | $("#HMainSourceBillType").attr("disabled", "disabled"); |
| | | } |
| | | else if (result.data.hSourceBillTypeField == "3710") { |
| | | $("#HMainSourceBillType").empty(); |
| | | var optionHtml = ''; |
| | | optionHtml += "<option value = '" + result.data.hSourceBillTypeField + "' >" + 'ç产订å' + "</option>"; |
| | | $("#HMainSourceBillType").append(optionHtml); |
| | | layui.form.render('select'); |
| | | $("#HMainSourceBillType").attr("disabled", "disabled"); |
| | | } |
| | | else { |
| | | $("#HMainSourceBillType").empty(); |
| | | var optionHtml = ''; |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ¯å¦ä¸æ¨çææµè½¬å¡</label> |
| | | <div class="layui-input-block" style="margin-top:10px"> |
| | | <div class="layui-input-block" style="margin-top:10px;width:183px;"> |
| | | <select name="HSF" id="HSF" lay-verify="required" lay-search class="layui-input ForFilteringSchemes"> |
| | | <!-- <option value="å
¨é¨">å
¨é¨</option>--> |
| | | <option value="å
¨é¨" selected="selected">å
¨é¨</option> |
| | | <option value="已䏿¨">已䏿¨</option> |
| | | <option value="é¨å䏿¨">é¨å䏿¨</option> |
| | | <option value="æªä¸æ¨">æªä¸æ¨</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">项ç®å·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px; width: 185px;"> |
| | | <label class="layui-form-label" style="width: 80px;">项ç®å·</label> |
| | | <div class="layui-input-block" style="margin-left: 110px; width: 183px;"> |
| | | <select name="HProject" id="HProject" class=" ForFilteringSchemes" lay-verify="HProject"> |
| | | <!--å¨ææ¸²æç»ç»--> |
| | | </select> |
| | |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="WorkCenter" id="WorkCenter"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" style="display:none;" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px;display:none;">éç½®</button> |
| | | |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">éå®è®¢å</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HSeOrderBillNo" id="HSeOrderBillNo"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" style="display:none;" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px;display:none;">éç½®</button> |
| | | |
| | | <!--æ¾ç¤ºå½åè¿æ»¤æ¹æ¡--> |
| | | <div class="layui-inline" style="margin-left:5px;"> |
| | |
| | | if (HSF == "已䏿¨") { |
| | | sWhere += " and æ¯å¦ä¸æ¨çææµè½¬å¡ like '%" + HSF + "%' "; |
| | | } |
| | | if (HSF == "é¨å䏿¨") { |
| | | sWhere += " and æ¯å¦ä¸æ¨çææµè½¬å¡ like '%" + HSF + "%' "; |
| | | } |
| | | if (HSF == "æªä¸æ¨") { |
| | | sWhere += " and æ¯å¦ä¸æ¨çææµè½¬å¡ like '%" + HSF + "%' "; |
| | | } |
| | |
| | | $("#HMaterName").val("");//åæ®å· |
| | | $("#HStatus").val("å¼å·¥");//åæ®å· |
| | | $("#HModel").val("");//è§æ ¼åå· |
| | | $("#HSeOrderBillNo").val(""); //éå®è®¢å |
| | | $("#btnSearch").click(); |
| | | $("#ColContent").val(""); |
| | | $("#ColName").val("0"); |
| | |
| | | <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 src="../../../layuiadmin/PubCustom.js"></script> |
| | | <script src="../../CreateControl.js"></script> |
| | | </head> |
| | | <body> |
| | |
| | | <h1 style="text-align:center;margin-bottom:25px;"><b>å
³é®ä»¶ç»å®</b></h1> |
| | | <div class="layui-form-item" style="padding-top: 3px;"> |
| | | <div class="layui-row" style="text-align: center;"> |
| | | <div class="layui-col-xs3 layui-inline" style="margin-left:205px;"> |
| | | <div class="layui-col-xs3 layui-inline" style="margin-left:140px;"> |
| | | <label class="layui-form-label">æµè½¬å¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProcessExchangeBillNo" id="HProcessExchangeBillNo" onfocus="this.select();"> |
| | | <input type="text" class="layui-input" name="HProcessExchangeBillNo" id="HProcessExchangeBillNo" style="width: 300px;" onfocus="this.select();"> |
| | | <input type="hidden" name="HProcessExchangeInterID" id="HProcessExchangeInterID" value="0"> |
| | | <input type="hidden" name="HProcessExchangeEntryID" id="HProcessExchangeEntryID" value="0"> |
| | | </div> |
| | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">产åç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HBarCode_P" id="HBarCode_P" onfocus="this.select();"> |
| | | <input type="text" class="layui-input" name="HBarCode_P" id="HBarCode_P" style="width: 300px;" onfocus="this.select();"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layui-btn-normal" style="float:left;margin-left:-15px;" type="button" lay-submit="" lay-filter="btnNextProc" id="btnNextProc">æ¢äº§å</button> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">é
ä»¶ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HBarCode" id="HBarCode" onfocus="this.select();"> |
| | | <input type="text" class="layui-input" name="HBarCode" id="HBarCode" style="width: 300px;" onfocus="this.select();"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill" style="width: 45%; float: left; height:calc(60vh);background-color:white;"> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill" style="width: 45%; float: left; height:calc(43vh);background-color:white;"> |
| | | <div class="layui-tab-content"> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | | <div class="layui-tab-item layui-show"> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div style="width: 0.2%; float: left; height: calc(60vh);background-color:#2baaca"></div> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill" style="width: 54.8%; float: left; height:calc(60vh);background-color:white;"> |
| | | <div style="width: 0.2%; float: left; height: calc(43vh);background-color:#2baaca"></div> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill" style="width: 54.8%; float: left; height:calc(43vh);background-color:white;"> |
| | | <div style="width:100px;height:23px; background: linear-gradient(-135deg, transparent 30px, #2baaca 0);"><span style="color:aliceblue;">ç»å®ä¿¡æ¯</span></div> |
| | | <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table> |
| | | </div> |
| | |
| | | } |
| | | }); |
| | | |
| | | //éåº |
| | | form.on('submit(btnEdit)', function (data) { |
| | | if (params[1] != null) { |
| | | Pub_Close(1); |
| | | } else if (params[1] == null) { |
| | | Pub_Close(2); |
| | | //æ¢äº§å |
| | | form.on('submit(btnNextProc)', function (data) { |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | if (option.data[i].HBindingQty < 1 || option.data[i].HBarCode == "") { |
| | | layer.alert("第<span style='color: red;'>" + (i + 1) + "</span>è¡ï¼é
ä»¶ <span style='color: blue;'>" + option.data[i].HMaterName + "</span> æªç»å®é½æ´ï¼") |
| | | return; |
| | | } |
| | | } |
| | | |
| | | //å¯ç¨è¾å
¥æ¡,èæ¯è²æ¢å¤ |
| | | $("#HBarCode_P").removeAttr("disabled"); //产åç ææ¬æ¡å¯ç¨ |
| | | $("#HBarCode_P").css('background', '#FFFFFF')//产åç ææ¬æ¡èæ¯è²æ¢å¤ |
| | | //æ¸
ç©ºææ¬æ¡å
容 |
| | | $("#HBarCode_P").val("");//产åç ææ¬æ¡å
容æ¸
空 |
| | | //å
æ 跳转å°äº§åç ææ¬æ¡ä¸ |
| | | $("#HBarCode_P").focus(); |
| | | //ææ¯ä¸ªäº§åçæ«ç ç»å®è®°å½è¿ç§»å°ä¸æ¹åå²è®°å½æç»ç½æ ¼ |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | option_detail.data.push(option.data[i]) |
| | | } |
| | | table.render(option_detail); |
| | | //æ¸
é¤ç»å®ä¿¡æ¯ç½æ ¼æ«ç è®°å½ |
| | | option.data = []; |
| | | table.render(option); |
| | | |
| | | //åå²ç»å®è®°å½æ¥è¯¢ |
| | | //get_Display(); |
| | | }); |
| | | |
| | | //å·æ°æé® |
| | | form.on('submit(btnRefresh)', function () { |
| | | layer.confirm('å·æ°å页颿°æ®å°æ¶å¤±ï¼æ¯å¦ç¡®è®¤å·æ°ï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | location.replace('Sc_KeyElementBinding.html'); |
| | | }); |
| | | }) |
| | | |
| | | //éåº |
| | | form.on('submit(btnExit)', function (data) { |
| | | Pub_Close(2); |
| | | }); |
| | | //#endregion |
| | | |
| | |
| | | |
| | | //åå§åç»å®ä¿¡æ¯è¡¨æ ¼ |
| | | set_InitGrid(); |
| | | //åå²ç»å®è®°å½æ¥è¯¢ |
| | | //get_Display(); |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | option = { |
| | | elem: '#mainTable' |
| | | , page: false |
| | | , height: 'full-358' |
| | | , height: 'full-500' |
| | | , loading: false |
| | | , limit: 200 |
| | | , cols: [[ //ç»å®ä¿¡æ¯è¡¨ |
| | |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 160 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 160 } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·', width: 160, hide: true } |
| | | , { field: 'HBatchNo', title: 'æ¹æ¬¡', width: 160 } |
| | | , { field: 'HBatchNo', title: 'æ¹æ¬¡', width: 160, hide: true } |
| | | , { field: 'HSourceID', title: 'HSourceID', width: 160, hide: true } |
| | | , { field: 'HEquipID', title: 'HEquipID', width: 160, hide: true } |
| | | , { field: 'HGroupID', title: 'HGroupID', width: 160, hide: true } |
| | |
| | | { type: 'numbers', title: 'åºå·', width: 50 } |
| | | , { field: 'HBarCode_P', title: '产åç ', width: 400 } |
| | | , { field: 'HBarCode', title: 'é
ä»¶ç ', width: 400 } |
| | | , { field: 'HPartsQty', title: 'é
ä»¶æ°é', width: 90 } |
| | | , { field: 'HPartsQty', title: 'é
ä»¶æ°', width: 90 } |
| | | , { field: 'HBindingQty', title: 'å·²ç»æ°', width: 72 } |
| | | , { field: 'HMaterID', title: 'HMaterID', hide: true } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 260 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 260 } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·', width: 160, hide: true } |
| | | , { field: 'HBatchNo', title: 'æ¹æ¬¡', width: 200 } |
| | | , { field: 'HBatchNo', title: 'æ¹æ¬¡', width: 200, hide: true } |
| | | , { field: 'HSourceID', title: 'HSourceID', width: 160, hide: true } |
| | | , { field: 'HEquipID', title: 'HEquipID', width: 160, hide: true } |
| | | , { field: 'HGroupID', title: 'HGroupID', width: 160, hide: true } |
| | |
| | | |
| | | //#region ä¿åæ¹æ³ |
| | | function set_SaveBill(data) { |
| | | //ææåä¸ä¸ªäº§åçç»å®ä¿¡æ¯åå
¥å°åå²è®°å½æç»ç½æ ¼ |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | option_detail.data.push(option.data[i]) |
| | | } |
| | | |
| | | //åºåå表头信æ¯ååè¡¨ä¿¡æ¯ |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(option.data); |
| | | var sSubStr = JSON.stringify(option_detail.data); |
| | | //æ¼æ¥åæ° |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"]; |
| | | |
| | |
| | | |
| | | //æ¥è¯¢ |
| | | function get_Display() { |
| | | var sWhere = " and ç¼ç ='" + sessionStorage["Czybm"] + "'"; |
| | | var HBillNo = $("#HBillNo").val(); |
| | | var ajaxLoad = layer.load(); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Cj_SingleStation/Cj_CollectionOfSingleProductDefectsUserList', |
| | | url: GetWEBURL() + '/Sc_KeyElementBinding/HistoryInfo_Temp', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | data: { "HBillNo": HBillNo, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | |
| | | $("#HDeptID").val(data1.data[0]["HDeptID"]); |
| | | $("#HDeptName").val(data1.data[0]["车é´"]); |
| | | $("#HProcName").val(data1.data[0]["å·¥åº"]); |
| | | $("#HProcID").val(data1.data[0]["HProcID"]); |
| | | $("#HSourceID").val(data1.data[0]["HSourceID"]); |
| | | $("#HSourceName").val(data1.data[0]["çäº§èµæº"]); |
| | | $("#HCheckEmpID").val(data1.data[0]["HCheckEmpID"]); |
| | | $("#HCheckEmpName").val(data1.data[0]["è´¨æ£å"]); |
| | | $("#HEmpID").val(data1.data[0]["HCheckEmpID"]); |
| | | $("#HEmpName").val(data1.data[0]["è´¨æ£å"]); |
| | | $("#HGroupID").val(data1.data[0]["HGroupID"]); |
| | | $("#HGroupName").val(data1.data[0]["ç产çç»"]); |
| | | layer.close(ajaxLoad); |
| | | |
| | | //layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | |
| | | for (var i = 0; i < data.length; i++) { |
| | | rowarr.push({ |
| | | "HBarCode_P": data[i].产åç , "HPartsBarCode": "", "HPartsQty": data[i].ååå项ç¨é, "HBindingQty": 0 |
| | | , "HMaterID": data[i].åé¡¹ç©æID, "HMaterNumber": "", "HMaterName": "", "HMaterModel": "", "HBatchNo": "" |
| | | , "HMaterID": data[i].åé¡¹ç©æID, "HMaterNumber": data[i].åé¡¹ç©æä»£ç , "HMaterName": data[i].åé¡¹ç©æåç§°, "HMaterModel": data[i].åé¡¹è§æ ¼åå·, "HBatchNo": "" |
| | | , "HSourceID": $("#HSourceID").val(), "HEquipID": 0, "HGroupID": $("#HGroupID").val(), "HWorkerID": $("#HEmpID").val() |
| | | , "HScanDate": new Date(), "HSourceInterID": $("#HICMOInterID").val() |
| | | , "HSourceEntryID": $("#HICMOEntryID").val(), "HSourceBillNo": $("#HICMOBillNo").val() |
| | |
| | | sSubStr = JSON.parse(sSubStr); |
| | | for (var i = 0; i < sSubStr.length; i++) { |
| | | if (sSubStr[i].HBarCode == "" || sSubStr[i].HBarCode == undefined || sSubStr[i].HBarCode == null) { |
| | | layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,é
ä»¶ç æªç»å®!", { icon: 5, btn: ['确认'], time: 4000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg("ç»å®ä¿¡æ¯ç¬¬" + (i + 1) + "è¡,é
ä»¶ç æªç»å®!", { icon: 5, btn: ['确认'], time: 4000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | } |
| | |
| | | , { field: 'HUsableQty', title: 'å©ä½å¯ç¨æ°é', width: 130 } |
| | | , { field: 'HProQty', title: 'æµè½¬å¡æ°é', width: 110, edit: 'text' } |
| | | , { field: 'HBatchNo', title: 'æ¹å·', width: 110, edit: 'text' } |
| | | , { field: 'HGroupNumber', title: 'çç»', width: 110, edit: 'text' } |
| | | , { field: 'HBatchManager', title: 'å¯ç¨æ¹æ¬¡', width: 110, hide: true } |
| | | , { field: 'HRoutingInterID', title: 'å·¥èºè·¯çº¿å
ç ', width: 150, hide: true } |
| | | , { field: 'HRoutingName', title: 'å·¥èºè·¯çº¿', width: 170, edit: 'text', event: "HRoutingName" } |
| | | , { field: 'HSheetQty', title: 'æåæµè½¬å¡å¼ æ°', width: 130 } |
| | |
| | | "HICMOInterID": 0, "HICMOEntryID": 0, "HICMOBillNo": "", "HMaterID": 0, "ç©æä»£ç ": "" |
| | | , "ç©æåç§°": "", "è§æ ¼åå·": "", "HQty": 0, "HFinishQty": 0, "HUsableQty": 0 |
| | | , "HProQty": 0, "HRoutingInterID": 0, "HRoutingName": "", "HSheetQty": 0 |
| | | , "HInterID": 0, "HBillNo": "", "HBatchNo": "" |
| | | , "HInterID": 0, "HBillNo": "", "HBatchNo": "", "HBatchManager": "", "HGroupNumber": "" |
| | | }]; |
| | | |
| | | option.data = rowdata; |
| | |
| | | , "è§æ ¼åå·": subdata[i].è§æ ¼åå·, "HQty": subdata[i].HQty, "HFinishQty": subdata[i].HFinishQty |
| | | , "HUsableQty": subdata[i].HUsableQty, "HProQty": subdata[i].HProQty, "HRoutingInterID": subdata[i].HRoutingInterID |
| | | , "HRoutingName": subdata[i].HRoutingName, "HSheetQty": subdata[i].HSheetQty, "HDate": formatDate(subdata[i].HDate) |
| | | , "HInterID": HInterID, "HBillNo": HBillNo, "HBatchNo": "" |
| | | , "HInterID": HInterID, "HBillNo": HBillNo, "HBatchNo": "", "HBatchManager": subdata[i].æ¯å¦å¯ç¨æ¹æ¬¡, "HGroupNumber": "" |
| | | } |
| | | ) |
| | | } |
| | |
| | | , { field: 'HUsableQty', title: 'å©ä½å¯ç¨æ°é', width: 130 } |
| | | , { field: 'HProQty', title: 'æµè½¬å¡æ°é', width: 110, edit: 'text' } |
| | | , { field: 'HBatchNo', title: 'æ¹å·', width: 110, edit: 'text' } |
| | | , { field: 'HGroupNumber', title: 'çç»', width: 110, edit: 'text' } |
| | | , { field: 'HBatchManager', title: 'å¯ç¨æ¹æ¬¡', width: 110, hide: true } |
| | | , { field: 'HRoutingInterID', title: 'å·¥èºè·¯çº¿å
ç ', width: 150, hide: true } |
| | | , { field: 'HRoutingName', title: 'å·¥èºè·¯çº¿', width: 170, edit: 'text', event: "HRoutingName" } |
| | | , { field: 'HSheetQty', title: 'æåæµè½¬å¡å¼ æ°', width: 130 } |
| | |
| | | layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,ç产订å主å
ç è·åå¼å¸¸ï¼è¯·è系管çåå¤ç!", { icon: 5, btn: ['确认'], time: 4000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | if (sSubStr[i].HBatchManager == "æ¯" && sSubStr[i].HBatchNo == "") { |
| | | layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,ç©æå¯ç¨æ¹æ¬¡ç®¡çï¼è¯·è¾å
¥æ¹å·ä¿¡æ¯!", { icon: 5, btn: ['确认'], time: 4000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | } |
| | | } |
| | | |