From 93690091b9de24a11631eb666def02784d0e0c16 Mon Sep 17 00:00:00 2001 From: 仲国强 <519541279@qq.com> Date: 星期二, 31 八月 2021 17:04:34 +0800 Subject: [PATCH] 修改工艺路线导入时个别字段内容混乱问题 --- PlanM/数据导入/Gy_DataIn_RoutingBill.cs | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git "a/PlanM/\346\225\260\346\215\256\345\257\274\345\205\245/Gy_DataIn_RoutingBill.cs" "b/PlanM/\346\225\260\346\215\256\345\257\274\345\205\245/Gy_DataIn_RoutingBill.cs" index 3488207..9f1b7aa 100644 --- "a/PlanM/\346\225\260\346\215\256\345\257\274\345\205\245/Gy_DataIn_RoutingBill.cs" +++ "b/PlanM/\346\225\260\346\215\256\345\257\274\345\205\245/Gy_DataIn_RoutingBill.cs" @@ -232,11 +232,6 @@ } for (int i = 0; i <= grdMain.Rows.Count - 1; i++) { - BillNew.omodel.HPicNumVer = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPicNumVerCol].Value); - BillNew.omodel.HPicNumAssemble = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPicNumAssembleCol].Value); - BillNew.omodel.HMaterTexture = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMaterTextureCol].Value); - BillNew.omodel.HProductNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProductNumCol].Value); - BillNew.omodel.HVerNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HVerNumCol].Value); string sHNumber = ""; if (DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMaterNumberCol].Value) != "") { @@ -261,7 +256,11 @@ BillNew.omodel.HUnitID = oMaterHlp.omodel.HUnitID; BillNew.omodel.HUnitNumber = oMaterHlp.omodel.HUnitNumber; } - + BillNew.omodel.HPicNumVer = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPicNumVerCol].Value); + BillNew.omodel.HPicNumAssemble = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HPicNumAssembleCol].Value); + BillNew.omodel.HMaterTexture = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HMaterTextureCol].Value); + BillNew.omodel.HProductNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HProductNumCol].Value); + BillNew.omodel.HVerNum = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[HVerNumCol].Value); } else { -- Gitblit v1.9.1