From 00d963405d2d5161052934f2cb67a2b6ea0947dd Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期二, 23 四月 2024 17:14:30 +0800 Subject: [PATCH] 1.销售出库单 增加 反写源单 销售订单和发货通知单 超出 关联数量 关闭源单 2.应收单 增加 反写源单 销售出库单 和 销售订单 超出关联数量 关闭源单 3.动态获取源单增加参数 Num 0蓝单 1红单 2全部 4.销售流程的测试并完善功能; 销售订单-》发货通知单-》销售出库单-》应收单 (注意: 源单类型的下拉框 需要 根据数据库 表动态加载, 关联数量 要准确 , 审核 且 未关闭 未行关闭的行 才能下推 ,关联数量超额后,要 反写 关闭 源单 ) --- WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs index 397030a..4cc13ea 100644 --- a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs +++ b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs @@ -176,7 +176,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "搴撳瓨鏁伴噺涓�0,鏃犳硶鍙枡!"; + objJsonResult.Message = $"绗瑊(i + 1)}琛屽簱瀛樻暟閲忎负0,鏃犳硶鍙枡!"; objJsonResult.data = null; return objJsonResult; } @@ -185,7 +185,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "搴撳瓨鏁伴噺灏忎簬鍙枡鏁伴噺,鏃犳硶鍙枡!"; + objJsonResult.Message = $"绗瑊(i+1)}琛岃皟鍑轰粨搴撳彲鐢ㄥ簱瀛樻暟閲忓皬浜庡彨鏂欐暟閲�,鏃犳硶鍙枡!"; objJsonResult.data = null; return objJsonResult; } @@ -194,7 +194,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "璇烽�夋嫨璋冨叆浠撳簱!"; + objJsonResult.Message = $"绗瑊(i + 1)}琛岃閫夋嫨璋冨叆浠撳簱!"; objJsonResult.data = null; return objJsonResult; } @@ -203,7 +203,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "璇烽�夋嫨璋冨嚭浠撳簱!"; + objJsonResult.Message = $"绗瑊(i + 1)}琛岃閫夋嫨璋冨嚭浠撳簱!"; objJsonResult.data = null; return objJsonResult; } @@ -212,7 +212,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "璋冨嚭浠撳簱鍜岃皟鍏ヤ粨搴撲笉鑳戒竴鏍�!"; + objJsonResult.Message = $"绗瑊(i + 1)}琛岃皟鍑轰粨搴撳拰璋冨叆浠撳簱涓嶈兘涓�鏍�!"; objJsonResult.data = null; return objJsonResult; } @@ -239,7 +239,7 @@ oSub.HSourceEntryID = listCa[i].HSourceEntryID; oSub.HSourceBillType = "88"; oSub.HSourceBillNo = listCa[i].HSourceBillNo; - oSub.HQty = double.Parse((listCa[i].鍙枡鏁伴噺 * listCa[i].鏈�灏忓彂鏂欐暟閲�).ToString()); + oSub.HQty = double.Parse(listCa[i].鍙枡鏁伴噺.ToString()); oSub.HMaterID = listCa[i].HMaterialID; oSub.HMaterNumber = listCa[i].HMaterialNumberCol; -- Gitblit v1.9.1