freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于c的進(jìn)銷存管理系統(tǒng)畢業(yè)論文-資料下載頁(yè)

2025-06-22 00:50本頁(yè)面
  

【正文】 strcmdtxt = SELECT GoodsID as 商品ID,GoodsName as 商品名稱,GoodsTime as 進(jìn)貨日期,CompanyName as 公司名稱。 strcmdtxt += ,GoodsNum as 進(jìn)貨數(shù)量,GoodsUnit as 商品單位,GoodsPrice as 商品進(jìn)價(jià),DepotName as 所屬倉(cāng)庫(kù),GoodsSpec as 商品規(guī)格。 strcmdtxt += ,SellPrice as 銷售價(jià)格,NeedPay as 應(yīng)付金額,HasPay as 實(shí)付金額,Remark as 備注 FROM Goods。 strcmdtxt += WHERE + strselect + 。 = (strcmdtxt).Tables[0]。 } if () { strselect = GoodsID LIKE 39。% + + %39。 AND GoodsName LIKE 39。% + + %39。 strselect += AND ReGoodsTime BETWEEN 39。 + (yyyyMMdd) + 39。 AND 。 strselect += 39。 + (yyyyMMdd) + 39。 strcmdtxt = SELECT ReGoodsID as 退貨ID,GoodsID as 進(jìn)貨ID,ReGoodsName as 商品名稱,ReGoodsTime as 退貨日期,ReGoodsNum as 退貨數(shù)量。 strcmdtxt += ,ReGoodsUnit as 商品單位,ReGoodsSpec as 商品規(guī)格,ReGoodsPrice as 進(jìn)貨價(jià)格。 strcmdtxt += ,NeedPay as 應(yīng)收金額,HasPay as 實(shí)收金額,ReGoodsResult as 退貨原因 FROM ReGoods。 strcmdtxt += WHERE + strselect + 。 = (strcmdtxt).Tables[0]。 } } private void btnCfind_Click(object sender, EventArgs e) { = 。 = 。 = 。 = 。 } 銷售管理窗體設(shè)計(jì)l 銷售查詢窗體(圖14)l 商品銷售窗體l 客戶退貨窗體1.窗體設(shè)計(jì)在窗體中分別添加GroupBox控件(包含Label控件、TextBox控件、Button控件和ComboBox控件)、一個(gè)DataGridView控件。圖14 銷售查詢窗體2.代碼設(shè)計(jì)在窗體初始化時(shí)執(zhí)行相關(guān)操作,窗體初始化代碼如下: private void SellFind_Load(object sender, EventArgs e) { string P_Str_cmdtxt = SELECT SellID as 銷售ID,GoodsID as 商品ID,GoodsName as 商品名稱,GoodsNum as 銷售數(shù)量。 P_Str_cmdtxt += ,GoodsUnit as 商品單位,GoodsTime as 銷售時(shí)間,GoodsSpec as 商品規(guī)格,GoodsPrice as 進(jìn)貨價(jià)格,SellPrice as 銷售價(jià)格。 P_Str_cmdtxt += ,NeedPay as 應(yīng)收金額,HasPay as 實(shí)收金額,Remark as 備注 FROM Sell。 = (P_Str_cmdtxt).Tables[0]。 = 0。 = 0。 }雙擊DataGridView控件時(shí)的事件代碼如下: private void dgvStockInfo_DoubleClick(object sender, EventArgs e) { = [2, ].()。 = [1, ].()。 = [4, ].()。 = [7, ].()。 = [8, ].()。 = [6, ].()。 ()。 } l 庫(kù)存查詢窗體(圖15)l 庫(kù)存調(diào)撥窗體l 庫(kù)存報(bào)警窗體1.窗體設(shè)計(jì)在窗體中分別添加GroupBox控件(包含Label控件、TextBox控件、Button控件和ComboBox控件)、一個(gè)DataGridView控件。圖15 庫(kù)存查詢窗體2.代碼設(shè)計(jì) 【開(kāi)始查詢按鈕】的Click事件代碼如下: private void btnFind_Click(object sender, EventArgs e) { string strselect = WHERE GoodsName LIKE 39。% + + %39。 AND GoodsID LIKE 39。 + + %39。 strselect += AND StockNum LIKE 39。% + + %39。 AND AlarmNum LIKE 39。% + + %39。 if ( != ) { strselect += AND GoodsPrice + [].ToString() + +。 } if ( != ) { strselect += AND SellPrice + [].ToString() + + 。 } string strcmdtxt = SELECT StockID as 庫(kù)存ID,GoodsID as 商品ID,GoodsName as 商品名稱,DepotName as 倉(cāng)庫(kù)名稱。 strcmdtxt += ,CompanyName as 供應(yīng)商名稱,StockNum as 庫(kù)存數(shù)量,AlarmNum as 報(bào)警數(shù)量,GoodsUnit as 商品單位。 strcmdtxt += ,GoodsTime as 進(jìn)貨時(shí)間,GoodsSpec as 商品規(guī)格,GoodsPrice as 進(jìn)貨價(jià)格,SellPrice as 銷售價(jià)格。 strcmdtxt += ,NeedPay as 應(yīng)付金額,HasPay as 實(shí)付金額,Remark as 備注 FROM Stock + strselect。 = (strcmdtxt).Tables[0]。 } 【開(kāi)始查詢按鈕】的Click事件代碼如下: private void btnCancel_Click(object sender, EventArgs e) { = 。 = 。 = 。 = 。 = 。 = 。 StockFind_Load(sender, e)。 }l 員工信息報(bào)表(圖16)l 往來(lái)單位報(bào)表l 進(jìn)貨商品報(bào)表l 員工銷售報(bào)表l 商品進(jìn)貨分析報(bào)表l 銷售價(jià)格分析報(bào)表l 員工銷售分析報(bào)表1.窗體設(shè)計(jì) 在窗體中分別添加一個(gè)GroupBox控件(包含Label控件、TextBox控件、Button控件和ComboBox控件)和一個(gè)CrystalReportViewer控件。圖16 員工信息報(bào)表2.代碼設(shè)計(jì) 在窗體初始化時(shí)執(zhí)行相關(guān)操作,窗體初始化代碼如下: private void EmployeeReport_Load(object sender, EventArgs e) { (SELECT * FROM Post, cbxPost, PostName)。//綁定ComboBox控件 (SELECT * FROM Department, cbxDepName, DepName)。 = 0。 //設(shè)定默認(rèn)項(xiàng) } 【查詢并顯示】按鈕的Click事件代碼如下: private void btnFindOk_Click(object sender, EventArgs e) { //為報(bào)表設(shè)定查詢語(yǔ)句 string P_selectionFormula = {} like + 39。* + + *39。 and {}=39。 + [].ToString() + 39。 P_selectionFormula += and {}=39。 + ()。 P_selectionFormula += 39。 and {}=39。 + () + 39。 //顯示滿足條件的報(bào)表信息 = (, P_selectionFormula)。 }l 系統(tǒng)用戶設(shè)置窗體(圖17)l 用戶權(quán)限窗體l 更改密碼窗體l 數(shù)據(jù)備份窗體l 數(shù)據(jù)還原窗體1.窗體設(shè)計(jì)在窗體中分別添加GroupBox控件(包含Label控件、TextBox控件、Button控件、ComboBox控件、ListBox控件和TreeView控件)和ErrorProvider控件。圖17 系統(tǒng)用戶設(shè)置窗體2.代碼設(shè)計(jì) 【設(shè)置/修改】按鈕的Click事件的代碼如下: private void btnEdit_Click(object sender, EventArgs e) { if ( == ) { (, 登錄身份不能為空!)。 return。 } if ( amp。amp。 == ) { (, 用戶名不能為空!)。 return。 } if ( amp。amp。 != ) { (, 兩次輸入密碼不一致!)。 return。 } if ( amp。amp。 6) { (, 輸入密碼不能小于6位!)。 return。 } if ( amp。amp。 6) { (, 輸入密碼不能小于6位!)。 return。 } //從樹(shù)控件中讀取設(shè)置的值 ArrayList arylst = new ArrayList()。 foreach (TreeNode nodes in ) { foreach (TreeNode node in ) { if () { (1)。 } else { (0)。 } } } if ( == 該用戶已為系統(tǒng)用戶) { //判斷權(quán)限表中是
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1