//窗体加载 private void UCSaleBillingZongHe_Load(object sender, EventArgs e) { //单据类型 CommonFuncCall.BindSaleOrderType(cboorder_type, true, "全部"); //发票类型 CommonFuncCall.BindComBoxDataSource(cboreceipt_type, "sys_receipt_type", "全部"); //结算单位 CommonFuncCall.BindBalanceWayByItem(cbobalance_way, "全部"); //客户类别 CommonFuncCall.BindComBoxDataSource(cboCust_type, "sys_customer_category", "全部"); //仓库 CommonFuncCall.BindWarehouse(cbowh_code, "全部"); //公司 CommonFuncCall.BindCompany(cboCompany, "全部"); #region 初始化查询 cboorder_type.SelectedValue = orderType; cboreceipt_type.SelectedValue = receiptType; cbobalance_way.SelectedValue = balanceWay; cbobalance_account.SelectedValue = balanceAccount; txtcCust_code.Text = supCode; txtCust_name.Caption = supName; cboCust_type.SelectedValue = supType; cbowh_code.SelectedValue = whCode; txtcparts_code.Text = partsCode; txtPartsName.Caption = partsName; txtdrawing_num.Caption = drawingNum; txtparts_brand.Caption = partsBrand; dicreate_time.StartDate = stratDate; dicreate_time.EndDate = endDate; cboCompany.SelectedValue = commpany; cboorg_id.SelectedValue = orgID; #endregion BindData(); }
private void UCPayableDanDetail_Load(object sender, EventArgs e) { //绑定结算方式 CommonFuncCall.BindBalanceWayByItem(cboBalanceWay, "全部"); //绑定结算账户 CommonFuncCall.BindAccount(cboPaymentAccount, "全部"); //供应商类别 CommonFuncCall.BindComBoxDataSource(cboSup_type, "sys_supplier_category", "全部"); //公司 CommonFuncCall.BindCompany(cboCompany, "全部"); //绑定收款类型 DataSources.BindComBoxDataEnum(cboPaymentType, typeof(DataSources.EnumPaymentType), true); listNegative = new List <string>(); listNegative.Add("金额"); txtcSup_code.Text = supCode; txtSup_name.Caption = supName; cboSup_type.SelectedValue = supType; cboBalanceWay.SelectedValue = balanceWay; cboPaymentType.SelectedValue = payableType; cboPaymentAccount.SelectedValue = account; dicreate_time.StartDate = startDate; dicreate_time.EndDate = endDate; cboCompany.SelectedValue = company; cboorg_id.SelectedValue = orgID; BindData(); }
private void UCReceivableDanDetail_Load(object sender, EventArgs e) { //绑定结算方式 CommonFuncCall.BindBalanceWayByItem(cboBalanceWay, "全部"); //绑定结算账户 CommonFuncCall.BindAccount(cboPaymentAccount, "全部"); //客户类别 CommonFuncCall.BindComBoxDataSource(cboCust_type, "sys_customer_category", "全部"); //公司 CommonFuncCall.BindCompany(cboCompany, "全部"); //是否会员 DataSources.BindComBoxDataEnum(cboIsMember, typeof(DataSources.EnumYesNo), true); //绑定收款类型 DataSources.BindComBoxDataEnum(cboPaymentType, typeof(DataSources.EnumReceivableType), true); listNegative = new List <string>(); listNegative.Add("金额"); txtcCust_code.Text = custCode; txtCust_name.Caption = custName; cboCust_type.SelectedValue = custType; cboIsMember.SelectedValue = is_member; cboBalanceWay.SelectedValue = balanceWay; cboPaymentType.SelectedValue = receivableType; cboPaymentAccount.SelectedValue = account; dicreate_time.StartDate = startDate; dicreate_time.EndDate = endDate; cboCompany.SelectedValue = company; cboorg_id.SelectedValue = orgID; BindData(); }
//窗体加载 private void UCPurchaseDiscountSummariz_Load(object sender, EventArgs e) { //单据类型 CommonFuncCall.BindPurchaseOrderType(cboorder_type, true, "全部"); //发票类型 CommonFuncCall.BindComBoxDataSource(cboreceipt_type, "sys_receipt_type", "全部"); //结算单位 CommonFuncCall.BindBalanceWayByItem(cbobalance_way, "全部"); //供应商类别 CommonFuncCall.BindComBoxDataSource(cbosup_type, "sys_supplier_category", "全部"); //仓库 CommonFuncCall.BindWarehouse(cbowh_code, "全部"); //公司 CommonFuncCall.BindCompany(cboCompany, "全部"); BindData(); }
//窗体加载 private void UCSaleBillingummariz_Load(object sender, EventArgs e) { //单据类型 CommonFuncCall.BindSaleOrderType(cboorder_type, true, "全部"); //发票类型 CommonFuncCall.BindComBoxDataSource(cboreceipt_type, "sys_receipt_type", "全部"); //结算单位 CommonFuncCall.BindBalanceWayByItem(cbobalance_way, "全部"); //客户类别 CommonFuncCall.BindComBoxDataSource(cboCust_type, "sys_customer_category", "全部"); //仓库 CommonFuncCall.BindWarehouse(cbowh_code, "全部"); //公司 CommonFuncCall.BindCompany(cboCompany, "全部"); BindData(); }
//窗体加载 private void UCPurchaseBillingDetail_Load(object sender, EventArgs e) { //设置负数要显示成红色的字段 listNegative = new List <string>(); listNegative.Add("单价"); listNegative.Add("采购货款"); listNegative.Add("税额"); listNegative.Add("金额"); //单据类型 CommonFuncCall.BindPurchaseOrderType(cboorder_type, true, "全部"); //发票类型 CommonFuncCall.BindComBoxDataSource(cboreceipt_type, "sys_receipt_type", "全部"); //结算单位 CommonFuncCall.BindBalanceWayByItem(cbobalance_way, "全部"); //供应商类别 CommonFuncCall.BindComBoxDataSource(cbosup_type, "sys_supplier_category", "全部"); //仓库 CommonFuncCall.BindWarehouse(cbowh_code, "全部"); //公司 CommonFuncCall.BindCompany(cboCompany, "全部"); #region 初始化查询 cboorder_type.SelectedValue = orderType; cboreceipt_type.SelectedValue = receiptType; cbobalance_way.SelectedValue = balanceWay; cbobalance_account.SelectedValue = balanceAccount; txtcsup_code.Text = supCode; txtsup_name.Caption = supName; cbosup_type.SelectedValue = supType; cbowh_code.SelectedValue = whCode; txtcparts_code.Text = partsCode; txtPartsName.Caption = partsName; txtdrawing_num.Caption = drawingNum; txtparts_brand.Caption = partsBrand; dicreate_time.StartDate = stratDate; dicreate_time.EndDate = endDate; cboCompany.SelectedValue = commpany; cboorg_id.SelectedValue = orgID; #endregion BindData(); //双击查看明细,要手动调用权限 if (this.Name != "CL_BusinessAnalysis_Purchase_BillingDet") { base.RoleButtonStstus("CL_BusinessAnalysis_Purchase_BillingDet"); } }
private void UCPayableDanSummariz_Load(object sender, EventArgs e) { //绑定结算方式 CommonFuncCall.BindBalanceWayByItem(cboBalanceWay, "全部"); //绑定结算账户 CommonFuncCall.BindAccount(cboPaymentAccount, "全部"); //供应商类别 CommonFuncCall.BindComBoxDataSource(cboSup_type, "sys_supplier_category", "全部"); //公司 CommonFuncCall.BindCompany(cboCompany, "全部"); //绑定收款类型 DataSources.BindComBoxDataEnum(cboPaymentType, typeof(DataSources.EnumPaymentType), true); listNegative = new List <string>(); listNegative.Add("金额"); BindData(); }
private void UCReceivableDanSummariz_Load(object sender, EventArgs e) { //绑定结算方式 CommonFuncCall.BindBalanceWayByItem(cboBalanceWay, "全部"); //绑定结算账户 CommonFuncCall.BindAccount(cboPaymentAccount, "全部"); //客户类别 CommonFuncCall.BindComBoxDataSource(cboCust_type, "sys_customer_category", "全部"); //绑定是否会员 DataSources.BindComBoxDataEnum(cboIsMember, typeof(DataSources.EnumYesNo), true); //绑定收款类型 DataSources.BindComBoxDataEnum(cboPaymentType, typeof(DataSources.EnumReceivableType), true); //绑定公司 CommonFuncCall.BindCompany(cboCompany, "全部"); listNegative = new List <string>(); listNegative.Add("金额"); BindData(); }