CyManager/UCancelBill.cs
(开头部分) 22KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using Common;
using BLL;
namespace CyManager
{
public partial class UCancelBill : Form
{
public UCancelBill()
{
InitializeComponent();
}
ListViewItem lviBill = new ListViewItem();
private ListViewItem currItem;
string _myListViewItemID = null;
BLL.RetreatFoodBLL rfb = new RetreatFoodBLL();
Common.COpenBills cOpenBills = new COpenBills();
string opPayType;
private void toolStripButton1_Click(object sender, EventArgs e)
{
this.Close();
}
private void UReporting_Load(object sender, EventArgs e)
{
panel1.HorizontalScroll.Visible = true;
panel1.VerticalScroll.Visible = true;
panel2.HorizontalScroll.Visible = true;
panel2.VerticalScroll.Visible = true;
this.dtpStr.Value = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd"));//设计起始时间
BillsQuery1();//查询所有结账信息的方法
GetMoney();//获得结账金额的方法
}
///
public void BillsQuery1()
{
this.lvBills.Items.Clear();
this.lvBillLists.Items.Clear();
List<COpenBills> lop = new List<COpenBills>();
try
{
//lop = BLLOpenBills.DBOpenBillsDateTable(this.dtpStr.Value, this.dtpEnd.Value);
}
catch (Exception ex)
{
MessageBoxNew.Show("根据时间查询结账信息失败!" + ex.Message, "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
foreach (COpenBills op in lop)
{
ListViewItem lvi = new ListViewItem();
lvi.Text = op.CobId1;
this.lvBills.Items.Add(lvi);
lvi.SubItems.AddRange(new string[] { op.TName, op.CopMoney1.ToString(), op.CopSaveMoney1.ToString(), op.CopClientPay1.ToString(), (op.CobId1.Substring(2, 4) + "-" + op.CobId1.Substring(6, 2) + "-" + op.CobId1.Substring(8, 2)), op.CopRemark1 });
后面还有 472 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。