| | |
| | | <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> |
| | |
| | | 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; |
| | |
| | | |
| | | // åå§ç¶æï¼æé®ç¦ç¨ï¼å®æ¶å¨æªå¯å¨ |
| | | btnToggleAutoPrint.Enabled = false; |
| | | timer1.Interval = 60000; |
| | | timer1.Interval = 30000; |
| | | timer1.Stop(); |
| | | } |
| | | |
| | |
| | | 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 = $@" |
| | |
| | | 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) |
| | |
| | | #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 = "æ¡ç ç¼å·"; |
| | |
| | | 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 = "æ¡ç ç¼å·"; |
| | |
| | | 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; |
| | |
| | | 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 |
| | |
| | | |
| | | 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["æ°é"]; |
| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | 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"); |
| | | } |
| | | } |
| | | } |
| | |
| | | <?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> |
| | |
| | | { |
| | | "Version":"6.8.2.5", |
| | | "Title":"ç©æå
ç®±ç ", |
| | | "Title":"ç产任å¡å", |
| | | "PrintAsDesignPaper":false, |
| | | "Font":{ |
| | | "Name":"å®ä½", |
| | |
| | | }, |
| | | { |
| | | "Name":"æ¹å·" |
| | | }, |
| | | { |
| | | "Name":"æ¥æ", |
| | | "Type":"DateTime", |
| | | "Format":"yyyy/MM/dd" |
| | | }, |
| | | { |
| | | "Name":"客æ·åå·" |
| | | }, |
| | | { |
| | | "Name":"计éåä½" |
| | | }, |
| | | { |
| | | "Name":"æºååå·" |
| | |
| | | }, |
| | | { |
| | | "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":[ |
| | |
| | | "Weight":400, |
| | | "Charset":134 |
| | | }, |
| | | "Text":"ç©æç¼ç " |
| | | "Text":"æ¹å·" |
| | | }, |
| | | { |
| | | "row":1, |
| | |
| | | "Weight":400, |
| | | "Charset":134 |
| | | }, |
| | | "Text":"[#ç©æä»£ç #]", |
| | | "Text":"[#æ¹å·#]", |
| | | "ColSpan":3 |
| | | }, |
| | | { |
| | |
| | | "Weight":400, |
| | | "Charset":134 |
| | | }, |
| | | "Text":"æ¹å·" |
| | | "Text":"ä¾åºå" |
| | | }, |
| | | { |
| | | "row":3, |
| | |
| | | "Weight":400, |
| | | "Charset":134 |
| | | }, |
| | | "Text":"[#æ¹å·#]", |
| | | "Text":"[#ä¾åºå#]", |
| | | "ColSpan":3 |
| | | }, |
| | | { |
| | |
| | | "Weight":400, |
| | | "Charset":134 |
| | | }, |
| | | "Text":"ä¾åºå", |
| | | "Text":"ç©æä»£ç ", |
| | | "DataName":"åä½" |
| | | }, |
| | | { |
| | |
| | | "Weight":400, |
| | | "Charset":134 |
| | | }, |
| | | "Text":"[#ä¾åºå#]" |
| | | "Text":"[#ç©æä»£ç #]" |
| | | }, |
| | | { |
| | | "row":6, |
| New file |
| | |
| | | { |
| | | "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 |
| | | } |
| | | ] |
| | | } |
| | |
| | | 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 |