From 3425237a2b54ca28fc3e3c5f7c35a7fbef4e15fa Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期一, 29 十二月 2025 09:19:29 +0800
Subject: [PATCH] 1
---
WebTM/views/车间管理/工序流转卡/Sc_ProcessExchangeBill.html | 483 +++++++++++++++++++++++++++++------------------------
1 files changed, 265 insertions(+), 218 deletions(-)
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html"
index 9f66a95..0c75c29 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\267\245\345\272\217\346\265\201\350\275\254\345\215\241/Sc_ProcessExchangeBill.html"
@@ -15,6 +15,7 @@
<script src="../../../layuiadmin/Scripts/webConfig.js"></script>
<script src="../../../layuiadmin/PubCustom.js"></script>
<script src="../../../layuiadmin/PageTitle.js"></script>
+ <script src="../../../layuiadmin/MESLanguage.js"></script>
<style>
.main-btn { /*澶撮儴涓绘寜閽�*/
padding: 0 2px; /*璋冩暣鎸夐挳宸﹀彸绌洪殭澶у皬*/
@@ -55,19 +56,19 @@
<div class="layui-card-header">
<div class="layui-btn-group">
<button type="button" id="set_SaveBill" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btnSave">淇濆瓨</button>
- <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">閫�鍑�</button>
- <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btn_print">鎵撳嵃</button>
+ <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel" id="Cancel">閫�鍑�</button>
+ <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btn_print" id="btn_print">鎵撳嵃</button>
<button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="HideColumn" id="HideColumn">闅愯棌鍒楄缃�</button>
</div>
</div>
<div class="layui-tab" lay-filter="tab-POStockInBill">
- <h1 style="text-align:center;"><b>宸ュ簭娴佽浆鍗�</b></h1>
+ <h1 style="text-align:center;" id="BT_GXLZK"><b>宸ュ簭娴佽浆鍗�</b></h1>
<ul class="layui-tab-title" lay-filter="tab-all">
<li lay-id="1" style="padding:1px;" class="layui-this">鍩烘湰淇℃伅</li>
- <!--<li lay-id="5" style="padding:1px;">缇婃瘺淇℃伅</li>-->
- <li lay-id="2" style="padding:1px;">鍏朵粬淇℃伅</li>
- <li lay-id="3" style="padding:1px;">妫�绉荤エ淇℃伅</li>
- <li lay-id="4" style="padding:1px;">鍒跺崟淇℃伅</li>
+ <li lay-id="2" style="padding:1px;">缇婃瘺淇℃伅</li>
+ <li lay-id="3" style="padding:1px;">鍏朵粬淇℃伅</li>
+ <li lay-id="4" style="padding:1px;">妫�绉荤エ淇℃伅</li>
+ <li lay-id="5" style="padding:1px;">鍒跺崟淇℃伅</li>
</ul>
<div class="layui-tab-content">
<!--鍩烘湰淇℃伅-->
@@ -75,7 +76,7 @@
<div class="layui-form-item" style="padding-top: 3px;">
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鍗曟嵁鍙�</label>
+ <label class="layui-form-label" id="BT_HBillNo">鍗曟嵁鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly>
<input type="hidden" name="HInterID" id="HInterID" value="0">
@@ -83,19 +84,19 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鏃ユ湡</label>
+ <label class="layui-form-label" id="BT_HDate">鏃ユ湡</label>
<div class="layui-input-inline">
<input type="datetime" class="layui-input" name="HDate" id="HDate" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鏌撹壊瑕佹眰</label>
+ <label class="layui-form-label" id="BT_HColorRemark">鏌撹壊瑕佹眰</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HColorRemark" id="HColorRemark" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label">閿�鍞鍗曠被鍨�</label>
+ <label class="layui-form-label" id="BT_HMainSourceBillSubType">閿�鍞鍗曠被鍨�</label>
<div class="layui-input-inline">
<select name="HMainSourceBillSubType" id="HMainSourceBillSubType" lay-filter="HMainSourceBillSubType" disabled="disabled" style="width: 180px; ">
<option style="color:blue;" selected="selected" value=""></option>
@@ -119,7 +120,7 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">浜у搧鍚嶇О</label>
+ <label class="layui-form-label" id="BT_HMaterName2">浜у搧鍚嶇О</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterName2" id="HMaterName2" onmouseover="this.title=this.value" style="float: left; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" name="HMaterID2" id="HMaterID2" value="0">
@@ -129,19 +130,19 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">浜у搧浠g爜</label>
+ <label class="layui-form-label" id="BT_HMaterNumber2">浜у搧浠g爜</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterNumber2" id="HMaterNumber2" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">浜у搧瑙勬牸</label>
+ <label class="layui-form-label" id="BT_HMaterModel2">浜у搧瑙勬牸</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterModel2" id="HMaterModel2" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">椤圭洰缂栧彿</label>
+ <label class="layui-form-label" id="BT_HProjectNum">椤圭洰缂栧彿</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HProjectNum" id="HProjectNum">
</div>
@@ -155,27 +156,27 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鐢熶骇璁㈠崟鍙�</label>
+ <label class="layui-form-label" id="BT_HICMOBillNo">鐢熶骇璁㈠崟鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HICMOBillNo" id="HICMOBillNo" style="background-color:#efefef4d;" readonly>
<input type="hidden" name="HICMOInterID" id="HICMOInterID" value="0">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">娴佽浆鍗℃暟閲�</label>
+ <label class="layui-form-label" id="BT_HQty">娴佽浆鍗℃暟閲�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HQty" id="HQty">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鍗曚綅</label>
+ <label class="layui-form-label" id="BT_HUnitName">鍗曚綅</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HUnitName" id="HUnitName" style="background-color:#efefef4d;" readonly>
<input type="hidden" name="HUnitID" id="HUnitID" value="0">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鎵规鍙�</label>
+ <label class="layui-form-label" id="BT_HBatchNo">鎵规鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HBatchNo" id="HBatchNo" value="">
</div>
@@ -202,7 +203,7 @@
</div>-->
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">閫夊崟鍙�</label>
+ <label class="layui-form-label" id="BT_textBox2">閫夊崟鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="textBox2" id="textBox2" style="float: left; background-color: #efefef4d; display: inline-block;" readonly>
<!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchICMOBill" id="btnSearchICMOBill" style="width: 40px;">
@@ -211,7 +212,7 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">宸ヨ壓璺嚎</label>
+ <label class="layui-form-label" id="BT_RoutingBill">宸ヨ壓璺嚎</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="RoutingBill" id="RoutingBill" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" class="layui-input" name="HRoutingBillID" id="HRoutingBillID">
@@ -221,13 +222,13 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">骞呭</label>
+ <label class="layui-form-label" id="BT_HWidth">骞呭</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HWidth" id="HWidth" style="background-color: #efefef4d; float: left;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鐢熶骇骞呭</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HWidth_New">鐢熶骇骞呭</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HWidth_New" lay-verify="HWidth_New" id="HWidth_New" value="0" style="background-color:#efefef4d;" readonly>
</div>
@@ -258,25 +259,25 @@
</div>
</div>-->
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">杈呮暟閲�</label>
+ <label class="layui-form-label" id="BT_HAuxQty">杈呮暟閲�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HAuxQty" id="HAuxQty" style="float: left;" value="0">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鎷嗗垎鍙�</label>
+ <label class="layui-form-label" id="BT_HSplitNo">鎷嗗垎鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HSplitNo" id="HSplitNo" style="float: left;" value="0">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鍒嗙几鍙�</label>
+ <label class="layui-form-label" id="BT_HSplitColorQty">鍒嗙几鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HSplitColorQty" id="HSplitColorQty" style="float: left;" value="0">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">妯$┐鍙�</label>
+ <label class="layui-form-label" id="BT_HMouldNum">妯$┐鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMouldNum" id="HMouldNum" style="float: left;" value="">
</div>
@@ -284,13 +285,13 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鎷嗗垎鎬婚噺</label>
+ <label class="layui-form-label" id="BT_HSplitSumQty">鎷嗗垎鎬婚噺</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HSplitSumQty" id="HSplitSumQty" style="float: left;" value="0">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">杈呭姪鍗曚綅</label>
+ <label class="layui-form-label" id="BT_HAuxUnitName">杈呭姪鍗曚綅</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HAuxUnitName" id="HAuxUnitName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" class="layui-input" name="HAuxUnit" id="HAuxUnit" value="0">
@@ -312,13 +313,13 @@
</div>
</div>-->
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鍏嬮噸</label>
+ <label class="layui-form-label" id="BT_HWeight">鍏嬮噸</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HWeight" id="HWeight" style="float: left;background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鐢熶骇鍏嬮噸</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HWeight_New">鐢熶骇鍏嬮噸</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HWeight_New" lay-verify="HWeight_New" id="HWeight_New" value="0" style="background-color:#efefef4d;" readonly>
</div>
@@ -326,29 +327,35 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">涓氬姟鍛�</label>
+ <label class="layui-form-label" id="BT_HEmpName">涓氬姟鍛�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HEmpName" id="HEmpName" style="float: left; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" class="layui-input" name="HEmpID" id="HEmpID">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">瀹㈡埛</label>
+ <label class="layui-form-label" id="BT_HCusNames">瀹㈡埛</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HCusNames" id="HCusNames" style="float: left; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" class="layui-input" name="HCusID" id="HCusID">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label"> 鏉愭枡瑙勬牸</label>
+ <label class="layui-form-label" id="BT_HMaterModel"> 鏉愭枡瑙勬牸</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterModel" id="HMaterModel" style="float: left;">
+ </div>
+ </div>
+ <div class="layui-col-xs3 layui-inline">
+ <label class="layui-form-label" id="BT_HMateOutBatchNo">鍘熸枡鎵规</label>
+ <div class="layui-input-inline">
+ <input type="text" class="layui-input" name="HMateOutBatchNo" id="HMateOutBatchNo">
</div>
</div>
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">璁㈠崟绛夌骇</label>
+ <label class="layui-form-label" id="BT_HName">璁㈠崟绛夌骇</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HName" id="HName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" class="layui-input" name="HOrderLevID" id="HOrderLevID" value="0">
@@ -358,13 +365,13 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">杈呮暟閲�2</label>
+ <label class="layui-form-label" id="BT_HAuxQty2">杈呮暟閲�2</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HAuxQty2" id="HAuxQty2" style="float: left;" value="0">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">杈呭姪鍗曚綅2</label>
+ <label class="layui-form-label" id="BT_HAuxUnitName2">杈呭姪鍗曚綅2</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HAuxUnitName2" id="HAuxUnitName2" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" class="layui-input" name="HAuxUnit2" id="HAuxUnit2" value="0">
@@ -376,7 +383,7 @@
</div>
<div class="layui-row">
<div class="layui-col-xs6 layui-inline">
- <label class="layui-form-label" style="width:12.5%">澶囨敞</label>
+ <label class="layui-form-label" style="width:12.5%" id="BT_HRemark">澶囨敞</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HRemark" id="HRemark" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value" style="width: 610px;">
</div>
@@ -384,13 +391,13 @@
</div>
<div class="layui-row">
<div class="layui-col-xs6 layui-inline">
- <label class="layui-form-label" style="width:12.5%">鐧藉澂瑕佹眰</label>
+ <label class="layui-form-label" style="width:12.5%" id="BT_HRemark2">鐧藉澂瑕佹眰</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HRemark2" id="HRemark2" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value" style="width: 610px; background-color: #efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鐢熶骇瑙勬牸</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HRemark_New">鐢熶骇瑙勬牸</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HRemark_New" lay-verify="HRemark_New" id="HRemark_New" style="background-color:#efefef4d;" readonly>
</div>
@@ -398,7 +405,7 @@
</div>
<div class="layui-row">
<div class="layui-col-xs6 layui-inline">
- <label class="layui-form-label" style="width:12.5%">搴曢儴澶囨敞</label>
+ <label class="layui-form-label" style="width:12.5%" id="BT_HRemark3">搴曢儴澶囨敞</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HRemark3" id="HRemark3" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value" style="width: 610px;">
</div>
@@ -411,19 +418,19 @@
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">姣涢珮</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HHeight">姣涢珮</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HHeight" id="HHeight">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">瀵告暟缁勭粐</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HInches">瀵告暟缁勭粐</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HInches" id="HInches">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍏ㄦ瘺闀�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HAl1Long">鍏ㄦ瘺闀�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HAl1Long" id="HAl1Long">
</div>
@@ -431,19 +438,19 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍧竷瀵嗗害</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HDensity">鍧竷瀵嗗害</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HDensity" id="HDensity">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">姣涚罕鍚嶇О鍙婅鏍�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HTela">姣涚罕鍚嶇О鍙婅鏍�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HTela" id="HTela">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">搴曚笣</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HUnderTela">搴曚笣</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HUnderTela" id="HUnderTela">
</div>
@@ -451,13 +458,13 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">瀹氬瀷娴嗘枡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HSizing">瀹氬瀷娴嗘枡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HSizing" id="HSizing">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">浜よ揣鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HSellDate">浜よ揣鏃ユ湡</label>
<div class="layui-input-inline">
<input type="date" class="layui-input" name="HSellDate" id="HSellDate" style="padding-left: 32px;">
</div>
@@ -470,7 +477,7 @@
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鐢熶骇杞﹂棿</label>
+ <label class="layui-form-label" id="BT_HWorkShopName">鐢熶骇杞﹂棿</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HWorkShopName" id="HWorkShopName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" name="HWorkShopID" id="HWorkShopID" value="0">
@@ -487,7 +494,7 @@
</div>-->
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">濮斿鍔犲伐鍗曚綅</label>
+ <label class="layui-form-label" id="BT_HSupName">濮斿鍔犲伐鍗曚綅</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HSupName" id="HSupName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" name="HSupID" id="HSupID" value="0">
@@ -497,7 +504,7 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">璁㈠崟璺熻釜鍙�</label>
+ <label class="layui-form-label" id="BT_HOrderProcNO">璁㈠崟璺熻釜鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly>
</div>
@@ -505,7 +512,7 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">瀛愪欢鍚嶇О</label>
+ <label class="layui-form-label" id="BT_HMaterName">瀛愪欢鍚嶇О</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterName" id="HMaterName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" name="HMaterID" id="HMaterID" value="0">
@@ -515,19 +522,19 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">瀛愪欢浠g爜</label>
+ <label class="layui-form-label" id="BT_HMaterNumber">瀛愪欢浠g爜</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">瀛愪欢瑙勬牸</label>
+ <label class="layui-form-label" id="BT_HMaterModel1">瀛愪欢瑙勬牸</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterModel1" id="HMaterModel1" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鍥惧彿鐗堟湰</label>
+ <label class="layui-form-label" id="BT_HPicNumVer">鍥惧彿鐗堟湰</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HPicNumVer" id="HPicNumVer" style="background-color:#efefef4d;" readonly>
</div>
@@ -535,26 +542,26 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鍗曚綅浠g爜</label>
+ <label class="layui-form-label" id="BT_HUnitNumber">鍗曚綅浠g爜</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HUnitNumber" id="HUnitNumber" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">涓昏鏉愭枡</label>
+ <label class="layui-form-label" id="BT_HMainMaterID">涓昏鏉愭枡</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMainMaterID" id="HMainMaterID" value="0" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鐢熶骇鏁伴噺</label>
+ <label class="layui-form-label" id="BT_HPlanQty">鐢熶骇鏁伴噺</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HPlanQty" id="HPlanQty" value="0" style=" background-color: #efefef4d; width: 90px; float: left; margin-right: 4px;" readonly>
<input type="text" class="layui-input" name="HprocExQty" id="HprocExQty" style="background-color:#efefef4d; width: 90px;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鎬昏鍥惧彿</label>
+ <label class="layui-form-label" id="BT_HPicNumAssemble">鎬昏鍥惧彿</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HPicNumAssemble" id="HPicNumAssemble" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly>
</div>
@@ -562,25 +569,20 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鍏抽敭鏉愭枡</label>
+ <label class="layui-form-label" id="BT_HKeyMaterID">鍏抽敭鏉愭枡</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HKeyMaterID" id="HKeyMaterID" value="0" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">HICMOEntryID</label>
+ <label class="layui-form-label" id="BT_HICMOEntryID">HICMOEntryID</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HICMOEntryID" id="HICMOEntryID" value="0" style="background-color:#efefef4d;" readonly>
</div>
</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="HMateOutBatchNo" id="HMateOutBatchNo" style="background-color:#efefef4d;" readonly>
- </div>
- </div>
- <div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鏉愯川</label>
+ <label class="layui-form-label" id="BT_HMaterTexture">鏉愯川</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HMaterTexture" id="HMaterTexture">
</div>
@@ -598,7 +600,7 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鐗堟湰</label>
+ <label class="layui-form-label" id="BT_HVerNum">鐗堟湰</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly>
</div>
@@ -616,7 +618,7 @@
</div>
</div>-->
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鑺綋鐗╂枡浠g爜</label>
+ <label class="layui-form-label" id="BT_HXTNumber">鑺綋鐗╂枡浠g爜</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HXTNumber" id="HXTNumber">
</div>
@@ -625,25 +627,25 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">璁″垝寮�宸ユ棩鏈�</label>
+ <label class="layui-form-label" id="BT_HPlanBeginDate">璁″垝寮�宸ユ棩鏈�</label>
<div class="layui-input-inline">
<input type="date" class="layui-input" name="HPlanBeginDate" id="HPlanBeginDate" style="padding-left: 32px;">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">璁″垝瀹屽伐鏃ユ湡</label>
+ <label class="layui-form-label" id="BT_HPlanEndDate">璁″垝瀹屽伐鏃ユ湡</label>
<div class="layui-input-inline">
<input type="date" class="layui-input" name="HPlanEndDate" id="HPlanEndDate" style="padding-left: 32px;">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">琛ユ枡鍘熷洜</label>
+ <label class="layui-form-label" id="BT_HExplanation">琛ユ枡鍘熷洜</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HExplanation" id="HExplanation" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value">
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鑺綋瑙勬牸鍨嬪彿</label>
+ <label class="layui-form-label" id="BT_HXTModel">鑺綋瑙勬牸鍨嬪彿</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HXTModel" id="HXTModel">
</div>
@@ -651,7 +653,7 @@
</div>
<div class="layui-row">
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">妯″叿璁惧</label>
+ <label class="layui-form-label" id="BT_HEquipMentName">妯″叿璁惧</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HEquipMentName" id="HEquipMentName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<input type="hidden" name="HEquipMentID" id="HEquipMentID" value="0">
@@ -663,7 +665,7 @@
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">鏃ヨ鍒掑伐鍗曢�夊崟鍙�</label>
+ <label class="layui-form-label" id="BT_HWorkBillSortNo">鏃ヨ鍒掑伐鍗曢�夊崟鍙�</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HWorkBillSortNo" id="HWorkBillSortNo" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchWorkBillSort" id="btnSearchWorkBillSort" style="width: 40px;">
@@ -672,7 +674,7 @@
</div>
</div>
<div class="layui-col-xs3 layui-inline">
- <label class="layui-form-label">琛ユ枡鏍囪</label>
+ <label class="layui-form-label" id="BT_isHBLFlag">琛ユ枡鏍囪</label>
<div class="layui-input-inline">
<input type="checkbox" name="isHBLFlag" id="isHBLFlag" value="false" lay-skin="primary" lay-filter="isHBLFlag">
<input type="hidden" name="HBLFlag" id="HBLFlag" value="false" lay-skin="primary" lay-filter="HBLFlag">
@@ -681,25 +683,25 @@
</div>
<div class="layui-row">
<div class="layui-col-xs6 layui-inline">
- <label class="layui-form-label" style="width:12.5%">婧愬崟瀹㈡埛浠g爜</label>
+ <label class="layui-form-label" style="width:12.5%" id="BT_HCusNumber">婧愬崟瀹㈡埛浠g爜</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HCusNumber" id="HCusNumber" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value" style="width:610px;">
</div>
</div>
<div class="layui-col-xs6 layui-inline">
- <label class="layui-form-label" style="width:12.5%">鍖呰鏍囪瘑</label>
+ <label class="layui-form-label" style="width:12.5%" id="BT_HPickLabel">鍖呰鏍囪瘑</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HPickLabel" id="HPickLabel" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value" style="width:610px;">
</div>
</div>
<div class="layui-col-xs6 layui-inline">
- <label class="layui-form-label" style="width:12.5%">鍖呰鏍囪瘑缂栫爜</label>
+ <label class="layui-form-label" style="width:12.5%" id="BT_HPickLabelNumber">鍖呰鏍囪瘑缂栫爜</label>
<div class="layui-input-inline">
<input type="text" class="layui-input" name="HPickLabelNumber" id="HPickLabelNumber" placeholder="璇疯緭鍏ュ唴瀹�" onmouseover="this.title=this.value" style="width:610px;">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">璁㈠崟璺熻釜鍙�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HPlanOrderProcNo">璁㈠崟璺熻釜鍙�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HPlanOrderProcNo" id="HPlanOrderProcNo" value="" style="background-color:#efefef4d;" readonly>
</div>
@@ -712,13 +714,13 @@
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">浜у搧CODE</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HProdMaterCode">浜у搧CODE</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HProdMaterCode" id="HProdMaterCode">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">閿�鍞鍗曞彿</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HSeOrderBillNo">閿�鍞鍗曞彿</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HSeOrderBillNo" id="HSeOrderBillNo">
<!--<input type="hidden" class="layui-input" name="HSeOrderEntryID" id="HSeOrderEntryID">
@@ -726,7 +728,7 @@
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">瀹㈡埛绠�绉�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HCusShortName">瀹㈡埛绠�绉�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HCusShortName" id="HCusShortName">
</div>
@@ -734,19 +736,19 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 115px;padding: 9px 0px;">瀹㈡埛瑕佹眰鏉愭枡鎴愬垎</label>
+ <label class="layui-form-label" style="width: 115px;padding: 9px 0px;" id="BT_HCusNeedMaterial">瀹㈡埛瑕佹眰鏉愭枡鎴愬垎</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HCusNeedMaterial" id="HCusNeedMaterial">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">棰勮鍑鸿揣鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HPlanSendGoodsDate">棰勮鍑鸿揣鏃ユ湡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="date" class="layui-input" name="HPlanSendGoodsDate" id="HPlanSendGoodsDate" style="padding-left: 32px;">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">浜у搧鍚嶇О</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HProdMaterName">浜у搧鍚嶇О</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HProdMaterName" id="HProdMaterName">
</div>
@@ -754,19 +756,19 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">瀹㈡埛鍚嶇О</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HCusName">瀹㈡埛鍚嶇О</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HCusName" id="HCusName">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鐢熶骇澶囨敞</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HWorkRemark">鐢熶骇澶囨敞</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HWorkRemark" id="HWorkRemark">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">閲嶈鎻愮ず</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HImportNote">閲嶈鎻愮ず</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HImportNote" id="HImportNote">
</div>
@@ -774,19 +776,19 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欑紪鍙稟</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_A">鍘熸潗鏂欑紪鍙稟</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterNumber_A" id="HMaterNumber_A">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欑紪鍙稡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_B">鍘熸潗鏂欑紪鍙稡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterNumber_B" id="HMaterNumber_B">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欑紪鍙稢</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_C">鍘熸潗鏂欑紪鍙稢</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterNumber_C" id="HMaterNumber_C">
</div>
@@ -794,19 +796,19 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欑紪鍙稤</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_D">鍘熸潗鏂欑紪鍙稤</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterNumber_D" id="HMaterNumber_D">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鐢熶骇绫诲瀷</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HProdType">鐢熶骇绫诲瀷</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HProdType" id="HProdType">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欑畝绉�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterShortName">鍘熸潗鏂欑畝绉�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterShortName" id="HMaterShortName">
</div>
@@ -814,19 +816,19 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欏唴鐮丄</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDA">鍘熸潗鏂欏唴鐮丄</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterIDA" id="HMaterIDA">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欏唴鐮丅</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDB">鍘熸潗鏂欏唴鐮丅</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterIDB" id="HMaterIDB">
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欏唴鐮丆</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDC">鍘熸潗鏂欏唴鐮丆</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterIDC" id="HMaterIDC">
</div>
@@ -834,7 +836,7 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍘熸潗鏂欏唴鐮丏</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDD">鍘熸潗鏂欏唴鐮丏</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaterIDD" id="HMaterIDD">
</div>
@@ -847,19 +849,19 @@
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍒跺崟浜�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMaker">鍒跺崟浜�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">瀹℃牳浜�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HChecker">瀹℃牳浜�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍏抽棴浜�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HCloseMan">鍏抽棴浜�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly>
</div>
@@ -867,19 +869,19 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍒跺崟鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HMakeDate">鍒跺崟鏃ユ湡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">瀹℃牳鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HCheckDate">瀹℃牳鏃ユ湡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍏抽棴鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HCloseDate">鍏抽棴鏃ユ湡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly>
</div>
@@ -887,13 +889,13 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">淇敼浜�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HUpDater">淇敼浜�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">浣滃簾浜�</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HDeleteMan">浣滃簾浜�</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly>
</div>
@@ -901,13 +903,13 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">淇敼鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HUpDateDate">淇敼鏃ユ湡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly>
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">浣滃簾鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;" id="BT_HDeleteDate">浣滃簾鏃ユ湡</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly>
</div>
@@ -942,8 +944,8 @@
<script type="text/html" id="toolbarDemo">
<div class="layui-btn-container">
- <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine"><i class="layui-icon layui-icon-form"></i>澧炲姞涓�琛�</button>
- <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
+ <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine" id="BT_AddLine"><i class="layui-icon layui-icon-form"></i>澧炲姞涓�琛�</button>
+ <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine" id="BT_CopyLine"><i class="layui-icon layui-icon-form"></i>澶嶅埗涓�琛�</button>
</div>
</script>
<input id="HItemID" name="HItemID" type="hidden" />
@@ -1054,7 +1056,8 @@
"HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false",
"HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0,
"HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0,
- "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": ""
+ "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "",
+ "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0
}];
table.render(option);
}
@@ -1107,7 +1110,8 @@
"HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false",
"HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0,
"HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0,
- "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": ""
+ "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "",
+ "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0
}];
table.render(option);
}
@@ -1163,6 +1167,9 @@
else {
layer.alert("鏈煡鎿嶄綔绫诲瀷锛�", { icon: 5 });
}
+
+
+ initFunction(1,HModName, sessionStorage["HTranSlate"]);
//#endregion
@@ -1187,7 +1194,8 @@
, { field: 'HSupFlag', title: '鏄惁濮斿', templet: '#HSupFlag' }
, { field: 'HQty', title: '娴佽浆鍗℃暟閲�', totalRow: true, edit: 'text', width:120 }
, { field: 'HSNCtrl', title: 'SN杩囩珯鎺у埗', templet: "#HSNCtrl", width: 120 }
-
+ , { field: 'HRoutingBillMainID', title: '宸ヨ壓璺嚎ID', hide: true }
+ , { field: 'HRoutingBillEntryID', title: '宸ヨ壓璺嚎瀛怚D', hide: true }
//, { field: 'HWorkRemark', title: '鍔犲伐璇存槑', edit: 'text' }
//, { field: 'HDeptID', title: '閮ㄩ棬ID', hide: true }
//, { field: 'HDeptNumber', title: '閮ㄩ棬浠g爜', edit: 'text', event: "HDeptCheck" }
@@ -1249,7 +1257,8 @@
"HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false",
"HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0,
"HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0,
- "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": ""
+ "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "",
+ "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0
};
switch (obj.event) {
case 'btn-AddLine':
@@ -1270,10 +1279,10 @@
case 'btn-CopyLine':
var copydata = JSON.stringify(data);
if (data.length <= 0) {
- layer.msg("璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒");
+ layer.msg(get_MessageError("[0000-2-001]璇烽�夋嫨闇�瑕佸鍒剁殑涓�琛岋紒", sessionStorage["HTranSlate"]));
}
else if (data.length > 1) {
- layer.msg("鍙兘閫夋嫨澶嶅埗涓�琛岋紒");
+ layer.msg(get_MessageError("[0000-2-002]鍙兘閫夋嫨澶嶅埗涓�琛岋紒", sessionStorage["HTranSlate"]));
}
else {
var copydata2 = copydata.substring(1, copydata.length);//鍘婚櫎棣栬瀛楃'['
@@ -1295,6 +1304,7 @@
}
break;
}
+ initFunction(1,HModName, sessionStorage["HTranSlate"]);
});
//琛屽唴浜嬩欢
@@ -1302,9 +1312,9 @@
var data = obj.data;
var rowIndex = $(obj.tr).attr("data-index");
if (obj.event === 'del') {
- layer.confirm('鐪熺殑鍒犻櫎琛屽悧锛�', function (index) {
+ layer.confirm(get_MessageError('[0000-1-003]鐪熺殑鍒犻櫎琛屽悧锛�', sessionStorage["HTranSlate"]), function (index) {
if (rowIndex === '0') {
- layer.msg('棣栬鏃犳硶鍒犻櫎锛侊紒锛�');
+ layer.msg(get_MessageError('[0000-2-003]棣栬鏃犳硶鍒犻櫎锛侊紒锛�', sessionStorage["HTranSlate"]));
} else {
obj.del();
option.data = table.cache["mainTable"];//灏嗘暟鎹粦瀹氬埌data涓�
@@ -1332,7 +1342,7 @@
var iframeWindow = window['layui-layer-iframe' + index];
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
obj.update({
HProcName: checkStatus.data[0].宸ュ簭鍚嶇О
@@ -1371,7 +1381,7 @@
var iframeWindow = window['layui-layer-iframe' + index];
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
obj.update({
HCenterName: checkStatus.data[0].宸ヤ綔涓績鍚嶇О
@@ -1403,7 +1413,7 @@
var iframeWindow = window['layui-layer-iframe' + index];
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
obj.update({
HSupName: checkStatus.data[0].渚涘簲鍟嗗悕绉�
@@ -1435,7 +1445,7 @@
var iframeWindow = window['layui-layer-iframe' + index];
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
obj.update({
HDeptName: checkStatus.data[0].閮ㄩ棬鍚嶇О
@@ -1478,30 +1488,41 @@
}
});
- $("#HQty").on("input", function (e) {
- //鑾峰彇input杈撳叆鐨勫��
- if (parseInt(e.delegateTarget.value)> parseInt($("#HPlanQty").val())) {
- return layer.msg("鎷嗗垎鏁伴噺涓嶈兘瓒呰繃鍙媶鍒嗘暟閲�!");
- }
- else {
+ $(document).ready(function () {
+ var currentValue = $("#HQty").val(); // 瀛樺偍褰撳墠鍊肩殑鍙橀噺
+
+ $("#HQty").on("input", function (e) {
+ var previousValue = currentValue; // 鍙樻洿鍓嶇殑鍊�
+ currentValue = $(this).val(); // 鏇存柊褰撳墠鍊�
+
+ //鑾峰彇input杈撳叆鐨勫��
+ if (parseInt(e.delegateTarget.value) > parseInt($("#HPlanQty").val())) {
+ $("#HQty").val(previousValue);
+ currentValue = previousValue;
+ return layer.msg(get_MessageError("[3772-2-004]鎷嗗垎鏁伴噺涓嶈兘瓒呰繃鍙媶鍒嗘暟閲�!", sessionStorage["HTranSlate"]));
+ }
+ else {
+ for (var i = 0; i < option.data.length; i++) {
+ option.data[i]["HQty"] = e.delegateTarget.value;
+ }
+ }
+ table.render(option);
+
for (var i = 0; i < option.data.length; i++) {
- option.data[i]["HQty"] = e.delegateTarget.value;
+ $('#HSupFlag' + (i + 1)).find("option[value='" + (option.data[i].HSupFlag == "false" ? "false" : "true") + "']").attr("selected", true);
+
+ if (option.data[i].HSNCtrl.toString() == "true") {
+ $('#HSNCtrl' + (i + 1)).attr("checked", true);
+ }
}
- }
- table.render(option);
- for (var i = 0; i < option.data.length; i++) {
- $('#HSupFlag' + (i + 1)).find("option[value='" + (option.data[i].HSupFlag == "false" ? "false" : "true") + "']").attr("selected", true);
+ form.render('select');
+ form.render('checkbox');
- if (option.data[i].HSNCtrl.toString() == "true") {
- $('#HSNCtrl' + (i + 1)).attr("checked", true);
- }
- }
-
- form.render('select');
- form.render('checkbox');
-
+ });
});
+
+
//鐩戝惉鍗曞厓鏍肩紪杈� 鍗曞厓鏍肩紪杈戝悗 鍙樻洿
table.on('edit(mainTable)', function (obj) {
@@ -1565,7 +1586,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
$("#HMaterName2").val(checkStatus.data[0].HName);
$("#HMaterID2").val(checkStatus.data[0].HItemID);
@@ -1629,19 +1650,19 @@
}
}, error: function () {
layer.close(ajaxLoad);
- layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ layer.alert(get_MessageError("[0000-1-002]鎺ュ彛璇锋眰澶辫触!", sessionStorage["HTranSlate"]), { icon: 5 });
}
})
} else {
- layer.msg("璇峰厛淇濆瓨,鍦ㄨ繘琛屾墦鍗�!");
+ layer.msg(get_MessageError("[3772-2-005]璇峰厛淇濆瓨,鍦ㄨ繘琛屾墦鍗�!", sessionStorage["HTranSlate"]));
}
} else {
layer.close(ajaxLoad);
}
}, error: function () {
layer.close(ajaxLoad);
- layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ layer.alert(get_MessageError("[0000-1-002]鎺ュ彛璇锋眰澶辫触!", sessionStorage["HTranSlate"]), { icon: 5 });
}
});
@@ -1666,7 +1687,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
$("#HMaterModel1").val(checkStatus.data[0].瑙勬牸鍨嬪彿);
$("#HMaterNumber").val(checkStatus.data[0].鐗╂枡浠g爜);
@@ -1706,7 +1727,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
$("#HEquipMentName").val(checkStatus.data[0].璁惧鍚嶇О);
$("#HEquipMentID").val(checkStatus.data[0].hmainid);
@@ -1749,7 +1770,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
$("#HWorkShopName").val(checkStatus.data[0].閮ㄩ棬鍚嶇О);
$("#HWorkShopID").val(checkStatus.data[0].HItemID);
@@ -1787,7 +1808,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
$("#HSupName").val(checkStatus.data[0].渚涘簲鍟嗗悕绉�);
$("#HSupID").val(checkStatus.data[0].HItemID);
@@ -1820,7 +1841,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
GetICMOBillValue(checkStatus.data[0].hmainid, checkStatus.data[0].HEntryID)
@@ -1844,7 +1865,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
$("#HWorkBillSortNo").val(checkStatus.data[0].鍗曟嵁鍙�);
GetICMOBillValue(checkStatus.data[0].婧愬崟涓诲唴鐮�, checkStatus.data[0].婧愬崟瀛愬唴鐮�)
@@ -1872,7 +1893,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
getRoutingBill(checkStatus.data[0].鍗曟嵁鍙�);
@@ -1899,7 +1920,7 @@
var Tablerow = [];
if (result.data.length == 0) {
- return layer.msg("璇风粦瀹氬搴旂殑宸ヨ壓璺嚎!");
+ return layer.msg(get_MessageError("[3772-2-006]璇风粦瀹氬搴旂殑宸ヨ壓璺嚎!", sessionStorage["HTranSlate"]));
}
$("#RoutingBill").val(data[0].鍗曟嵁鍙�)
@@ -1914,7 +1935,7 @@
"HQty": HLZQty, "HSNCtrl": data[i].SN杩囩珯鎺у埗 == 0 ? "false" : "true", "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0,
"HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0,
"HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": data[i].宸ヨ壓鍙傛暟, "HPicNum": data[i].鍥剧焊缂栧彿, "HProcCheckNote": data[i].鏈伐搴忕‘璁よ褰�,
- "HRelationQty_OutBad": "0"
+ "HRelationQty_OutBad": "0", "HRoutingBillMainID": data[i].hmainid, "HRoutingBillEntryID": data[i].hsubid
});
}
option.data = Tablerow;
@@ -1941,7 +1962,7 @@
//淇濆瓨鎻愪氦
form.on('submit(btnSave)', function (data) {//鎻愪氦
if ($("#HICMOInterID").val() == 0) {
- layer.msg("璇烽�夋嫨浠诲姟鍗曪紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-007]璇烽�夋嫨浠诲姟鍗曪紒", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"])});
return;
}
//if ($("#HBatchNo").val() == "" ) {
@@ -1949,97 +1970,89 @@
// return;
//}
if ($("#HQty").val() == "" || $("#HQty").val() <= 0) {
- layer.msg("鍩烘湰淇℃伅涓祦杞崱鏁伴噺涓嶈兘涓虹┖涓斾笉鑳藉皬浜庣瓑浜�0锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-010]鍩烘湰淇℃伅涓祦杞崱鏁伴噺涓嶈兘涓虹┖涓斾笉鑳藉皬浜庣瓑浜�0锛�", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
return;
}
if (!$("#HPlanBeginDate").val()) {
- layer.msg("璇烽�夋嫨璁″垝寮�宸ユ棩鏈燂紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-011]璇烽�夋嫨璁″垝寮�宸ユ棩鏈燂紒", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
return;
}
if (!$("#HPlanEndDate").val()) {
- layer.msg("璇烽�夋嫨璁″垝瀹屽伐鏃ユ湡锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-012]璇烽�夋嫨璁″垝瀹屽伐鏃ユ湡锛�", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
return;
}
var HAuxQty = $('#HAuxQty').val();
if (HAuxQty.substring(HAuxQty.length - 1, HAuxQty.length) == ".") {
- layer.msg("杈呮暟閲忕殑缁撳熬涓嶈兘鏄�.锛�");
+ layer.msg(get_MessageError("[3772-2-013]杈呮暟閲忕殑缁撳熬涓嶈兘鏄�.锛�", sessionStorage["HTranSlate"]));
return;
} else {
var ref = /^[0-9]+\.?[0-9]*$/;
if (!ref.test(HAuxQty)) {
- layer.msg("杈呮暟閲忚杈撴纭叆鏁板瓧锛�");
+ layer.msg(get_MessageError("[3772-2-014]杈呮暟閲忚杈撴纭叆鏁板瓧锛�", sessionStorage["HTranSlate"]));
return;
}
}
var HWidth = $('#HWidth').val();
if (HWidth.substring(HWidth.length - 1, HWidth.length) == ".") {
- layer.msg("骞呭鐨勭粨灏句笉鑳芥槸.锛�");
+ layer.msg(get_MessageError("[3772-2-015]骞呭鐨勭粨灏句笉鑳芥槸.锛�", sessionStorage["HTranSlate"]));
return;
} else {
var ref = /^[0-9]+$/;
if (!ref.test(HWidth)) {
- layer.msg("骞呭璇疯緭姝g‘鍏ユ暟瀛楋紒");
+ layer.msg(get_MessageError("[3772-2-016]骞呭璇疯緭姝g‘鍏ユ暟瀛楋紒", sessionStorage["HTranSlate"]));
return;
}
}
var HWeight = $('#HWeight').val();
if (HWeight.substring(HWeight.length - 1, HWeight.length) == ".") {
- layer.msg("鍏嬮噸鐨勭粨灏句笉鑳芥槸.锛�");
+ layer.msg(get_MessageError("[3772-2-017]鍏嬮噸鐨勭粨灏句笉鑳芥槸.锛�", sessionStorage["HTranSlate"]));
return;
} else {
var ref = /^[0-9]+$/;
if (!ref.test(HWeight)) {
- layer.msg("鍏嬮噸璇疯緭姝g‘鍏ユ暟瀛楋紒");
+ layer.msg(get_MessageError("[3772-2-018]鍏嬮噸璇疯緭姝g‘鍏ユ暟瀛楋紒", sessionStorage["HTranSlate"]));
return;
}
}
var HSplitNo = $('#HSplitNo').val();
if (HSplitNo.substring(HSplitNo.length - 1, HSplitNo.length) == ".") {
- layer.msg("鎷嗗垎鍙风殑缁撳熬涓嶈兘鏄�.锛�");
+ layer.msg(get_MessageError("[3772-2-019]鎷嗗垎鍙风殑缁撳熬涓嶈兘鏄�.锛�", sessionStorage["HTranSlate"]));
return;
} else {
var ref = /^[0-9]+$/;
if (!ref.test(HSplitNo)) {
- layer.msg("鎷嗗垎鍙疯杈撴纭叆鏁板瓧锛�");
+ layer.msg(get_MessageError("[3772-2-020]鎷嗗垎鍙疯杈撴纭叆鏁板瓧锛�", sessionStorage["HTranSlate"]));
return;
}
}
var HSplitSumQty = $('#HSplitSumQty').val();
if (HSplitSumQty.substring(HSplitSumQty.length - 1, HSplitSumQty.length) == ".") {
- layer.msg("鎷嗗垎鎬婚噺鐨勭粨灏句笉鑳芥槸.锛�");
+ layer.msg(get_MessageError("[3772-2-021]鎷嗗垎鎬婚噺鐨勭粨灏句笉鑳芥槸.锛�", sessionStorage["HTranSlate"]));
return;
} else {
var ref = /^[0-9]+$/;
if (!ref.test(HSplitSumQty)) {
- layer.msg("鎷嗗垎鎬婚噺璇疯緭姝g‘鍏ユ暟瀛楋紒");
+ layer.msg(get_MessageError("[3772-2-022]鎷嗗垎鎬婚噺璇疯緭姝g‘鍏ユ暟瀛楋紒", sessionStorage["HTranSlate"]));
return;
}
}
var HSplitColorQty = $('#HSplitColorQty').val();
if (HSplitColorQty.substring(HSplitColorQty.length - 1, HSplitColorQty.length) == ".") {
- layer.msg("鍒嗙几鍙风殑缁撳熬涓嶈兘鏄�.锛�");
+ layer.msg(get_MessageError("[3772-2-023]鍒嗙几鍙风殑缁撳熬涓嶈兘鏄�.锛�", sessionStorage["HTranSlate"]));
return;
} else {
var ref = /^[0-9]+$/;
if (!ref.test(HSplitColorQty)) {
- layer.msg("鍒嗙几鍙疯杈撴纭叆鏁板瓧锛�");
+ layer.msg(get_MessageError("[3772-2-024]鍒嗙几鍙疯杈撴纭叆鏁板瓧锛�", sessionStorage["HTranSlate"]));
return;
}
}
-
- var HMouldNum = $('#HMouldNum').val();
-
- //if (HMouldNum == "") {
- // layer.msg("妯$┐鍙蜂笉鑳戒负绌猴紒");
- // return;
- //}
-
//鍒犻櫎瀛愯〃鏁版嵁鏃� 浼氬崰鐢ㄦ暟缁勭殑浣嶇疆,闇�瑕侀噸鏂版帓涓�涓嬮『搴�
@@ -2053,28 +2066,28 @@
for (var i = 0; i < sSubTable.length; i++) {
if (!sSubTable[i].HProcNo) {
var indexRow = i + 1;
- layer.msg("绗�" + indexRow + "琛岋紝娴佹按鍙蜂笉鑳戒负绌猴紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-025]绗�" + indexRow + "琛岋紝娴佹按鍙蜂笉鑳戒负绌猴紒", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
return;
}
if (sSubTable[i].HProcNo == 0) {
var indexRow = i + 1;
- layer.msg("绗�" + indexRow + "琛岋紝娴佹按鍙蜂笉鑳戒负0锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-026]绗�" + indexRow + "琛岋紝娴佹按鍙蜂笉鑳戒负0锛�", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
return;
}
if (!sSubTable[i].HProcID) {
var indexRow = i + 1;
- layer.msg("绗�" + indexRow + "琛岋紝宸ュ簭涓嶈兘涓虹┖锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-027]绗�" + indexRow + "琛岋紝宸ュ簭涓嶈兘涓虹┖锛�", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
return;
}
- if (!sSubTable[i].HCenterID) {
- var indexRow = i + 1;
- layer.msg("绗�" + indexRow + "琛岋紝宸ヤ綔涓績涓嶈兘涓虹┖锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
- return;
- }
+ //if (!sSubTable[i].HCenterID) {
+ // var indexRow = i + 1;
+ // layer.msg("绗�" + indexRow + "琛岋紝宸ヤ綔涓績涓嶈兘涓虹┖锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ // return;
+ //}
if (sSubTable[i].HSupFlag == "true") {
if (!sSubTable[i].HSupID) {
var indexRow = i + 1;
- layer.msg("绗�" + indexRow + "琛岋紝渚涘簲鍟嗕笉鑳戒负绌猴紒", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(get_MessageError("[3772-2-028]绗�" + indexRow + "琛岋紝渚涘簲鍟嗕笉鑳戒负绌猴紒", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
return;
}
}
@@ -2104,19 +2117,25 @@
data: { "sMainSub": sMainSub },
dataType: "json",
success: function (data) {
- if (data.count == 1) {
+ if (data.count == 1) {
+ layer.msg(data.Message, { icon: 1 });
+ $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true);
+ if (data.Verify == "Y") //鑷姩瀹℃牳
+ {
+ $("#HInterID").val(data.HInterID);//鑾峰彇鎻愪氦鎴愬姛杩斿洖鐨勫崟鎹富ID
+ set_CheckBill(1); //瀹℃牳
+ }
layer.close(index);
- layer.msg("鎻愪氦鎴愬姛");
- $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true);//淇濆瓨鎸夐挳绂佺敤
+
}
else {
layer.close(index);
- layer.msg(data.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(data.Message, { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
}
},
error: function (err) {
layer.close(index);
- layer.msg("閿欒:" + err, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg("閿欒:" + err, { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
}
});
});
@@ -2154,6 +2173,7 @@
$.ajax({
url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList',
type: "GET",
+ async: false,
data: { "HModName": HModName, "user": sessionStorage["HUserName"] },
success: function (data1) {
if (data1.data.length != 0) {
@@ -2221,7 +2241,7 @@
table.render(option);
}
}, error: function () {
- layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ layer.alert(get_MessageError("[0000-1-002]鎺ュ彛璇锋眰澶辫触!", sessionStorage["HTranSlate"]), { icon: 5 });
}
})
}
@@ -2245,16 +2265,18 @@
set_EditGrid(linterid); //缂栬緫鑾峰彇琛ㄤ綋
get_DisplayHMainID(linterid); //缂栬緫鑾峰彇琛ㄤ綋(鍣ㄥ叿娓呭崟)
get_Display3(linterid); //缂栬緫鑾峰彇琛ㄤ綋(宸ヨ壓鍙傛暟娓呭崟)
- option.data = [{
- "HProcNo": "", "HProcID": 0, "HProcNumber": "", "HProcName": "", "HWorkRemark": "",
- "HCenterID": 0, "HCenterNumber": "", "HCenterName": "",
- "HDeptID": 0, "HDeptNumber": "", "HDeptName": "",
- "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false",
- "HQty": 0, "HSNCtrl": "false", "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0,
- "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0,
- "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": ""
- }];
- table.render(option);
+
+ //option.data = [{
+ // "HProcNo": "", "HProcID": 0, "HProcNumber": "", "HProcName": "", "HWorkRemark": "",
+ // "HCenterID": 0, "HCenterNumber": "", "HCenterName": "",
+ // "HDeptID": 0, "HDeptNumber": "", "HDeptName": "",
+ // "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false",
+ // "HQty": 0, "HSNCtrl": "false", "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0,
+ // "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0,
+ // "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "",
+ // "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0,"HSourceID":0
+ //}];
+ //table.render(option);
}
//缂栬緫鑾峰彇琛ㄥご
function set_EditForm(linterid) {
@@ -2412,10 +2434,10 @@
form.render("checkbox");
} else {
- layer.alert(result.msg, { icon: 5, btn: ['閫�鍑�'], time: 100000, offset: 't' });
+ layer.alert(get_MessageError(result.msg, sessionStorage["HTranSlate"]), { icon: 5, btn: ['閫�鍑�'], time: 100000, offset: 't' });
}
}, error: function () {
- layer.alert("鍙戠敓閿欒!", { icon: 5 });
+ layer.alert(get_MessageError("[0000-1-002]鍙戠敓閿欒!", sessionStorage["HTranSlate"]), { icon: 5 });
}
});
}
@@ -2438,6 +2460,7 @@
$.ajax({
url: GetWEBURL() + 'Sc_ProcessExchangeBill/GetProcessExchangeBillSub',
type: "GET",
+ async: false,
data: { "HInterID": linterid },
success: function (result) {
if (result.count == 1) {
@@ -2454,11 +2477,11 @@
form.render('checkbox');
} else {
- layer.alert(result.code + result.Message, { icon: 5 });
+ layer.alert(get_MessageError(result.code + result.Message, sessionStorage["HTranSlate"]), { icon: 5 });
}
}, error: function () {
layer.close(index0);
- layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ layer.alert(get_MessageError("[0000-1-002]鎺ュ彛璇锋眰澶辫触!", sessionStorage["HTranSlate"]), { icon: 5 });
}
});
}
@@ -2477,7 +2500,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
//鑾峰彇鏁版嵁
$("#HAuxUnit").val(checkStatus.data[0].HItemID);
@@ -2502,7 +2525,7 @@
var iframeWindow = window['layui-layer-iframe' + index] //鑾峰彇寮规椤甸潰
var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
if (checkStatus.data.length === 0) {
- return layer.msg('璇烽�夋嫨鏁版嵁');
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
//鑾峰彇鏁版嵁
$("#HAuxUnit2").val(checkStatus.data[0].HItemID);
@@ -2532,7 +2555,7 @@
var checkStatus = iframeWindow.layui.table.checkStatus("mainTable");//鑾峰彇閫変腑鐨勬暟鎹�
if (checkStatus.data.length != 1) {
- return layer.msg("璇烽�夋嫨涓�鏉℃暟鎹�");
+ return layer.msg(get_MessageError('[0000-1-020]璇烽�夋嫨鏁版嵁', sessionStorage["HTranSlate"]));
}
//鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
$("#HName").val(checkStatus.data[0].璁㈠崟绛夌骇);
@@ -2552,6 +2575,7 @@
$.ajax({
url: GetWEBURL() + '/Sc_ProcessExchangeBillList/QJQD',
type: "GET",
+ async: false,
data: { "HProcExchHinteID": linterid },
success: function (data1) {
if (data1.count == 1) {
@@ -2599,7 +2623,7 @@
}
}, error: function () {
layer.close(ajaxLoad);
- layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ layer.alert(get_MessageError("[0000-1-002]鎺ュ彛璇锋眰澶辫触!", sessionStorage["HTranSlate"]), { icon: 5 });
}
});
}
@@ -2611,6 +2635,7 @@
$.ajax({
url: GetWEBURL() + '/Sc_ProcessExchangeBill/GetProcessExchangeBillSubTech',
type: "GET",
+ async: false,
data: { "HInterID": linterid},
success: function (data1) {
if (data1.count == 1) {
@@ -2657,7 +2682,7 @@
}
}, error: function () {
layer.close(ajaxLoad);
- layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ layer.alert(get_MessageError("[0000-1-002]鎺ュ彛璇锋眰澶辫触!", sessionStorage["HTranSlate"]), { icon: 5 });
}
});
}
@@ -2757,7 +2782,7 @@
}
else {
- layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(result.Message, { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
}
}
})
@@ -2787,7 +2812,8 @@
"HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false",
"HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0,
"HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0,
- "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": ""
+ "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "",
+ "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0
}];
table.render(option);
}
@@ -2820,7 +2846,7 @@
form.render('checkbox');
}
else {
- layer.msg(result.Message, { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ layer.msg(result.Message, { icon: 5, btn: [get_MessageError('[0000-2-008]纭', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]娓╅Θ鎻愮ず", sessionStorage["HTranSlate"]) });
}
}
})
@@ -2849,6 +2875,27 @@
}
});
});
+
+ function set_CheckBill(num) {
+ $.ajax({
+ url: GetWEBURL() + '/Sc_ProcessExchangeBill/CheckSc_ProcessExchangeBill',
+ type: "GET",
+ data: { "HInterID": $("#HInterID").val(), "Type": num, "user": sessionStorage["HUserName"], "HBillSubType": "3772" },
+ success: function (result) {
+ if (result.count == 1) {
+ layer.msg(result.Message, { icon: 1 });
+ layer.close(wait);
+ } else {
+ layer.alert(result.code + result.Message, { icon: 5 });
+ layer.close(wait);
+ }
+ }, error: function () {
+ layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+ layer.close(wait);
+ }
+ });
+ }
+
//浠ヤ笂涓簂ayui妯″潡
});
--
Gitblit v1.9.1