Browse Source

锦州代码修改

master
TML 4 years ago
parent
commit
6bbe618f8c
  1. 2
      Controller/SCP_RECEIVE_CONTROLLER.cs
  2. 2
      SCP/Views/SupplierData/SCP_RECEIVE_LIST.aspx.cs
  3. 2
      SCP/Views/WarehouseData/SCP_RECEIVE_VIEW.aspx
  4. 4
      SCP/Views/WarehouseData/SCP_RECEIVE_VIEW.aspx.cs

2
Controller/SCP_RECEIVE_CONTROLLER.cs

@ -1028,7 +1028,7 @@ namespace CK.SCP.Controller
if (p_entity.UIDList != null && p_entity.UIDList.Count > 0) if (p_entity.UIDList != null && p_entity.UIDList.Count > 0)
{ {
q = q.Where(p => p_entity.UIDList.Contains(p.UID)); q = q.Where(p => p_entity.UIDList.Contains(p.UID));
} }
_ret.State = ReturnStatus.Succeed; _ret.State = ReturnStatus.Succeed;
_ret.Result = q; _ret.Result = q;
p_action(_ret); p_action(_ret);

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

@ -141,7 +141,7 @@ namespace SCP.SupplierData
var _vender = SCP_TB_VENDER_CONTROLLER.GetVender(_venderId, _ls.Site); var _vender = SCP_TB_VENDER_CONTROLLER.GetVender(_venderId, _ls.Site);
if (_vender.Tax != null) if (_vender.Tax != null)
{ {
lbTaxRate.SelectedValue = _vender.Tax.ToString(); lbTaxRate.Text = _vender.Tax.ToString();
} }
else else
{ {

2
SCP/Views/WarehouseData/SCP_RECEIVE_VIEW.aspx

@ -90,7 +90,7 @@
</Items> </Items>
</f:GroupPanel> </f:GroupPanel>
<f:Grid ID="Grid_V_TB_RECEIVE" ShowBorder="true" ShowHeader="true" PageSize="20" BoxFlex="1" CssClass="maingrid" <f:Grid ID="Grid_V_TB_RECEIVE" ShowBorder="true" ShowHeader="true" PageSize="20" BoxFlex="1" CssClass="maingrid"
runat="server" DataKeyNames="UID,RecvBillNum,ReceiveDetailList,Site" IsDatabasePaging="True" AllowPaging="True" EnableRowDoubleClickEvent="True" OnRowDataBound="Grid_V_TB_RECEIVE_RowDataBound" runat="server" DataKeyNames="UID,RecvBillNum,ReceiveDetailList,Site,ErpRecvBillNum" IsDatabasePaging="True" AllowPaging="True" EnableRowDoubleClickEvent="True" OnRowDataBound="Grid_V_TB_RECEIVE_RowDataBound"
OnRowDoubleClick="Grid1_OnRowDoubleClick" SortDirection="DESC" SortField="ShipTime" EnableCheckBoxSelect="True" EnableCollapse="true" OnRowDoubleClick="Grid1_OnRowDoubleClick" SortDirection="DESC" SortField="ShipTime" EnableCheckBoxSelect="True" EnableCollapse="true"
EnableRowSelectEvent="False" AutoScroll="True" OnPageIndexChange="Grid1_OnPageIndexChange"> EnableRowSelectEvent="False" AutoScroll="True" OnPageIndexChange="Grid1_OnPageIndexChange">
<PageItems> <PageItems>

4
SCP/Views/WarehouseData/SCP_RECEIVE_VIEW.aspx.cs

@ -162,8 +162,8 @@ namespace SCP.WarehouseData
STATE = "0"; STATE = "0";
} }
string roleID = GetSelectedDataKey(Grid_V_TB_RECEIVE, 1); string ErpRecvBillNum = GetSelectedDataKey(Grid_V_TB_RECEIVE,4);
string url = String.Format("../WarehouseData/SCP_RECEIVE_DETAIL.aspx?ID={0}&STATE={1}", roleID, STATE); string url = String.Format("../WarehouseData/SCP_RECEIVE_DETAIL.aspx?ID={0}&STATE={1}", ErpRecvBillNum, STATE);
PageContext.RegisterStartupScript(Window1.GetShowReference(url)); PageContext.RegisterStartupScript(Window1.GetShowReference(url));
} }
//查询 //查询

Loading…
Cancel
Save