Browse Source

锦州开票数量,数据中心接口

master
TML 4 years ago
parent
commit
8901bffbe0
  1. 2
      Models/ScpCache.cs
  2. 3
      SCP/Views/PlanData/SCP_PO_EXTEND.aspx.cs
  3. 10
      SCP/Views/SupplierData/SCP_INVOICE_CREATE.aspx
  4. 6
      SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

2
Models/ScpCache.cs

@ -317,5 +317,7 @@ namespace CK.SCP.Models
public string { get; set; } = "700000";
public string { get; set; } = "600000";
public bool { get; set; } = false;
public bool { get; set; } = true;
public bool { get; set; } = true;
}
}

3
SCP/Views/PlanData/SCP_PO_EXTEND.aspx.cs

@ -13,6 +13,7 @@ using System.Data;
using CK.SCP.Models.ScpEntity.ExcelImportEntity;
using CK.SCP.Models.Enums;
using CK.SCP.Common;
using CK.SCP.Models;
using System.Text;
using CK.SCP.Models.ScpEntity.ExcelExportEnttity;
@ -280,7 +281,7 @@ namespace SCP.PlanData
Alert.Show(string.Join("<br>", checkret.MessageList));
return;
}
if (CurrentUser.ConfigList.ContainsKey("数据中心接口"))
if (ScpCache.Config.)
{
saveret = SCP_DC_UNI_CONTROLLER.WritePo(list, CurrentUser.FactoryList[0], CurrentUser.Name, DateTime.Now, p_modtype, CurrentUser.SubSiteList[0], CurrentUser.ChineseName, CurrentUser.CellPhone);
}

10
SCP/Views/SupplierData/SCP_INVOICE_CREATE.aspx

@ -33,7 +33,7 @@
<f:Grid ID="Grid_SCP_INVOICE_CREATE" runat="server"
ShowBorder ="true"
ShowHeader="true"
PageSize="1000"
PageSize="200"
BoxFlex="1"
CssClass="maingrid"
DataKeyNames="UID,RecvBillNum,PoLine,PartCode,Batch,Qty,DockCode,Remark,CreateTime,CreateUser,IsDeleted,GUID,AsnBillNum,Site,VendId,ShipTime,OperName,PartDesc1,State,PoBillNum,VendName,Site_Desc,PoUnit,LocUnit,Price,VendBatch,Currency,BillType_DESC,ErpRecvBillNum,PurCost,StdCost,SubSite"
@ -48,12 +48,10 @@
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged"
runat="server">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="50" Value="50" />
<f:ListItem Text="100" Value="100" />
runat="server">
<f:ListItem Text="200" Value="200" />
<f:ListItem Text="1000" Value="1000" />
<f:ListItem Text="5000" Value="5000" />
</f:DropDownList>
</PageItems>
<Columns>

6
SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs

@ -73,9 +73,7 @@ namespace SCP.SupplierData
public void LoadData()
{
// 每页记录数
Grid_V_TB_RECEIVE_LIST.PageSize = ConfigHelper.PageSize;
ddlGridPageSize.SelectedValue = ConfigHelper.PageSize.ToString();
// 每页记录数
BindData();
}
private void SearchData(Action<IQueryable<V_TB_RECEIVE_LIST>> p_action)
@ -316,7 +314,7 @@ namespace SCP.SupplierData
if (IdList.Count > 10000)
if (IdList.Count > 1000&&ScpCache.Config.)
{
Alert.Show("选择发票条数"+ IdList.Count + "超过1000条,发票允许条数!");
return;

Loading…
Cancel
Save