1
仲国强
2021-09-01 fe8e525e30ca30a84c5b45eca3ca317656a5d361
1
2个文件已修改
16 ■■■■ 已修改文件
WorkM/流转卡管理/Sc_ProcessExchangeBill.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/Sc_ProcessExchangeBillQuery.cs 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBill.cs
@@ -2477,10 +2477,15 @@
                Report.FieldByName("原料批次").AsString = txtHMateOutBatchNo.Text;
                Report.FieldByName("模具设备").AsString = txtHEquipMentID.Text;
                Report.FieldByName("项目号").AsString = txtHProjectNum.Text;
                Report.FieldByName("图号版本").AsString = textHPicNumVer.Text;
                Report.FieldByName("总装图号").AsString = textHPicNumAssemble.Text;
                Report.FieldByName("材质").AsString = textHMaterTexture.Text;
                Report.FieldByName("成品编号").AsString = textHProductNum.Text;
                Report.FieldByName("版本").AsString = textHVerNum.Text;
            }
            catch (Exception e)
            {
                MessageBox.Show("打印失败,[项目号],[流转卡编号],[流转卡数量],[产品代码],[产品名称],[计划开工日期],[计划完工日期],[订单跟踪号],[原料批次],[模具设备]." + e.Message);
                MessageBox.Show("打印失败,[项目号],[流转卡编号],[流转卡数量],[产品代码],[产品名称],[计划开工日期],[计划完工日期],[订单跟踪号],[原料批次],[模具设备],[图号版本],[总装图号],[材质],[成品编号],[版本]." + e.Message);
            }
        }
WorkM/Á÷ת¿¨¹ÜÀí/Sc_ProcessExchangeBillQuery.cs
@@ -605,17 +605,22 @@
                Report.FieldByName("流转卡数量").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("流转卡数量")].Value);
                Report.FieldByName("产品代码").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("产品代码")].Value);
                Report.FieldByName("产品名称").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("产品名称")].Value);
                Report.FieldByName("产品规格").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("规格型号")].Value);
                Report.FieldByName("产品规格").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("产品规格")].Value);
                Report.FieldByName("计划开工日期").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("计划开工日期")].Value);
                Report.FieldByName("计划完工日期").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("计划完工日期")].Value);
                Report.FieldByName("订单跟踪号").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("订单跟踪号")].Value);
                Report.FieldByName("原料批次").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("原料批次")].Value);
                Report.FieldByName("模具设备").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("模具设备")].Value);
                Report.FieldByName("项目号").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("项目号")].Value);
                Report.FieldByName("图号版本").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("图号版本")].Value);
                Report.FieldByName("总装图号").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("总装图号")].Value);
                Report.FieldByName("材质").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("材质")].Value);
                Report.FieldByName("成品编号").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("成品编号")].Value);
                Report.FieldByName("版本").AsString = DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[selectRow].Cells[Fun_GetCol("版本")].Value);
            }
            catch (Exception e)
            {
                MessageBox.Show("打印失败,[项目号],[流转卡编号],[流转卡数量],[产品代码],[产品名称],[产品规格],[计划开工日期],[计划完工日期],[订单跟踪号],[原料批次],[模具设备]." + e.Message);
                MessageBox.Show("打印失败,[项目号],[流转卡编号],[流转卡数量],[产品代码],[产品名称],[产品规格],[计划开工日期],[计划完工日期],[订单跟踪号],[原料批次],[模具设备],[图号版本],[总装图号],[材质],[成品编号],[版本]." + e.Message);
            }
        }