From 57933560e36eaa4629345b5ee9341eb269422cd3 Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期四, 17 十月 2024 16:10:32 +0800 Subject: [PATCH] 工序流转卡打印sql语句添加已汇报数量 --- WebTM/views/基础资料/公用基础资料/xmlLBM_Sc_ProcessExchangeBillList.aspx | 2 WebTM/views/基础资料/公用基础资料/xmlLBM_Sc_ProcessExchangeBillList.aspx.designer.cs | 2 WebTM/views/grf/返工流转卡 - A5.grf | 683 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 685 insertions(+), 2 deletions(-) diff --git "a/WebTM/views/grf/\350\277\224\345\267\245\346\265\201\350\275\254\345\215\241 - A5.grf" "b/WebTM/views/grf/\350\277\224\345\267\245\346\265\201\350\275\254\345\215\241 - A5.grf" new file mode 100644 index 0000000..24f9405 --- /dev/null +++ "b/WebTM/views/grf/\350\277\224\345\267\245\346\265\201\350\275\254\345\215\241 - A5.grf" @@ -0,0 +1,683 @@ +锘縶 + "Version":"6.8.9.1", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Weight":400, + "Charset":134 + }, + "Printer":{ + "Size":11, + "Width":14.8, + "Height":21, + "Oriention":"Landscape", + "LeftMargin":1.5, + "TopMargin":0, + "RightMargin":1.5, + "BottomMargin":0, + "PrintOffsetY":0.55 + }, + "DetailGrid":{ + "Recordset":{ + "Field":[ + { + "Name":"鍗曟嵁鍙�" + }, + { + "Name":"鏃ユ湡", + "Type":"DateTime", + "Format":"yyyy/MM/dd" + }, + { + "Name":"鐢熶骇璁㈠崟鍙�" + }, + { + "Name":"娲惧伐鍗曞彿" + }, + { + "Name":"鐢熶骇杞﹂棿" + }, + { + "Name":"浜у搧浠g爜" + }, + { + "Name":"浜у搧鍚嶇О" + }, + { + "Name":"浜у搧瑙勬牸" + }, + { + "Name":"娴佽浆鍗℃暟閲�" + }, + { + "Name":"鍗℃暟閲�" + }, + { + "Name":"鎵瑰彿" + }, + { + "Name":"娴佹按鍙�" + }, + { + "Name":"宸ュ簭浠g爜" + }, + { + "Name":"宸ュ簭鍚嶇О" + }, + { + "Name":"鐝粍" + }, + { + "Name":"鏈哄彴" + }, + { + "Name":"瀹炰綔鏁伴噺" + }, + { + "Name":"宸ュ簭璇存槑" + }, + { + "Name":"鐝彿" + }, + { + "Name":"宸ユ鍚嶇О" + }, + { + "Name":"宸ヨ壓宸ヤ綔涓績" + }, + { + "Name":"宸ヨ壓宸ヨ壓鍙傛暟" + }, + { + "Name":"鐢熶骇璁㈠崟鏁伴噺" + }, + { + "Name":"宸叉眹鎶ユ暟閲�" + } + ] + }, + "Column":[ + { + "Name":"Column14", + "Width":0.978958 + }, + { + "Name":"Column1", + "Width":1.61396 + }, + { + "Name":"Column2", + "Width":2.19604 + }, + { + "Name":"Column16", + "Width":2.01083 + }, + { + "Name":"Column3", + "Width":1.98438 + }, + { + "Name":"Column8", + "Width":2.38125 + }, + { + "Name":"Column9", + "Width":1.64042 + }, + { + "Name":"Column17", + "Width":1.6404 + }, + { + "Name":"Column12", + "Width":2.35479 + }, + { + "Name":"Column15", + "Width":0.978958 + } + ], + "ColumnContent":{ + "Height":0.79375, + "AdjustRowHeight":false, + "RowsPerPage":10, + "ColumnContentCell":[ + { + "Column":"Column14", + "FreeCell":true, + "Control":[ + { + "Type":"SystemVarBox", + "Name":"SystemVarBox3", + "Left":0.5, + "Top":-0.8, + "Width":1.5875, + "Height":0.608542, + "SystemVar":"RowNo" + }, + { + "Type":"FieldBox", + "Name":"FieldBox14", + "Dock":"Fill", + "DataField":"娴佹按鍙�" + } + ] + }, + { + "Column":"Column1", + "DataField":"宸ュ簭浠g爜" + }, + { + "Column":"Column2", + "CanGrow":true, + "CanShrink":true, + "ShrinkFontToFit":true, + "DataField":"宸ュ簭鍚嶇О" + }, + { + "Column":"Column16", + "ShrinkFontToFit":true, + "DataField":"宸ユ鍚嶇О" + }, + { + "Column":"Column3", + "ShrinkFontToFit":true, + "DataField":"鐝粍" + }, + { + "Column":"Column8", + "WordWrap":true, + "DataField":"宸ヨ壓宸ヤ綔涓績" + }, + { + "Column":"Column9", + "WordWrap":true, + "ShrinkFontToFit":true, + "DataField":"瀹炰綔鏁伴噺" + }, + { + "Column":"Column17", + "DataField":"宸叉眹鎶ユ暟閲�" + }, + { + "Column":"Column12", + "ShrinkFontToFit":true, + "DataField":"宸ヨ壓宸ヨ壓鍙傛暟" + }, + { + "Column":"Column15", + "DataField":"鐝彿" + } + ] + }, + "ColumnTitle":{ + "Height":0.608542, + "RepeatStyle":"OnPage", + "ColumnTitleCell":[ + { + "GroupTitle":false, + "Column":"Column14", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "ShrinkFontToFit":true, + "Text":"宸ュ簭鍙�" + }, + { + "GroupTitle":false, + "Column":"Column1", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"宸ュ簭浠g爜" + }, + { + "GroupTitle":false, + "Column":"Column2", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"宸ュ簭鍚嶇О" + }, + { + "GroupTitle":false, + "Column":"Column16", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"宸ユ鍚嶇О" + }, + { + "GroupTitle":false, + "Column":"Column3", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"鐝粍" + }, + { + "GroupTitle":false, + "Column":"Column8", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"鏈哄彴" + }, + { + "GroupTitle":false, + "Column":"Column9", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "ShrinkFontToFit":true, + "Text":"鏁伴噺" + }, + { + "GroupTitle":false, + "Column":"Column17", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "WordWrap":true, + "TextAlign":"MiddleCenter", + "ShrinkFontToFit":true, + "Text":"宸叉眹鎶ユ暟閲�" + }, + { + "GroupTitle":false, + "Column":"Column12", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"宸ュ簭璇存槑" + }, + { + "GroupTitle":false, + "Column":"Column15", + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"鐝彿" + } + ] + } + }, + "Parameter":[ + { + "Name":"椤电爜" + } + ], + "ReportHeader":[ + { + "Name":"ReportHeader1", + "CanGrow":true, + "CanShrink":true, + "Height":3.99521, + "Font":{ + "Name":"瀹嬩綋", + "Size":105000, + "Bold":true, + "Charset":134 + }, + "Control":[ + { + "Type":"MemoBox", + "Name":"MemoBox1", + "Center":"Horizontal", + "Left":7.19667, + "Width":3.59833, + "Height":0.687917, + "Font":{ + "Name":"瀹嬩綋", + "Size":180000, + "Bold":true, + "Charset":134 + }, + "TextAlign":"MiddleCenter", + "Text":"杩斿伐娴佽浆鍗�" + }, + { + "Type":"MemoBox", + "Name":"MemoBox3", + "Left":5.60917, + "Top":2.19604, + "Width":2.61938, + "Height":0.608542, + "Text":"鐢熶骇杞﹂棿:" + }, + { + "Type":"MemoBox", + "Name":"MemoBox4", + "Left":4.39208, + "Top":1.00542, + "Width":2.98979, + "Height":0.608542, + "TextAlign":"MiddleCenter", + "Text":"QC妫�鏌ユ柟寮忥細" + }, + { + "Type":"MemoBox", + "Name":"MemoBox8", + "Left":0.396875, + "Top":2.19604, + "Width":1.19063, + "Height":0.608542, + "Text":"鏃ユ湡锛�" + }, + { + "Type":"FieldBox", + "Name":"FieldBox1", + "Left":7.40833, + "Top":2.19604, + "Width":3.99521, + "Height":0.608542, + "DataField":"鐢熶骇杞﹂棿" + }, + { + "Type":"FieldBox", + "Name":"FieldBox6", + "Left":1.5875, + "Top":2.19604, + "Width":3.78354, + "Height":0.608542, + "DataField":"鏃ユ湡" + }, + { + "Type":"SystemVarBox", + "Name":"SystemVarBox1", + "Left":15.6104, + "Top":1.40229, + "Width":1.79917, + "Height":0.423333, + "Format":"鍏�0椤�", + "SystemVar":"PageCount" + }, + { + "Type":"SystemVarBox", + "Name":"SystemVarBox2", + "Left":14.3933, + "Top":1.40229, + "Width":1.21708, + "Height":0.423333, + "Format":"绗�0椤�" + }, + { + "Type":"MemoBox", + "Name":"MemoBox18", + "Left":11.2713, + "Top":2.19604, + "Width":2.61938, + "Height":0.608542, + "Text":"浜у搧浠g爜锛�" + }, + { + "Type":"FieldBox", + "Name":"FieldBox10", + "Left":13.2027, + "Top":2.19604, + "Width":4.33917, + "Height":0.608542, + "DataField":"浜у搧浠g爜" + }, + { + "Type":"MemoBox", + "Name":"MemoBox21", + "Left":11.43, + "Top":3.33375, + "Width":2.80458, + "Height":0.582083, + "Text":"鎵规锛�" + }, + { + "Type":"Barcode", + "Name":"Barcode1", + "Left":12.2502, + "Top":0.899583, + "Width":1.98438, + "Height":1.21708, + "BarcodeType":"QRCode", + "CaptionPosition":"None", + "CaptionAlignment":"Far", + "CheckSum":true, + "Text":"[#鍗曟嵁鍙�#]" + }, + { + "Type":"FieldBox", + "Name":"FieldBox11", + "Left":12.5677, + "Top":3.33375, + "Width":4.60375, + "Height":0.582083, + "DataField":"鎵瑰彿" + }, + { + "Type":"Barcode", + "Name":"Barcode2", + "Left":0.211667, + "Top":0.608542, + "Width":2.59292, + "Height":1.40229, + "BarcodeType":"QRCode", + "CaptionPosition":"None", + "Text":"[#鐢熶骇璁㈠崟鍙�#]" + }, + { + "Type":"StaticBox", + "Name":"StaticBox1", + "Left":12.0121, + "Top":0.211667, + "Width":1.79917, + "Height":0.582083, + "Text":"娴佽浆鍗″彿" + }, + { + "Type":"FieldBox", + "Name":"FieldBox13", + "Left":13.8113, + "Top":0.211667, + "Width":4.20688, + "Height":0.582083, + "DataField":"鍗曟嵁鍙�" + }, + { + "Type":"MemoBox", + "Name":"MemoBox24", + "Left":0.211667, + "Width":5.79438, + "Height":0.582083, + "Text":"浠诲姟鍗曞彿锛歔#鐢熶骇璁㈠崟鍙�#]" + }, + { + "Type":"MemoBox", + "Name":"MemoBox25", + "Left":7.19667, + "Top":1.00542, + "Width":1.19063, + "Height":0.608542, + "Font":{ + "Name":"瀹嬩綋", + "Size":90000, + "Bold":true, + "Charset":134 + }, + "Text":"鎶芥" + }, + { + "Type":"ShapeBox", + "Name":"ShapeBox1", + "Left":8.38729, + "Top":1.00542, + "Width":0.58, + "Height":0.58 + }, + { + "Type":"MemoBox", + "Name":"MemoBox26", + "Left":9.2075, + "Top":1.00542, + "Width":1.40229, + "Height":0.608542, + "Font":{ + "Name":"瀹嬩綋", + "Size":90000, + "Bold":true, + "Charset":134 + }, + "Text":"鎶芥" + }, + { + "Type":"ShapeBox", + "Name":"ShapeBox2", + "Left":10.2129, + "Top":1.00542, + "Width":0.58, + "Height":0.58 + }, + { + "Type":"MemoBox", + "Name":"MemoBox27", + "Left":0.396875, + "Top":2.75167, + "Width":9.60438, + "Height":0.608542, + "Text":"浜у搧鍚嶇О锛歔#浜у搧鍚嶇О#]" + }, + { + "Type":"MemoBox", + "Name":"MemoBox28", + "Left":11.2713, + "Top":2.77813, + "Width":6.21771, + "Height":0.608542, + "Text":"瑙勬牸鍨嬪彿锛歔#浜у搧瑙勬牸#]" + }, + { + "Type":"MemoBox", + "Name":"MemoBox29", + "Left":0.396875, + "Top":3.30729, + "Width":5.18583, + "Height":0.608542, + "Text":"鐢熶骇鏁伴噺锛歔#鐢熶骇璁㈠崟鏁伴噺#]" + }, + { + "Type":"MemoBox", + "Name":"MemoBox30", + "Left":5.76792, + "Top":3.30729, + "Width":4.81542, + "Height":0.608542, + "Text":"鍗℃暟閲忥細[#娴佽浆鍗℃暟閲�#]" + } + ], + "RepeatOnPage":true + } + ], + "ReportFooter":[ + { + "Name":"ReportFooter1", + "Height":1.19063, + "Control":[ + { + "Type":"FreeGrid", + "Name":"FreeGrid1", + "AlignColumn":"(GridLeft)", + "AlignColumnEx":"(GridRight)", + "Border":{ + "Styles":"[DrawLeft|DrawRight|DrawBottom]" + }, + "ColumnCount":7, + "RowCount":2, + "FreeGridColumn":[ + { + "index":1, + "Width":2.593 + }, + { + "index":2, + "Width":2.19604 + }, + { + "index":3, + "Width":2.0108 + }, + { + "index":4, + "Width":1.98438 + }, + { + "index":5, + "Width":2.38125 + }, + { + "index":6, + "Width":1.6404 + }, + { + "index":7, + "Width":4.9744 + } + ], + "FreeGridRow":[ + { + "index":1, + "Height":0.449792 + } + ], + "FreeGridCell":[ + { + "row":1, + "col":1, + "Text":"鍏ュ簱璁板綍" + }, + { + "row":2, + "col":1, + "Text":"棰嗙敤璁板綍" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx" index 139fa70..b1f44af 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx" @@ -14,7 +14,7 @@ //OledbXMLReportData閫傚悎浜嶢ccess绛夋湰鍦版暟鎹簱锛屼负浜嗘紨绀烘柟渚匡紝杩欓噷浠嶨rid++Report鐨凙ccess渚嬪瓙鏁版嵁搴撲腑鑾峰彇鎶ヨ〃鏁版嵁 //OledbXMLReportData.GenOneRecordset(this, "select * from Customers order by CustomerID"); - SqlXMLReportData.GenEntireData(this, "select cast((cast( b.娴佹按鍙� as float)/10) as decimal(6,1)) 娴佹按鍙�,鐢熶骇璁㈠崟鍙�,a.鐢熶骇鏁伴噺,a.鎷嗗垎鍙�,a.娴佽浆鍗℃暟閲�,a.浜よ揣鏃ユ湡,a.浜у搧浠g爜,a.鍗曟嵁鍙�,case when ISNULL(a.鐢熶骇瑙勬牸,'')='' then a.浜у搧瑙勬牸 else a.鐢熶骇瑙勬牸 end 浜у搧瑙勬牸,a.浜у搧鍚嶇О,a.鏃ユ湡,a.璁″垝瀹屽伐鏃ユ湡,a.鍗曟嵁鍙�,b.宸ュ簭鍚嶇О,b.妯″叿缂栧彿,b.宸ヨ壓鍙傛暟,b.鍔犲伐璇存槑,case when ISNULL(a.鐢熶骇骞呭,0)=0 then a.骞呭 else a.鐢熶骇骞呭 end 骞呭,case when ISNULL(a.鐢熶骇鍏嬮噸,0) = 0 then a.鍏嬮噸 else a.鐢熶骇鍏嬮噸 end 鍏嬮噸,a.鐧藉澂瑕佹眰,a.搴曢儴澶囨敞,a.瀹㈡埛,a.涓氬姟鍛�,a.姣涢珮,a.瀵告暟缁勭粐,a.鍏ㄦ瘺闀�,a.鍧竷瀵嗗害,a.姣涚罕鍚嶇О鍙婅鏍�,a.搴曚笣,a.杈呮暟閲�,a.杈呭姪鍗曚綅,a.瀹氬瀷娴嗘枡,a.浜よ揣鏃ユ湡,a.鏌撹壊瑕佹眰,a.杈呮暟閲�2,a.HAuxUnit2,a.杈呭姪鍗曚綅2 from h_v_Sc_ProcessExchangeBillQuery a left join h_v_Sc_ProcessExchangeBillQuerySub b on a.hmainid=b.hmainid where b.hmainid in("+Request.Params["linterid"] +") order by cast(b.娴佹按鍙� as int)","select 1"); + SqlXMLReportData.GenEntireData(this, "select cast((cast( b.娴佹按鍙� as float)/10) as decimal(6,1)) 娴佹按鍙�,鐢熶骇璁㈠崟鍙�,a.鐢熶骇鏁伴噺,a.鎷嗗垎鍙�,a.娴佽浆鍗℃暟閲�,a.浜よ揣鏃ユ湡,a.浜у搧浠g爜,a.鍗曟嵁鍙�,case when ISNULL(a.鐢熶骇瑙勬牸,'')='' then a.浜у搧瑙勬牸 else a.鐢熶骇瑙勬牸 end 浜у搧瑙勬牸,a.浜у搧鍚嶇О,a.鏃ユ湡,a.璁″垝瀹屽伐鏃ユ湡,a.鍗曟嵁鍙�,b.宸ュ簭鍚嶇О,b.妯″叿缂栧彿,b.宸ヨ壓鍙傛暟,b.鍔犲伐璇存槑,case when ISNULL(a.鐢熶骇骞呭,0)=0 then a.骞呭 else a.鐢熶骇骞呭 end 骞呭,case when ISNULL(a.鐢熶骇鍏嬮噸,0) = 0 then a.鍏嬮噸 else a.鐢熶骇鍏嬮噸 end 鍏嬮噸,a.鐧藉澂瑕佹眰,a.搴曢儴澶囨敞,a.瀹㈡埛,a.涓氬姟鍛�,a.姣涢珮,a.瀵告暟缁勭粐,a.鍏ㄦ瘺闀�,a.鍧竷瀵嗗害,a.姣涚罕鍚嶇О鍙婅鏍�,a.搴曚笣,a.杈呮暟閲�,a.杈呭姪鍗曚綅,a.瀹氬瀷娴嗘枡,a.浜よ揣鏃ユ湡,a.鏌撹壊瑕佹眰,a.杈呮暟閲�2,a.HAuxUnit2,a.杈呭姪鍗曚綅2,b.HRelationQty_Out 宸叉眹鎶ユ暟閲� from h_v_Sc_ProcessExchangeBillQuery a left join h_v_Sc_ProcessExchangeBillQuerySub b on a.hmainid=b.hmainid where b.hmainid in("+Request.Params["linterid"] +") order by cast(b.娴佹按鍙� as int)","select 1"); } </script> </head> diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx.designer.cs" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx.designer.cs" index bff9a95..2f4694a 100644 --- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx.designer.cs" +++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/xmlLBM_Sc_ProcessExchangeBillList.aspx.designer.cs" @@ -11,7 +11,7 @@ { - public partial class xmlLBM_QC_TakeSampleCheckBillMainList + public partial class xmlLBM_Sc_ProcessExchangeBillList { /// <summary> -- Gitblit v1.9.1