|
|
@ -47,6 +47,11 @@ namespace SCP.SupplierData |
|
|
|
V_TB_ASN_DETAIL _entity = new V_TB_ASN_DETAIL(); |
|
|
|
_entity.UserInAddress = CurrentUser.FactoryList; |
|
|
|
_entity.AsnBillNum = Request["AsnBillNum"]; |
|
|
|
string IsDeleted = Request["IsDeleted"]; |
|
|
|
if (IsDeleted == "True") |
|
|
|
{ |
|
|
|
_entity.IsDeleted = true; |
|
|
|
} |
|
|
|
SCP_ASN_CONTROLLER.Get_V_TB_ASN_DETAIL_List(_entity, (_ret) => |
|
|
|
{ |
|
|
|
if (_ret.State == ReturnStatus.Succeed) |
|
|
@ -62,6 +67,11 @@ namespace SCP.SupplierData |
|
|
|
_entity.AsnBillNum = Request["AsnBillNum"]; |
|
|
|
_entity.UserInVendIds = CurrentUser.VenderList; |
|
|
|
_entity.UserInAddress = CurrentUser.FactoryList; |
|
|
|
string IsDeleted = Request["IsDeleted"]; |
|
|
|
if (IsDeleted == "True") |
|
|
|
{ |
|
|
|
_entity.IsDeleted = true; |
|
|
|
} |
|
|
|
SCP_ASN_CONTROLLER.Get_V_TB_ASN_List(_entity, (_ret) => |
|
|
|
{ |
|
|
|
if (_ret.State == ReturnStatus.Succeed) |
|
|
@ -78,7 +88,7 @@ namespace SCP.SupplierData |
|
|
|
DP_ReceiveTime.SelectedDate = _result.ReceiveTime; |
|
|
|
DP_ShipTime.SelectedDate = _result.ShipTime; |
|
|
|
TXT_StateDesc.Text = GetResourceKey(_result.State_DESC); |
|
|
|
if (_result.State == (int)AsnState.Ship) |
|
|
|
if (_result.State == (int)AsnState.Ship ) |
|
|
|
{ |
|
|
|
string la = GetCurrentLanguage(); |
|
|
|
if (la == "CH") |
|
|
@ -99,6 +109,12 @@ namespace SCP.SupplierData |
|
|
|
btnException.Hidden = true; |
|
|
|
btnException2.Hidden = true; |
|
|
|
} |
|
|
|
if (_result.IsDeleted) |
|
|
|
{ |
|
|
|
Toolbar2.Hidden = true; |
|
|
|
Toolbar1.Hidden = true; |
|
|
|
Toolbar3.Hidden = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|