4e0da3c05171cfbbc86cb1428e91e76e46741d7a..e6a18a1229e11f468a9109cad9c2abb71054527e
1 天以前 zrg
1
e6a18a 对比 | 目录
1 天以前 zrg
增加内箱码外箱码模板
daf8cd 对比 | 目录
1个文件已添加
1个文件已删除
12个文件已修改
677 ■■■■ 已修改文件
.vs/BarcodePrintEngine/v16/.suo 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/BarcodePrintEngine.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/Gy_BarcodePrint.cs 238 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/bin/Debug/Config/PWD.config 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/bin/Debug/Gy_BarcodePrint.exe 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/bin/Debug/Gy_BarcodePrint.pdb 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/bin/Debug/物料内箱码JSON.grf 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/bin/Debug/物料外箱码JSON.grf 402 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/obj/Debug/BarcodePrintEngine.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/obj/Debug/BarcodePrintEngine.csproj.FileListAbsolute.txt 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/obj/Debug/DesignTimeResolveAssemblyReferences.cache 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/obj/Debug/Gy_BarcodePrint.exe 补丁 | 查看 | 原始文档 | blame | 历史
Gy_BarcodePrint/obj/Debug/Gy_BarcodePrint.pdb 补丁 | 查看 | 原始文档 | blame | 历史
.vs/BarcodePrintEngine/v16/.suo
Binary files differ
Gy_BarcodePrint/BarcodePrintEngine.csproj
@@ -121,6 +121,7 @@
    <None Include="bin\Debug\Config\SQLAPI.config" />
    <None Include="bin\Debug\Gy_BarcodePrint.exe.config" />
    <None Include="bin\Debug\物料内箱码JSON.grf" />
    <None Include="bin\Debug\物料外箱码JSON.grf" />
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
Gy_BarcodePrint/Gy_BarcodePrint.cs
@@ -25,7 +25,8 @@
        private const int COL_QTY = 4;        
        private const int COL_ISPRINTED = 5;   
        private const int COL_PRINTDATE = 6;  
        private const int COL_PRINTERNAME = 7;
        private const int COL_PRINTERNAME = 7;
        private const int COL_REMARK = 8;      // æ–°å¢žï¼šå†…外箱标识
        // æŠ¥è¡¨ç›¸å…³
        private GridppReport Report;
@@ -60,7 +61,7 @@
            // åˆå§‹çŠ¶æ€ï¼šæŒ‰é’®ç¦ç”¨ï¼Œå®šæ—¶å™¨æœªå¯åŠ¨
            btnToggleAutoPrint.Enabled = false;
            timer1.Interval = 60000;
            timer1.Interval = 30000;
            timer1.Stop();
        }
@@ -306,13 +307,6 @@
                        return;
                    }
                    string templateName = GetConfigKey(AppDomain.CurrentDomain.BaseDirectory + "./Config/PWD.config", "PrintTemplate");
                    if (string.IsNullOrEmpty(templateName) || templateName == "undefined")
                    {
                        LogService.Write("自动打印: æœªé…ç½®æ‰“印模板,跳过");
                        return;
                    }
                    string safeAlias = alias.Replace("'", "''");
                    string sql = $@"
@@ -322,103 +316,136 @@
                            a.HQty AS æ•°é‡,
                            a.HIsPrintSuccess AS æ˜¯å¦æ‰“印成功,
                            a.HLastPrintDate AS æ‰“印时间,
                            a.HRemark AS å†…外箱,
                            a.HPrintName AS æ‰“印机名称
                        FROM Gy_BarCodeBill_Split a
                        INNER JOIN Gy_Material b ON a.HMaterID = b.HItemID
                        WHERE a.HIsPrintSuccess = 0 AND ISNULL(a.HPrintName,'') = '{safeAlias}'
                        ORDER BY a.HItemId";
                    DataSet ds = oCn.RunProcReturn(sql, "AutoPrintQuery");
                    DataSet ds = oCn.RunProcReturn(sql, "Gy_BarCodeBill_Split");
                    if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0)
                        return;
                    List<string> barcodeList = new List<string>();
                    List<int> idList = new List<int>();
                    // æ”¶é›†æ‰€æœ‰å¾…打印条码信息
                    List<Tuple<int, string, string>> items = new List<Tuple<int, string, string>>();
                    foreach (DataRow dr in ds.Tables[0].Rows)
                    {
                        string barcode = dr["条码编号"].ToString().Trim();
                        if (string.IsNullOrEmpty(barcode)) continue;
                        barcodeList.Add(barcode.Replace("'", "''"));
                        idList.Add(Convert.ToInt32(dr["id"]));
                        int id = Convert.ToInt32(dr["id"]);
                        string remark = dr["内外箱"]?.ToString() ?? "";
                        items.Add(Tuple.Create(id, barcode, remark));
                    }
                    if (barcodeList.Count == 0) return;
                    if (items.Count == 0) return;
                    string inClause = string.Join(",", barcodeList.Select(b => "'" + b + "'"));
                    string viewSql = $@"
                        SELECT
                            æ¡ç ç¼–号,
                            ç‰©æ–™ä»£ç ,
                            ç‰©æ–™åç§°,
                            è§„格型号,
                            æ‰¹å·,
                            æ•°é‡,
                            ä¾›åº”商,
                            ç»„托单号,
                            ç”Ÿäº§æ—¥æœŸ,
                            æºå•单号
                        FROM h_v_IF_BarCodeBillList_Split
                        WHERE æ¡ç ç¼–号 IN ({inClause})";
                    // æŒ‰ç±»åž‹ï¼ˆå†…外箱)分组
                    var groups = items.GroupBy(x => x.Item3);
                    int totalPrinted = 0;
                    DataSet dsView = oCn.RunProcReturn(viewSql, "AutoPrintView");
                    if (dsView == null || dsView.Tables.Count == 0 || dsView.Tables[0].Rows.Count == 0)
                        return;
                    DataTable dtPrint = new DataTable();
                    dtPrint.Columns.Add("条码编号", typeof(string));
                    dtPrint.Columns.Add("物料代码", typeof(string));
                    dtPrint.Columns.Add("物料名称", typeof(string));
                    dtPrint.Columns.Add("规格型号", typeof(string));
                    dtPrint.Columns.Add("批号", typeof(string));
                    dtPrint.Columns.Add("数量", typeof(string));
                    dtPrint.Columns.Add("供应商", typeof(string));
                    dtPrint.Columns.Add("组托单号", typeof(string));
                    dtPrint.Columns.Add("生产日期", typeof(string));
                    dtPrint.Columns.Add("源单单号", typeof(string));
                    foreach (DataRow dr in dsView.Tables[0].Rows)
                    foreach (var group in groups)
                    {
                        DataRow newRow = dtPrint.NewRow();
                        newRow["条码编号"] = dr["条码编号"].ToString();
                        newRow["物料代码"] = dr["物料代码"].ToString();
                        newRow["物料名称"] = dr["物料名称"].ToString();
                        newRow["规格型号"] = dr["规格型号"].ToString();
                        newRow["批号"] = dr["批号"].ToString();
                        object qty = dr["数量"];
                        newRow["数量"] = qty == DBNull.Value ? "0" : Convert.ToDecimal(qty).ToString("0");
                        newRow["供应商"] = dr["供应商"].ToString();
                        newRow["组托单号"] = dr["组托单号"].ToString();
                        object prodDate = dr["生产日期"];
                        newRow["生产日期"] = prodDate == DBNull.Value ? "" : Convert.ToDateTime(prodDate).ToString("yyyy-MM-dd");
                        newRow["源单单号"] = dr["源单单号"].ToString();
                        dtPrint.Rows.Add(newRow);
                        string remark = group.Key;
                        string templateName = GetTemplateNameByRemark(remark);
                        if (string.IsNullOrEmpty(templateName) || templateName == "undefined")
                        {
                            LogService.Write($"自动打印: æœªæ‰¾åˆ°ç±»åž‹â€œ{remark}”对应的模板,跳过该组");
                            continue;
                        }
                        // æž„建该组的条码列表和ID列表
                        List<string> barcodeList = group.Select(x => x.Item2.Replace("'", "''")).ToList();
                        List<int> idList = group.Select(x => x.Item1).ToList();
                        string inClause = string.Join(",", barcodeList.Select(b => "'" + b + "'"));
                        // æŸ¥è¯¢è§†å›¾æ•°æ®
                        string viewSql = $@"
                                SELECT
                                    æ¡ç ç¼–号,
                                    ç‰©æ–™ä»£ç ,
                                    ç‰©æ–™åç§°,
                                    è§„格型号,
                                    æ‰¹å·,
                                    æ•°é‡,
                                    ä¾›åº”商,
                                    ç»„托单号,
                                    ç”Ÿäº§æ—¥æœŸ,
                                    æºå•单号
                                FROM h_v_IF_BarCodeBillList_Split
                                WHERE æ¡ç ç¼–号 IN ({inClause})";
                        DataSet dsView = oCn.RunProcReturn(viewSql, "h_v_IF_BarCodeBillList_Split");
                        if (dsView == null || dsView.Tables.Count == 0 || dsView.Tables[0].Rows.Count == 0)
                        {
                            LogService.Write($"自动打印: ç±»åž‹â€œ{remark}”的条码详情查询无结果,跳过");
                            continue;
                        }
                        // æž„建打印数据表
                        DataTable dtPrint = new DataTable();
                        dtPrint.Columns.Add("条码编号", typeof(string));
                        dtPrint.Columns.Add("物料代码", typeof(string));
                        dtPrint.Columns.Add("物料名称", typeof(string));
                        dtPrint.Columns.Add("规格型号", typeof(string));
                        dtPrint.Columns.Add("批号", typeof(string));
                        dtPrint.Columns.Add("数量", typeof(string));
                        dtPrint.Columns.Add("供应商", typeof(string));
                        dtPrint.Columns.Add("组托单号", typeof(string));
                        dtPrint.Columns.Add("生产日期", typeof(string));
                        dtPrint.Columns.Add("源单单号", typeof(string));
                        foreach (DataRow dr in dsView.Tables[0].Rows)
                        {
                            DataRow newRow = dtPrint.NewRow();
                            newRow["条码编号"] = dr["条码编号"].ToString();
                            newRow["物料代码"] = dr["物料代码"].ToString();
                            newRow["物料名称"] = dr["物料名称"].ToString();
                            newRow["规格型号"] = dr["规格型号"].ToString();
                            newRow["批号"] = dr["批号"].ToString();
                            object qty = dr["数量"];
                            newRow["数量"] = qty == DBNull.Value ? "0" : Convert.ToDecimal(qty).ToString("0");
                            newRow["供应商"] = dr["供应商"].ToString();
                            newRow["组托单号"] = dr["组托单号"].ToString();
                            object prodDate = dr["生产日期"];
                            newRow["生产日期"] = prodDate == DBNull.Value ? "" : Convert.ToDateTime(prodDate).ToString("yyyy-MM-dd");
                            newRow["源单单号"] = dr["源单单号"].ToString();
                            dtPrint.Rows.Add(newRow);
                        }
                        // åˆ›å»ºä¸´æ—¶DataGridView(含全选列)
                        DataGridView tempGrid = new DataGridView();
                        tempGrid.DataSource = dtPrint;
                        DataGridViewCheckBoxColumn selectCol = new DataGridViewCheckBoxColumn();
                        selectCol.HeaderText = "选择";
                        selectCol.Name = "选择";
                        tempGrid.Columns.Insert(0, selectCol);
                        foreach (DataGridViewRow row in tempGrid.Rows)
                        {
                            row.Cells["选择"].Value = true;
                        }
                        // è®¾ç½®æŠ¥è¡¨å¹¶æ‰“印
                        Sub_SetReport(templateName, tempGrid);
                        Report.Printer.PrinterName = txtPrinter.Text.Trim();
                        Report.Print(false);
                        // æ›´æ–°è¯¥ç»„条码状态为已打印
                        if (idList.Count > 0)
                        {
                            string ids = string.Join(",", idList);
                            string updateSql = $@"UPDATE Gy_BarCodeBill_Split SET HIsPrintSuccess = 1, HLastPrintDate = GETDATE() WHERE HItemId IN ({ids})";
                            oCn.RunProc(updateSql);
                        }
                        totalPrinted += barcodeList.Count;
                        LogService.Write($"自动打印: ç±»åž‹â€œ{remark}”打印完成,共 {barcodeList.Count} ä¸ªæ¡ç ã€‚");
                    }
                    DataGridView tempGrid = new DataGridView();
                    tempGrid.DataSource = dtPrint;
                    DataGridViewCheckBoxColumn selectCol = new DataGridViewCheckBoxColumn();
                    selectCol.HeaderText = "选择";
                    selectCol.Name = "选择";
                    tempGrid.Columns.Insert(0, selectCol);
                    foreach (DataGridViewRow row in tempGrid.Rows)
                    {
                        row.Cells["选择"].Value = true;
                    }
                    Sub_SetReport(templateName, tempGrid);
                    Report.Printer.PrinterName = txtPrinter.Text.Trim();
                    //Report.PrintPreview(true);  // å¼¹å‡ºé¢„览窗口
                    Report.Print(false);
                    if (idList.Count > 0)
                    {
                        string ids = string.Join(",", idList);
                        string updateSql = $@"UPDATE Gy_BarCodeBill_Split SET HIsPrintSuccess = 1, HLastPrintDate = GETDATE() WHERE HItemId IN ({ids})";
                        oCn.RunProc(updateSql);
                    }
                    // åˆ·æ–°ç•Œé¢æ•°æ®
                    LoadData();
                    LogService.Write($"自动打印完成,共打印 {barcodeList.Count} ä¸ªæ¡ç ã€‚");
                    LogService.Write($"自动打印全部完成,总计打印 {totalPrinted} ä¸ªæ¡ç ã€‚");
                }));
            }
            catch (Exception ex)
@@ -451,7 +478,7 @@
        #region è¡¨æ ¼åˆå§‹åŒ–
        private void InitGrids()
        {
            grdUnprinted.ColumnCount = 8;
            grdUnprinted.ColumnCount = 9;
            grdUnprinted.Columns[COL_ID].HeaderText = "ID";
            grdUnprinted.Columns[COL_ID].Visible = false;
            grdUnprinted.Columns[COL_BARCODE].HeaderText = "条码编号";
@@ -468,13 +495,15 @@
            grdUnprinted.Columns[COL_PRINTDATE].Width = 150;
            grdUnprinted.Columns[COL_PRINTERNAME].HeaderText = "打印机名称";
            grdUnprinted.Columns[COL_PRINTERNAME].Width = 200;
            grdUnprinted.Columns[COL_REMARK].HeaderText = "内外箱";
            grdUnprinted.Columns[COL_REMARK].Visible = false;
            grdUnprinted.ReadOnly = true;
            grdUnprinted.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            grdUnprinted.MultiSelect = true;
            grdPrinted.ColumnCount = 8;
            grdPrinted.ColumnCount = 9;
            grdPrinted.Columns[COL_ID].HeaderText = "ID";
            grdPrinted.Columns[COL_ID].Visible = false;
            grdPrinted.Columns[COL_BARCODE].HeaderText = "条码编号";
@@ -491,6 +520,8 @@
            grdPrinted.Columns[COL_PRINTDATE].Width = 180;
            grdPrinted.Columns[COL_PRINTERNAME].HeaderText = "打印机名称";
            grdPrinted.Columns[COL_PRINTERNAME].Width = 200;
            grdPrinted.Columns[COL_REMARK].HeaderText = "内外箱";
            grdPrinted.Columns[COL_REMARK].Visible = false;
            grdPrinted.ReadOnly = true;
            grdPrinted.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
@@ -522,6 +553,7 @@
                        a.HQty AS æ•°é‡,
                        a.HIsPrintSuccess AS æ˜¯å¦æ‰“印成功,
                        a.HLastPrintDate AS æ‰“印时间,
                        a.HRemark AS å†…外箱,
                        a.HPrintName AS æ‰“印机名称
                    FROM Gy_BarCodeBill_Split a
                    INNER JOIN Gy_Material b ON a.HMaterID = b.HItemID
@@ -541,11 +573,12 @@
                foreach (DataRow dr in ds.Tables[0].Rows)
                {
                    object[] rowData = new object[8];  // 8列
                    object[] rowData = new object[9];  // 8列
                    rowData[COL_ID] = dr["id"];
                    rowData[COL_BARCODE] = dr["条码编号"].ToString();
                    rowData[COL_MATERIALCODE] = dr["物料代码"]?.ToString() ?? "";
                    rowData[COL_MATERIALNAME] = dr["物料名称"]?.ToString() ?? "";
                    rowData[COL_REMARK] = dr["内外箱"]?.ToString() ?? "";
                    // æ•°é‡ï¼ˆç´¢å¼•4)
                    object qtyObj = dr["数量"];
@@ -690,10 +723,26 @@
                return;
            }
            string templateName = GetConfigKey_Print(AppDomain.CurrentDomain.BaseDirectory + "./Config/PWD.config", "PrintTemplate");
            // ---------- æ”¹åЍ1:先收集选中行的 remark,并检查是否一致 ----------
            List<string> remarkList = new List<string>();
            foreach (DataGridViewRow row in currentGrid.SelectedRows)
            {
                object remarkObj = row.Cells[COL_REMARK].Value;
                string remark = remarkObj?.ToString() ?? "";
                remarkList.Add(remark);
            }
            if (remarkList.Distinct().Count() > 1)
            {
                MessageBox.Show("选中条码包含内箱和外箱,请分别选择同一类型打印。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }
            string firstRemark = remarkList.FirstOrDefault();
            // ---------- æ”¹åЍ2:根据 remark åŠ¨æ€èŽ·å–æ¨¡æ¿ ----------
            string templateName = GetTemplateNameByRemark(firstRemark);
            if (string.IsNullOrEmpty(templateName) || templateName == "undefined")
            {
                MessageBox.Show("未配置打印模板(PrintTemplate),请在配置文件中设置。", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                MessageBox.Show($"未找到类型“{firstRemark}”对应的打印模板,请检查配置。", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }
@@ -823,5 +872,14 @@
            timer1?.Stop();
            timer1?.Dispose();
        }
        private string GetTemplateNameByRemark(string remark)
        {
            string configPath = AppDomain.CurrentDomain.BaseDirectory + "./Config/PWD.config";
            // æ ¹æ®å¤‡æ³¨å†…容判断,若包含"外箱"则使用外箱模板,否则默认内箱
            if (!string.IsNullOrEmpty(remark) && remark.Trim().Contains("外箱码"))
                return GetConfigKey_Print(configPath, "PrintTemplate2");
            else
                return GetConfigKey_Print(configPath, "PrintTemplate");
        }
    }
}
Gy_BarcodePrint/bin/Debug/Config/PWD.config
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="PassWord" value="11"></add>
        <add key="PrintTemplate" value="物料内箱码JSON"></add> <!--海外(箱唛、明细SN整合到一起了)-->
        <add key="PrintTemplate" value="物料内箱码JSON"></add>
        <add key="PrintTemplate2" value="物料外箱码JSON"></add>
    </appSettings>
</configuration>
Gy_BarcodePrint/bin/Debug/Gy_BarcodePrint.exe
Binary files differ
Gy_BarcodePrint/bin/Debug/Gy_BarcodePrint.pdb
Binary files differ
Gy_BarcodePrint/bin/Debug/ÎïÁÏÄÚÏäÂëJSON.grf
@@ -1,6 +1,6 @@
{
    "Version":"6.8.2.5",
    "Title":"物料内箱码",
    "Title":"生产任务单",
    "PrintAsDesignPaper":false,
    "Font":{
        "Name":"宋体",
@@ -43,6 +43,17 @@
                },
                {
                    "Name":"批号"
                },
                {
                    "Name":"日期",
                    "Type":"DateTime",
                    "Format":"yyyy/MM/dd"
                },
                {
                    "Name":"客户型号"
                },
                {
                    "Name":"计量单位"
                },
                {
                    "Name":"源单单号"
@@ -90,15 +101,15 @@
                                },
                                {
                                    "index":2,
                                    "Width":2.32833
                                    "Width":2.54
                                },
                                {
                                    "index":3,
                                    "Width":1.08479
                                    "Width":0.873125
                                },
                                {
                                    "index":4,
                                    "Width":1.98438
                                    "Width":1.79917
                                }
                            ],
                            "FreeGridRow":[
@@ -117,7 +128,7 @@
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"物料编码"
                                    "Text":"批号"
                                },
                                {
                                    "row":1,
@@ -128,7 +139,7 @@
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#物料代码#]",
                                    "Text":"[#批号#]",
                                    "ColSpan":3
                                },
                                {
@@ -165,7 +176,7 @@
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"批号"
                                    "Text":"供应商"
                                },
                                {
                                    "row":3,
@@ -176,7 +187,7 @@
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#批号#]",
                                    "Text":"[#供应商#]",
                                    "ColSpan":3
                                },
                                {
@@ -230,7 +241,7 @@
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"供应商",
                                    "Text":"物料代码",
                                    "DataName":"单位"
                                },
                                {
@@ -242,7 +253,7 @@
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#供应商#]"
                                    "Text":"[#物料代码#]"
                                },
                                {
                                    "row":6,
Gy_BarcodePrint/bin/Debug/ÎïÁÏÍâÏäÂëJSON.grf
New file
@@ -0,0 +1,402 @@
{
    "Version":"6.8.2.5",
    "Title":"生产任务单",
    "PrintAsDesignPaper":false,
    "Font":{
        "Name":"宋体",
        "Size":135000,
        "Weight":400,
        "Charset":134
    },
    "Printer":{
        "Size":256,
        "Width":7,
        "Height":5,
        "LeftMargin":0,
        "TopMargin":0,
        "RightMargin":0,
        "BottomMargin":0
    },
    "DetailGrid":{
        "CenterView":true,
        "ShowColLine":false,
        "ShowRowLine":false,
        "Border":{
            "Styles":"[]"
        },
        "Recordset":{
            "Field":[
                {
                    "Name":"物料代码"
                },
                {
                    "Name":"物料名称"
                },
                {
                    "Name":"规格型号"
                },
                {
                    "Name":"数量"
                },
                {
                    "Name":"条码编号"
                },
                {
                    "Name":"批号"
                },
                {
                    "Name":"日期",
                    "Type":"DateTime",
                    "Format":"yyyy/MM/dd"
                },
                {
                    "Name":"客户型号"
                },
                {
                    "Name":"计量单位"
                },
                {
                    "Name":"源单单号"
                },
                {
                    "Name":"供应商"
                },
                {
                    "Name":"生产日期"
                },
                {
                    "Name":"箱数"
                },
                {
                    "Name":"组托单号"
                }
            ]
        },
        "Column":[
            {
                "Name":"Column3",
                "Width":7.01146
            }
        ],
        "ColumnContent":{
            "Height":4.78896,
            "RowsPerPage":1,
            "ColumnContentCell":[
                {
                    "Column":"Column3",
                    "FreeCell":true,
                    "CanGrow":true,
                    "Control":[
                        {
                            "Type":"FreeGrid",
                            "Name":"FreeGrid1",
                            "Left":0.185208,
                            "Top":0.211667,
                            "Border":{
                                "Styles":"[DrawLeft|DrawTop|DrawRight|DrawBottom]"
                            },
                            "ColumnCount":4,
                            "RowCount":7,
                            "FreeGridColumn":[
                                {
                                    "index":1,
                                    "Width":1.56104
                                },
                                {
                                    "index":2,
                                    "Width":2.32833
                                },
                                {
                                    "index":3,
                                    "Width":0.714375
                                },
                                {
                                    "index":4,
                                    "Width":1.93146
                                }
                            ],
                            "FreeGridRow":[
                                {
                                    "index":1,
                                    "Height":0.502708
                                },
                                {
                                    "index":2,
                                    "Height":0.767292
                                },
                                {
                                    "index":3,
                                    "Height":0.608542
                                },
                                {
                                    "index":4,
                                    "Height":0.79375
                                },
                                {
                                    "index":5,
                                    "Height":0.714375
                                },
                                {
                                    "index":6,
                                    "Height":0.529167
                                },
                                {
                                    "index":7,
                                    "Height":0.47625
                                }
                            ],
                            "FreeGridCell":[
                                {
                                    "row":1,
                                    "col":1,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"批号"
                                },
                                {
                                    "row":1,
                                    "col":2,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#批号#]",
                                    "ColSpan":3
                                },
                                {
                                    "row":2,
                                    "col":1,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"物料名称"
                                },
                                {
                                    "row":2,
                                    "col":2,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "WordWrap":true,
                                    "TextAlign":"TopLeft",
                                    "Text":"[#物料名称#]",
                                    "ColSpan":3
                                },
                                {
                                    "row":3,
                                    "col":1,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"供应商"
                                },
                                {
                                    "row":3,
                                    "col":2,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#供应商#]",
                                    "ColSpan":3
                                },
                                {
                                    "row":4,
                                    "col":1,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"物料代码"
                                },
                                {
                                    "row":4,
                                    "col":2,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#物料代码#]"
                                },
                                {
                                    "row":4,
                                    "col":3,
                                    "FreeCell":true,
                                    "Control":[
                                        {
                                            "Type":"Barcode",
                                            "Name":"Barcode1",
                                            "Left":-0.370417,
                                            "Top":0.079375,
                                            "Width":3.14854,
                                            "Height":1.32292,
                                            "BarcodeType":"QRCode",
                                            "CaptionPosition":"None",
                                            "Text":"[#条码编号#]"
                                        }
                                    ],
                                    "ColSpan":2,
                                    "RowSpan":2
                                },
                                {
                                    "row":5,
                                    "col":1,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"数量"
                                },
                                {
                                    "row":5,
                                    "col":2,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#数量#]"
                                },
                                {
                                    "row":6,
                                    "col":1,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"生产日期"
                                },
                                {
                                    "row":6,
                                    "col":2,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#生产日期#]"
                                },
                                {
                                    "row":6,
                                    "col":3,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"箱数"
                                },
                                {
                                    "row":6,
                                    "col":4,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#箱数#]"
                                },
                                {
                                    "row":7,
                                    "col":1,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"源单单号"
                                },
                                {
                                    "row":7,
                                    "col":2,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#源单单号#]"
                                },
                                {
                                    "row":7,
                                    "col":3,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"箱号"
                                },
                                {
                                    "row":7,
                                    "col":4,
                                    "Font":{
                                        "Name":"宋体",
                                        "Size":75000,
                                        "Weight":400,
                                        "Charset":134
                                    },
                                    "Text":"[#组托单号#]"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        "ColumnTitle":{
            "Height":0,
            "ColumnTitleCell":[
                {
                    "GroupTitle":false,
                    "Column":"Column3",
                    "Text":"Column1"
                }
            ]
        }
    },
    "ReportHeader":[
        {
            "Name":"ReportHeader1",
            "Height":0,
            "RepeatOnPage":true
        }
    ],
    "ReportFooter":[
        {
            "Name":"ReportFooter1",
            "Height":0
        }
    ]
}
Gy_BarcodePrint/obj/Debug/BarcodePrintEngine.csproj.AssemblyReference.cache
Binary files differ
Gy_BarcodePrint/obj/Debug/BarcodePrintEngine.csproj.FileListAbsolute.txt
@@ -33,4 +33,3 @@
D:\工作代码\智云迈思\插件\条码自动打印插件\BarcodePrintEngine\Gy_BarcodePrint\obj\Debug\BarcodePrintEngine.csproj.CopyComplete
D:\工作代码\智云迈思\插件\条码自动打印插件\BarcodePrintEngine\Gy_BarcodePrint\obj\Debug\Gy_BarcodePrint.exe
D:\工作代码\智云迈思\插件\条码自动打印插件\BarcodePrintEngine\Gy_BarcodePrint\obj\Debug\Gy_BarcodePrint.pdb
D:\工作代码\智云迈思\插件\条码自动打印插件\BarcodePrintEngine\Gy_BarcodePrint\obj\Debug\BarcodePrintEngine.csproj.AssemblyReference.cache
Gy_BarcodePrint/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Binary files differ
Gy_BarcodePrint/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ
Gy_BarcodePrint/obj/Debug/Gy_BarcodePrint.exe
Binary files differ
Gy_BarcodePrint/obj/Debug/Gy_BarcodePrint.pdb
Binary files differ