亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cull_convert.asp

?? 用VB語言編寫的物流管理系統的
?? ASP
?? 第 1 頁 / 共 2 頁
字號:
<%@ LANGUAGE="VBSCRIPT" %>
<% 
response.buffer=true
Response.Expires = 0
Response.CacheControl = "Private"
%>
<%const title="分揀操作"%>
<!-- #include file=../data/username.inc-->
<!-- #include file=../data/connect.asp-->
<!-- #include file=../data/myPrg.asp-->
<html>
<head>
<meta http-equiv="Content-Type"content="text/html; charset=gb_2312-80">
<title><%=title%></title>
<link rel="stylesheet" type="text/css" href="../data/forum.css">
<script language=vbscript>
<!--
Sub datacheck()
if isdate(trim(input1.cull_date.value)) = false then
   msgbox "「分揀日期」格式不對!", 64, "請輸入正確的日期!"
     document.input1.cull_date.focus()
     Exit Sub
  End if  
if isdate(trim(input1.cull_time.value)) = false then
   msgbox "「分揀時間」格式不對!", 64, "請輸入正確的時間格式!"
     document.input1.cull_time.focus()
     Exit Sub
  End if  
if trim(input1.elink_odd.value)=empty then
   msgbox "「易聯單號」不得為空白!", 64, "請輸入易聯單號 !"
     document.input1.elink_odd.focus()
     Exit Sub
  End if
if trim(input1.fact_weight.value)<> empty then
	if isnumeric(trim(input1.fact_weight.value)) = false then
	   msgbox "「實際重量」必須為數字!", 64, "請輸入實際重量 !"
     document.input1.fact_weight.focus()
     Exit Sub
     end if
End if
if trim(input1.tally_weight.value)<> empty then
	if isnumeric(trim(input1.tally_weight.value)) = false then
	   msgbox "「記費重量」必須為數字!", 64, "請輸入記費重量 !"
     document.input1.tally_weight.focus()
     Exit Sub
     end if
End if
if trim(input1.fact_weight.value)<> empty and trim(input1.tally_weight.value)<> empty then
	if clng(trim(input1.fact_weight.value)) > clng(trim(input1.tally_weight.value)) then
		msgbox "「記費重量」必須大于等于「實際重量」!", 64, "請輸入正確的記費重量 !"
		document.input1.tally_weight.focus()
		Exit Sub	
	end if
end if
if trim(input1.cull_operate.value)= empty then
   msgbox "「分揀操作人」必須選擇!", 64, "請輸入分揀操作人!"
     document.input1.cull_operate.focus()
     Exit Sub
End if
if trim(input1.transport_no.value) <> empty then
	if isnumeric(trim(input1.transport_no.value)) = false then
	   msgbox "「件數」必須為數字!", 64, "請輸入件數!"
     document.input1.transport_no.focus()
    
     Exit Sub
     end if
End if
input1.Submit
End Sub
-->
</script>
</head>
<body topmargin="0"  onload="javascript:self.moveTo(0,0);document.input1.cull_date.focus();">
<%
if isempty(session("username")) then
	call closedatabase
	Response.Write "請重新登入!"
	Response.End 
end if 
newcompanyid = request("companyid")
if newcompanyid = "" then
	call closedatabase
	Response.Write "<script language=javascript>"
	Response.Write "alert(""請先選擇公司再做此步操作!"");"
	Response.write "history.go(-1);"
	Response.Write "</script>"
	Response.End
elseif not isnumeric(newcompanyid) then
	call closedatabase
	Response.Write "<script language=javascript>"
	Response.Write "alert(""companyid必須為整數!"");history.go(-1);"
	Response.Write "</script>"
	Response.End
else
	newcompanyid = cint(newcompanyid)  
end if
arra = split(session("username"),";")
UserCompanyid = arra(0)
flag = arra(1)
User = arra(2)
userno = arra(4)
outw_id = request("id")
if not isnumeric(outw_id) then
	call closedatabase
	Response.Write "<script language=javascript>"
	Response.Write "alert(""id必須為整數!"");history.go(-1);"
	Response.Write "</script>"
	Response.End
end if
guest_id = request("guest_id")
if not isnumeric(guest_id) then
	call closedatabase
	Response.Write "<script language=javascript>"
	Response.Write "alert(""guest_id必須為整數!"");history.go(-1);"
	Response.Write "</script>"
	Response.End
end if
dc_id = request("dc_id")
if not isnumeric(dc_id) then
	call closedatabase
	Response.Write "<script language=javascript>"
	Response.Write "alert(""dc_id必須為整數!"");history.go(-1);"
	Response.Write "</script>"
	Response.End
end if
dir_flag = request("dir_flag")
if cstr(dir_flag) = "False" or cstr(dir_flag) = "0" then
	dir_flag = 0
elseif cstr(dir_flag) = "True"  or cstr(dir_flag) = "1" then
	dir_flag = 1
else
	call closedatabase
	Response.End 
end if
'Response.Write dir_flag
'Response.End 
outw_sra = request("sra")
outw_sra = replace(outw_sra,"'","’")
detail_id = request("detail_id")
detail_id = replace(detail_id,"'","’")
if Request.ServerVariables("REQUEST_METHOD")="POST" then
	'發運日期
	cull_date = trim(request("cull_date"))
	cull_date = replace(cull_date,":",":")
	'發運時間
	cull_time = trim(request("cull_time"))
	cull_time = replace(cull_time,":",":")
	cull_datetime = cull_date&" "&cull_time
	if isdate(cull_datetime) = false then
		call closedatabase
		Response.Write "<script language=javascript>"
		Response.Write "alert(""發運時間格式不正確,請按規定的格式填寫!!!"");"
		Response.Write "history.go(-1);"
		Response.Write "</script>"
		Response.End 
	end if
	'易聯單號
	elink_odd = trim(request("elink_odd"))
	elink_odd = replace(elink_odd,"'","’")
	'運輸件數
	transport_no = trim(request("transport_no"))
	if transport_no = "" then transport_no = 0
	'實際重量
	fact_weight = trim(request("fact_weight"))
	if fact_weight = "" then fact_weight = 0
	'記費重量
	tally_weight = trim(request("tally_weight"))
	if tally_weight = "" then tally_weight = 0
	'分揀操作人
	cull_operate = trim(Request("cull_operate"))
	cull_operate = replace(cull_operate,"'","’")
	'分揀備注
	cull_beizu = trim(request("cull_beizu"))
	if cull_beizu = "" then 
		cull_beizu= " "
	else
		cull_beizu = replace(cull_beizu,"'","’")
	end if
	'分運單號
	transport_fenyun = trim(Request("transport_fenyun"))
	transport_fenyun = replace(transport_fenyun,"'","’")
	if transport_fenyun <> "" then
		sp = split(transport_fenyun,"/")
	     high = ubound(sp)+1
	end if
	if transport_no <> "" and transport_fenyun <> "" then 	     
		 Response.Write "<br>"
		 for i = 0 to ubound(sp)
			 if trim(sp(i)) = "" then
			 call closedatabase	
			 Response.Write "<center>第" & i+1 &"個分運單不對,您的輸入格式可能錯了</center>"
			 Response.Write  "<center>請<a href='#' onclick=history.go(-1)><font color=blue size=3>返回</font></a>檢查分運單!</center>"
			 Response.End
			 end if
		 next
	end if
	if transport_fenyun <> "" then    
		if (transport_no <> "") and (transport_fenyun <> "") and (clng(transport_no) <> clng(high)) then 
				 call closedatabase	     
				 Response.Write "<br>"
			 	 Response.Write "<center>分運單個數不對!</center>"
				 Response.Write  "<center>請<a href='#' onclick=history.go(-1)><font color=blue size=3>返回</font></a>檢查分運單!</center>"
				 Response.End
		end if    
	end  if
	'--------------------------------------
	'2003-1-27修改
	'檢驗該客戶是否已經被分揀,防止被多次分揀
	sql = "select * from outward_detail where detail_outw_id = "&outw_id&" and detail_guest_id = "&guest_id&" and detail_elink_id = 0"
	set rs_detail = conn.execute(sql)
	if rs_detail.eof then
		rs_detail.close
		set rs_detail = nothing
		call closedatabase
		Response.Write "<script language=javascript>"
		Response.write "alert(""該客戶分揀操作在此之前已經完成!請確認?。?!"");opener.location.reload();"
		Response.Write  "window.close();</script>"
		Response.End 
	else
		rs_detail.close
		set rs_detail = nothing
	end if
	'--------------------------------------
	
	
	sql = "select * from outward_elink where elink_odd = '"&elink_odd&"' and elink_companyid = "&newcompanyid&""
	set rs_elink = conn.execute(sql)
	if rs_elink.eof then
		'Response.Write "outw_id "&outw_id&"<br>"
		'Response.Write "guest_id "&guest_id&"<br>"
		'Response.Write "elink_odd "&elink_odd&"<br>"
		'Response.Write "cull_datetime "&cull_datetime&"<br>"
		'Response.Write "transport_no "&transport_no &"<br>"
		'Response.Write "fact_weight " &fact_weight &"<br>"
		'Response.Write "tally_weight " &tally_weight &"<br>"
		'Response.Write "cull_operate "&cull_operate &"<br>"
		'Response.Write "newcompanyid " &newcompanyid&"<br>"
		'Response.Write "user " &user&"<br>"
		'Response.End 
		
		set cmd=server.CreateObject("ADODB.Command")
		cmd.ActiveConnection = conn
		cmd.CommandType = 4
		cmd.CommandText = "Cull_Convert"

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
奇米影视在线99精品| 欧美乱妇一区二区三区不卡视频| caoporn国产一区二区| 精品国产不卡一区二区三区| 欧美一区二区福利在线| 日韩美女视频一区| 不卡av在线网| 国产女人18水真多18精品一级做| 亚洲欧美日韩国产手机在线| 成人福利视频在线| 国产精品嫩草影院com| 丁香亚洲综合激情啪啪综合| 日本v片在线高清不卡在线观看| 一区二区三区日本| 欧美日韩日日夜夜| 亚洲免费电影在线| 久久亚洲欧美国产精品乐播| 欧美另类z0zxhd电影| 91影院在线免费观看| 国产精品一区二区x88av| 日韩av电影免费观看高清完整版在线观看 | 欧美日韩激情一区| 一区二区三区加勒比av| 亚洲一线二线三线视频| 亚洲综合免费观看高清在线观看| 日本精品一区二区三区四区的功能| 国产精品久久久久久久久免费樱桃| 色欧美片视频在线观看| 天天色综合天天| 亚洲人成电影网站色mp4| 欧美一区二区三区影视| 国产精品1024| 日韩电影在线一区| 国产精品不卡一区| 久久久亚洲国产美女国产盗摄| 国产精品久久久久9999吃药| 欧美日韩国产一级二级| 成人aaaa免费全部观看| 精品在线免费视频| 美日韩黄色大片| 亚洲一区二区av电影| 亚洲精品一卡二卡| 国产精品电影院| 中文子幕无线码一区tr| 日韩精品一区国产麻豆| 91精品国产高清一区二区三区 | 丝袜美腿成人在线| 国产一区二区免费看| 美国十次综合导航| 蜜臀91精品一区二区三区| 亚洲一区二区在线观看视频| 亚洲视频狠狠干| 一区二区视频在线| 亚洲美女屁股眼交3| 亚洲靠逼com| 婷婷久久综合九色综合伊人色| 亚洲一区二区影院| 青草国产精品久久久久久| 五月天激情综合网| 激情五月婷婷综合| 国产91精品入口| 欧美综合视频在线观看| 国内精品免费**视频| 精品国产不卡一区二区三区| 精品蜜桃在线看| 中文字幕欧美国产| 亚洲一区二区视频在线观看| 亚洲成人久久影院| 久久国产精品99精品国产| 国产精品影视网| 欧美色倩网站大全免费| 欧美精品一区二区三区四区| 精品精品国产高清一毛片一天堂| 国产精品视频麻豆| 视频一区二区国产| av动漫一区二区| 精品国产免费人成在线观看| 亚洲女子a中天字幕| 国模少妇一区二区三区| 欧美日韩一区二区在线观看视频 | 五月天亚洲婷婷| 成人18视频日本| 精品国产a毛片| 首页亚洲欧美制服丝腿| 一本色道久久综合亚洲aⅴ蜜桃 | 欧美美女一区二区在线观看| 国产日韩欧美不卡| 韩国三级中文字幕hd久久精品| 欧美日韩中文一区| 亚洲一区二区av电影| 99视频国产精品| 一区二区中文字幕在线| 免费成人你懂的| 精品在线视频一区| 欧美三片在线视频观看 | 色偷偷久久一区二区三区| 精品动漫一区二区三区在线观看| 亚洲国产精品精华液网站| 国产成人8x视频一区二区| 日韩欧美区一区二| 性做久久久久久免费观看欧美| 日本成人在线视频网站| 欧美在线999| 亚洲女与黑人做爰| 91一区二区三区在线观看| 国产精品久久一卡二卡| 国产iv一区二区三区| 久久九九国产精品| 老司机午夜精品| 日韩一区二区三区免费观看| 午夜视频在线观看一区二区| 欧美日韩精品一区二区天天拍小说| 亚洲人成网站影音先锋播放| 久久婷婷色综合| 不卡影院免费观看| 亚洲在线免费播放| 欧美精品乱人伦久久久久久| 婷婷亚洲久悠悠色悠在线播放| 欧美三电影在线| 久久激五月天综合精品| 91精品在线免费| 99久久伊人网影院| 亚洲国产裸拍裸体视频在线观看乱了| av资源站一区| 亚洲色图19p| 精品国产三级a在线观看| 成人黄色电影在线| 亚洲成a人v欧美综合天堂| 日韩美女一区二区三区| 久久激情五月婷婷| 国产精品久久久久久久久免费相片 | 99久久久精品免费观看国产蜜| 亚洲一级二级三级在线免费观看| 国产日产亚洲精品系列| 国产精品家庭影院| 一本一道久久a久久精品综合蜜臀| 色视频欧美一区二区三区| 久久亚洲精精品中文字幕早川悠里 | 欧美成人vr18sexvr| 亚洲美女少妇撒尿| a美女胸又www黄视频久久| 337p日本欧洲亚洲大胆色噜噜| 久久久久九九视频| 精东粉嫩av免费一区二区三区| 精品理论电影在线观看| 日本特黄久久久高潮| 91精品国产福利在线观看 | 亚洲一区二区精品3399| 日韩手机在线导航| 国产一区二区在线视频| 亚洲v精品v日韩v欧美v专区| 亚洲激情自拍偷拍| 精品1区2区在线观看| 欧美综合在线视频| 美女脱光内衣内裤视频久久网站 | 亚洲一区在线观看免费 | 国产精品久久免费看| 黄色日韩三级电影| 日韩你懂的在线观看| 欧美日韩国产高清一区| 色8久久精品久久久久久蜜| 不卡av在线免费观看| 亚洲国产岛国毛片在线| 中文字幕高清不卡| 美女视频网站久久| 99国产精品久久| 亚洲一区二区在线免费观看视频| 国产高清不卡二三区| 日韩一区二区免费视频| 亚洲国产一区视频| 不卡的av在线播放| 成人黄色在线网站| 色综合天天综合狠狠| 欧美亚洲精品一区| 日韩欧美色综合| 亚洲色图在线看| 日韩在线观看一区二区| 国产精品自产自拍| 国产一区二区剧情av在线| 成人综合婷婷国产精品久久免费| va亚洲va日韩不卡在线观看| 欧美日韩国产小视频在线观看| 777a∨成人精品桃花网| 国产日韩av一区| 天堂va蜜桃一区二区三区漫画版| 中文字幕制服丝袜成人av| 亚洲国产精品成人综合| 日本久久精品电影| 国产麻豆精品久久一二三| av一区二区不卡| 日韩欧美在线网站| 亚洲激情自拍偷拍| 日韩国产在线一| 99视频一区二区| 国产亚洲人成网站| 狂野欧美性猛交blacked| 91福利在线看| 国产精品灌醉下药二区| 国产一区啦啦啦在线观看| 一本大道久久精品懂色aⅴ|