| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using CoreFS.CA06;
- using Core.Mes.Client.Comm.Tool;
- using Pur.PublicTools;
- using System.Collections;
- namespace Pur.balance
- {
- public partial class WinBalanceBillInfo : FrmBase
- {
- private OpeBase _ob;
- public OpeBase Ob
- {
- get { return _ob; }
- set { _ob = value; }
- }
- private string strBalanceNo;//结算单号
- public string StrBalanceNo
- {
- get { return strBalanceNo; }
- set { strBalanceNo = value; }
- }
- private string strBILL_NO;//发票编号
- public string StrBILL_NO
- {
- get { return strBILL_NO; }
- set { txtBILL_NO.Text = value; }
- }
- private string strTOTAL_REAL_PRICE;//发票金额
- public string StrTOTAL_REAL_PRICE
- {
- get { return strTOTAL_REAL_PRICE; }
- set { txtTOTAL_REAL_PRICE.Text = value; }
- }
- private string strMaterGroup;//报销事宜
- public string StrMaterGroup
- {
- get { return strMaterGroup; }
- set { materGroup.Text = value; }
- }
- private string remark;// 备注
- public string Remark
- {
- get { return remark; }
- set { txt_remark.Text = value; }
- }
- private string voucherNum;//报销事宜
- public string VoucherNum
- {
- get { return voucherNum; }
- set { txt_voucherNum.Text = value; }
- }
- private string totalBuyAmt;// 备注
- public string TotalBuyAmt
- {
- get { return totalBuyAmt; }
- set { TOTAL_BUY_AMT.Text = value; }
- }
- public WinBalanceBillInfo()
- {
- InitializeComponent();
- }
- private void btnOk_Click(object sender, EventArgs e)
- {
- try
- {
- if (strBalanceNo == "")
- {
- return;
- }
- if (txtBILL_NO.Text.Trim() == "")
- {
- MessageUtil.ShowWarning("发票编号不能为空!");
- return;
- }
- this.DialogResult = DialogResult.OK;
- ArrayList all = new ArrayList();
- all.Add(txtBILL_NO.Text.Trim());
- all.Add(txtTOTAL_REAL_PRICE.Text.Trim());
- all.Add(materGroup.Text.Trim());
- all.Add("2");
- all.Add(txt_remark.Text.Trim());
- all.Add(TOTAL_BUY_AMT.Text.Trim());
- all.Add(txt_voucherNum.Text.Trim());
- all.Add(strBalanceNo);
- PublicServer.SetData("com.hnshituo.pur.balance.service.impl.FrmBalanceBillManage.UpdateBalanceInBillInfo",
- new Object[] { all }, _ob);
- }
- catch (Exception ex)
- {
- MessageUtil.ShowWarning(ex.Message);
- return;
- }
- }
- private void txtTOTAL_REAL_PRICE_TextChanged(object sender, EventArgs e)
- {
- }
- }
- }
|