| | |
| | | this.pumpProductListBox1.MouseUp += PumpProductListBox1_MouseUp; |
| | | } |
| | | |
| | | private BLL.AssetsPumpPartMain _bll = null; |
| | | private List<PropGroupChoiceViewModel> _propList = null; |
| | | #region Private |
| | | |
| | | private BLL.AssetsPumpPartMain _bll; |
| | | private List<PropGroupChoiceViewModel> _propList; |
| | | |
| | | private List<CurrentPartMainViewModel> _allBindingList = new List<CurrentPartMainViewModel>(); |
| | | |
| | | private Vmo.AssetsPumpMainAndPartMapVmo _partMapping = null; |
| | | private Vmo.AssetsPumpMainAndPartMapVmo _partMapping; |
| | | |
| | | private Vmo.AssetsPumpMainVmo _pumpMain; |
| | | |
| | | private Vmo.AssetsPumpPartMainVmo _pumpPart = null; |
| | | private Vmo.AssetsPumpPartMainVmo _pumpPart; |
| | | |
| | | private long _catalogID; //分类ID |
| | | |
| | | private Vmo.AssetsPumpSeriesVmo _series; //系列ID |
| | | |
| | | private List<Vmo.AssetsPumpPropContentVmo> _allPropList = null; |
| | | private List<Vmo.AssetsPumpPropContentVmo> _allPropList; |
| | | |
| | | private Yw.BLL.SysPropMapping _sysPropMapping; |
| | | |
| | | #endregion Private |
| | | |
| | | //回调事件 |
| | | public event Func<Vmo.AssetsPumpPartMainVmo, List<Vmo.AssetsPumpPropContentVmo>, Vmo.AssetsPumpMainAndPartMapVmo, Task<bool>> ReloadEvent; |
| | |
| | | updatepart.NO = TextEditNo.Text; |
| | | updatepart.Code = TextEditProductCode.Text; |
| | | updatepart.SeriesID = _series.ID; |
| | | var updateproplist = new List<UpdateAssetsPumpPropContentInput>(); |
| | | var propList = _propList.Where(x => x.KeyWorldType == "Prop").ToList(); |
| | | var propList = _propList.Where(x => x.KeyWorldType == "Prop").ToList(); //找到所有的额外属性 |
| | | foreach (var item in propList) |
| | | { |
| | | if (_allPropList != null) |