From f003479d9437ec8068018b57f6769163725d771f Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期五, 20 九月 2024 14:02:59 +0800
Subject: [PATCH] PDA领料出库模块修改,增加源单类型生产订单

---
 WebTM/views/WMS扫码模块/生产领料/Kf_MateOutBill_PDA.html |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html" "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html"
index d522e42..f3e2438 100644
--- "a/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html"
+++ "b/WebTM/views/WMS\346\211\253\347\240\201\346\250\241\345\235\227/\347\224\237\344\272\247\351\242\206\346\226\231/Kf_MateOutBill_PDA.html"
@@ -70,6 +70,7 @@
                                                     <option value="3720">鐢熶骇鐢ㄦ枡娓呭崟</option>
                                                     <option value="3721">鐢熶骇澶囨枡鍗�</option>
                                                     <option value="1214">鐢熶骇鍙戞枡閫氱煡鍗�</option>
+                                                    <option value="3710">鐢熶骇璁㈠崟</option>
                                                     <option value="-1">鎵嬪伐褰曞叆</option>
                                                 </select>
                                             </div>
@@ -655,6 +656,14 @@
                             $("#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");
@@ -1347,6 +1356,9 @@
                 else if (HSourceBillType == '1214') {
                     HSourceTitle = "鐢熶骇鍙戞枡閫氱煡鍗�";
                 }
+                else if (HSourceBillType == '3710') {
+                    HSourceTitle = "鐢熶骇璁㈠崟";
+                }
 
                 layer.open({
                     type: 2
@@ -1622,6 +1634,14 @@
                                         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 = '';

--
Gitblit v1.9.1