WELOA.Web/sb/admin/login_warehousing_into.aspx.cs
(开头部分) 31KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SBBLL;
using WELOA.Model;
using LSBLL;
using System.Data;
using System.IO;
using System.Drawing.Imaging;
using System.Text;
using System.Text.RegularExpressions;
namespace Web.sb.admin
{
public partial class login_warehousing_into : System.Web.UI.Page
{
private SB_Categories categoriesBLL = new SB_Categories();
private DateSetInformation dsinfo = new DateSetInformation();
private DateTime dtWarrantydate;
private LS_Manager managerBLL = new LS_Manager();
private LS_Public publicBLL = new LS_Public();
private SB_Storage storageBLL = new SB_Storage();
private SB_System systemBLL = new SB_System();
private Polytechnic trinfo = new Polytechnic();
private SB_warehousing warehousingBLL = new SB_warehousing();
protected void btAddDevice_Click(object sender, EventArgs e)
{
int nTestingDays = Convert.ToInt32(this.tbTestingDays.Text.Trim());
DateTime dtTesttestingtime = Convert.ToDateTime("1900-01-01");
if (nTestingDays != 0)
{
if (this.tbFistTestingTime.Text.Trim() == "")
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('此设备为强制检测设备,请设置设备首次检测时间。')</script>");
return;
}
dtTesttestingtime = Convert.ToDateTime(this.tbFistTestingTime.Text.Trim());
if (this.tbInitialinventory.Text.Trim() != "1")
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('此设备为强制检测设备,入库数量必须为1。')</script>");
this.tbInitialinventory.Text = "1";
}
}
this.lbMessage.Text = "";
string strManager = this.Manager();
string strDevicenumber = this.tbDevicenumber.Text.Trim();
this.dsinfo = new DateSetInformation();
this.dsinfo = this.warehousingBLL.select_Warehousing_devicenumber(strDevicenumber);
if (this.dsinfo.nException > 0)
后面还有 623 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
