コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <summary>
 /// 出库数量改变命令函数
 /// </summary>
 private void OnExecuteOutquantityTextChangedCommand()
 {
     MaterialOutStorageInfoSetPalletQuantity.SetPalletQuantity(MaterialOutStorageInfo);
 }
コード例 #3
0
 /// <summary>
 /// 物料选择项改变命令函数
 /// </summary>
 private void OnExecuteMaterialSelectionChangedCommand()
 {
     MaterialOutStorageInfoSetPalletQuantity.SetPalletQuantity(MaterialOutStorageInfo);
 }