-9jRCWTOWFeCSjE%JRCJ3BCucQgvH#6GE%ez
zev)*iEV%JPX%MO+9;QUH;Br!n(jdx0$3(KwF_A2E3}x{^S?%dN@FmNzrf5SQva}$l
ztxQfWfwnj&(~gXZ54doa{4z06ngGWFT)Av6QIC>%L|7Vv7~(c9U>n1+Fgg0@C}rte
z$ML(?=I8OW#?JK67e7NT2Oz71Qr5PamfPvh>~M=rgAPgnU@`y(0QL#1H)tJI}eV
z?C{TGnS&p~6p@`!CJkFtB0p3J`&VMm+Xd+qEc)C}-k%u*9ZX^R5T-vvM(I_b@sQrxpG*f4&0#MihU(6o1^p5!J)rKV6#txBF8L3CPlcek(J&vUQ-}
zz8!jeLEX~X>GH#07VJog71$Lk@FeMc{$lPhXkg0oQ5P0l7b<`$xH%;n5CpI}CGxqr
zu_VzK9TVw`j*0X|$A07vB0n-XpI?M>u7&(FgH;NJ>-InX}0a0i%Zk%$C7Kg}I670?7?j0a-UBN!OZ
zRa{fDiXj(0Les~c*TeDU^^7zumka(r68=uGxB!HVdc-1MKx*7mMgWB_8ulRqZuS$6
z@|qCVuM4!JxPq`zEBQJCz5cJKoR2s?uX6&Vr|^HvZ%SA}%j)}b1&Ok#_nVNmh)op(1
z?lrIf{M6JoYekbm+e$rS2d}$gaI(f}caWR*=;=>9?;f}`;{MC&Mu}arTmF8L<9R%K
z_eRO<>KQyZV=8n>;
z+IVf#;}TF&2S~+3TQRBpqzSGrc%8lIH&9X2Ij?e#Wna$hcjc66+jQ5Bd4aC$GfA!e
zj09`5n`X~%hL&pS7ISBBc=ch6U&GD?pK6yp=9#S8s&(pKp#O!0+H}9;GiH_LY}nM6
zJ7jXo59_Dh+#ho^?DG1~7v0S^_B`OWw7LG=>!C-(cXo@rTxM{kclVoKBW!1E${!z7
zZMkA~tC|kMSKph2SNja#xoC5lVBaaX^3|ayX6$l$*qt-ZXGw74gAr>tyWWpDmbaO|
zwX#jc{zIRxeN|Y|F;kYAWJ3k#1K=Tmv;_WGzANJz5<4z-6h9S>qiK1F?kS!@KyBvQ
zNqN_OMi$$5AF=ns&f6$D5xLN)1ezwo0yGB(%_0fxRD%94S&%fw0_u%Uc
zr%h&?Z}c=j)eEXnKo5=3U$0zRK#A)9qo0ZAbep
z=rQog)ejE$x<7Akr_1(LEd2a&FSNEoKl~NWK$s{J-W|n$5fz$j?rn73=8eVn!<(*$
zq+d;{3|V^nMTd%_g?n$VYjbShomM`p-<+$ryKOdlQO}-pXC2~=zn_)Wd&lXG8LI*e
zjkd(h95pRIy>MdBZZ-xLezuhYsFSH7365j&QtgU^*94Z|V7+er$9k(No7ty#_jkM8Z1kg+PRYZDoHhGo
zUDP*fNL01Y@rrrO0KD
z7r&oz?2bc1WI+A+{Pcs@wtGisTzYCbF=qZxMoz6LFwDkXc=Sr$c
zU5(dPmyGxC+Z~_r$?EgV>jQVK&UjRM!Li}-t1h3PmWF-}=(+K5kgNZU&lmpK)GyS(i_Kd)82P=v
zd^D%yF6)Dzy84{$_2^Wygw_N1yeiY+_RFn5^!CK0!#`Plw)m2DHR5*WqUNQyN41<)
z?3Eg{N_+0=mAZ>ulMU)lzZ!nlZp8{mjs3T`RO*BXwkO^E+;AZ2@t?n&yqNmygXza(C-d30vLfX;Kr
zYguI6_WG1x-m6D*e)LJhD@~^*jwwpf4XYnBRB0BTXgGQVY{L4SC`kk@Qshk{Udc-#4qRK
zn)s|8e17;H$9pr!4ZFTDwdKGw8@{yN60Ub&u+nj=|I7<>tM=3faF?HD+x+bCGOLO4
zgw5Tef=~ULWpc8z*<6!D?{gBlj)#tP5NLL+6pXzT)!J@HZSa=*#MzvjuRYJq%JZ}D
zWB2(IFY>n!E`1h1oE;oA;Pld!#?ykD>6krheW>U|Jvn3WtZ3B(eo0N=v;X*W^{5K_
zDS6*ZWK3t;{En?>Exa$!uNIolEi>H2$*MC1tk~dt#k6#VenOS&(2RG){Fq)#
z*NCDGI(8qYwsm_~q0wS%-j`+TqmF!{*Tk}O5WUNJ|2P1nni&k-cq)o9D7(`05emZ?
zpoR035Z#k*MzcT6n#4^`zIwzU-|qI@iXD|2vmbctb?~?C_u{4APA9I*oY-GiCKfOM
zxva%Vk2~%OTU&F#d%AS|suN=mz4$R8+@$Zk>z(3u51;j8vd>H7QTcuBL+otB?Oohg
zq&92UyP&XQe*aHdJAKzLihN+bzNqWD;)Fv>X!LhZLwKdSu+7Cb*O77UO;asijiz+oxOO#imiKhgSnwhJ4xb=1RzjF#i}Tk0XU|PhDqGm@I0k
zLXjkGVY3Rp)WMnwDJNhVLw^w@o60?#y4s0zKk;wJc(xZmzxH=vJcke$WB4sDEGI|8
z7ZQ@m1b}#0R`OuknF?6^Y6TAAHl+bi
zSJ4Z8rCAyi{>L>SvMY6}c@8o~g!J!?c@4-RG7Vla_=1&x4|jLCc7>NC-C={q6L8J|
zL9mJ815dty=?;I+kk1G3zL4981VYS{cvG=VpcvjgA}BbR3>cS~%AbHwVX-Ov)QH5X
zeA3m6gr+9KMn!B|V)8f=78>3^ylb!iB%D7XIcXw=gU8Smd~zp&$w|qnA<1!k`U$0#
z4o-%IM0y2tYogL2Di2NlxGyU|K*tqbaUYis1AqpXWKu_2V7EjIzs*OeIMUy0
zB#FbxFyiPaiEF_A%4n`6&Vi#jj+T-*?rj^JOX6DaDq*XhB(9Ao4;l2iAjbexNxBZy
zvkK^AK>1+Tn^ncd59dID-_l{AcZ_g9oXf`JI(P`kiAJ*Y$yaKpoWRZ&20F%q7-pbj
zY=~if>6iw@aLxZQXLolOcNaGo
zcQZ(K0a|IpZ*jy&%@2llP44z$M
+
+
+
@@ -1755,6 +1758,7 @@
+
@@ -15492,6 +15496,27 @@
GoodsBuyEdit.aspx
+
+ GoodsModel.aspx
+ ASPXCodeBehind
+
+
+ GoodsModel.aspx
+
+
+ GoodsModelDataIn.aspx
+ ASPXCodeBehind
+
+
+ GoodsModelDataIn.aspx
+
+
+ GoodsModelEdit.aspx
+ ASPXCodeBehind
+
+
+ GoodsModelEdit.aspx
+
GoodsPlan.aspx
ASPXCodeBehind
@@ -15835,6 +15860,13 @@
DriverScheme.aspx
+
+ DriverSchemeChart.aspx
+ ASPXCodeBehind
+
+
+ DriverSchemeChart.aspx
+
DriverSchemeEdit.aspx
ASPXCodeBehind
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx
new file mode 100644
index 00000000..0e0f7238
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx
@@ -0,0 +1,105 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GoodsModel.aspx.cs" Inherits="FineUIPro.Web.TestRun.DriverGoods.GoodsModel" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx.cs b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx.cs
new file mode 100644
index 00000000..d31e5e11
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx.cs
@@ -0,0 +1,1189 @@
+using BLL;
+using BLL.CQMS.Comprehensive;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+
+namespace FineUIPro.Web.TestRun.DriverGoods
+{
+ public partial class GoodsModel : PageBase
+ {
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ GetButtonPower();
+ btnNew.OnClientClick = Window1.GetShowReference("GoodsModelEdit.aspx") + "return false;";
+ Model.SGGLDB db = Funs.DB;
+ string projectId = this.CurrUser.LoginProjectId;
+ var goodsModels = from x in db.DriverGoods_GoodsModel where x.ProjectId == projectId select x;
+ if (goodsModels.Count() == 0) //未生成材料库
+ {
+ #region 初始化材料库
+ List list = new List();
+ Model.DriverGoods_GoodsModel item1 = new Model.DriverGoods_GoodsModel();
+ item1.GoodsModelId = SQLHelper.GetNewID();
+ item1.ProjectId = projectId;
+ item1.Code = 1;
+ item1.Purpose = "DN200管线打靶用纯铝靶板";
+ item1.Description = "纯铝板,长度160mm,宽度20mm,厚度5~6mm,带螺栓固定孔,双面抛光。";
+ item1.Quantity = "40片";
+ item1.Attachment = "《蒸汽吹扫打靶验收用铝制靶板尺寸图》";
+ item1.Remark = "用于蒸汽吹扫打靶";
+ list.Add(item1);
+ Model.DriverGoods_GoodsModel item2 = new Model.DriverGoods_GoodsModel();
+ item2.GoodsModelId = SQLHelper.GetNewID();
+ item2.ProjectId = projectId;
+ item2.Code = 2;
+ item2.Purpose = "DN250管线打靶用纯铝靶板";
+ item2.Description = "纯铝板,长度200mm,宽度25mm,厚度5~6mm,带螺栓固定孔,双面抛光。";
+ item2.Quantity = "25片";
+ item2.Attachment = "《蒸汽吹扫打靶验收用铝制靶板尺寸图》";
+ item2.Remark = "用于蒸汽吹扫打靶";
+ list.Add(item2);
+ Model.DriverGoods_GoodsModel item3 = new Model.DriverGoods_GoodsModel();
+ item3.GoodsModelId = SQLHelper.GetNewID();
+ item3.ProjectId = projectId;
+ item3.Code = 3;
+ item3.Purpose = "DN350管线打靶用纯铝靶板";
+ item3.Description = "纯铝板,长度300mm,宽度30mm,厚度5~6mm,带螺栓固定孔,双面抛光。";
+ item3.Quantity = "10片";
+ item3.Attachment = "《蒸汽吹扫打靶验收用铝制靶板尺寸图》";
+ item3.Remark = "用于蒸汽吹扫打靶";
+ list.Add(item3);
+ Model.DriverGoods_GoodsModel item4 = new Model.DriverGoods_GoodsModel();
+ item4.GoodsModelId = SQLHelper.GetNewID();
+ item4.ProjectId = projectId;
+ item4.Code = 4;
+ item4.Purpose = "焊接H型钢(100型)";
+ item4.Description = "H型钢,WH100*50*5*7Q235B,GBT 33814";
+ item4.Quantity = "130米";
+ item4.Attachment = "";
+ item4.Remark = "用于制作蒸汽吹扫、空气吹扫临时支架";
+ list.Add(item4);
+ Model.DriverGoods_GoodsModel item5 = new Model.DriverGoods_GoodsModel();
+ item5.GoodsModelId = SQLHelper.GetNewID();
+ item5.ProjectId = projectId;
+ item5.Code = 5;
+ item5.Purpose = "热轧槽钢(10号)";
+ item5.Description = "槽钢,10号(h 100,b 48,d 5.3),材质Q235B,GBT 706";
+ item5.Quantity = "200米";
+ item5.Attachment = "";
+ item5.Remark = "用于制作蒸汽吹扫、空气吹扫临时支架";
+ list.Add(item5);
+ Model.DriverGoods_GoodsModel item6 = new Model.DriverGoods_GoodsModel();
+ item6.GoodsModelId = SQLHelper.GetNewID();
+ item6.ProjectId = projectId;
+ item6.Code = 6;
+ item6.Purpose = "碳钢板(厚10mm)";
+ item6.Description = "碳钢板:厚度10mm , Q235B, GB/T 709-2006";
+ item6.Quantity = "20㎡";
+ item6.Attachment = "";
+ item6.Remark = "用于空气/蒸汽吹扫";
+ list.Add(item6);
+ Model.DriverGoods_GoodsModel item7 = new Model.DriverGoods_GoodsModel();
+ item7.GoodsModelId = SQLHelper.GetNewID();
+ item7.ProjectId = projectId;
+ item7.Code = 7;
+ item7.Purpose = "碳钢板(厚20mm)";
+ item7.Description = "碳钢板:厚度20mm ,Q235B, GB/T 709-2006";
+ item7.Quantity = "60㎡";
+ item7.Attachment = "";
+ item7.Remark = "用于空气/蒸汽吹扫";
+ list.Add(item7);
+ Model.DriverGoods_GoodsModel item8 = new Model.DriverGoods_GoodsModel();
+ item8.GoodsModelId = SQLHelper.GetNewID();
+ item8.ProjectId = projectId;
+ item8.Code = 8;
+ item8.Purpose = "碳钢板(厚40mm)";
+ item8.Description = "碳钢板:厚度40mm,Q235B, GB/T 709-2006";
+ item8.Quantity = "25㎡";
+ item8.Attachment = "";
+ item8.Remark = "用于空气/蒸汽吹扫";
+ list.Add(item8);
+ Model.DriverGoods_GoodsModel item9 = new Model.DriverGoods_GoodsModel();
+ item9.GoodsModelId = SQLHelper.GetNewID();
+ item9.ProjectId = projectId;
+ item9.Code = 9;
+ item9.Purpose = "蒸汽压力表";
+ item9.Description = "压力表:量程0~1.5MPa,不锈钢压力表,带冷凝弯(蒸汽系统使用)";
+ item9.Quantity = "15块";
+ item9.Attachment = "";
+ item9.Remark = "用于蒸汽吹扫";
+ list.Add(item9);
+ Model.DriverGoods_GoodsModel item10 = new Model.DriverGoods_GoodsModel();
+ item10.GoodsModelId = SQLHelper.GetNewID();
+ item10.ProjectId = projectId;
+ item10.Code = 10;
+ item10.Purpose = "蒸汽压力表";
+ item10.Description = "压力表:量程0~4MPa,不锈钢压力表,带冷凝弯(蒸汽系统使用)";
+ item10.Quantity = "4块";
+ item10.Attachment = "";
+ item10.Remark = "";
+ list.Add(item10);
+ Model.DriverGoods_GoodsModel item11 = new Model.DriverGoods_GoodsModel();
+ item11.GoodsModelId = SQLHelper.GetNewID();
+ item11.ProjectId = projectId;
+ item11.Code = 11;
+ item11.Purpose = "蒸汽压力表";
+ item11.Description = "压力表:量程0~15MPa,不锈钢压力表,带冷凝弯(蒸汽系统使用)";
+ item11.Quantity = "4块";
+ item11.Attachment = "";
+ item11.Remark = "";
+ list.Add(item11);
+ Model.DriverGoods_GoodsModel item12 = new Model.DriverGoods_GoodsModel();
+ item12.GoodsModelId = SQLHelper.GetNewID();
+ item12.ProjectId = projectId;
+ item12.Code = 12;
+ item12.Purpose = "普通压力表";
+ item12.Description = "压力表:量程0~1MPa,弹簧管压力表(压缩空气或水系统使用)";
+ item12.Quantity = "6块";
+ item12.Attachment = "";
+ item12.Remark = "";
+ list.Add(item12);
+ Model.DriverGoods_GoodsModel item13 = new Model.DriverGoods_GoodsModel();
+ item13.GoodsModelId = SQLHelper.GetNewID();
+ item13.ProjectId = projectId;
+ item13.Code = 13;
+ item13.Purpose = "非石棉纤维板";
+ item13.Description = "耐压非石棉纤维板(耐油性):δ3.0mm";
+ item13.Quantity = "200kg";
+ item13.Attachment = "";
+ item13.Remark = "";
+ list.Add(item13);
+ Model.DriverGoods_GoodsModel item14 = new Model.DriverGoods_GoodsModel();
+ item14.GoodsModelId = SQLHelper.GetNewID();
+ item14.ProjectId = projectId;
+ item14.Code = 14;
+ item14.Purpose = "聚四氟乙烯板";
+ item14.Description = "聚四氟乙烯板:δ2.0mm";
+ item14.Quantity = "15m2";
+ item14.Attachment = "";
+ item14.Remark = "";
+ list.Add(item14);
+ Model.DriverGoods_GoodsModel item15 = new Model.DriverGoods_GoodsModel();
+ item15.GoodsModelId = SQLHelper.GetNewID();
+ item15.ProjectId = projectId;
+ item15.Code = 15;
+ item15.Purpose = "黑色耐压橡胶板";
+ item15.Description = "黑色耐压橡胶板:δ3.0mm";
+ item15.Quantity = "200kg";
+ item15.Attachment = "";
+ item15.Remark = "";
+ list.Add(item15);
+ Model.DriverGoods_GoodsModel item16 = new Model.DriverGoods_GoodsModel();
+ item16.GoodsModelId = SQLHelper.GetNewID();
+ item16.ProjectId = projectId;
+ item16.Code = 16;
+ item16.Purpose = "内衬纤维耐压黑色橡胶软管";
+ item16.Description = "内衬纤维耐压黑色橡胶软管:DN32,承压1.5MPa(工作介质:压缩空气)";
+ item16.Quantity = "200m";
+ item16.Attachment = "";
+ item16.Remark = "";
+ list.Add(item16);
+ Model.DriverGoods_GoodsModel item17 = new Model.DriverGoods_GoodsModel();
+ item17.GoodsModelId = SQLHelper.GetNewID();
+ item17.ProjectId = projectId;
+ item17.Code = 17;
+ item17.Purpose = "不锈钢丝网";
+ item17.Description = "304不锈钢丝网,6目,SS";
+ item17.Quantity = "10m2";
+ item17.Attachment = "";
+ item17.Remark = "用于水冲洗和泵单试";
+ list.Add(item17);
+ Model.DriverGoods_GoodsModel item18 = new Model.DriverGoods_GoodsModel();
+ item18.GoodsModelId = SQLHelper.GetNewID();
+ item18.ProjectId = projectId;
+ item18.Code = 18;
+ item18.Purpose = "不锈钢丝网";
+ item18.Description = "304不锈钢丝网,16目,SS";
+ item18.Quantity = "10m2";
+ item18.Attachment = "";
+ item18.Remark = "";
+ list.Add(item18);
+ Model.DriverGoods_GoodsModel item19 = new Model.DriverGoods_GoodsModel();
+ item19.GoodsModelId = SQLHelper.GetNewID();
+ item19.ProjectId = projectId;
+ item19.Code = 19;
+ item19.Purpose = "不锈钢丝网";
+ item19.Description = "304不锈钢丝网,30目,SS";
+ item19.Quantity = "15m2";
+ item19.Attachment = "";
+ item19.Remark = "";
+ list.Add(item19);
+ Model.DriverGoods_GoodsModel item20 = new Model.DriverGoods_GoodsModel();
+ item20.GoodsModelId = SQLHelper.GetNewID();
+ item20.ProjectId = projectId;
+ item20.Code = 20;
+ item20.Purpose = "不锈钢丝网";
+ item20.Description = "304不锈钢丝网,120目,SS";
+ item20.Quantity = "20m2";
+ item20.Attachment = "";
+ item20.Remark = "";
+ list.Add(item20);
+ Model.DriverGoods_GoodsModel item21 = new Model.DriverGoods_GoodsModel();
+ item21.GoodsModelId = SQLHelper.GetNewID();
+ item21.ProjectId = projectId;
+ item21.Code = 21;
+ item21.Purpose = "不锈钢丝网";
+ item21.Description = "304不锈钢丝网,180目,SS";
+ item21.Quantity = "20m2";
+ item21.Attachment = "";
+ item21.Remark = "";
+ list.Add(item21);
+ Model.DriverGoods_GoodsModel item22 = new Model.DriverGoods_GoodsModel();
+ item22.GoodsModelId = SQLHelper.GetNewID();
+ item22.ProjectId = projectId;
+ item22.Code = 22;
+ item22.Purpose = "消防带";
+ item22.Description = "DN150(带连接卡扣),耐压0.8MPa";
+ item22.Quantity = "200米";
+ item22.Attachment = "";
+ item22.Remark = "";
+ list.Add(item22);
+ Model.DriverGoods_GoodsModel item23 = new Model.DriverGoods_GoodsModel();
+ item23.GoodsModelId = SQLHelper.GetNewID();
+ item23.ProjectId = projectId;
+ item23.Code = 23;
+ item23.Purpose = "消防带";
+ item23.Description = "DN100 (带连接卡扣),耐压0.8MPa";
+ item23.Quantity = "200米";
+ item23.Attachment = "";
+ item23.Remark = "";
+ list.Add(item23);
+ Model.DriverGoods_GoodsModel item24 = new Model.DriverGoods_GoodsModel();
+ item24.GoodsModelId = SQLHelper.GetNewID();
+ item24.ProjectId = projectId;
+ item24.Code = 24;
+ item24.Purpose = "便携式普通对讲机";
+ item24.Description = "便携式对讲机,非防爆,通信距离≥3km (优先推荐小米对讲机1S)";
+ item24.Quantity = "10部";
+ item24.Attachment = "";
+ item24.Remark = "用于冲洗吹扫联系";
+ list.Add(item24);
+ Model.DriverGoods_GoodsModel item25 = new Model.DriverGoods_GoodsModel();
+ item25.GoodsModelId = SQLHelper.GetNewID();
+ item25.ProjectId = projectId;
+ item25.Code = 25;
+ item25.Purpose = "手持红外测温仪";
+ item25.Description = "手持红外线测温仪:测温范围 -50℃~500℃ , 精度:0.1℃,误差:±0.5℃";
+ item25.Quantity = "3部";
+ item25.Attachment = "";
+ item25.Remark = "";
+ list.Add(item25);
+ Model.DriverGoods_GoodsModel item26 = new Model.DriverGoods_GoodsModel();
+ item26.GoodsModelId = SQLHelper.GetNewID();
+ item26.ProjectId = projectId;
+ item26.Code = 26;
+ item26.Purpose = "手电筒";
+ item26.Description = "充电式强光手电筒";
+ item26.Quantity = "5个";
+ item26.Attachment = "";
+ item26.Remark = "";
+ list.Add(item26);
+ Model.DriverGoods_GoodsModel item27 = new Model.DriverGoods_GoodsModel();
+ item27.GoodsModelId = SQLHelper.GetNewID();
+ item27.ProjectId = projectId;
+ item27.Code = 27;
+ item27.Purpose = "便携斜挎背包";
+ item27.Description = "便携背包,斜挎,浅色,帆布等耐脏耐磨材质,方便现场携带资料图纸";
+ item27.Quantity = "5个";
+ item27.Attachment = "";
+ item27.Remark = "";
+ list.Add(item27);
+ Model.DriverGoods_GoodsModel item28 = new Model.DriverGoods_GoodsModel();
+ item28.GoodsModelId = SQLHelper.GetNewID();
+ item28.ProjectId = projectId;
+ item28.Code = 28;
+ item28.Purpose = "便携式四合一气体分析仪";
+ item28.Description = "四合一气体分析仪(测量气体EX+O2+CO+H2,带声、光、振动报警,防爆)";
+ item28.Quantity = "5台";
+ item28.Attachment = "";
+ item28.Remark = "";
+ list.Add(item28);
+ Model.DriverGoods_GoodsModel item29 = new Model.DriverGoods_GoodsModel();
+ item29.GoodsModelId = SQLHelper.GetNewID();
+ item29.ProjectId = projectId;
+ item29.Code = 29;
+ item29.Purpose = "开车临时材料";
+ item29.Description = "碳钢管:DN900, 20#,CL150, δ12.7mm";
+ item29.Quantity = "7m";
+ item29.Attachment = "";
+ item29.Remark = "";
+ list.Add(item29);
+ Model.DriverGoods_GoodsModel item30 = new Model.DriverGoods_GoodsModel();
+ item30.GoodsModelId = SQLHelper.GetNewID();
+ item30.ProjectId = projectId;
+ item30.Code = 30;
+ item30.Purpose = "开车临时材料";
+ item30.Description = "碳钢管:DN700, 20#,CL150, δ12.7mm";
+ item30.Quantity = "9m";
+ item30.Attachment = "";
+ item30.Remark = "";
+ list.Add(item30);
+ Model.DriverGoods_GoodsModel item31 = new Model.DriverGoods_GoodsModel();
+ item31.GoodsModelId = SQLHelper.GetNewID();
+ item31.ProjectId = projectId;
+ item31.Code = 31;
+ item31.Purpose = "开车临时材料";
+ item31.Description = "碳钢管:DN600, 20#,CL150, δ9.53mm";
+ item31.Quantity = "14m";
+ item31.Attachment = "";
+ item31.Remark = "";
+ list.Add(item31);
+ Model.DriverGoods_GoodsModel item32 = new Model.DriverGoods_GoodsModel();
+ item32.GoodsModelId = SQLHelper.GetNewID();
+ item32.ProjectId = projectId;
+ item32.Code = 32;
+ item32.Purpose = "开车临时材料";
+ item32.Description = "碳钢管:DN500, 20#,CL150, δ9.53mm";
+ item32.Quantity = "41m";
+ item32.Attachment = "";
+ item32.Remark = "";
+ list.Add(item32);
+ Model.DriverGoods_GoodsModel item33 = new Model.DriverGoods_GoodsModel();
+ item33.GoodsModelId = SQLHelper.GetNewID();
+ item33.ProjectId = projectId;
+ item33.Code = 33;
+ item33.Purpose = "开车临时材料";
+ item33.Description = "碳钢管:DN450,20#,CL150, δ7.92mm";
+ item33.Quantity = "46m";
+ item33.Attachment = "";
+ item33.Remark = "";
+ list.Add(item33);
+ Model.DriverGoods_GoodsModel item34 = new Model.DriverGoods_GoodsModel();
+ item34.GoodsModelId = SQLHelper.GetNewID();
+ item34.ProjectId = projectId;
+ item34.Code = 34;
+ item34.Purpose = "开车临时材料";
+ item34.Description = "碳钢管:DN400,20#,CL150, δ7.92mm";
+ item34.Quantity = "57m";
+ item34.Attachment = "";
+ item34.Remark = "";
+ list.Add(item34);
+ Model.DriverGoods_GoodsModel item35 = new Model.DriverGoods_GoodsModel();
+ item35.GoodsModelId = SQLHelper.GetNewID();
+ item35.ProjectId = projectId;
+ item35.Code = 35;
+ item35.Purpose = "开车临时材料";
+ item35.Description = "无缝碳钢管:DN350,20#,CL150, δ7.92mm";
+ item35.Quantity = "65m";
+ item35.Attachment = "";
+ item35.Remark = "";
+ list.Add(item35);
+ Model.DriverGoods_GoodsModel item36 = new Model.DriverGoods_GoodsModel();
+ item36.GoodsModelId = SQLHelper.GetNewID();
+ item36.ProjectId = projectId;
+ item36.Code = 36;
+ item36.Purpose = "开车临时材料";
+ item36.Description = "无缝碳钢管:DN250,20#,CL150, δ6.35mm";
+ item36.Quantity = "350m";
+ item36.Attachment = "";
+ item36.Remark = "";
+ list.Add(item36);
+ Model.DriverGoods_GoodsModel item37 = new Model.DriverGoods_GoodsModel();
+ item37.GoodsModelId = SQLHelper.GetNewID();
+ item37.ProjectId = projectId;
+ item37.Code = 37;
+ item37.Purpose = "开车临时材料";
+ item37.Description = "无缝碳钢管:DN200,20#,CL150, δ6.35mm";
+ item37.Quantity = "350m";
+ item37.Attachment = "";
+ item37.Remark = "";
+ list.Add(item37);
+ Model.DriverGoods_GoodsModel item38 = new Model.DriverGoods_GoodsModel();
+ item38.GoodsModelId = SQLHelper.GetNewID();
+ item38.ProjectId = projectId;
+ item38.Code = 38;
+ item38.Purpose = "开车临时材料";
+ item38.Description = "无缝碳钢管:DN150,20#,CL150, δ7.11mm";
+ item38.Quantity = "150m";
+ item38.Attachment = "";
+ item38.Remark = "";
+ list.Add(item38);
+ Model.DriverGoods_GoodsModel item39 = new Model.DriverGoods_GoodsModel();
+ item39.GoodsModelId = SQLHelper.GetNewID();
+ item39.ProjectId = projectId;
+ item39.Code = 39;
+ item39.Purpose = "开车临时材料";
+ item39.Description = "无缝碳钢管:DN100,20#,CL150, δ6.02mm";
+ item39.Quantity = "100m ";
+ item39.Attachment = "";
+ item39.Remark = "";
+ list.Add(item39);
+ Model.DriverGoods_GoodsModel item40 = new Model.DriverGoods_GoodsModel();
+ item40.GoodsModelId = SQLHelper.GetNewID();
+ item40.ProjectId = projectId;
+ item40.Code = 40;
+ item40.Purpose = "开车临时材料";
+ item40.Description = "无缝碳钢管:DN80,20#, CL150, δ5.49mm";
+ item40.Quantity = "60m";
+ item40.Attachment = "";
+ item40.Remark = "";
+ list.Add(item40);
+ Model.DriverGoods_GoodsModel item41 = new Model.DriverGoods_GoodsModel();
+ item41.GoodsModelId = SQLHelper.GetNewID();
+ item41.ProjectId = projectId;
+ item41.Code = 41;
+ item41.Purpose = "开车临时材料";
+ item41.Description = "无缝碳钢管:DN50,20#,CL150, δ5.54mm";
+ item41.Quantity = "60m";
+ item41.Attachment = "";
+ item41.Remark = "";
+ list.Add(item41);
+ Model.DriverGoods_GoodsModel item42 = new Model.DriverGoods_GoodsModel();
+ item42.GoodsModelId = SQLHelper.GetNewID();
+ item42.ProjectId = projectId;
+ item42.Code = 42;
+ item42.Purpose = "开车临时材料";
+ item42.Description = "无缝碳钢管:DN32,20#,CL150, δ5.08mm";
+ item42.Quantity = "30m";
+ item42.Attachment = "";
+ item42.Remark = "";
+ list.Add(item42);
+ Model.DriverGoods_GoodsModel item43 = new Model.DriverGoods_GoodsModel();
+ item43.GoodsModelId = SQLHelper.GetNewID();
+ item43.ProjectId = projectId;
+ item43.Code = 43;
+ item43.Purpose = "开车临时材料";
+ item43.Description = "无缝碳钢管:DN25,20#,CL150,δ4.55mm";
+ item43.Quantity = "100m";
+ item43.Attachment = "";
+ item43.Remark = "";
+ list.Add(item43);
+ Model.DriverGoods_GoodsModel item44 = new Model.DriverGoods_GoodsModel();
+ item44.GoodsModelId = SQLHelper.GetNewID();
+ item44.ProjectId = projectId;
+ item44.Code = 44;
+ item44.Purpose = "开车临时材料";
+ item44.Description = "90°弯头,DN300,CL150:A234-WPB-S/W,外径323.8*厚6.35";
+ item44.Quantity = "20个";
+ item44.Attachment = "";
+ item44.Remark = "";
+ list.Add(item44);
+ Model.DriverGoods_GoodsModel item45 = new Model.DriverGoods_GoodsModel();
+ item45.GoodsModelId = SQLHelper.GetNewID();
+ item45.ProjectId = projectId;
+ item45.Code = 45;
+ item45.Purpose = "开车临时材料";
+ item45.Description = "90°弯头,DN250,CL150:A234-WPB-S/W,外径273*厚6.35";
+ item45.Quantity = "25个";
+ item45.Attachment = "";
+ item45.Remark = "";
+ list.Add(item45);
+ Model.DriverGoods_GoodsModel item46 = new Model.DriverGoods_GoodsModel();
+ item46.GoodsModelId = SQLHelper.GetNewID();
+ item46.ProjectId = projectId;
+ item46.Code = 46;
+ item46.Purpose = "开车临时材料";
+ item46.Description = "90°弯头,DN200,CL150: A234-WPB-S/W,外径219.1*厚6.35";
+ item46.Quantity = "25个";
+ item46.Attachment = "";
+ item46.Remark = "";
+ list.Add(item46);
+ Model.DriverGoods_GoodsModel item47 = new Model.DriverGoods_GoodsModel();
+ item47.GoodsModelId = SQLHelper.GetNewID();
+ item47.ProjectId = projectId;
+ item47.Code = 47;
+ item47.Purpose = "开车临时材料";
+ item47.Description = "90°弯头,DN150,CL150:A234-WPB-S/W,外径168.3*厚7.11";
+ item47.Quantity = "25个";
+ item47.Attachment = "";
+ item47.Remark = "";
+ list.Add(item47);
+ Model.DriverGoods_GoodsModel item48 = new Model.DriverGoods_GoodsModel();
+ item48.GoodsModelId = SQLHelper.GetNewID();
+ item48.ProjectId = projectId;
+ item48.Code = 48;
+ item48.Purpose = "开车临时材料";
+ item48.Description = "90°弯头,DN100,CL150:A234-WPB-S/W,外径114.3*厚6.02";
+ item48.Quantity = "10个";
+ item48.Attachment = "";
+ item48.Remark = "";
+ list.Add(item48);
+ Model.DriverGoods_GoodsModel item49 = new Model.DriverGoods_GoodsModel();
+ item49.GoodsModelId = SQLHelper.GetNewID();
+ item49.ProjectId = projectId;
+ item49.Code = 49;
+ item49.Purpose = "开车临时材料";
+ item49.Description = "90°弯头,DN50,CL150:A234-WPB-S/W,外径60.3*厚3.91";
+ item49.Quantity = "10个";
+ item49.Attachment = "";
+ item49.Remark = "";
+ list.Add(item49);
+ Model.DriverGoods_GoodsModel item50 = new Model.DriverGoods_GoodsModel();
+ item50.GoodsModelId = SQLHelper.GetNewID();
+ item50.ProjectId = projectId;
+ item50.Code = 50;
+ item50.Purpose = "开车临时材料";
+ item50.Description = "螺栓螺母:FULLTHREAD.STUD.BOLT/NUTS M.1/2 长度:80mm ASME.B16.5/ASME.B18.2.2 A193.GR.B7/A194.GR.2H";
+ item50.Quantity = "144 set";
+ item50.Attachment = "";
+ item50.Remark = "";
+ list.Add(item50);
+ Model.DriverGoods_GoodsModel item51 = new Model.DriverGoods_GoodsModel();
+ item51.GoodsModelId = SQLHelper.GetNewID();
+ item51.ProjectId = projectId;
+ item51.Code = 51;
+ item51.Purpose = "开车临时材料";
+ item51.Description = "螺栓螺母:FULLTHREAD.STUD.BOLT/NUTS M.5/8 长度:100mm ASME.B16.5/ASME.B18.2.2 A193.GR.B7/A194.GR.2H";
+ item51.Quantity = "256 set";
+ item51.Attachment = "";
+ item51.Remark = "";
+ list.Add(item51);
+ Model.DriverGoods_GoodsModel item52 = new Model.DriverGoods_GoodsModel();
+ item52.GoodsModelId = SQLHelper.GetNewID();
+ item52.ProjectId = projectId;
+ item52.Code = 52;
+ item52.Purpose = "开车临时材料";
+ item52.Description = "螺栓螺母:FULLTHREAD.STUD.BOLT/NUTS M.5/8 长度:110mm ASME.B16.5/ASME.B18.2.2 A193.GR.B7/A194.GR.2H";
+ item52.Quantity = "256 set";
+ item52.Attachment = "";
+ item52.Remark = "";
+ list.Add(item52);
+ Model.DriverGoods_GoodsModel item53 = new Model.DriverGoods_GoodsModel();
+ item53.GoodsModelId = SQLHelper.GetNewID();
+ item53.ProjectId = projectId;
+ item53.Code = 53;
+ item53.Purpose = "开车临时材料";
+ item53.Description = "螺栓螺母:FULLTHREAD.STUD.BOLT/NUTS M.3/4 长度:120mm ASME.B16.5/ASME.B18.2.2 A193.GR.B7/A194.GR.2H";
+ item53.Quantity = "288 set";
+ item53.Attachment = "";
+ item53.Remark = "";
+ list.Add(item53);
+ Model.DriverGoods_GoodsModel item54 = new Model.DriverGoods_GoodsModel();
+ item54.GoodsModelId = SQLHelper.GetNewID();
+ item54.ProjectId = projectId;
+ item54.Code = 54;
+ item54.Purpose = "开车临时材料";
+ item54.Description = "螺栓螺母:FULLTHREAD.STUD.BOLT/NUTS M.3/4 长度:130mm ASME.B16.5/ASME.B18.2.2 A193.GR.B7/A194.GR.2H";
+ item54.Quantity = "288 set";
+ item54.Attachment = "";
+ item54.Remark = "";
+ list.Add(item54);
+ Model.DriverGoods_GoodsModel item55 = new Model.DriverGoods_GoodsModel();
+ item55.GoodsModelId = SQLHelper.GetNewID();
+ item55.ProjectId = projectId;
+ item55.Code = 55;
+ item55.Purpose = "开车临时材料";
+ item55.Description = "螺栓螺母:FULLTHREAD.STUD.BOLT/NUTS M.7/8 长度:140mm ASME.B16.5/ASME.B18.2.2 A193.GR.B7/A194.GR.2H";
+ item55.Quantity = "288 set";
+ item55.Attachment = "";
+ item55.Remark = "";
+ list.Add(item55);
+ Model.DriverGoods_GoodsModel item56 = new Model.DriverGoods_GoodsModel();
+ item56.GoodsModelId = SQLHelper.GetNewID();
+ item56.ProjectId = projectId;
+ item56.Code = 56;
+ item56.Purpose = "开车临时材料";
+ item56.Description = "螺栓螺母:FULLTHREAD.STUD.BOLT/NUTS M.7/8 长度:140mm ASME.B16.5/ASME.B18.2.2 A193.GR.B7/A194.GR.2H";
+ item56.Quantity = "256 set";
+ item56.Attachment = "";
+ item56.Remark = "";
+ list.Add(item56);
+ Model.DriverGoods_GoodsModel item57 = new Model.DriverGoods_GoodsModel();
+ item57.GoodsModelId = SQLHelper.GetNewID();
+ item57.ProjectId = projectId;
+ item57.Code = 57;
+ item57.Purpose = "开车临时材料";
+ item57.Description = "碳钢闸阀:DN300,CL150,型号:Z2A1A02-P2G3";
+ item57.Quantity = "2个";
+ item57.Attachment = "";
+ item57.Remark = "";
+ list.Add(item57);
+ Model.DriverGoods_GoodsModel item58 = new Model.DriverGoods_GoodsModel();
+ item58.GoodsModelId = SQLHelper.GetNewID();
+ item58.ProjectId = projectId;
+ item58.Code = 58;
+ item58.Purpose = "开车临时材料";
+ item58.Description = "碳钢闸阀:DN200,CL150,型号:Z2A1A02-P2G3";
+ item58.Quantity = "3个";
+ item58.Attachment = "";
+ item58.Remark = "";
+ list.Add(item58);
+ Model.DriverGoods_GoodsModel item59 = new Model.DriverGoods_GoodsModel();
+ item59.GoodsModelId = SQLHelper.GetNewID();
+ item59.ProjectId = projectId;
+ item59.Code = 59;
+ item59.Purpose = "开车临时材料";
+ item59.Description = "碳钢闸阀:DN150,CL150,型号:Z2A1A02-P2G3";
+ item59.Quantity = "3个";
+ item59.Attachment = "";
+ item59.Remark = "";
+ list.Add(item59);
+ Model.DriverGoods_GoodsModel item60 = new Model.DriverGoods_GoodsModel();
+ item60.GoodsModelId = SQLHelper.GetNewID();
+ item60.ProjectId = projectId;
+ item60.Code = 60;
+ item60.Purpose = "开车临时材料";
+ item60.Description = "碳钢闸阀:DN100,CL150,型号:Z2A1A02-P2G3";
+ item60.Quantity = "3个";
+ item60.Attachment = "";
+ item60.Remark = "";
+ list.Add(item60);
+ Model.DriverGoods_GoodsModel item61 = new Model.DriverGoods_GoodsModel();
+ item61.GoodsModelId = SQLHelper.GetNewID();
+ item61.ProjectId = projectId;
+ item61.Code = 61;
+ item61.Purpose = "开车临时材料";
+ item61.Description = "碳钢闸阀:DN50,CL150,型号:Z2A1A02-P2G3";
+ item61.Quantity = "3个";
+ item61.Attachment = "";
+ item61.Remark = "";
+ list.Add(item61);
+ Model.DriverGoods_GoodsModel item62 = new Model.DriverGoods_GoodsModel();
+ item62.GoodsModelId = SQLHelper.GetNewID();
+ item62.ProjectId = projectId;
+ item62.Code = 62;
+ item62.Purpose = "开车临时材料";
+ item62.Description = "碳钢闸阀:DN25,CL150,型号:Z2A1A02-P2G3";
+ item62.Quantity = "3个";
+ item62.Attachment = "";
+ item62.Remark = "";
+ list.Add(item62);
+ Model.DriverGoods_GoodsModel item63 = new Model.DriverGoods_GoodsModel();
+ item63.GoodsModelId = SQLHelper.GetNewID();
+ item63.ProjectId = projectId;
+ item63.Code = 63;
+ item63.Purpose = "开车临时材料";
+ item63.Description = "铝皮:δ=0.6mm, GB/T3880-2012";
+ item63.Quantity = "10㎡";
+ item63.Attachment = "";
+ item63.Remark = "";
+ list.Add(item63);
+ Model.DriverGoods_GoodsModel item64 = new Model.DriverGoods_GoodsModel();
+ item64.GoodsModelId = SQLHelper.GetNewID();
+ item64.ProjectId = projectId;
+ item64.Code = 64;
+ item64.Purpose = "开车临时材料";
+ item64.Description = "304不锈钢板:δ10mm , GB/T 4237-2015 06Cr19Ni10";
+ item64.Quantity = "30㎡";
+ item64.Attachment = "";
+ item64.Remark = "";
+ list.Add(item64);
+ Model.DriverGoods_GoodsModel item65 = new Model.DriverGoods_GoodsModel();
+ item65.GoodsModelId = SQLHelper.GetNewID();
+ item65.ProjectId = projectId;
+ item65.Code = 65;
+ item65.Purpose = "开车临时材料";
+ item65.Description = "碳钢板:δ10mm , Q235B, GB/T 709-2006";
+ item65.Quantity = "20㎡";
+ item65.Attachment = "";
+ item65.Remark = "";
+ list.Add(item65);
+ Model.DriverGoods_GoodsModel item66 = new Model.DriverGoods_GoodsModel();
+ item66.GoodsModelId = SQLHelper.GetNewID();
+ item66.ProjectId = projectId;
+ item66.Code = 66;
+ item66.Purpose = "开车临时材料";
+ item66.Description = "碳钢板:δ20mm ,Q235B, GB/T 709-2006";
+ item66.Quantity = "60㎡";
+ item66.Attachment = "";
+ item66.Remark = "";
+ list.Add(item66);
+ Model.DriverGoods_GoodsModel item67 = new Model.DriverGoods_GoodsModel();
+ item67.GoodsModelId = SQLHelper.GetNewID();
+ item67.ProjectId = projectId;
+ item67.Code = 67;
+ item67.Purpose = "开车临时材料";
+ item67.Description = "碳钢板:δ40mm,Q235B, GB/T 709-2006";
+ item67.Quantity = "25㎡";
+ item67.Attachment = "";
+ item67.Remark = "";
+ list.Add(item67);
+ Model.DriverGoods_GoodsModel item68 = new Model.DriverGoods_GoodsModel();
+ item68.GoodsModelId = SQLHelper.GetNewID();
+ item68.ProjectId = projectId;
+ item68.Code = 68;
+ item68.Purpose = "开车临时材料";
+ item68.Description = "不锈钢丝滤网6目:304不锈钢,SS";
+ item68.Quantity = "10㎡";
+ item68.Attachment = "";
+ item68.Remark = "";
+ list.Add(item68);
+ Model.DriverGoods_GoodsModel item69 = new Model.DriverGoods_GoodsModel();
+ item69.GoodsModelId = SQLHelper.GetNewID();
+ item69.ProjectId = projectId;
+ item69.Code = 69;
+ item69.Purpose = "开车临时材料";
+ item69.Description = "不锈钢丝滤网16目:304不锈钢,SS";
+ item69.Quantity = "10m2";
+ item69.Attachment = "";
+ item69.Remark = "";
+ list.Add(item69);
+ Model.DriverGoods_GoodsModel item70 = new Model.DriverGoods_GoodsModel();
+ item70.GoodsModelId = SQLHelper.GetNewID();
+ item70.ProjectId = projectId;
+ item70.Code = 70;
+ item70.Purpose = "开车临时材料";
+ item70.Description = "不锈钢丝滤网30目:304不锈钢,SS";
+ item70.Quantity = "15㎡";
+ item70.Attachment = "";
+ item70.Remark = "";
+ list.Add(item70);
+ Model.DriverGoods_GoodsModel item71 = new Model.DriverGoods_GoodsModel();
+ item71.GoodsModelId = SQLHelper.GetNewID();
+ item71.ProjectId = projectId;
+ item71.Code = 71;
+ item71.Purpose = "开车临时材料";
+ item71.Description = "不锈钢丝滤网120目:304不锈钢,SS";
+ item71.Quantity = "20㎡";
+ item71.Attachment = "";
+ item71.Remark = "";
+ list.Add(item71);
+ Model.DriverGoods_GoodsModel item72 = new Model.DriverGoods_GoodsModel();
+ item72.GoodsModelId = SQLHelper.GetNewID();
+ item72.ProjectId = projectId;
+ item72.Code = 72;
+ item72.Purpose = "开车临时材料";
+ item72.Description = "不锈钢丝滤网180目:304不锈钢,SS";
+ item72.Quantity = "20㎡";
+ item72.Attachment = "";
+ item72.Remark = "";
+ list.Add(item72);
+ Model.DriverGoods_GoodsModel item73 = new Model.DriverGoods_GoodsModel();
+ item73.GoodsModelId = SQLHelper.GetNewID();
+ item73.ProjectId = projectId;
+ item73.Code = 73;
+ item73.Purpose = "开车临时材料";
+ item73.Description = "耐压石棉板(耐油性):δ3.0mm";
+ item73.Quantity = "200kg";
+ item73.Attachment = "";
+ item73.Remark = "";
+ list.Add(item73);
+ Model.DriverGoods_GoodsModel item74 = new Model.DriverGoods_GoodsModel();
+ item74.GoodsModelId = SQLHelper.GetNewID();
+ item74.ProjectId = projectId;
+ item74.Code = 74;
+ item74.Purpose = "开车临时材料";
+ item74.Description = "耐压石棉板(耐油性):δ2.0mm";
+ item74.Quantity = "200kg";
+ item74.Attachment = "";
+ item74.Remark = "";
+ list.Add(item74);
+ Model.DriverGoods_GoodsModel item75 = new Model.DriverGoods_GoodsModel();
+ item75.GoodsModelId = SQLHelper.GetNewID();
+ item75.ProjectId = projectId;
+ item75.Code = 75;
+ item75.Purpose = "开车临时材料";
+ item75.Description = "黑色耐压橡胶板:δ3.0mm";
+ item75.Quantity = "150kg";
+ item75.Attachment = "";
+ item75.Remark = "";
+ list.Add(item75);
+ Model.DriverGoods_GoodsModel item76 = new Model.DriverGoods_GoodsModel();
+ item76.GoodsModelId = SQLHelper.GetNewID();
+ item76.ProjectId = projectId;
+ item76.Code = 76;
+ item76.Purpose = "开车临时材料";
+ item76.Description = "聚四氟乙稀版:δ1.0mm";
+ item76.Quantity = "15㎡";
+ item76.Attachment = "";
+ item76.Remark = "";
+ list.Add(item76);
+ Model.DriverGoods_GoodsModel item77 = new Model.DriverGoods_GoodsModel();
+ item77.GoodsModelId = SQLHelper.GetNewID();
+ item77.ProjectId = projectId;
+ item77.Code = 77;
+ item77.Purpose = "开车临时材料";
+ item77.Description = "聚四氟乙稀版:δ2.0mm";
+ item77.Quantity = "15㎡";
+ item77.Attachment = "";
+ item77.Remark = "";
+ list.Add(item77);
+ Model.DriverGoods_GoodsModel item78 = new Model.DriverGoods_GoodsModel();
+ item78.GoodsModelId = SQLHelper.GetNewID();
+ item78.ProjectId = projectId;
+ item78.Code = 78;
+ item78.Purpose = "开车临时材料";
+ item78.Description = "内衬金属弹簧塑料软管DN100, 承压0.6MPa(工作介质:水)";
+ item78.Quantity = "150m";
+ item78.Attachment = "";
+ item78.Remark = "";
+ list.Add(item78);
+ Model.DriverGoods_GoodsModel item79 = new Model.DriverGoods_GoodsModel();
+ item79.GoodsModelId = SQLHelper.GetNewID();
+ item79.ProjectId = projectId;
+ item79.Code = 79;
+ item79.Purpose = "开车临时材料";
+ item79.Description = "内衬金属弹簧塑料软管DN80, 承压0.6MPa(工作介质:水)";
+ item79.Quantity = "125m";
+ item79.Attachment = "";
+ item79.Remark = "";
+ list.Add(item79);
+ Model.DriverGoods_GoodsModel item80 = new Model.DriverGoods_GoodsModel();
+ item80.GoodsModelId = SQLHelper.GetNewID();
+ item80.ProjectId = projectId;
+ item80.Code = 80;
+ item80.Purpose = "开车临时材料";
+ item80.Description = "内衬金属弹簧塑料软管DN50, 承压0.6MPa(工作介质:水)";
+ item80.Quantity = "200m";
+ item80.Attachment = "";
+ item80.Remark = "";
+ list.Add(item80);
+ Model.DriverGoods_GoodsModel item81 = new Model.DriverGoods_GoodsModel();
+ item81.GoodsModelId = SQLHelper.GetNewID();
+ item81.ProjectId = projectId;
+ item81.Code = 81;
+ item81.Purpose = "开车临时材料";
+ item81.Description = "内衬金属弹簧塑料软管DN32, 承压0.6MPa(工作介质:水)";
+ item81.Quantity = "125m";
+ item81.Attachment = "";
+ item81.Remark = "";
+ list.Add(item81);
+ Model.DriverGoods_GoodsModel item82 = new Model.DriverGoods_GoodsModel();
+ item82.GoodsModelId = SQLHelper.GetNewID();
+ item82.ProjectId = projectId;
+ item82.Code = 82;
+ item82.Purpose = "开车临时材料";
+ item82.Description = "内衬金属弹簧塑料软管DN25, 承压0.6MPa(工作介质:水)";
+ item82.Quantity = "75m";
+ item82.Attachment = "";
+ item82.Remark = "";
+ list.Add(item82);
+ Model.DriverGoods_GoodsModel item83 = new Model.DriverGoods_GoodsModel();
+ item83.GoodsModelId = SQLHelper.GetNewID();
+ item83.ProjectId = projectId;
+ item83.Code = 83;
+ item83.Purpose = "开车临时材料";
+ item83.Description = "消防带:DN150(带连接卡扣),耐压0.8MPa";
+ item83.Quantity = "200m";
+ item83.Attachment = "";
+ item83.Remark = "";
+ list.Add(item83);
+ Model.DriverGoods_GoodsModel item84 = new Model.DriverGoods_GoodsModel();
+ item84.GoodsModelId = SQLHelper.GetNewID();
+ item84.ProjectId = projectId;
+ item84.Code = 84;
+ item84.Purpose = "开车临时材料";
+ item84.Description = "消防带:DN100 (带连接卡扣),耐压0.8MPa";
+ item84.Quantity = "200m";
+ item84.Attachment = "";
+ item84.Remark = "";
+ list.Add(item84);
+ Model.DriverGoods_GoodsModel item85 = new Model.DriverGoods_GoodsModel();
+ item85.GoodsModelId = SQLHelper.GetNewID();
+ item85.ProjectId = projectId;
+ item85.Code = 85;
+ item85.Purpose = "开车临时材料";
+ item85.Description = "内衬纤维耐压黑色橡胶软管:DN32,承压1.5MPa(工作介质:压缩空气)";
+ item85.Quantity = "200m";
+ item85.Attachment = "";
+ item85.Remark = "";
+ list.Add(item85);
+ Model.DriverGoods_GoodsModel item86 = new Model.DriverGoods_GoodsModel();
+ item86.GoodsModelId = SQLHelper.GetNewID();
+ item86.ProjectId = projectId;
+ item86.Code = 86;
+ item86.Purpose = "开车临时材料";
+ item86.Description = "内衬纤维耐压黑色橡胶软管:DN25,承压1.5MPa(工作介质:压缩空气)";
+ item86.Quantity = "100m";
+ item86.Attachment = "";
+ item86.Remark = "";
+ list.Add(item86);
+ Model.DriverGoods_GoodsModel item87 = new Model.DriverGoods_GoodsModel();
+ item87.GoodsModelId = SQLHelper.GetNewID();
+ item87.ProjectId = projectId;
+ item87.Code = 87;
+ item87.Purpose = "开车临时材料";
+ item87.Description = "聚四氟乙烯生料带:δ0.1mm、宽18mm";
+ item87.Quantity = "6卷";
+ item87.Attachment = "";
+ item87.Remark = "";
+ list.Add(item87);
+ Model.DriverGoods_GoodsModel item88 = new Model.DriverGoods_GoodsModel();
+ item88.GoodsModelId = SQLHelper.GetNewID();
+ item88.ProjectId = projectId;
+ item88.Code = 88;
+ item88.Purpose = "开车临时材料";
+ item88.Description = "红外线测温仪:测温范围 -50℃~350℃ , 精度:0.1℃,误差:±0.5℃";
+ item88.Quantity = "1个";
+ item88.Attachment = "";
+ item88.Remark = "";
+ list.Add(item88);
+ Model.DriverGoods_GoodsModel item89 = new Model.DriverGoods_GoodsModel();
+ item89.GoodsModelId = SQLHelper.GetNewID();
+ item89.ProjectId = projectId;
+ item89.Code = 89;
+ item89.Purpose = "开车临时材料";
+ item89.Description = "普通防爆对讲机(通信距离大于3km)";
+ item89.Quantity = "15个";
+ item89.Attachment = "";
+ item89.Remark = "";
+ list.Add(item89);
+ Model.DriverGoods_GoodsModel item90 = new Model.DriverGoods_GoodsModel();
+ item90.GoodsModelId = SQLHelper.GetNewID();
+ item90.ProjectId = projectId;
+ item90.Code = 90;
+ item90.Purpose = "开车临时材料";
+ item90.Description = "手摇油泵(油抽子)";
+ item90.Quantity = "4个";
+ item90.Attachment = "";
+ item90.Remark = "";
+ list.Add(item90);
+ Model.DriverGoods_GoodsModel item91 = new Model.DriverGoods_GoodsModel();
+ item91.GoodsModelId = SQLHelper.GetNewID();
+ item91.ProjectId = projectId;
+ item91.Code = 91;
+ item91.Purpose = "开车临时材料";
+ item91.Description = "压力表:量程0~6.0MPa, 弹簧管压力表 (压缩空气或水系统使用)";
+ item91.Quantity = "2块";
+ item91.Attachment = "";
+ item91.Remark = "";
+ list.Add(item91);
+ Model.DriverGoods_GoodsModel item92 = new Model.DriverGoods_GoodsModel();
+ item92.GoodsModelId = SQLHelper.GetNewID();
+ item92.ProjectId = projectId;
+ item92.Code = 92;
+ item92.Purpose = "开车临时材料";
+ item92.Description = "压力表:量程0~1.5MPa,弹簧管压力表(压缩空气或水系统使用)";
+ item92.Quantity = "4块";
+ item92.Attachment = "";
+ item92.Remark = "";
+ list.Add(item92);
+ Model.DriverGoods_GoodsModel item93 = new Model.DriverGoods_GoodsModel();
+ item93.GoodsModelId = SQLHelper.GetNewID();
+ item93.ProjectId = projectId;
+ item93.Code = 93;
+ item93.Purpose = "开车临时材料";
+ item93.Description = "压力表:量程0~1.5MPa,不锈钢压力表,带冷凝弯(蒸汽系统使用)";
+ item93.Quantity = "4块";
+ item93.Attachment = "";
+ item93.Remark = "";
+ list.Add(item93);
+ Model.DriverGoods_GoodsModel item94 = new Model.DriverGoods_GoodsModel();
+ item94.GoodsModelId = SQLHelper.GetNewID();
+ item94.ProjectId = projectId;
+ item94.Code = 94;
+ item94.Purpose = "开车临时材料";
+ item94.Description = "压力表:量程0~4MPa,不锈钢压力表,带冷凝弯(蒸汽系统使用)";
+ item94.Quantity = "4块";
+ item94.Attachment = "";
+ item94.Remark = "";
+ list.Add(item94);
+ Model.DriverGoods_GoodsModel item95 = new Model.DriverGoods_GoodsModel();
+ item95.GoodsModelId = SQLHelper.GetNewID();
+ item95.ProjectId = projectId;
+ item95.Code = 95;
+ item95.Purpose = "开车临时材料";
+ item95.Description = "压力表:量程0~15MPa,不锈钢压力表,带冷凝弯(蒸汽系统使用)";
+ item95.Quantity = "2块";
+ item95.Attachment = "";
+ item95.Remark = "";
+ list.Add(item95);
+ Model.DriverGoods_GoodsModel item96 = new Model.DriverGoods_GoodsModel();
+ item96.GoodsModelId = SQLHelper.GetNewID();
+ item96.ProjectId = projectId;
+ item96.Code = 96;
+ item96.Purpose = "开车临时材料";
+ item96.Description = "潜污泵: 流量≥50m3/h,扬程≥15m,吸程≥5m (全浸入式的泥沙水环境中使用)";
+ item96.Quantity = "3台";
+ item96.Attachment = "";
+ item96.Remark = "";
+ list.Add(item96);
+ db.DriverGoods_GoodsModel.InsertAllOnSubmit(list);
+ db.SubmitChanges();
+ #endregion
+ }
+ BindGrid();
+ }
+ }
+
+ ///
+ /// 数据绑定
+ ///
+ public void BindGrid()
+ {
+ string strSql = @"select * from DriverGoods_GoodsModel C
+ where C.ProjectId = @ProjectId";
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
+ if (!string.IsNullOrEmpty(this.txtDescription.Text.Trim()))
+ {
+ strSql += " AND Description like @Description";
+ listStr.Add(new SqlParameter("@Description", "%" + this.txtDescription.Text.Trim() + "%"));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页、排序
+ ///
+ /// 分页下拉
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+
+ ///
+ /// 分页索引事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ {
+ Grid1.SortDirection = e.SortDirection;
+ Grid1.SortField = e.SortField;
+ BindGrid();
+ }
+ #endregion
+
+ #region 查询
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void btnSearch_Click(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 关闭弹出窗口
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 增加
+ ///
+ /// 新增按钮事件
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GoodsModelEdit.aspx", "编辑 - ")));
+ }
+ #endregion
+
+ #region 编辑
+ protected void btnMenuModify_Click(object sender, EventArgs e)
+ {
+ EditData();
+ }
+
+ ///
+ /// Grid行双击事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ EditData();
+ }
+
+ ///
+ /// 编辑
+ ///
+ private void EditData()
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GoodsModelEdit.aspx?GoodsModelId={0}", Grid1.SelectedRowID, "编辑 - ")));
+ }
+ #endregion
+
+ #region 删除
+ ///
+ /// 右键删除
+ ///
+ ///
+ ///
+ protected void btnMenuDel_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length > 0)
+ {
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ var data = BLL.GoodsModelService.GetGoodsModelById(rowID);
+ if (data != null)
+ {
+ BLL.GoodsModelService.DeleteGoodsModel(rowID);
+ }
+ }
+ BindGrid();
+ ShowNotify("删除数据成功!", MessageBoxIcon.Success);
+ }
+ }
+ #endregion
+
+ #region 导入
+ ///
+ /// 导入按钮
+ ///
+ ///
+ ///
+ protected void btnImport_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("GoodsModelDataIn.aspx", "导入 - ")));
+ }
+ #endregion
+
+ #region 获取按钮权限
+ ///
+ /// 获取按钮权限
+ ///
+ ///
+ ///
+ private void GetButtonPower()
+ {
+ if (Request.Params["value"] == "0")
+ {
+ return;
+ }
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.GoodsModelMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnDelete))
+ {
+ this.btnMenuDel.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnSave))
+ {
+ this.btnNew.Hidden = false;
+ this.btnImport.Hidden = false;
+ }
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx.designer.cs
new file mode 100644
index 00000000..7f78efde
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModel.aspx.designer.cs
@@ -0,0 +1,168 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.TestRun.DriverGoods {
+
+
+ public partial class GoodsModel {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar ToolSearch;
+
+ ///
+ /// txtDescription 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtDescription;
+
+ ///
+ /// btnSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSearch;
+
+ ///
+ /// btnNew 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnNew;
+
+ ///
+ /// btnImport 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnImport;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Window2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window2;
+
+ ///
+ /// WindowAtt 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowAtt;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuModify 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuModify;
+
+ ///
+ /// btnMenuDel 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDel;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx
new file mode 100644
index 00000000..8b0d79e6
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx
@@ -0,0 +1,68 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GoodsModelDataIn.aspx.cs" Inherits="FineUIPro.Web.TestRun.DriverGoods.GoodsModelDataIn" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx.cs b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx.cs
new file mode 100644
index 00000000..92b39a7a
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx.cs
@@ -0,0 +1,399 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.OleDb;
+using System.IO;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.TestRun.DriverGoods
+{
+ public partial class GoodsModelDataIn : PageBase
+ {
+ #region 定义变量
+ ///
+ /// 上传预设的虚拟路径
+ ///
+ private string initPath = Const.ExcelUrl;
+
+
+ ///
+ /// 错误集合
+ ///
+ public static List errorInfos = new List();
+ #endregion
+
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.hdCheckResult.Text = string.Empty;
+ this.hdFileName.Text = string.Empty;
+ if (errorInfos != null)
+ {
+ errorInfos.Clear();
+ }
+ }
+ }
+ #endregion
+
+ #region 审核
+ ///
+ /// 审核
+ ///
+ ///
+ ///
+ protected void btnAudit_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ if (this.fuAttachUrl.HasFile == false)
+ {
+ ShowNotify("请您选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ string IsXls = Path.GetExtension(this.fuAttachUrl.FileName).ToString().Trim().ToLower();
+ if (IsXls != ".xls")
+ {
+ ShowNotify("只可以选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (errorInfos != null)
+ {
+ errorInfos.Clear();
+ }
+ string rootPath = Server.MapPath("~/");
+ string initFullPath = rootPath + initPath;
+ if (!Directory.Exists(initFullPath))
+ {
+ Directory.CreateDirectory(initFullPath);
+ }
+
+ this.hdFileName.Text = BLL.Funs.GetNewFileName() + IsXls;
+ string filePath = initFullPath + this.hdFileName.Text;
+ this.fuAttachUrl.PostedFile.SaveAs(filePath);
+ ImportXlsToData(rootPath + initPath + this.hdFileName.Text);
+ }
+ catch (Exception ex)
+ {
+ ShowNotify("'" + ex.Message + "'", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 读Excel提取数据
+ ///
+ /// 从Excel提取数据--》Dataset
+ ///
+ /// Excel文件路径名
+ private void ImportXlsToData(string fileName)
+ {
+ try
+ {
+ string oleDBConnString = String.Empty;
+ oleDBConnString = "Provider=Microsoft.Jet.OLEDB.4.0;";
+ oleDBConnString += "Data Source=";
+ oleDBConnString += fileName;
+ oleDBConnString += ";Extended Properties=Excel 8.0;";
+ OleDbConnection oleDBConn = null;
+ OleDbDataAdapter oleAdMaster = null;
+ DataTable m_tableName = new DataTable();
+ DataSet ds = new DataSet();
+
+ oleDBConn = new OleDbConnection(oleDBConnString);
+ oleDBConn.Open();
+ m_tableName = oleDBConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
+
+ if (m_tableName != null && m_tableName.Rows.Count > 0)
+ {
+
+ m_tableName.TableName = m_tableName.Rows[0]["TABLE_NAME"].ToString().Trim();
+
+ }
+ string sqlMaster;
+ sqlMaster = " SELECT * FROM [" + m_tableName.TableName + "]";
+ oleAdMaster = new OleDbDataAdapter(sqlMaster, oleDBConn);
+ oleAdMaster.Fill(ds, "m_tableName");
+ oleAdMaster.Dispose();
+ oleDBConn.Close();
+ oleDBConn.Dispose();
+
+ AddDatasetToSQL(ds.Tables[0], 6);
+ hdCheckResult.Text = "1";
+ }
+ catch (Exception exc)
+ {
+ Response.Write(exc);
+ //return null;
+ // return dt;
+ }
+ finally
+ {
+ }
+ }
+ #endregion
+
+ #region 将Dataset的数据导入数据库
+ ///
+ /// 将Dataset的数据导入数据库
+ ///
+ /// 数据集
+ /// 数据集行数
+ ///
+ private bool AddDatasetToSQL(DataTable pds, int Cols)
+ {
+ string result = string.Empty;
+ int ic, ir;
+ ic = pds.Columns.Count;
+ if (ic < Cols)
+ {
+ ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning);
+ return false;
+ }
+
+ ir = pds.Rows.Count;
+ if (pds != null && ir > 0)
+ {
+ for (int i = 0; i < ir; i++)
+ {
+ string row0 = pds.Rows[i][0].ToString();
+ if (!string.IsNullOrEmpty(row0))
+ {
+ try
+ {
+ Int32 num = Convert.ToInt32(row0.Trim());
+ }
+ catch (Exception)
+ {
+ result += (i + 3).ToString() + "," + "序号" + "," + "[" + row0 + "]错误!不是数字格式!" + "|";
+ }
+ }
+ else
+ {
+ result += (i + 3).ToString() + "," + "序号为必填项,不能为空!" + "|";
+ }
+ }
+ if (!string.IsNullOrEmpty(result))
+ {
+ result = result.Substring(0, result.LastIndexOf("|"));
+ }
+ errorInfos.Clear();
+ if (!string.IsNullOrEmpty(result))
+ {
+ string results = result;
+ List errorInfoList = results.Split('|').ToList();
+ foreach (var item in errorInfoList)
+ {
+ string[] errors = item.Split(',');
+ Model.ErrorInfo errorInfo = new Model.ErrorInfo();
+ errorInfo.Row = errors[0];
+ errorInfo.Column = errors[1];
+ errorInfo.Reason = errors[2];
+ errorInfos.Add(errorInfo);
+ }
+ if (errorInfos.Count > 0)
+ {
+ this.gvErrorInfo.DataSource = errorInfos;
+ this.gvErrorInfo.DataBind();
+ }
+ }
+ else
+ {
+ ShowNotify("审核完成,请点击导入!", MessageBoxIcon.Success);
+ }
+ }
+
+ else
+ {
+ ShowNotify("导入数据为空!", MessageBoxIcon.Warning);
+ }
+ return true;
+ }
+ #endregion
+ #endregion
+
+ #region 导入
+ ///
+ /// 导入
+ ///
+ ///
+ ///
+ protected void btnImport_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(hdCheckResult.Text))
+ {
+ if (errorInfos.Count <= 0)
+ {
+ string rootPath = Server.MapPath("~/");
+ ImportXlsToData2(rootPath + initPath + this.hdFileName.Text);
+ hdCheckResult.Text = string.Empty;
+ ShowNotify("导入成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ else
+ {
+ ShowNotify("请先将错误数据修正,再重新导入提交!", MessageBoxIcon.Warning);
+ }
+ }
+ else
+ {
+ ShowNotify("请先审核要导入的文件!", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region Excel提取数据
+ ///
+ /// 从Excel提取数据--》Dataset
+ ///
+ /// Excel文件路径名
+ private void ImportXlsToData2(string fileName)
+ {
+ try
+ {
+ string oleDBConnString = String.Empty;
+ oleDBConnString = "Provider=Microsoft.Jet.OLEDB.4.0;";
+ oleDBConnString += "Data Source=";
+ oleDBConnString += fileName;
+ oleDBConnString += ";Extended Properties=Excel 8.0;";
+ OleDbConnection oleDBConn = null;
+ OleDbDataAdapter oleAdMaster = null;
+ DataTable m_tableName = new DataTable();
+ DataSet ds = new DataSet();
+
+ oleDBConn = new OleDbConnection(oleDBConnString);
+ oleDBConn.Open();
+ m_tableName = oleDBConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
+
+ if (m_tableName != null && m_tableName.Rows.Count > 0)
+ {
+
+ m_tableName.TableName = m_tableName.Rows[0]["TABLE_NAME"].ToString().Trim();
+
+ }
+ string sqlMaster;
+ sqlMaster = " SELECT * FROM [" + m_tableName.TableName + "]";
+ oleAdMaster = new OleDbDataAdapter(sqlMaster, oleDBConn);
+ oleAdMaster.Fill(ds, "m_tableName");
+ oleAdMaster.Dispose();
+ oleDBConn.Close();
+ oleDBConn.Dispose();
+
+ AddDatasetToSQL2(ds.Tables[0], 6);
+ }
+ catch (Exception ex)
+ {
+ throw ex;
+ }
+ }
+ #endregion
+
+ #region 将Dataset的数据导入数据库
+ ///
+ /// 将Dataset的数据导入数据库
+ ///
+ /// 数据集
+ /// 数据集列数
+ ///
+ private bool AddDatasetToSQL2(DataTable pds, int Cols)
+ {
+ int ic, ir;
+ ic = pds.Columns.Count;
+ if (ic < Cols)
+ {
+ ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning);
+ }
+ var goodsModels = from x in Funs.DB.DriverGoods_GoodsModel where x.ProjectId == this.CurrUser.LoginProjectId select x;
+ string result = string.Empty;
+ ir = pds.Rows.Count;
+ if (pds != null && ir > 0)
+ {
+ List list = new List();
+ for (int i = 0; i < ir; i++)
+ {
+ //查询第一列,没查到的情况下作导入处理
+ var modelOnly = goodsModels.FirstOrDefault(x => x.Code == Funs.GetNewIntOrZero(pds.Rows[i][0].ToString().Trim()));
+ if (modelOnly == null)
+ {
+ Model.DriverGoods_GoodsModel model = new Model.DriverGoods_GoodsModel();
+ model.GoodsModelId = Guid.NewGuid().ToString();
+ model.ProjectId = CurrUser.LoginProjectId;
+ model.Code = Convert.ToInt32(pds.Rows[i][0].ToString().Trim());
+ model.Purpose = pds.Rows[i][1].ToString().Trim();
+ model.Description = pds.Rows[i][2].ToString().Trim();
+ model.Quantity = pds.Rows[i][3].ToString().Trim();
+ model.Attachment = pds.Rows[i][4].ToString().Trim();
+ model.Remark = pds.Rows[i][5].ToString().Trim();
+ list.Add(model);
+ }
+ else
+ {
+ //修改
+ modelOnly.Purpose = pds.Rows[i][1].ToString().Trim();
+ modelOnly.Description = pds.Rows[i][2].ToString().Trim();
+ modelOnly.Quantity = pds.Rows[i][3].ToString().Trim();
+ modelOnly.Attachment = pds.Rows[i][4].ToString().Trim();
+ modelOnly.Remark = pds.Rows[i][5].ToString().Trim();
+ Funs.DB.SubmitChanges();
+ }
+ }
+ if (list.Count > 0)
+ {
+ Funs.DB.DriverGoods_GoodsModel.InsertAllOnSubmit(list);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ else
+ {
+ ShowNotify("导入数据为空!", MessageBoxIcon.Warning);
+ }
+ return true;
+ }
+ #endregion
+ #endregion
+
+ #region 下载模板
+ ///
+ /// 下载模板按钮
+ ///
+ ///
+ ///
+ protected void btnDownLoad_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Confirm.GetShowReference("确定下载导入模板吗?", String.Empty, MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK"), PageManager1.GetCustomEventReference("Confirm_Cancel")));
+ }
+
+ ///
+ /// 下载导入模板
+ ///
+ ///
+ ///
+ protected void PageManager1_CustomEvent(object sender, CustomEventArgs e)
+ {
+ if (e.EventArgument == "Confirm_OK")
+ {
+ string rootPath = Server.MapPath("~/");
+ string uploadfilepath = rootPath + "File\\Excel\\TestRun\\试车物资材料库导入模板.xls";
+ string filePath = "File\\Excel\\DataIn\\试车物资材料库导入模板.xls";
+ string fileName = Path.GetFileName(filePath);
+ FileInfo info = new FileInfo(uploadfilepath);
+ long fileSize = info.Length;
+ Response.ClearContent();
+ Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
+ Response.ContentType = "excel/plain";
+ Response.ContentEncoding = System.Text.Encoding.UTF8;
+ Response.AddHeader("Content-Length", fileSize.ToString().Trim());
+ Response.TransmitFile(uploadfilepath, 0, fileSize);
+ Response.End();
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx.designer.cs
new file mode 100644
index 00000000..226ed3b1
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelDataIn.aspx.designer.cs
@@ -0,0 +1,123 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.TestRun.DriverGoods {
+
+
+ public partial class GoodsModelDataIn {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// hdFileName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdFileName;
+
+ ///
+ /// btnAudit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAudit;
+
+ ///
+ /// btnImport 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnImport;
+
+ ///
+ /// btnDownLoad 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnDownLoad;
+
+ ///
+ /// hdCheckResult 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdCheckResult;
+
+ ///
+ /// fuAttachUrl 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.FileUpload fuAttachUrl;
+
+ ///
+ /// gvErrorInfo 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid gvErrorInfo;
+
+ ///
+ /// lblPageIndex 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblPageIndex;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx
new file mode 100644
index 00000000..9e8b1b0d
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx
@@ -0,0 +1,98 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GoodsModelEdit.aspx.cs" Inherits="FineUIPro.Web.TestRun.DriverGoods.GoodsModelEdit" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx.cs b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx.cs
new file mode 100644
index 00000000..ad39de30
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx.cs
@@ -0,0 +1,100 @@
+using BLL;
+using System;
+
+namespace FineUIPro.Web.TestRun.DriverGoods
+{
+ public partial class GoodsModelEdit : PageBase
+ {
+ #region 加载
+ ///
+ /// 页面加载
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ string id = Request.Params["GoodsModelId"];
+ if (!string.IsNullOrEmpty(id))
+ {
+ Model.DriverGoods_GoodsModel goodsModel = BLL.GoodsModelService.GetGoodsModelById(id);
+ if (goodsModel != null)
+ {
+ this.hdId.Text = id;
+ if (goodsModel.Code != null)
+ {
+ this.txtCode.Text = goodsModel.Code.ToString();
+ }
+ this.txtPurpose.Text = goodsModel.Purpose;
+ this.txtDescription.Text = goodsModel.Description;
+ this.txtQuantity.Text = goodsModel.Quantity;
+ this.txtAttachment.Text = goodsModel.Attachment;
+ this.txtRemark.Text = goodsModel.Remark;
+ }
+ }
+ else
+ {
+
+ }
+ }
+ }
+ #endregion
+
+ #region 附件上传
+ ///
+ /// 附件上传
+ ///
+ ///
+ ///
+ protected void btnAttach_Click(object sender, EventArgs e)
+ {
+ if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录
+ {
+ this.hdId.Text = SQLHelper.GetNewID(typeof(Model.DriverGoods_GoodsModel));
+ }
+ PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverGoods/GoodsModel&menuId={1}", this.hdId.Text, BLL.Const.GoodsModelMenuId)));
+ }
+ #endregion
+
+ #region 保存
+ ///
+ /// 保存按钮
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ string id = Request.Params["GoodsModelId"];
+ Model.DriverGoods_GoodsModel newgoodsModel = new Model.DriverGoods_GoodsModel();
+ newgoodsModel.Code = Funs.GetNewInt(this.txtCode.Text.Trim());
+ newgoodsModel.Purpose = this.txtPurpose.Text.Trim();
+ newgoodsModel.Description = this.txtDescription.Text.Trim();
+ newgoodsModel.Quantity = this.txtQuantity.Text.Trim();
+ newgoodsModel.Attachment = this.txtAttachment.Text.Trim();
+ newgoodsModel.Remark = this.txtRemark.Text.Trim();
+ newgoodsModel.ProjectId = this.CurrUser.LoginProjectId;
+ if (!string.IsNullOrEmpty(id))
+ {
+ newgoodsModel.GoodsModelId = id;
+ BLL.GoodsModelService.UpdateGoodsModel(newgoodsModel);
+ }
+ else
+ {
+ if (!string.IsNullOrEmpty(this.hdId.Text))
+ {
+ newgoodsModel.GoodsModelId = this.hdId.Text.Trim();
+ }
+ else
+ {
+ newgoodsModel.GoodsModelId = SQLHelper.GetNewID(typeof(Model.DriverGoods_GoodsModel));
+ this.hdId.Text = newgoodsModel.GoodsModelId;
+ }
+ BLL.GoodsModelService.AddGoodsModel(newgoodsModel);
+ }
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx.designer.cs
new file mode 100644
index 00000000..c8405740
--- /dev/null
+++ b/SGGL/FineUIPro.Web/TestRun/DriverGoods/GoodsModelEdit.aspx.designer.cs
@@ -0,0 +1,195 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.TestRun.DriverGoods {
+
+
+ public partial class GoodsModelEdit {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// hdAttachUrl 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdAttachUrl;
+
+ ///
+ /// hdId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdId;
+
+ ///
+ /// ContentPanel2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ContentPanel ContentPanel2;
+
+ ///
+ /// Form2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form Form2;
+
+ ///
+ /// txtCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtCode;
+
+ ///
+ /// txtPurpose 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtPurpose;
+
+ ///
+ /// txtDescription 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtDescription;
+
+ ///
+ /// txtQuantity 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtQuantity;
+
+ ///
+ /// txtAttachment 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtAttachment;
+
+ ///
+ /// txtRemark 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextArea txtRemark;
+
+ ///
+ /// Panel3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel3;
+
+ ///
+ /// lblAttach 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Label lblAttach;
+
+ ///
+ /// btnAttach 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAttach;
+
+ ///
+ /// WindowAtt 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowAtt;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/TestRun/DriverRun/DriverRun.aspx b/SGGL/FineUIPro.Web/TestRun/DriverRun/DriverRun.aspx
index c23634a3..49571ab6 100644
--- a/SGGL/FineUIPro.Web/TestRun/DriverRun/DriverRun.aspx
+++ b/SGGL/FineUIPro.Web/TestRun/DriverRun/DriverRun.aspx
@@ -6,10 +6,25 @@
开车保运管理
+