Browse Source

允许订单仓储类型修改

qianyi
shanji 3 years ago
parent
commit
dd7c4621d1
  1. 5
      BBWY.Client/Converters/OrderStorageTypeOptionConverter.cs

5
BBWY.Client/Converters/OrderStorageTypeOptionConverter.cs

@ -19,7 +19,10 @@ namespace BBWY.Client.Converters
//当未选中值时,京仓云仓不能选
return false;
}
if (selectedStorageType != null && selectedStorageType.Value != currentStorageType)
if (selectedStorageType != null &&
selectedStorageType.Value != currentStorageType &&
(selectedStorageType == StorageType. || selectedStorageType == StorageType. ||
currentStorageType == StorageType. || currentStorageType == StorageType.))
{
//当选中值时,不能选择其他类型
return false;

Loading…
Cancel
Save