/// <summary> /// 物料选择项改变命令函数 /// </summary> private void OnExecuteMaterialSelectionChangedCommand() { MaterialInfoModel materialInfo = MaterialInfoList.FirstOrDefault(m => m.Id == MaterialOutStorageInfo.MaterialID); // if (materialInfo != null) { MaterialOutStorageInfo.MaterialCode = materialInfo.MaterialCode; MaterialOutStorageInfo.FullPalletQuantity = materialInfo.FullPalletQuantity; } else { MaterialOutStorageInfo.MaterialCode = null; MaterialOutStorageInfo.FullPalletQuantity = null; } // MaterialOutStorageInfoSetPalletQuantity.SetPalletQuantity(MaterialOutStorageInfo); }
/// <summary> /// 出库数量改变命令函数 /// </summary> private void OnExecuteOutquantityTextChangedCommand() { MaterialOutStorageInfoSetPalletQuantity.SetPalletQuantity(MaterialOutStorageInfo); }
/// <summary> /// 物料选择项改变命令函数 /// </summary> private void OnExecuteMaterialSelectionChangedCommand() { MaterialOutStorageInfoSetPalletQuantity.SetPalletQuantity(MaterialOutStorageInfo); }