//获取详细信息 private void Get_VDRecordCompleted(object sender, Get_VDRecordCompletedEventArgs e) { ObservableCollection <T_OA_VEHICLEDISPATCHRECORD> o = e.Result; _lstRecord.AddRange(o); vehicleDispatchRecord = e.Result[0]; txtVehicleInfo.Text = _lstRecord[0].T_OA_VEHICLEDISPATCHDETAIL.T_OA_VEHICLEDISPATCH.T_OA_VEHICLE.VIN; txtNum.Text = _lstRecord[0].NUM; dtiStartDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].STARTTIME); dtiEndDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].ENDTIME); txtDriverID.Text = _lstRecord[0].OWNERID; txtDriverName.Text = _lstRecord[0].OWNERNAME; txtTel.Text = _lstRecord[0].TEL; txtRoute.Text = _lstRecord[0].ROUTE; txtREMARK.Text = _lstRecord[0].CONTENT == null ? "" : _lstRecord[0].CONTENT; txtFuel.Text = _lstRecord[0].FUEL.ToString(); ckbHasFee.IsChecked = _lstRecord[0].ISCHARGE == "0" ? false : true; txtFee.Text = _lstRecord[0].CHARGEMONEY.ToString(); txtRange2.Text = _lstRecord[0].RANGE.ToString(); if (types == FormTypes.Resubmit)//重新提交 { _lstRecord[0].CHECKSTATE = (Convert.ToInt32(CheckStates.UnSubmit)).ToString(); } RefreshUI(RefreshedTypes.AuditInfo); RefreshUI(RefreshedTypes.All); InitFBControl(); }
//获取详细信息 private void Get_VDRecordCompleted(object sender, Get_VDRecordCompletedEventArgs e) { ObservableCollection<T_OA_VEHICLEDISPATCHRECORD> o = e.Result; _lstRecord.AddRange(o); vehicleDispatchRecord = e.Result[0]; txtVehicleInfo.Text = _lstRecord[0].T_OA_VEHICLEDISPATCHDETAIL.T_OA_VEHICLEDISPATCH.T_OA_VEHICLE.VIN; txtNum.Text = _lstRecord[0].NUM; dtiStartDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].STARTTIME); dtiEndDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].ENDTIME); txtDriverID.Text = _lstRecord[0].OWNERID; txtDriverName.Text = _lstRecord[0].OWNERNAME; txtTel.Text = _lstRecord[0].TEL; txtRoute.Text = _lstRecord[0].ROUTE; txtREMARK.Text = _lstRecord[0].CONTENT == null ? "" : _lstRecord[0].CONTENT; txtFuel.Text = _lstRecord[0].FUEL.ToString(); ckbHasFee.IsChecked = _lstRecord[0].ISCHARGE == "0" ? false : true; txtFee.Text = _lstRecord[0].CHARGEMONEY.ToString(); txtRange2.Text = _lstRecord[0].RANGE.ToString(); if (types == FormTypes.Resubmit)//重新提交 { _lstRecord[0].CHECKSTATE = (Convert.ToInt32(CheckStates.UnSubmit)).ToString(); } RefreshUI(RefreshedTypes.AuditInfo); RefreshUI(RefreshedTypes.All); InitFBControl(); }
//获取详细信息 private void Get_VDRecordCompleted(object sender, Get_VDRecordCompletedEventArgs e) { ObservableCollection <T_OA_VEHICLEDISPATCHRECORD> o = e.Result; _lstRecord.AddRange(o); vehicleDispatchRecord = e.Result[0]; txtVehicleInfo.Text = _lstRecord[0].T_OA_VEHICLEDISPATCHDETAIL.T_OA_VEHICLEDISPATCH.T_OA_VEHICLE.VIN; txtNum.Text = _lstRecord[0].NUM; dtiStartDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].STARTTIME); dtiEndDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].ENDTIME); txtDriverID.Text = _lstRecord[0].OWNERID; txtDriverName.Text = _lstRecord[0].OWNERNAME; txtTel.Text = _lstRecord[0].TEL; txtRoute.Text = _lstRecord[0].ROUTE; txtREMARK.Text = _lstRecord[0].CONTENT == null ? "" : _lstRecord[0].CONTENT; txtFuel.Text = _lstRecord[0].FUEL.ToString(); ckbHasFee.IsChecked = _lstRecord[0].ISCHARGE == "0" ? false : true; txtFee.Text = _lstRecord[0].CHARGEMONEY.ToString(); txtRange2.Text = _lstRecord[0].RANGE.ToString(); }
//获取详细信息 private void Get_VDRecordCompleted(object sender, Get_VDRecordCompletedEventArgs e) { ObservableCollection<T_OA_VEHICLEDISPATCHRECORD> o = e.Result; _lstRecord.AddRange(o); vehicleDispatchRecord = e.Result[0]; txtVehicleInfo.Text = _lstRecord[0].T_OA_VEHICLEDISPATCHDETAIL.T_OA_VEHICLEDISPATCH.T_OA_VEHICLE.VIN; txtNum.Text = _lstRecord[0].NUM; dtiStartDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].STARTTIME); dtiEndDate.DateTimeValue = Convert.ToDateTime(_lstRecord[0].ENDTIME); txtDriverID.Text = _lstRecord[0].OWNERID; txtDriverName.Text = _lstRecord[0].OWNERNAME; txtTel.Text = _lstRecord[0].TEL; txtRoute.Text = _lstRecord[0].ROUTE; txtREMARK.Text = _lstRecord[0].CONTENT == null ? "" : _lstRecord[0].CONTENT; txtFuel.Text = _lstRecord[0].FUEL.ToString(); ckbHasFee.IsChecked = _lstRecord[0].ISCHARGE == "0" ? false : true; txtFee.Text = _lstRecord[0].CHARGEMONEY.ToString(); txtRange2.Text = _lstRecord[0].RANGE.ToString(); }