Browse Source

沈阳代码更改

master
TML 4 years ago
parent
commit
e6e3836645
  1. 6
      Models/ScpEntity/V_TB_FORECAST.cs
  2. 2
      Models/ScpEntity/V_TB_RECEIVE_LIST.cs
  3. 4
      SCP/Views/沈阳金杯/SupplierData/SCP_INVOICE.aspx.cs
  4. 13
      SCP/Views/沈阳金杯/SupplierData/SCP_INVOICE_EDIT.aspx.cs
  5. 2
      SCP/Views/沈阳金杯/WarehouseData/SCP_INVOICE.aspx
  6. 2
      SCP/Views/沈阳金杯/WarehouseData/SCP_INVOICE_CONFIRM.aspx
  7. 4
      SCP/default.aspx

6
Models/ScpEntity/V_TB_FORECAST.cs

@ -28,16 +28,16 @@ namespace CK.SCP.Models.ScpEntity
public string Month { get; set; } public string Month { get; set; }
[StringLength(50)] [StringLength(50)]
public string PoType { get; set; } public string PoType { get; set; }
public int PoLine { get; set; } public int? PoLine { get; set; }
[StringLength(50)] [StringLength(50)]
public string Specifications { get; set; } public string Specifications { get; set; }
public string Unit { get; set; } public string Unit { get; set; }
public decimal Qty { get; set; } public decimal? Qty { get; set; }
public string ProductStatus { get; set; } public string ProductStatus { get; set; }
public string IsUrgent { get; set; } public string IsUrgent { get; set; }
public DateTime? ShippdedTime { get; set; } public DateTime? ShippdedTime { get; set; }
public string ShippdedPlace { get; set; } public string ShippdedPlace { get; set; }
public decimal MonthQty { get; set; } public decimal? MonthQty { get; set; }
public string Ontime { get; set; } public string Ontime { get; set; }
public string Datetime { get; set; } public string Datetime { get; set; }
[StringLength(50)] [StringLength(50)]

2
Models/ScpEntity/V_TB_RECEIVE_LIST.cs

@ -79,7 +79,7 @@ namespace CK.SCP.Models.ScpEntity
[NotMapped] [NotMapped]
public bool IsCheck { set; get; } public bool IsCheck { set; get; }
public int ModType { set; get; } public int? ModType { set; get; }
[NotMapped] [NotMapped]
public decimal InputQty { set; get; } public decimal InputQty { set; get; }

4
SCP/Views/沈阳金杯/SupplierData/SCP_INVOICE.aspx.cs

@ -235,6 +235,10 @@ namespace SCP.Views.沈阳金杯.SupplierData
DataSet ds = SCP_EXCEL_CONTROLLER.GET_INVOICE_EXECEL(_ls); DataSet ds = SCP_EXCEL_CONTROLLER.GET_INVOICE_EXECEL(_ls);
PageBase.DataSetToExcel(ds, "发票明细"); PageBase.DataSetToExcel(ds, "发票明细");
} }
protected void BTN_INV_Click(object sender, EventArgs e)
{
BindInvoice();
}
protected void Window1_Close(object sender, WindowCloseEventArgs e) protected void Window1_Close(object sender, WindowCloseEventArgs e)
{ {
BindInvoice(); BindInvoice();

13
SCP/Views/沈阳金杯/SupplierData/SCP_INVOICE_EDIT.aspx.cs

@ -588,6 +588,19 @@ namespace SCP.Views.沈阳金杯.SupplierData
highlightRows.Text += e.RowIndex.ToString() + ","; highlightRows.Text += e.RowIndex.ToString() + ",";
} }
} }
protected void btnRed_Click(object sender, EventArgs e)
{
string id = GetQueryValue("ID");
V_TB_INVOICE _tb = new V_TB_INVOICE();
_tb.InvcBillNum = id;
var ret = SCP_INVOICE_CONTROLLER.Add_New_Red_Invoice(_tb);
if (ret.State == ReturnStatus.Succeed)
{
BindData();
GetInvoice();
}
}
protected void Grid1_Sort(object sender, GridSortEventArgs e) protected void Grid1_Sort(object sender, GridSortEventArgs e)
{ {

2
SCP/Views/沈阳金杯/WarehouseData/SCP_INVOICE.aspx

@ -82,7 +82,7 @@
<f:Grid ID="Grid_V_TB_INVOICE" runat="server" EnableCheckBoxSelect="false" <f:Grid ID="Grid_V_TB_INVOICE" runat="server" EnableCheckBoxSelect="false"
ShowHeader="False" SortField="CreateTime" OnSort="Grid_V_TB_INVOICE_Sort" AllowSorting="true" BoxFlex="1" ShowHeader="False" SortField="CreateTime" OnSort="Grid_V_TB_INVOICE_Sort" AllowSorting="true" BoxFlex="1"
AllowPaging="True" PageSize="20" OnPageIndexChange="Grid_V_TB_INVOICE_PageIndexChange" AllowPaging="True" PageSize="20" OnPageIndexChange="Grid_V_TB_INVOICE_PageIndexChange"
ShowBorder="False" OnRowDoubleClick="Grid_V_TB_INVOICE_RowDoubleClick" BoxFlex="1" ShowBorder="False" OnRowDoubleClick="Grid_V_TB_INVOICE_RowDoubleClick"
DataKeyNames="UID, InvcBillNum,State_DESC,InvoiceNum,ExpressNum,VendName,Amount,Tax,TaxAmount,ContractPrice,BlancePrice,Total,CreateTime,Remark" IsDatabasePaging="true"> DataKeyNames="UID, InvcBillNum,State_DESC,InvoiceNum,ExpressNum,VendName,Amount,Tax,TaxAmount,ContractPrice,BlancePrice,Total,CreateTime,Remark" IsDatabasePaging="true">
<PageItems> <PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">

2
SCP/Views/沈阳金杯/WarehouseData/SCP_INVOICE_CONFIRM.aspx

@ -84,7 +84,7 @@
</f:GroupPanel> </f:GroupPanel>
<f:Grid ID="Grid_V_TB_INVOICE" runat="server" EnableCheckBoxSelect="true" <f:Grid ID="Grid_V_TB_INVOICE" runat="server" EnableCheckBoxSelect="true"
ShowHeader="False" SortField="CreateTime" AllowPaging="True" PageSize="20" ShowHeader="False" SortField="CreateTime" AllowPaging="True" PageSize="20"
OnPageIndexChange="Grid_V_TB_INVOICE_PageIndexChange" OnSort="Grid_V_TB_INVOICE_Sort" BoxFlex="1" OnPageIndexChange="Grid_V_TB_INVOICE_PageIndexChange" OnSort="Grid_V_TB_INVOICE_Sort"
ShowBorder="False" OnRowDoubleClick="Grid_V_TB_INVOICE_RowDoubleClick" BoxFlex="1" ShowBorder="False" OnRowDoubleClick="Grid_V_TB_INVOICE_RowDoubleClick" BoxFlex="1"
DataKeyNames="UID, InvcBillNum" AllowSorting="true" IsDatabasePaging="true" > DataKeyNames="UID, InvcBillNum" AllowSorting="true" IsDatabasePaging="true" >
<PageItems> <PageItems>

4
SCP/default.aspx

@ -111,10 +111,10 @@
for (var i = 0; obj.options.length; i++) for (var i = 0; obj.options.length; i++)
{ {
if ('QDVALEO' == obj.options[i].value) { if ('0210' == obj.options[i].value) {
obj.options[i].selected = true; obj.options[i].selected = true;
_factory = document.getElementById(_factoryValue); _factory = document.getElementById(_factoryValue);
_factory.value = 'QDVALEO'; _factory.value = '0210';
} }
} }

Loading…
Cancel
Save