From 374ce108d737c1e4d6608989090195a7346d10ad Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 26 二月 2026 08:47:21 +0800
Subject: [PATCH] 优化格式美观度。 完成 (1)“印刷、打包、送货要求”放在右边的格子里面;右边格子拉通 (2)“单价”和“总价”的格子比例要调整适中 (3)把“印件名称”放在第一格 (1)操作中增加“问题处理”,进行处理操作  完成 (2)问题反馈除了生成在这个列表中,还要自动推送给对应订单的下单人或者送货安排(发起工作安排)的安排人,显示在他们的“工作提醒”中,处理完了就在列表中变成已完成问题处理,显示“√”,点“√”进去就显示谁处理的、什么时候处理的。  完成 生产施工单中,选“轮转印刷机”的,删除“纸张数量(张)”和“开料规格”  完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanDakaList.aspx.cs |  102 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 100 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanDakaList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanDakaList.aspx.cs
index b9c634d..575a35e 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanDakaList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanDakaList.aspx.cs
@@ -118,7 +118,7 @@
                  this.txtCreatTimeend.Value,
                  this.selCarId.Value,
                 this.txtCreater.Value,
-                this.selClockType.Value
+                ""
               );
 
             Database DC = new Database();
@@ -128,6 +128,104 @@
                 List<OA_CorporateClientsContract> fileDataList = null;
                 foreach (var oA_DriverRecord in oA_DriverRecords)
                 {
+
+
+                var oA_DriverRecord1 =    _oA_DriverRecordBLL.GetModelByTimeCarIDClockType(oA_DriverRecord.CreatTime, oA_DriverRecord.CarID, 2);
+                    if (oA_DriverRecord1 != null)
+                    {
+                        oA_DriverRecord1.CreatTimeName = oA_DriverRecord1.CreatTime.ToString("yyyy-MM-dd HH:mm:ss");
+                        if (string.IsNullOrEmpty(oA_DriverRecord1.MileageImg))
+                        {
+                            oA_DriverRecord1.MileageImgName = "";
+                        }
+                        else
+                        {
+                            oA_DriverRecord1.MileageImgName = "<img src=\"" + oA_DriverRecord1.MileageImg + "\" width=\"20\" height=\"20\" >";
+                        }
+
+
+
+
+
+                        string sqlStr1 = string.Format(@"     select * from  [dbo].[OA_attachment] where [OA_Id]='{0}' and [AttachmentType]=4 order by [CreateTime]   ", oA_DriverRecord1.Id);
+
+                        SqlCommand myCmd1 = new SqlCommand(sqlStr1, DC.Connection);
+                        //SqlDataAdapter myDa = new SqlDataAdapter(myCmd);
+                        var a1 = myCmd1.ExecuteReader();
+                        //myDa.Dispose();
+                        fileDataList = new List<OA_CorporateClientsContract>();
+                        OA_CorporateClientsContract Contract1;
+                        var j = 1;
+                        while (a1.Read())
+                        {   //娉ㄦ剰濡備綍灏嗘瘡娆¤鍙栧埌鐨勮褰曟坊鍔犲埌listbox1涓紙鍥犱负绗竴娆″仛鏃跺嚭閿欎簡锛屽樋鍢匡級
+                            Contract1 = new OA_CorporateClientsContract();
+                            // Contract.Keyid = a.GetInt32(0);
+                            //Contract.CorporateClientsid = a.GetGuid(1);
+                            //Contract.CorporateClientsName = a.GetString(4);
+                            Contract1.FileName = a1[4].ToString();
+                            Contract1.PageCode = j;
+                            Contract1.FilePath = a1.GetString(2);
+                            // Contract.Remark = a.GetString(6);
+                            j += 1;
+
+                            fileDataList.Add(Contract1);
+                        }
+                        a1.Close();     //鍏抽棴sqldatareader
+
+                        if (fileDataList.Count > 0)
+                        {
+                            oA_DriverRecord1.ZhuangcheImg = "<img src=\"" + fileDataList[0].FilePath + "\" width=\"20\" height=\"20\" >";
+                        }
+                        else
+                        {
+                            oA_DriverRecord1.ZhuangcheImg = "";
+                        }
+
+
+
+
+                        sqlStr1 = string.Format(@"     select * from  [dbo].[OA_attachment] where [OA_Id]='{0}' and [AttachmentType]=5 order by [CreateTime]   ", oA_DriverRecord1.Id);
+
+                        myCmd1 = new SqlCommand(sqlStr1, DC.Connection);
+                        //SqlDataAdapter myDa = new SqlDataAdapter(myCmd);
+                        a1 = myCmd1.ExecuteReader();
+                        //myDa.Dispose();
+                        fileDataList = new List<OA_CorporateClientsContract>();
+                        j = 1;
+                        while (a1.Read())
+                        {   //娉ㄦ剰濡備綍灏嗘瘡娆¤鍙栧埌鐨勮褰曟坊鍔犲埌listbox1涓紙鍥犱负绗竴娆″仛鏃跺嚭閿欎簡锛屽樋鍢匡級
+                            Contract1 = new OA_CorporateClientsContract();
+                            // Contract.Keyid = a.GetInt32(0);
+                            //Contract.CorporateClientsid = a.GetGuid(1);
+                            //Contract.CorporateClientsName = a.GetString(4);
+                            Contract1.FileName = a1[4].ToString();
+                            Contract1.PageCode = j;
+                            Contract1.FilePath = a1.GetString(2);
+                            // Contract.Remark = a.GetString(6);
+                            j += 1;
+
+                            fileDataList.Add(Contract1);
+                        }
+                        a1.Close();     //鍏抽棴sqldatareader
+
+                        if (fileDataList.Count > 0)
+                        {
+                            oA_DriverRecord1.CarConditionImg = "<img src=\"" + fileDataList[0].FilePath + "\" width=\"20\" height=\"20\" >";
+                        }
+                        else
+                        {
+                            oA_DriverRecord1.CarConditionImg = "";
+                        }
+
+                        oA_DriverRecord.oA_DriverRecord = oA_DriverRecord1;
+                    }
+                    else
+                    {
+                        oA_DriverRecord.oA_DriverRecord = new OA_DriverRecord();
+                    }
+
+
+
                     if (string.IsNullOrEmpty(oA_DriverRecord.MileageImg))
                     {
                         oA_DriverRecord.MileageImgName = "";
@@ -272,7 +370,7 @@
                  this.txtCreatTimeend.Value,
                  this.selCarId.Value,
                 this.txtCreater.Value,
-                this.selClockType.Value
+                ""
               );
 
                 // 鍒涘缓宸ヤ綔绨�

--
Gitblit v1.9.1