| | |
| | | ///供应商 |
| | | selSuppliers.DataSource = _OA_SuppliersBLL.getSupplierTable(CurrentUser.MemberId); |
| | | selSuppliers.DataBind(); |
| | | selSuppliers.Items.Insert(0, new ListItem("请选择", "")); |
| | | ///产品类别 |
| | | /// |
| | | dwCommity.Items.Insert(0, new ListItem("请选择", "")); |
| | |
| | | this.txtPrice.Value = procurementModel.Price.ToString(); |
| | | this.txtTenPrice.Value = procurementModel.TanPrice.ToString(); |
| | | this.txtAllMoney.Value = procurementModel.AllMoney.ToString(); |
| | | |
| | | |
| | | this.txtRemark.Value = procurementModel.Remark; |
| | | |
| | | } |
| | | |
| | |
| | | procurement.SuppliersId = this.selSuppliers.Value.ToInt32(); |
| | | procurement.FirmId = CurrentUser.MemberId; |
| | | procurement.GoodsId = this.dwGoodsList.SelectedValue.ToInt32(); |
| | | procurement.Remark = ""; |
| | | procurement.Remark = this.txtRemark.Value; |
| | | procurement.BrandId = this.dwBrand.SelectedValue.ToInt32(); |
| | | procurement.SpecificationId = this.dwSpecification.SelectedValue.ToInt32(); |
| | | procurement.PaperWeightId = this.dwPaperWeight.SelectedValue.ToInt32() ?? 0; |
| | |
| | | procurementModel.PaperWeightId = this.dwPaperWeight.SelectedValue.ToInt32() ?? 0; |
| | | procurementModel.LastUpdateTime = DateTime.Now; |
| | | procurementModel.Operator = CurrentUser.ShortName; |
| | | procurementModel.Remark = this.txtRemark.Value; |
| | | if (_OA_ProcurementBLL.UpdateModel(procurementModel)) |
| | | { |
| | | JavaScript.RefreshDIVOpener(this); |