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

正文內(nèi)容

基于php的服飾進銷存系統(tǒng)實現(xiàn)(參考版)

2024-11-11 21:49本頁面
  

【正文】 ][$id]。} else {Return $_SESSION[39。cart39。cart39。][$id][num]=intval($num)。 $_SESSION[39。price39。cart39。}} /** * 函數(shù)名稱 : modItem * 函數(shù)功能 : 修改商品數(shù)量 * 輸入?yún)?shù) : $id 商品 ID * $num 商品數(shù)量 */ function modItem ($id, $num) {$arr= $thisgetItems ($id)。])) {Return true。 array_key_exists($id,$_SESSION[39。][$id])amp。!empty($_SESSION[39。][$id])amp。}}}} /** * 函數(shù)名稱 : _isExists * 函數(shù)功能 : 判斷此商品是否存在 * 輸入?yún)?shù) : $id 商品 ID * 函數(shù)返回值 : bool */ function _isExists ($id) { if(isset($_SESSION[39。num39。cart39。])。])*intval($val[39。][$key][count]=intval($val[39。 $_SESSION[39。price39。cart39。]。][$key][name] = $val[39。 $_SESSION[39。cart39。])。][$key][num]+= intval($val[39。 $_SESSION[39。num39。price39。cart39。amp。 圖 47 采購訂單生成界面 圖 48 采購訂單明細界面 代碼設計 在添加商品頁面用到了購物車原理,就是把需要訂購的商品擺進一個購物車里,最后生成一張訂貨單。 如圖 47 所示,該頁面為采購訂單的基本信息錄入界面,該頁面主要是圍繞這供應商開展活動的。 echo 。$_GET[propery]39。good_propery_info39。 echo 。$_GET[delete]39。good_info39。 include(../)。} } ? 如上代碼實現(xiàn)了數(shù)據(jù)的更新,實現(xiàn)數(shù)據(jù)刪除的頁面為 ,該頁面是從顯示頁面取得相應的記錄 ID 值,然后利用 $db 對象的 $h_delete 方法進行刪除操作。)。,id=39。,bar_code=39。,remarks=39。,lowest_depot=39。,highest_depot=39。,lowest_price=39。,highest_price=39。,wholesale_price=39。,out_price=39。,in_price=39。,cost_price=39。,year=39。,unit=39。,color=39。,season=39。,size=39。,good_material=39。,good_brand=39。,good_category=39。,good_name=39。,good_id=39。 if($_POST[submit]) { $r=$dbh_update(39。 $remarks=$_POST[remarks]。 $highest_depot=$_POST[highest_depot]。 $highest_price=$_POST[highest_price]。 $out_price=$_POST[out_price]。 $cost_price=$_POST[cost_price]。 $unit=$_POST[unit]。 $season=$_POST[season]。 $material=$_POST[material]。 $category=$_POST[category]。 $good_id=$_POST[good_id]。代碼如下: ?php session_start()。這樣可以減少系統(tǒng)對數(shù)據(jù)庫的訪問量,減輕數(shù)據(jù)庫的負荷。}} ? 添加好信息之后,如果對信息需要改動就要進入信息修改頁 面 如圖 36 所示。$lowest_depot39。$highest_depot39。$lowest_price39。$highest_price39。$wholesale_price39。$cost_price39。$remarks39。$image39。$size39。$color39。$year39。$unit39。$season39。$out_price39。$in_price39。$bar_code39。$brand39。$material39。$category39。$good_name39。$good_id39。id,good_id,good_name,good_category,good_material,good_brand,bar_code,in_price,out_price,season,unit,year,color,size,image,remarks,cost_price,wholesale_price,highest_price,lowest_price,highest_depot,lo west_depot39。good_info39。 $bar_code=$_POST[bar_code]。 $image=$_SESSION[image]。 $highest_depot=$_POST[highest_depot]。 $highest_price=$_POST[highest_price]。 $out_price=$_POST[out_price]。 $cost_price=$_POST[cost_price]。 $unit=$_POST[unit]。 $season=$_POST[season]。 $material=$_POST[material]。 $category=$_POST[category]。 $good_id=$_POST[good_id]。)。 include(39。所以在這里就用商品資料頁面為例子 如圖 45,重點介紹該頁面里面的增刪改查。在這個框架里主要就是進行基本資料的添加刪除和修改。其中右邊的導航菜單是一個框架,左邊的信息頁面是一個框架。} $strtime=date(l)。)。,39。,39。,39。,39。,39。,39。 $ = array(39。sunday39。saturday39。friday39。thursday39。wednesday39。tuesday39。monday39。具體代碼如下: ?php function e2c($str) {$str = strtolower($str)。值得介紹的是頂部頁面 。 當擁有相應的權限就可以在該頁面通過各種鏈接進行任何操作了。}} else echo 。 echo 。)。 and password=39。,where user=39。,39。$pwd){ $r=$dbh_query(39。 } if($_POST[submit]) {if($useramp。) { setcookie(user, $user, time()+3600*24*30)。 if($_POST[remeber]==39。 $user=$_POST[user]。 頁面的代碼如下: ?php session_start()。)。,39。,39。,39。,39。}} $db=new mysql(39。} function h_update($table,$value,$where) //更新函數(shù) {$r=$thisquery(update $table set $value where $where )。} function h_delete($table,$where) //刪除函數(shù) {$r=$thisquery(delete from $table where $where)。} function h_query($table,$name,$where) //查找函數(shù) {$r=$thisquery(select $name from $table $where)。} //執(zhí)行 sql 函數(shù) function h_insert($table,$name,$value) //插入函數(shù) {$r=$thisquery(insert into $table ($name) values($value))。.$sql。 else echo $message.39。39。39。 return $query。Error:39。39。)。 mysql_query(SET NAMES 39。Not this database:39。)。} function connect() {$link=mysql_connect($thishost,$thisname,$thispassword) or die(39。 $thisut=$ut。 $thispassword=$password。 function __construct($host,$name,$password,$table,$ut) {$thishost=$host。 private $password。實現(xiàn) 的代碼如下: ?php class mysql { private $host。該頁面的信息將會通過 POST 方式送至 頁面進行驗證。 圖 311 退貨與庫存關系圖 庫存調撥主要是在 內(nèi)部進行,不過也關聯(lián)到具體的倉庫,故也需要和庫存信息表關聯(lián),他們的關系如圖 312. 圖 312 庫存調撥與庫存關系圖 4 系統(tǒng)的主要功能模塊實現(xiàn) 系統(tǒng)的處理流程設計 系統(tǒng)業(yè)務流程分析 服裝進銷存系統(tǒng)的業(yè)務流程如圖 41: 圖 41 系統(tǒng)業(yè)務流程圖 系統(tǒng)登錄設計 頁面設計 圖 42 顯示的是 頁面,該頁面主要是實現(xiàn)管理員輸入驗證信息的登錄界面。 圖 310 銷售與庫存的關系圖 和退回商品給供應商一樣,客戶不滿意產(chǎn)品時也可以退貨。 圖 38 商品與進貨關系圖 對進貨有異議的可以退貨回供應商,同樣需要關聯(lián)庫存表,它們的關系如圖39 所示。 商品(服裝)與商品屬性、供應商、供應商屬性之間的關系 如圖 37 圖 37 商品與供應商關系圖 進銷存?zhèn)戎卦谶M、銷、存。這 些操作都是在 MySQL下進行 實現(xiàn) 。 圖 36 系統(tǒng) ER圖 主要數(shù)據(jù)表的結構 表 30 產(chǎn)品信息表 Good_info 列名 類型 說明 Id Int 標識唯一性 Good_id char 標識碼 Good_name Char 服裝名 Good_category Char 服裝種類 Good_ material Char 服裝布料 Good_brand Char 品牌名稱 Bar_code Char 條形碼 Cost_price Int 成本價 Wholesale_price Int 批發(fā)價 Highest_price Int 最高銷價 Lowest_price Int 最低銷價 In_price Char 參考進價 Out_price Char 參考銷價 Highest_depot Int 最高庫存 Lowest_depot Int 最低庫存 Season Char 季節(jié) Unit Char 基本單位 Year Char 年份 Color Char 顏色 Size Char 尺寸 Image Char 圖片 Remarks Char 備注 Supplier Char 供應商 表 31 公司信息表 Company_info 列名 類型 說明 Id Int 標識唯一性 Company_name Char 公司名稱 Legal_person Char 法人代表 Tel Char 手機 Phone Char 電話號碼 Fax Char 傳真 Address Char 公司地址 website Char 網(wǎng)址 post Char 郵編 表 32 產(chǎn)品屬性表 Good_propery_info 列名 類型 說明 Id int 標識 name char 種類名稱 Remarks char 備注 Flag Char 標志 表 33 客戶信息表 Client_info 列名 類型 說明 Id Int 標識 Clent_id Char 客戶代碼 Client_name Char 客戶名稱 Legal_person Char 法定代表人 vocation Char 所屬行業(yè) Rank Char 等級 Status Char 客戶狀態(tài) Phone Char 電話 Tel Char 手機
點擊復制文檔內(nèi)容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1