From eaebfc75ebda8ec68bd5fd693f9e9325e23efdec Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 06 十二月 2022 17:02:42 +0800
Subject: [PATCH] 金蝶同步 税率表 收款条件表 付款条件表 库存状态表

---
 PayM/工资管理/Pay_PayMentBill.cs |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git "a/PayM/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_PayMentBill.cs" "b/PayM/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_PayMentBill.cs"
index 4dbf28e..75ee29d 100644
--- "a/PayM/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_PayMentBill.cs"
+++ "b/PayM/\345\267\245\350\265\204\347\256\241\347\220\206/Pay_PayMentBill.cs"
@@ -978,17 +978,17 @@
                 grdMain.Rows[i].Cells[HPayRemarkCol].Value = oSub.HPayRemark.ToString();
                 grdMain.Rows[i].Cells[HUnPayRemarkCol].Value = oSub.HUnPayRemark.ToString();
                 ////鍔犺浇琛ㄤ綋锛堣嚜瀹氫箟锛�   骞�
-                foreach (Model.ClsGy_SelfEntryValue oSubValue in oSub.oSelfValue)
-                {
-                    foreach (Model.ClsGy_SelfEntry oSubEntry in BillOld.omodel.oSelf)
-                    {
-                        if (oSubValue.HSQLColumnName == oSubEntry.HSQLColumnName)
-                        {
-                            //璁剧疆缃戞牸 鍐呭
-                            DBUtility.Xt_BaseBillFun.Sub_SetSelfValueToGrid(grdMain, i, oSubEntry.HDisplayNo, oSubEntry.HDataType, oSubValue.HValue);
-                        }
-                    }
-                }
+                //foreach (Model.ClsGy_SelfEntryValue oSubValue in oSub.oSelfValue)
+                //{
+                //    foreach (Model.ClsGy_SelfEntry oSubEntry in BillOld.omodel.oSelf)
+                //    {
+                //        if (oSubValue.HSQLColumnName == oSubEntry.HSQLColumnName)
+                //        {
+                //            //璁剧疆缃戞牸 鍐呭
+                //            DBUtility.Xt_BaseBillFun.Sub_SetSelfValueToGrid(grdMain, i, oSubEntry.HDisplayNo, oSubEntry.HDataType, oSubValue.HValue);
+                //        }
+                //    }
+                //}
                 //
                 i = i + 1;
             }
@@ -1131,16 +1131,16 @@
                     oSub.HPayRemark = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPayRemarkCol].Value);
                     oSub.HUnPayRemark = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HUnPayRemarkCol].Value);
                     //======鑷畾涔夌被 璧嬪��  骞�
-                    oSub.oSelfValue.Clear();
-                    foreach (Model.ClsGy_SelfEntry oSelfEntry in BillOld.omodel.oSelf)
-                    {
-                        Model.ClsGy_SelfEntryValue oSelfValue = new Model.ClsGy_SelfEntryValue();
-                        oSelfValue.HSQLColumnName = oSelfEntry.HSQLColumnName;
-                        oSelfValue.HDataType = oSelfEntry.HDataType;
-                        oSelfValue.HEntryID = oSub.HEntryID;
-                        oSelfValue.HValue = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[oSelfEntry.HDisplayNo].Value);
-                        oSub.oSelfValue.Add(oSelfValue);
-                    }
+                    //oSub.oSelfValue.Clear();
+                    //foreach (Model.ClsGy_SelfEntry oSelfEntry in BillOld.omodel.oSelf)
+                    //{
+                    //    Model.ClsGy_SelfEntryValue oSelfValue = new Model.ClsGy_SelfEntryValue();
+                    //    oSelfValue.HSQLColumnName = oSelfEntry.HSQLColumnName;
+                    //    oSelfValue.HDataType = oSelfEntry.HDataType;
+                    //    oSelfValue.HEntryID = oSub.HEntryID;
+                    //    oSelfValue.HValue = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[oSelfEntry.HDisplayNo].Value);
+                    //    oSub.oSelfValue.Add(oSelfValue);
+                    //}
                     //=========================
                     BillNew.DetailColl.Add(oSub);
                 }

--
Gitblit v1.9.1