diff --git a/SCP/SCP.csproj b/SCP/SCP.csproj index 9e753fd..ba14cb9 100644 --- a/SCP/SCP.csproj +++ b/SCP/SCP.csproj @@ -2940,10 +2940,6 @@ - - - - @@ -4493,8 +4489,6 @@ - - @@ -4508,7 +4502,6 @@ - @@ -4520,9 +4513,7 @@ - - @@ -5270,34 +5261,6 @@ SCP_PO_PLAN_DETAIL.aspx - - SCP_SQE.aspx - ASPXCodeBehind - - - SCP_SQE.aspx - - - SCP_REJECT_LIST.aspx - ASPXCodeBehind - - - SCP_REJECT_LIST.aspx - - - SCP_RETURN_CREATE.aspx - ASPXCodeBehind - - - SCP_RETURN_CREATE.aspx - - - SCP_RETURN_MANAGER.aspx - ASPXCodeBehind - - - SCP_RETURN_MANAGER.aspx - SCP_BarChart.aspx ASPXCodeBehind @@ -5494,20 +5457,6 @@ SCP_QUALITY.aspx - - SCP_QUALITY_CREATE.aspx - ASPXCodeBehind - - - SCP_QUALITY_CREATE.aspx - - - SCP_QUALITY_MANAGER.aspx - ASPXCodeBehind - - - SCP_QUALITY_MANAGER.aspx - SCP_RECEIVE_LIST.aspx ASPXCodeBehind @@ -5599,13 +5548,6 @@ SCP_UNPAID.aspx - - SCP_COMPARE.aspx - ASPXCodeBehind - - - SCP_COMPARE.aspx - SCP_INVOICE_VIEW.aspx ASPXCodeBehind @@ -5683,13 +5625,6 @@ SCP_RECEIVE_DETAIL_VIEW.aspx - - SCP_REJECT.aspx - ASPXCodeBehind - - - SCP_REJECT.aspx - SCP_RECEIVE.aspx ASPXCodeBehind @@ -5697,13 +5632,6 @@ SCP_RECEIVE.aspx - - SCP_REJECT_DETAIL.aspx - ASPXCodeBehind - - - SCP_REJECT_DETAIL.aspx - SCP_RECEIVE_DETAIL.aspx ASPXCodeBehind diff --git a/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx b/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx deleted file mode 100644 index bab32a3..0000000 --- a/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx +++ /dev/null @@ -1,88 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_QUALITY_CREATE.aspx.cs" Inherits="SCP.Views.Quality.SCP_QUALITY_CREATE" %> - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx.cs b/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx.cs deleted file mode 100644 index 5c3a88a..0000000 --- a/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx.cs +++ /dev/null @@ -1,109 +0,0 @@ -using CK.SCP.Controller; -using CK.SCP.Models.ScpEntity; -using CK.SCP.Utils; -using FineUI; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace SCP.Views.Quality -{ - public partial class SCP_QUALITY_CREATE : PageBase - { - protected void Page_Load(object sender, EventArgs e) - { - if (!IsPostBack) - { - BindDetail(); - } - } - public void SearchV_TB_ASN_DETAILData(Action> p_action) - { - V_TB_ASN_DETAIL _entity = new V_TB_ASN_DETAIL(); - //_entity.AskBillNum = ""; - _entity.AsnBillNum =!string.IsNullOrEmpty(TXT_AsnBillNum.Text)? TXT_AsnBillNum.Text:"9999999"; - SCP_ASN_CONTROLLER.Get_V_TB_ASN_DETAIL_List(_entity, (_ret) => { - if (_ret.State == ReturnStatus.Succeed) - { - p_action(_ret.Result); - } - }); - } - /// - /// 绑定明细 - /// - public void BindDetail() - { - SearchV_TB_ASN_DETAILData((ret) => { - Grid_V_TB_ASN_DETAIL.RecordCount = ret.Count(); - var list = SortAndPage(ret, Grid_V_TB_ASN_DETAIL); - var ls = list.ToList(); - Grid_V_TB_ASN_DETAIL.DataSource = ls; - Grid_V_TB_ASN_DETAIL.DataBind(); - }); - } - - protected void Grid_V_TB_ASN_DETAIL_PageIndexChange(object sender, FineUI.GridPageEventArgs e) - { - BindDetail(); - } - - protected void ddlGridPageSize_SelectedIndexChanged(object sender, EventArgs e) - { - BindDetail(); - } - - protected void btnRelease_Click(object sender, EventArgs e) - { - List _list = new List(); - Dictionary> modifiedDict = Grid_V_TB_ASN_DETAIL.GetModifiedDict(); - for (int i = 0, count = Grid_V_TB_ASN_DETAIL.Rows.Count; i < count; i++) - { - V_TB_ASN_DETAIL _entity = new V_TB_ASN_DETAIL(); - object[] rowDataKeys = Grid_V_TB_ASN_DETAIL.DataKeys[i]; - _entity.UID = ConvertHelper.To(rowDataKeys[0]); - _entity.PoBillNum = rowDataKeys[1] as string; - _entity.PoLine = ConvertHelper.To(rowDataKeys[2]); - _entity.PartCode = rowDataKeys[3] as string; - _entity.AsnBillNum = rowDataKeys[4] as string; - _entity.Batch = rowDataKeys[5] as string; - _entity.VendId= rowDataKeys[6] as string; - - if (modifiedDict.Keys.Contains(i)) - { - var modifyValue = modifiedDict[i]; - var _FailQty = modifyValue.Keys.Contains("Failqty") ? modifyValue["Failqty"] : 0; - var _FailReason = modifyValue.Keys.Contains("FailReason") ? modifyValue["FailReason"] : string.Empty; - _entity.FailQty = ConvertHelper.To(_FailQty); - _entity.FailReason =_FailReason.ToString(); - _list.Add(_entity); - - } - - - } - var ret = SCP_QUALITY_CONTROLLER.Save_ASN_TO_QUALITY(_list, CurrentUser.ChineseName); - if (ret.Result == true) - { - Alert.Show("添加不合格品信息成功!"); - } - //var ret = SCP_ASK_CONTROLLER.Save_ASK_TO_ASN(_model, _askDetaillist, TXT_PlateNumber.Text, CurrentUser.ChineseName, CurrentUser.CellPhone); - //if (ret.State == ReturnStatus.Succeed) - //{ - // Alert.Show("生成发货单成功!"); - // GetV_TB_POData(); - // BindDetail(); - //} - } - - protected void btnQuery_Click(object sender, EventArgs e) - { - BindDetail(); - } - - - } -} \ No newline at end of file diff --git a/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx.designer.cs b/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx.designer.cs deleted file mode 100644 index fc36ab9..0000000 --- a/SCP/Views/Quality/SCP_QUALITY_CREATE.aspx.designer.cs +++ /dev/null @@ -1,105 +0,0 @@ -//------------------------------------------------------------------------------ -// <自动生成> -// 此代码由工具生成。 -// -// 对此文件的更改可能导致不正确的行为,如果 -// 重新生成代码,则所做更改将丢失。 -// -//------------------------------------------------------------------------------ - -namespace SCP.Views.Quality { - - - public partial class SCP_QUALITY_CREATE { - - /// - /// form1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlForm form1; - - /// - /// Panel1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.Panel Panel1; - - /// - /// Toolbar2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.Toolbar Toolbar2; - - /// - /// btnRelease 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.Button btnRelease; - - /// - /// TXT_AsnBillNum 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.TextBox TXT_AsnBillNum; - - /// - /// btnQuery 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.Button btnQuery; - - /// - /// Grid_V_TB_ASN_DETAIL 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.Grid Grid_V_TB_ASN_DETAIL; - - /// - /// NB_PublishNum 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.NumberBox NB_PublishNum; - - /// - /// fail 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.DropDownList fail; - - /// - /// highlightRows 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUI.HiddenField highlightRows; - } -} diff --git a/SCP/Views/Quality/SCP_QUALITY_MANAGER.aspx b/SCP/Views/Quality/SCP_QUALITY_MANAGER.aspx deleted file mode 100644 index 54f4b81..0000000 --- a/SCP/Views/Quality/SCP_QUALITY_MANAGER.aspx +++ /dev/null @@ -1,109 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_QUALITY_MANAGER.aspx.cs" Inherits="SCP.Views.Quality.SCP_QUALITY_MANAGER" %> - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -