From 6a0eb7a49b2c70633bde26fcf87192523354f07c Mon Sep 17 00:00:00 2001
From: YL <YL@LAPTOP-SE03PLUR>
Date: 星期三, 21 七月 2021 23:56:12 +0800
Subject: [PATCH] nothing

---
 WebTM/views/生产管理/产量汇报单/Sc_Add_ProductReportBillList.html |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html"
index 6c41f55..26f04da 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\344\272\247\351\207\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProductReportBillList.html"
@@ -461,7 +461,7 @@
                             "HSourceInterID": HSourceInterID,
                             "HSourceEntryID": HSourceEntryID,
                             "HSourceBillNo": HSourceBillNo,
-                            "HSourceBillType": HSourceBillType
+                            "HSourceBillType": HBillType
                         },
                         dataType: "json",
                         success: function (data) {
@@ -505,6 +505,15 @@
 
             //淇濆瓨鎻愪氦
             form.on('submit(Saver)', function (data) {
+                if (data.field.HBadQty == "" || data.field.HBadQty == null)
+                {
+                    data.field.HBadQty = 0;
+                }
+                if (data.field.HWasterQty == "" || data.field.HWasterQty == null)
+                {
+                    data.field.HWasterQty = 0;
+                }
+                return false;
                 var sMainStr = JSON.stringify(data.field);
                 if (!AllowLoadData())//鏁版嵁楠岃瘉
                 {

--
Gitblit v1.9.1