From cb2fc709d4e2aec6bbea3e6f4e8ccc24f3d27756 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期日, 06 十月 2024 17:27:08 +0800
Subject: [PATCH] 工艺路线工价

---
 WebTM/views/领料发货/领料出库/Kf_MateOutBackBill_Fast.html |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)

diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBackBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBackBill_Fast.html"
index f5fb43b..9882b5d 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBackBill_Fast.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\242\206\346\226\231\345\207\272\345\272\223/Kf_MateOutBackBill_Fast.html"
@@ -17,7 +17,7 @@
 <body>
     <div class="layui-fluid" style="padding:0">
         <div class="layui-card">
-            <div class="layui-card-body" style="padding: 5px; height:800px;">
+            <div class="layui-card-body" style="padding: 0px; height:800px;">
                 <form class="layui-form" action="" lay-filter="component-form-group">
                     <div style="background-color:#0085E8;">
                         <span style="color: white;"><i class="layui-icon layui-icon-form"></i>鐢熶骇閫�鏂欏崟</span>
@@ -39,7 +39,7 @@
                                 <label class="layui-form-label" style="width:40px;padding-left:0px;">鏁伴噺</label>
                             </div>
                             <div class="layui-col-xs8">
-                                <input type="text" name="HQty" id="HQty" lay-verify="HQty" autocomplete="off" class="layui-input">
+                                <input type="text" name="HQty" id="HQty" lay-verify="HQty" onkeyup="if(!this.value.match(/^[\+\-]?\d*?\.?\d*?$/)){if(!this.t_value>0){this.value=''}else{this.value=this.t_value;}}else this.t_value=this.value;if(this.value.match(/^(?:[\+\-]?\d+(?:\.\d+)?)?$/))this.o_value=this.value" autocomplete="off" class="layui-input" onfocus="this.select();">
                             </div>
                         </div>
                     </div>
@@ -86,7 +86,7 @@
                                 <div class="layui-form-item" style="padding:0px;margin:0px">
                                     <div class="layui-row">
                                         <div class="layui-col-xs3">
-                                            <label class="layui-form-label" style="width:40px;padding-left:0px;">閰嶅鏁伴噺</label>
+                                            <label class="layui-form-label" style="width:60px;padding-left:0px;">閰嶅鏁伴噺</label>
                                         </div>
                                         <div class="layui-col-xs8">
                                             <input type="text" name="HPPQty" id="HPPQty" lay-verify="HPPQty" autocomplete="off" class="layui-input">
@@ -96,13 +96,13 @@
                                 <div class="layui-form-item" style="padding:0px;margin:0px">
                                     <div class="layui-row">
                                         <div class="layui-col-xs3">
-                                            <label class="layui-form-label" style="width:30px;padding-left:0px;">鍏堣繘鍏堝嚭浠撳簱</label>
+                                            <label class="layui-form-label" style="width:60px;padding-left:0px;">FIFOWH</label><!--鍏堣繘鍏堝嚭浠撳簱-->
                                         </div>
-                                        <div class="layui-col-xs6">
+                                        <div class="layui-col-xs8">
                                             <input type="text" name="HFIFOWHNAME" id="HFIFOWHNAME" lay-verify="HFIFOWHNAME" autocomplete="off" class="layui-input">
                                             <input type="hidden" name="HFIFOWHID" id="HFIFOWHID" lay-verify="HFIFOWHID" value="0" autocomplete="off" class="layui-input">
                                         </div>
-                                        <div class="layui-col-xs3">
+                                        <div class="layui-col-xs2">
                                             <button type="button" lay-submit="" class="layui-btn" lay-filter="HFIFOWHID-BT">...</button>
                                         </div>
                                     </div>
@@ -658,7 +658,9 @@
             //})
 
             form.on('submit(Cancel)', function () {
-                parent.location.href = "../../../views/index.html"
+                layer.confirm('鎮ㄧ‘瀹氳閫�鍑哄悧锛�', { icon: 3, title: '鎻愮ず' }, function (index) {
+                    parent.location.href = "../../../views/index_Mobile.html";
+                });
             })
             //缂栬緫
             form.on('submit(cmdModify)', function () {//缂栬緫
@@ -781,7 +783,8 @@
                             dataType: "json",
                             success: function (data) {
                                 if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜�
-                                    layer.confirm("鐢熸垚閫�鏂欏嚭搴撳崟" + data.Message + $("#HBillNo").val(), {
+                                    layer.confirm(data.Message, {
+                                    //layer.confirm("鐢熸垚閫�鏂欏嚭搴撳崟" + data.Message + $("#HBillNo").val(), {
                                         icon: 1, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['鏂板'],
                                         btn2: function () {
                                             //parent.layui.admin.events.closeThisTabs();鍏抽棴椤电
@@ -961,7 +964,7 @@
                     url: GetWEBURL() + "/WEBSController/Get_BarCode_Json",
                     type: "GET",
                     //data: { "sCode": '1001456360', "sInterID": 122554, "HBillType": '1204', "sBillNo": 'MATO00000055', "sMaker": sessionStorage["HUserName"], "WhID": 484080, "SPID": 0, "sQty": 0, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": 'PPBOM202112226', "sSourceType": '3720', "HOWNERID": sessionStorage["OrganizationID"] },
-                    data: { "sBarCode": sBarCode, "HInterID": sInterID, "HBillType": sBillType, "HBillNo": sBillNo, "HMaker": sessionStorage["HUserName"], "HWhID": sHWHID, "HSPID": sHSPID, "HQty": sQty, "HRedBlueFlag": true, "SourceFlag": sessionStorage["SourceFlag"], "HSourceBillNo": sSourceBillNo, "HSourceBillType": sHBillType, "HStockOrgID": sessionStorage["OrganizationID"], "HScanStyle": "", "HCustom1": "", "HCustom2": "" },
+                    data: { "sBarCode": sBarCode, "HInterID": sInterID, "HBillType": sBillType, "HBillNo": sBillNo, "HMaker": sessionStorage["HUserName"], "HWhID": sHWHID, "HSPID": sHSPID, "HQty": sQty, "HRedBlueFlag": true, "SourceFlag": HSourceFlag, "HSourceBillNo": sSourceBillNo, "HSourceBillType": sHBillType, "HStockOrgID": sessionStorage["OrganizationID"], "HScanStyle": "", "HCustom1": "", "HCustom2": "" },
                     success: function (result) {
                         if (result.count == 1) {
 
@@ -1091,7 +1094,8 @@
                 , page: true
                 , cols: [[
                     { type: 'radio' }
-                    , { field: 'HSNO', title: '搴忓彿', width: 60 }
+                    , { type: 'numbers', title: '搴忓彿', totalRow: true }
+                    , { field: 'HSNO', title: '搴忓彿', width: 60, totalRow: true  }
                     , { field: 'HQty', title: '鏁伴噺', width: 80, totalRow: true}
                     , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', width: 80, totalRow: true }
                     , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 150 }

--
Gitblit v1.9.1