jhz
2025-02-06 6c1c90939b3569b269a537be4b1765d4f36ad575
增加仓位备注
1个文件已修改
17 ■■■■ 已修改文件
WarM/仓库管理/Kf_SellOutBill.cs 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/²Ö¿â¹ÜÀí/Kf_SellOutBill.cs
@@ -27,7 +27,7 @@
        public const Int16 HCusRelationNumberCol = 7;
        public const Int16 HCusRelationNameCol = 8;
        public const Int16 HPropertyIDCol = 9;
        public const Int16 HSPRemarkCol = 10;  //仓位备注
        public const Int16 HCountryCol = 10;//仓位备注
        public const Int16 HPropertyNameCol = 11;
        public const Int16 HSecUnitIDCol = 12;
        public const Int16 HSecUnitNumberCol = 13;
@@ -37,7 +37,7 @@
        public const Int16 HColorCol = 17;
        public const Int16 HUnitNumberCol = 18;
        public const Int16 HUnitNameCol = 19;
        public const Int16 HCountryCol = 20;
        public const Int16 HSPRemarkCol = 20;  //仓位备注
        public const Int16 HEngineNumCol = 21;
        public const Int16 HUnderPanNumCol = 22;
        public const Int16 HLeaveFactCardCol = 23;
@@ -1468,7 +1468,7 @@
            grdMain.Columns[HMaterNumberCol].HeaderText = "物料代码";
            grdMain.Columns[HMaterNameCol].HeaderText = "物料名称";
            grdMain.Columns[HMaterModelCol].HeaderText = "规格型号";
            grdMain.Columns[HCountryCol].HeaderText = "国家";
            grdMain.Columns[HCountryCol].HeaderText = "仓位备注";
            grdMain.Columns[HCusRelationNumberCol].HeaderText = "客户对应代码";
            grdMain.Columns[HCusRelationNameCol].HeaderText = "客户对应名称";
            grdMain.Columns[HPropertyNumberCol].HeaderText = "辅助属性代码";
@@ -1520,6 +1520,7 @@
            //格式化 
            ////隐藏列
            grdMain.Columns[HQtyMustCol].Visible = false;
            grdMain.Columns[HSPRemarkCol].Visible = false;
            grdMain.Columns[HTagCol].Visible = false;
            grdMain.Columns[HUnitNumberCol].Visible = false;
            grdMain.Columns[HEntryIDCol].Visible = false;
@@ -1534,7 +1535,7 @@
            grdMain.Columns[HSPGroupNumberCol].Visible = false;  
            grdMain.Columns[HSPGroupNameCol].Visible = false;
            grdMain.Columns[HBatchNoCol].Visible = false;
            grdMain.Columns[HCountryCol].Visible = false;
            //grdMain.Columns[HCountryCol].Visible = false;
            grdMain.Columns[HColorCol].Visible = false;
            grdMain.Columns[HEngineNumCol].Visible = false;
            grdMain.Columns[HUnderPanNumCol].Visible = false;
@@ -1768,6 +1769,7 @@
                                                grdMain.Rows[sRow + i].Cells[HMaterNameCol].Value = oMater.omodel.HName.ToString();
                                                grdMain.Rows[sRow + i].Cells[HMaterModelCol].Value = oMater.omodel.HModel.ToString();
                                                grdMain.Rows[sRow + i].Cells[HSubjoinCol].Value = oMater.omodel.HSubjoin.ToString();
                                                grdMain.Rows[sRow + i].Cells[HCountryCol].Value = oMater.omodel.HSubjoin2.ToString();
                                                if (oUnit.GetInfoByID(oMater.omodel.HUnitID))
                                                {
                                                    grdMain.Rows[sRow + i].Cells[HUnitIDCol].Value = oUnit.omodel.HItemID;
@@ -2317,6 +2319,7 @@
            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["物料名称"].ToString();
            grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["规格型号"].ToString();
            grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产地"].ToString();
            grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["仓位备注"].ToString();
            //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["颜色"].ToString();
            grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString();
            grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计量单位"].ToString();
@@ -2366,6 +2369,7 @@
            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["物料名称"].ToString();
            grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["规格型号"].ToString();
            grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产地"].ToString();
            grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["仓位备注"].ToString();
            //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["颜色"].ToString();
            grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString();
            grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计量单位"].ToString();
@@ -2410,6 +2414,7 @@
            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["物料名称"].ToString();
            grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["规格型号"].ToString();
            grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产地"].ToString();
            grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["仓位备注"].ToString();
            //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["颜色"].ToString();
            grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString();
            grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计量单位"].ToString();
@@ -2464,6 +2469,7 @@
            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["物料名称"].ToString();
            grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["规格型号"].ToString();
            grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产地"].ToString();
            grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["仓位备注"].ToString();
            //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["颜色"].ToString();
            grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString();
            grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计量单位"].ToString();
@@ -2509,6 +2515,7 @@
            grdMain.Rows[i].Cells[HMaterNameCol].Value = oTable.Rows[0]["物料名称"].ToString();
            grdMain.Rows[i].Cells[HMaterModelCol].Value = oTable.Rows[0]["规格型号"].ToString();
            grdMain.Rows[i].Cells[HSubjoinCol].Value = oTable.Rows[0]["产地"].ToString();
            grdMain.Rows[i].Cells[HCountryCol].Value = oTable.Rows[0]["仓位备注"].ToString();
            //grdMain.Rows[i].Cells[HColorCol].Value = oTable.Rows[0]["颜色"].ToString();
            grdMain.Rows[i].Cells[HUnitIDCol].Value = oTable.Rows[0]["HUnitID"].ToString();
            grdMain.Rows[i].Cells[HUnitNameCol].Value = oTable.Rows[0]["计量单位"].ToString();
@@ -3178,6 +3185,7 @@
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HMaterModelCol].Value = oMater.omodel.HModel;
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HMaterNameCol].Value = oMater.omodel.HName;
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HSubjoinCol].Value = oMater.omodel.HSubjoin;
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HCountryCol].Value = oMater.omodel.HSubjoin2;
                            grdMain.Rows[grdMain.CurrentRow.Index].Cells[HUnitIDCol].Value = oMater.omodel.HUnitID.ToString();
                            if (oUnit.GetInfoByID(oMater.omodel.HUnitID))
                            {
@@ -3301,6 +3309,7 @@
                            grdMain.Rows[i].Cells[HMaterModelCol].Value = oMater.omodel.HModel;
                            grdMain.Rows[i].Cells[HMaterNameCol].Value = oMater.omodel.HName;
                            grdMain.Rows[i].Cells[HSubjoinCol].Value = oMater.omodel.HSubjoin;
                            grdMain.Rows[i].Cells[HCountryCol].Value = oMater.omodel.HSubjoin2;
                            grdMain.Rows[i].Cells[HUnitIDCol].Value = oMater.omodel.HUnitID.ToString();
                            if (oUnit.GetInfoByID(oMater.omodel.HUnitID))
                            {