From bc23c2d8e3527d0a6a4280a7809121998dae7d69 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 08 九月 2022 17:02:49 +0800
Subject: [PATCH] 产品入库 部门判断
---
WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html" "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
index e14d5e3..edb1e44 100644
--- "a/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
+++ "b/WebTM/views/\351\252\214\346\224\266\345\205\245\345\272\223/\344\272\247\345\223\201\345\205\245\345\272\223/Kf_ProductInBill_Fast.html"
@@ -1425,8 +1425,10 @@
data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo },
success: function (result) {
if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
- $("#HDeptID").val(result.data[0].HDeptID);
- $("#HDeptName").val(result.data[0].HDeptName);
+ if (result.data[0].HDeptID != 0) {
+ $("#HDeptID").val(result.data[0].HDeptID);
+ $("#HDeptName").val(result.data[0].HDeptName);
+ }
playSound1();
HSourceFlag = true;
layer.load(3)
--
Gitblit v1.9.1