From 96edd778e0353c830e79534cb62abe4dfded90f7 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 17 一月 2024 17:05:03 +0800
Subject: [PATCH] 销售出库单:选择源单进行多行选择时判断是否为同一个客户且同一个业务员的单子
---
WebTM/views/领料发货/销售出库/Kf_SellOutBill.html | 16 ++++++++++++++++
WebTM/Properties/PublishProfiles/JFTM.pubxml.user | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
index d80ae07..9224a04 100644
--- a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -5439,10 +5439,10 @@
<publishTime>04/11/2023 16:34:43</publishTime>
</File>
<File Include="views/棰嗘枡鍙戣揣/閿�鍞嚭搴�/Kf_SellOutBill.html">
- <publishTime>01/17/2024 16:22:35</publishTime>
+ <publishTime>01/17/2024 16:56:16</publishTime>
</File>
<File Include="views/棰嗘枡鍙戣揣/閿�鍞嚭搴�/Kf_SellOutBill.html">
- <publishTime>01/17/2024 16:22:35</publishTime>
+ <publishTime>01/17/2024 16:56:16</publishTime>
</File>
<File Include="views/棰嗘枡鍙戣揣/閿�鍞嚭搴�/Kf_SellOutBillList.html">
<publishTime>01/16/2024 14:21:41</publishTime>
diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
index 0f2e216..fc9e0ca 100644
--- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
+++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill.html"
@@ -2334,10 +2334,26 @@
//#region 閫夋嫨婧愬崟-閿�鍞鍗�
function setInitBySeOrderBill(checkStatus) {
var dataArray = [];
+
+ var HCusName = getPushSourceBillInit(checkStatus.data[0].hmainid, checkStatus.data[0].hsubid).瀹㈡埛;
+ var HEmpName = getPushSourceBillInit(checkStatus.data[0].hmainid, checkStatus.data[0].hsubid).涓氬姟鍛�;
+
for (var i = 0; i < checkStatus.data.length; i++) {
var temp = getPushSourceBillInit(checkStatus.data[i].hmainid, checkStatus.data[i].hsubid);
if (temp != "none") {
dataArray.push(temp);
+ if (temp.鐘舵�� != "宸插鏍�") {
+ layer.msg("涓嬫帹澶辫触!鍗曟嵁鍙枫��" + temp.鍗曟嵁鍙� + "銆戝崟鎹姸鎬佷笉涓哄凡瀹℃牳鐘舵��!");
+ return;
+ }
+ if (temp.瀹㈡埛 != HCusName) {
+ layer.msg("涓嬫帹澶辫触!宸茬粡閫変腑鐨勮褰曚腑瀛樺湪涓嶅悓瀹㈡埛!");
+ return;
+ }
+ if (temp.涓氬姟鍛� != HEmpName) {
+ layer.msg("涓嬫帹澶辫触!宸茬粡閫変腑鐨勮褰曚腑瀛樺湪涓嶅悓涓氬姟鍛�!");
+ return;
+ }
} else {
return;
}
--
Gitblit v1.9.1