From 63b6be972c27f9000b97809b627369d8a17741a0 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 09 五月 2023 11:18:38 +0800
Subject: [PATCH] 生产订单编码规则(S+年(23)+五位流水号)实例:S2300001 生产订单按照日期最新的排在最前面

---
 PlanM/计划管理/Gy_RoutingBill.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git "a/PlanM/\350\256\241\345\210\222\347\256\241\347\220\206/Gy_RoutingBill.cs" "b/PlanM/\350\256\241\345\210\222\347\256\241\347\220\206/Gy_RoutingBill.cs"
index cc1efe0..14e6889 100644
--- "a/PlanM/\350\256\241\345\210\222\347\256\241\347\220\206/Gy_RoutingBill.cs"
+++ "b/PlanM/\350\256\241\345\210\222\347\256\241\347\220\206/Gy_RoutingBill.cs"
@@ -1042,6 +1042,7 @@
             if (BillStatus ==DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify)
                 BillNew.omodel.HInterID = BillOld.omodel.HInterID;
             //涓荤被璧嬪��
+            BillNew.omodel.HPRDORGID = DBUtility.ClsPub.HOrgID;  //缁勭粐
             BillNew.omodel.HYear = 2011;
             BillNew.omodel.HPeriod = 1;
             BillNew.omodel.HBillNo = this.txtHBillNo.Text.Trim();  //鍦ㄨ祴鍊肩被鍓嶅氨澶勭悊濂藉瓧绗︿覆鍜屾暟瀛�
@@ -1577,6 +1578,8 @@
                                     grdMain.Rows[sRow].Cells[HProcNameCol].Value = oProc.oModel.HName;
                                     grdMain.Rows[sRow].Cells[HTimeUnitCol].Value = "灏忔椂";
                                     grdMain.Rows[sRow].Cells[HUnitTimeCol].Value = "1";
+                                    grdMain.Rows[sRow].Cells[HPassRateCol].Value = "100";
+                                    grdMain.Rows[sRow].Cells[HWorkQtyCol].Value = "1";
                                     if (oProc.GetInfoByID(oProc.oModel.HItemID))
                                     {
                                         grdMain.Rows[sRow].Cells[HProcCheckNoteCol].Value = oProc.omodel.HProcCheckNote.ToString();

--
Gitblit v1.9.1