username@email.com
8 天以前 f6cb981322bc4c2a27921ad0480dce7fb483a4d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/**  
* OrderChuli.aspx.cs
*
* 功 能: 订单列表
* 类 名: OrderChuli
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2013-5-8 13:55       吴崎均    初版
* V0.02  2013-5-8 15:47       吴崎均    实现下拉数据绑定与数据级联
* V0.03  2013-5-8 18:00       吴崎均    初步完成新增线下订单(未调试)
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CY.BLL.Sys;
using CY.BLL;
using CY.Model;
using CY.Infrastructure.Common;
using CY.WebForm.Pages.common;
using CY.BLL.EC;
using CY.Model.Inquiry;
 
namespace CY.WebForm.Pages.business
{
    public partial class DeliverPlanWentiChuli : BasePage
    {
        public int Orderid = 0;
        public int printNum = 0;
 
       
        OA_DeliverPlanPaicheBLL oA_DeliverPlanBLL = null;
      
 
        //初始化
        public DeliverPlanWentiChuli()
        {
 
          
           
            oA_DeliverPlanBLL = new OA_DeliverPlanPaicheBLL();
           
 
 
        }
 
        /// <summary>
        /// 页面加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                switch (Request["Target"])
                {
                    
                    
                    default:
                        Page_Load_Default();
                        return;
                }
            }
            catch (Exception ex)
            {
                PAGEHandleException(ex);
                Response.Clear();
                //Response.Write("-1");
                Response.Write(ex.Message);
            }
            Response.End();
        }
 
 
        
 
 
        /// <summary>
        /// 默认执行方法
        /// </summary>
        private void Page_Load_Default()
        {
 
          
         
            if (!IsPostBack && !IsCallback)
            {
 
               
 
                var keyid = Request["keyid"].ToGuid2();
                var oA_DeliverPlan = oA_DeliverPlanBLL.GetModelByKeyid(keyid, null, null);
 
                if (oA_DeliverPlan != null)
                {
                    if (oA_DeliverPlan.Chulistatus != 1)
                    {
                        JavaScript.MessageBox("订单还未处理", this, true, false);
                        return;
                    }
 
                    this.spnChuliren.InnerHtml = oA_DeliverPlan.Chuliren;
                    this.selChuliTime.InnerHtml = oA_DeliverPlan.ChuliTime.HasValue ? oA_DeliverPlan.ChuliTime.Value.ToString("yyyy-MM-dd") : "";
                    
                }
 
 
                
               
              
            }
        }
 
        
        
 
 
 
         
         
 
 
 
 
 
        
 
       
        
      
    }
}