<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
|
<%Session.CodePage=65001%>
|
<!--#include virtual="/inc/chkadmin.gds"-->
|
<!--#include virtual="/inc/function.gds"-->
|
<%
|
If isDepartment("0608")=0 Then Response.Redirect "/"
|
'各种返回信息
|
SystemMessageType=trim(Request("SystemMessageType"))
|
SMT=trim(Request("SMT"))
|
if SMT="1" then
|
SystemMessageTXT="数据不足!!!"
|
elseif SMT="2" then
|
SystemMessageTXT="报价资料修改完成"
|
elseif SMT="3" then
|
SystemMessageTXT="新建报价资料完成"
|
elseif SMT="4" then
|
SystemMessageTXT="报价资料删除完成"
|
elseif SMT="5" then
|
SystemMessageTXT="车牌或车架号重复"
|
elseif SMT="6" then
|
SystemMessageTXT="请选择需要修改的项目"
|
elseif SMT="7" then
|
SystemMessageTXT="转运距离界限设定错误"
|
elseif SMT="8" then
|
SystemMessageTXT="报价资料启用/停用完成"
|
end if
|
|
searchTXT=trim(Request("searchTXT"))
|
OrderClass=trim(Request("OrderClass"))
|
IROrdClass=trim(Request("IROrdClass"))
|
If IROrdClass="" Then OrdClassName="全部"
|
Set rs = Server.CreateObject("ADODB.Recordset")
|
Set rsDt = Server.CreateObject("ADODB.Recordset")
|
'医护级别类型表列
|
NursingLevels = "0,基础|"
|
sql="select vID,vtext,vOrder2 from dictionary where vType>=1 and vtitle='NursingLevel' order by vOrder"
|
rs.open Sql,objConn,1,1
|
do while not rs.Eof
|
NursingLevelName=rs("vtext")
|
If rs("vOrder2")<>"" Then NursingLevelName=NursingLevelName&"-"&rs("vOrder2")
|
NursingLevels = NursingLevels & rs("vID") &","& NursingLevelName & "|"
|
rs.movenext
|
Loop
|
rs.close()
|
NursingLevels = left(NursingLevels,len(NursingLevels)-1)
|
NursingLevelPS = SPLIT(NursingLevels,"|")
|
'分管权限
|
admin_UnitID=""
|
AdminUnits=""
|
If Len(admin_OrderClass)<=10 Then
|
sql="select UnitID,UnitName from dbo.IntroducerUnitData where '"&admin_OrderClass&"' like '%'+ServiceBranch+'%' and ServiceBranch<>'' order by UnitState desc,UnitID desc"
|
rs.open Sql,objConn,1,1
|
do while not rs.Eof
|
admin_UnitID = admin_UnitID&","&rs("UnitID")
|
AdminUnits = AdminUnits & rs("UnitID") &","& rs("UnitName") & "|"
|
rs.movenext
|
Loop
|
rs.close()
|
If admin_UnitID<>"" Then
|
admin_UnitID=Mid(admin_UnitID,2)
|
SqlUnit=" and IRUnitID in ("&admin_UnitID&") "
|
End If
|
Else
|
AdminUnits = "0,无|"
|
sql="select UnitID,UnitName from dbo.IntroducerUnitData where ServiceBranch<>'' and UnitState<>3 order by UnitState desc,UnitID desc"
|
rs.open Sql,objConn,1,1
|
do while not rs.Eof
|
AdminUnits = AdminUnits & rs("UnitID") &","& rs("UnitName") & "|"
|
rs.movenext
|
Loop
|
rs.close()
|
End If
|
|
AdminUnits = left(AdminUnits,len(AdminUnits)-1)
|
AdminUnitPS = SPLIT(AdminUnits,"|")
|
%>
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head>
|
<title><%=LindemanAdmin%></title>
|
<!--#include virtual="/inc/ccs.gds"-->
|
<script src="js/jquery-1.12.3.min.js"></script>
|
</head>
|
<body onkeydown="xKeyEvent(event)">
|
<!--#INCLUDE FILE="menu_header.gds" -->
|
<!-- content -->
|
<div id="content" style="background: top;">
|
<!-- content / right -->
|
<div id="right" style="margin: -10px 60px 0 60px;">
|
<!-- table -->
|
<div class="box">
|
<!-- box / title -->
|
<div class="title">
|
<h5>自动报价设定</h5>
|
<%If isDepartment("060823")=1 Then%>
|
<ul class="links">
|
<li><a onclick="javascript:IRCreate.style.display='block';">新建</a></li>
|
<li><a onClick="form1_IR_update()">修改</a></li>
|
<li><a onClick="form1_IR_updateState()">PC启用/停用</a></li>
|
<li><a onClick="form1_IR_updatewxState()">自助启用/停用</a></li>
|
<li><a onClick="form1_IR_delete()">删除</a></li>
|
</ul>
|
|
<script LANGUAGE="javascript">
|
//全选按钮点击事件
|
function allCheck(allBoxName,itemBoxName) {
|
|
if($("input[name="+allBoxName+"]").prop("checked")){
|
$("input[name=" + itemBoxName + "]").prop("checked",true);
|
} else {
|
$("input[name=" + itemBoxName + "]").prop("checked",false);
|
}
|
}
|
|
//子项按钮点击事件
|
function itemCheck(allBoxName,itemBoxName) {
|
var hasNoSel = false;
|
var itemBoxArray = $("input[name="+itemBoxName+"]");
|
itemBoxArray.each(function() {
|
if(!$(this).prop("checked")){
|
hasNoSel = true;
|
}
|
});
|
if(hasNoSel){
|
$("input[name="+allBoxName+"]").prop("checked",false);
|
} else {
|
$("input[name="+allBoxName+"]").prop("checked",true);
|
}
|
}
|
//修改报价
|
function form1_IR_update(){
|
document.form1.action = "admin_save.gds";
|
document.form1.admin_save.value = "142_1";
|
form1.submit();
|
}
|
//PC启用/停用
|
function form1_IR_updateState(){
|
document.form1.action = "admin_save.gds";
|
document.form1.admin_save.value = "144_1";
|
form1.submit();
|
}
|
//微信小程序自助启用/停用
|
function form1_IR_updatewxState(){
|
document.form1.action = "admin_save.gds";
|
document.form1.admin_save.value = "144_1_wx";
|
form1.submit();
|
}
|
//删除报价
|
function form1_IR_delete(){
|
document.form1.action = "admin_save.gds";
|
document.form1.admin_save.value = "143_1";
|
form1.submit();
|
}
|
|
//选择修改报价
|
function form1_IR_Edit(id){
|
if (document.getElementById('Show_IRPrice_'+id).style.display=="none")
|
{
|
document.getElementById('Show_IRProvince_'+id).style.display='';
|
document.getElementById('Edit_IRProvince_'+id).style.display='none';
|
document.getElementById('Show_IRCity_'+id).style.display='';
|
document.getElementById('Edit_IRCity_'+id).style.display='none';
|
document.getElementById('Show_IRArea_'+id).style.display='';
|
document.getElementById('Edit_IRArea_'+id).style.display='none';
|
document.getElementById('Show_IRkeyword_'+id).style.display='';
|
document.getElementById('Edit_IRkeyword_'+id).style.display='none';
|
document.getElementById('Show_Unitlimit_'+id).style.display='';
|
document.getElementById('Edit_Unitlimit_'+id).style.display='none';
|
document.getElementById('Show_IRPrice_'+id).style.display='';
|
document.getElementById('Edit_IRPrice_'+id).style.display='none';
|
document.getElementById('Show_IRNursingLevel_'+id).style.display='';
|
document.getElementById('Edit_IRNursingLevel_'+id).style.display='none';
|
document.getElementById('Show_IRDt_'+id).style.display='';
|
document.getElementById('Edit_IRDt_'+id).style.display='none';
|
document.getElementById('Show_IRVentilatorCost_'+id).style.display='';
|
document.getElementById('Edit_IRVentilatorCost_'+id).style.display='none';
|
document.getElementById('Show_IRWarmBoxCost_'+id).style.display='';
|
document.getElementById('Edit_IRWarmBoxCost_'+id).style.display='none';
|
document.getElementById('Show_IRLiftingCost_'+id).style.display='';
|
document.getElementById('Edit_IRLiftingCost_'+id).style.display='none';
|
document.getElementById('Show_IRWaitingCost_'+id).style.display='';
|
document.getElementById('Edit_IRWaitingCost_'+id).style.display='none';
|
document.getElementById('Show_IRFerryCost_'+id).style.display='';
|
document.getElementById('Edit_IRFerryCost_'+id).style.display='none';
|
}
|
else
|
{
|
document.getElementById('Show_IRProvince_'+id).style.display='none';
|
document.getElementById('Edit_IRProvince_'+id).style.display='';
|
document.getElementById('Show_IRCity_'+id).style.display='none';
|
document.getElementById('Edit_IRCity_'+id).style.display='';
|
document.getElementById('Show_IRArea_'+id).style.display='none';
|
document.getElementById('Edit_IRArea_'+id).style.display='';
|
document.getElementById('Show_IRkeyword_'+id).style.display='none';
|
document.getElementById('Edit_IRkeyword_'+id).style.display='';
|
document.getElementById('Show_Unitlimit_'+id).style.display='none';
|
document.getElementById('Edit_Unitlimit_'+id).style.display='';
|
document.getElementById('Show_IRPrice_'+id).style.display='none';
|
document.getElementById('Edit_IRPrice_'+id).style.display='';
|
document.getElementById('Show_IRNursingLevel_'+id).style.display='none';
|
document.getElementById('Edit_IRNursingLevel_'+id).style.display='';
|
document.getElementById('Show_IRDt_'+id).style.display='none';
|
document.getElementById('Edit_IRDt_'+id).style.display='';
|
document.getElementById('Show_IRVentilatorCost_'+id).style.display='none';
|
document.getElementById('Edit_IRVentilatorCost_'+id).style.display='';
|
document.getElementById('Show_IRWarmBoxCost_'+id).style.display='none';
|
document.getElementById('Edit_IRWarmBoxCost_'+id).style.display='';
|
document.getElementById('Show_IRLiftingCost_'+id).style.display='none';
|
document.getElementById('Edit_IRLiftingCost_'+id).style.display='';
|
document.getElementById('Show_IRWaitingCost_'+id).style.display='none';
|
document.getElementById('Edit_IRWaitingCost_'+id).style.display='';
|
document.getElementById('Show_IRFerryCost_'+id).style.display='none';
|
document.getElementById('Edit_IRFerryCost_'+id).style.display='';
|
}
|
|
}
|
//新建报价-关闭窗口
|
function JS_IRCreateClose()
|
{
|
IRCreate.style.display="none";
|
}
|
//新建报价-保存
|
function JS_IRCreateSave()
|
{
|
form2.submit();
|
}
|
</script>
|
<%End If%>
|
</div>
|
<%
|
If IROrdClass<>"" Then
|
SearchSql=" and IROrdClass like '%"&IROrdClass&"%' "
|
End If
|
sql="select * from IntroducerRegion where IRState>=0"&SearchSql&SqlUnit&" order by IRid desc"
|
rs.open sql,objConn,1,1
|
if Not rs.eof Then
|
IRid = rs("IRid")
|
IRUnitID = rs("IRUnitID") '所属分公司
|
IRProvince = rs("IRProvince") '报价所属 省
|
IRCity = rs("IRCity") '报价所属 市
|
IRArea = rs("IRArea") '报价所属 区
|
IRkeyword = rs("IRkeyword") '报价所属 地址关键词
|
Unitlimit = rs("Unitlimit") '派车免费距离
|
UnitPrice = rs("UnitPrice") '超距离费
|
IRPrice = rs("IRPrice") '起步价
|
IRNursingLevel = rs("IRNursingLevel") '医护护理级别
|
IRVentilatorCost= rs("IRVentilatorCost")'呼吸机费用
|
IRWarmBoxCost = rs("IRWarmBoxCost") '温箱费用
|
IRLiftingCost = rs("IRLiftingCost") '每层抬楼费用
|
IRWaitingCost = rs("IRWaitingCost") '每半小时等待费用
|
IRFerryCost = rs("IRFerryCost") '轮渡费用
|
end If
|
rs.close()
|
sql="select * from IntroducerRegionDt where IRDt_id="&IRid&" order by IRDtlimit"
|
rsDt.open sql,objConn,1,1
|
RegionDt=""
|
r=1
|
do while not rsDt.Eof
|
RegionDt=RegionDt&rsDt("IRDtlimit")&"公里/"&rsDt("IRDtPrice")&"元"&chr(10)
|
rsDt.movenext
|
r=r+1
|
loop
|
rsDt.close()
|
If r<5 Then r=5
|
%>
|
<div class="dialogJ dialogJfix dialogJshadow" id="IRCreate" style="width: 370px; right: 300px; top: 150px;display:none;">
|
<div class="dialogJtitle">
|
<a href="javascript:JS_IRCreateClose();" class="dialogJclose" title="关闭本窗口"> </a>
|
<span class="dialogJtxt" id="EditPhotoTXT">新建报价资料</span>
|
</div>
|
<form id="form2" name="form2" action="admin_save.gds" method="post">
|
<input name="admin_save" type="hidden" value="141_1">
|
<div class="dialogJcontent">
|
<div class="dialogJbody" id="dialogJbody">
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>分管:</span>
|
<select name="IRUnitID" id="IRUnitID">
|
<%for z = 0 to UBOUND(AdminUnitPS)
|
AdminUnitPS1=SPLIT(AdminUnitPS(z),",")
|
vID=AdminUnitPS1(0)
|
vtext=AdminUnitPS1(1)
|
%>
|
<option value="<%=vID%>"<%If CLng(vID)=CLng(IRUnitID) Then Response.Write " selected"%>><%=vtext%></option>
|
<%
|
next%>
|
</select>
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>所属 省:</span>
|
<input id="IRProvince" name="IRProvince" type="text" value="<%=IRProvince%>" maxlength="99/" style="width: 60px;">
|
<span>市:</span>
|
<input id="IRCity" name="IRCity" type="text" value="<%=IRCity%>" maxlength="99/" style="width: 60px;">
|
<span>区:</span>
|
<input id="IRArea" name="IRArea" type="text" value="<%=IRArea%>" maxlength="99/" style="width: 60px;">
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>地址关键词:</span>
|
<input id="IRkeyword" name="IRkeyword" type="text" value="<%=IRkeyword%>" maxlength="99/" style="width: 180px;">
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>医护护理级别:</span>
|
<select name="IRNursingLevel" id="IRNursingLevel">
|
<%for z = 0 to UBOUND(NursingLevelPS)
|
NursingLevelPS1=SPLIT(NursingLevelPS(z),",")
|
vID=NursingLevelPS1(0)
|
vtext=NursingLevelPS1(1)
|
%>
|
<option value="<%=vID%>"<%If CLng(vID)=CLng(IRNursingLevel) Then Response.Write " selected"%>><%=vtext%></option>
|
<%
|
next%>
|
</select>
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>起步价:</span>
|
<input id="IRPrice" name="IRPrice" type="text" value="<%=IRPrice%>" maxlength="99/" style="width: 60px;"> 元
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>转运距离界限/单价</span><br>
|
<textarea id="IRDt" name="IRDt" rows="<%=r%>" cols="30" style="text-align: right;padding: 5px 5px 0 0;"><%=RegionDt%></textarea>
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>呼吸机费用:</span>
|
<input id="IRVentilatorCost" name="IRVentilatorCost" type="text" value="<%=IRVentilatorCost%>" maxlength="99/" style="width: 100px;"> 元
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>温箱费用:</span>
|
<input id="IRWarmBoxCost" name="IRWarmBoxCost" type="text" value="<%=IRWarmBoxCost%>" maxlength="99/" style="width: 100px;"> 元
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>每层抬楼费用:</span>
|
<input id="IRLiftingCost" name="IRLiftingCost" type="text" value="<%=IRLiftingCost%>" maxlength="99/" style="width: 100px;"> 元
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>每半小时等待费用:</span>
|
<input id="IRWaitingCost" name="IRWaitingCost" type="text" value="<%=IRWaitingCost%>" maxlength="99/" style="width: 100px;"> 元
|
</div>
|
<div class="modify-album-name">
|
<p class="album-tips"></p>
|
<span>轮渡费用:</span>
|
<input id="IRFerryCost" name="IRFerryCost" type="text" value="<%=IRFerryCost%>" maxlength="99/" style="width: 100px;">元
|
</div>
|
</div>
|
</div>
|
</form>
|
<div class="dialogJanswers">
|
<input type="button" class="dialogJbtn first-child" onclick="JS_IRCreateSave()" value="确定">
|
<input type="button" class="dialogJbtn" onclick="JS_IRCreateClose()" value="取消">
|
</div>
|
</div>
|
<!-- end box / title -->
|
<%
|
If IROrdClass<>"" Then
|
SearchSql=" and IROrdClass like '%"&IROrdClass&"%' "
|
End If
|
sql="select * from IntroducerRegion where IRState>=0"&SearchSql&SqlUnit&" order by IRProvince,IRCity,IRArea,IRUnitID,IRNursingLevel,IRid"
|
rs.open sql,objConn,1,1
|
if rs.eof then
|
SystemMessageType=2
|
SystemMessageTXT="数据库中相关无数据!"
|
end If
|
%>
|
<!--#include virtual="/inc/SystemMessages.gds" -->
|
<div class="table">
|
<form id="form1" name="form1" action="" method="post">
|
<input name="admin_save" type="hidden" value="22">
|
<table>
|
<thead>
|
<tr style="white-space: nowrap;">
|
<th class="selected"><input type="checkbox" class="checkall" name="checkAll" onclick="allCheck('checkAll','IRid')"/></th>
|
<th>状态</th>
|
<th>所属 省</th>
|
<th>所属 市</th>
|
<th>所属 区</th>
|
<th>地址关键词</th>
|
<th>医护护理级别</th>
|
<th>派车距离界限+单价</th>
|
<th>起步价</th>
|
<th>距离界限/单价</th>
|
<th>呼吸机费用</th>
|
<th>温箱费用</th>
|
<th>每层<br>抬楼费用</th>
|
<th>每半小时<br>等待费用</th>
|
<th class="last">轮渡费用</th>
|
</tr>
|
</thead>
|
<tbody>
|
|
<%i=1
|
old_IRid=0
|
old_IRUnitID = -1
|
old_IRProvince = ""
|
old_IRCity = ""
|
old_IRArea = ""
|
old_IRNursingLevel=""
|
do while not rs.Eof
|
IRid = rs("IRid") '报价方案ID
|
IRUnitID = rs("IRUnitID") '所属分公司
|
'If IRUnitID<>0 Then IRUnitID=39
|
IRProvince = rs("IRProvince") '报价所属 省
|
IRCity = rs("IRCity") '报价所属 市
|
IRArea = rs("IRArea") '报价所属 区
|
IRNursingLevel=rs("IRNursingLevel")
|
IRkeyword = rs("IRkeyword") '报价所属 地址关键词
|
IRVentilatorCost= rs("IRVentilatorCost")'呼吸机费用
|
IRWarmBoxCost = rs("IRWarmBoxCost") '温箱费用
|
IRLiftingCost = rs("IRLiftingCost") '每层抬楼费用
|
IRWaitingCost = rs("IRWaitingCost") '每半小时等待费用
|
IRFerryCost = rs("IRFerryCost") '轮渡费用
|
IRState = rs("IRState") '状态 (1启用,0停用,-1删除)
|
IRwxState = rs("IRwxState") '小程序状态 (1启用,0停用,-1删除)
|
PriceArray = Array("0","0","0","0")
|
i=i+1
|
r=1
|
If IRState=0 Then
|
IRStateTXT="停用"
|
Else
|
IRStateTXT="启用"
|
End If
|
If IRwxState=0 Then
|
IRwxStateTXT="停用"
|
Else
|
IRwxStateTXT="启用"
|
End If
|
If old_IRUnitID<>IRUnitID or old_IRProvince<>IRProvince or old_IRCity<>IRCity or old_IRArea<>IRArea or old_IRNursingLevel<>IRNursingLevel Then
|
old_IRid = IRid
|
old_IRUnitID = IRUnitID
|
old_IRProvince = IRProvince
|
old_IRCity = IRCity
|
old_IRArea = IRArea
|
old_IRkeyword = IRkeyword
|
old_IRNursingLevel = IRNursingLevel
|
IRPrice = ""
|
IRids = ""
|
'IRNursingLevel=""
|
new_IRUnitID = rs("IRUnitID") '所属分公司
|
'new_IRUnitID=39
|
'If new_IRUnitID<>0 Then new_IRUnitID=39
|
new_IRProvince = rs("IRProvince") '报价所属 省
|
new_IRCity = rs("IRCity") '报价所属 市
|
new_IRArea = rs("IRArea") '报价所属 区
|
new_IRkeyword = rs("IRkeyword") '报价所属 地址关键词
|
new_IRNursingLevel = rs("IRNursingLevel")
|
do while not rs.Eof And old_IRUnitID=new_IRUnitID and old_IRProvince=new_IRProvince and old_IRCity=new_IRCity and old_IRArea=new_IRArea And old_IRNursingLevel=new_IRNursingLevel
|
new_IRUnitID = rs("IRUnitID") '所属分公司
|
'new_IRUnitID=39
|
'If new_IRUnitID<>0 Then new_IRUnitID=39
|
new_IRProvince = rs("IRProvince") '报价所属 省
|
new_IRCity = rs("IRCity") '报价所属 市
|
new_IRArea = rs("IRArea") '报价所属 区
|
new_IRNursingLevel = rs("IRNursingLevel")
|
|
If old_IRUnitID=new_IRUnitID and old_IRProvince=new_IRProvince and old_IRCity=new_IRCity and old_IRArea=new_IRArea And old_IRNursingLevel=new_IRNursingLevel Then
|
IRids=IRids&","&rs("IRid")
|
If old_IRkeyword<>rs("IRkeyword") Then
|
IRkeyword = IRkeyword&","&rs("IRkeyword") '报价所属 地址关键词
|
old_IRkeyword= rs("IRkeyword")
|
r=r+1
|
end If
|
If InStr(IRPrice,rs("IRPrice"))=0 Then
|
PriceArray(rs("IRNursingLevel"))=rs("IRPrice")
|
If IRPrice="" Then '起步价
|
IRPrice = rs("IRPrice")
|
Unitlimit = rs("Unitlimit") '派车免费距离
|
UnitPrice = rs("UnitPrice") '超距离费
|
Else
|
IRPrice = IRPrice&","&rs("IRPrice")
|
End If
|
End If
|
End If
|
rs.movenext
|
Loop
|
If Len(IRids)>0 Then IRids=Mid(IRids,2)
|
rs.MovePrevious
|
rs.MovePrevious
|
If r<4 Then r=4
|
%>
|
<tr style="white-space: nowrap;">
|
<input name="IRUnitID_<%=IRid%>" type="hidden" value="<%=IRUnitID%>">
|
<input name="IRids_<%=IRid%>" type="hidden" value="<%=IRids%>">
|
<input name="IRState_<%=IRid%>" type="hidden" value="<%=IRState%>">
|
<input name="IRwxState_<%=IRid%>" type="hidden" value="<%=IRwxState%>">
|
<td class="selected" style="vertical-align: top;padding: 10px;"><input type="checkbox" id="IRid" name="IRid" value="<%=IRid%>" onclick="javascript:form1_IR_Edit('<%=IRid%>');itemCheck('checkAll','IRid');"/></td>
|
<td class="category" style="vertical-align: top;">PC:<%=IRStateTXT%> 自助:<%=IRwxStateTXT%><br><%=UnitUser(IRUnitID,"UnitName")%></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRProvince_<%=IRid%>"><%=IRProvince%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRProvince_<%=IRid%>"><input id="IRProvince_<%=IRid%>" name="IRProvince_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRProvince%>" type="text"></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRCity_<%=IRid%>"><%=IRCity%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRCity_<%=IRid%>"><input id="IRCity_<%=IRid%>" name="IRCity_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRCity%>" type="text"></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRArea_<%=IRid%>"><%=IRArea%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRArea_<%=IRid%>"><input id="IRArea_<%=IRid%>" name="IRArea_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRArea%>" type="text"></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRkeyword_<%=IRid%>"><%=Replace(IRkeyword,",","<br>")%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRkeyword_<%=IRid%>"><textarea id="IRkeyword_<%=IRid%>" name="IRkeyword_<%=IRid%>" rows="<%=r%>" cols="12" style="width:180px;padding: 5px;"><%=Replace(IRkeyword,",",chr(10))%></textarea></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRNursingLevel_<%=IRid%>">
|
<%for z = 0 to UBOUND(NursingLevelPS)
|
NursingLevelPS1=SPLIT(NursingLevelPS(z),",")
|
vID=NursingLevelPS1(0)
|
vtext=NursingLevelPS1(1)
|
If CLng(vID)=CLng(IRNursingLevel) Then
|
Response.Write vtext
|
End If
|
next%>
|
</td>
|
<td class="category" style="vertical-align: top;text-align: left;display:none;" id="Edit_IRNursingLevel_<%=IRid%>">
|
<select name="IRNursingLevel_<%=IRid%>" id="IRNursingLevel_<%=IRid%>">
|
<%for z = 0 to UBOUND(NursingLevelPS)
|
NursingLevelPS1=SPLIT(NursingLevelPS(z),",")
|
vID=NursingLevelPS1(0)
|
vtext=NursingLevelPS1(1)
|
%>
|
<option value="<%=vID%>"<%If CLng(vID)=CLng(IRNursingLevel) Then Response.Write " selected"%>><%=vtext%></option>
|
<%
|
next%>
|
</select>
|
</td>
|
<td class="category" style="vertical-align: top;" id="Show_Unitlimit_<%=IRid%>"><%=Unitlimit%>公里 + <%=UnitPrice%>元/公里</td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_Unitlimit_<%=IRid%>"><input id="Unitlimit_<%=IRid%>" name="Unitlimit_<%=IRid%>" class="small" style="width:20px;text-align: center;" value="<%=Unitlimit%>" type="text">公里 + <input id="UnitPrice_<%=IRid%>" name="UnitPrice_<%=IRid%>" class="small" style="width:20px;text-align: center;" value="<%=UnitPrice%>" type="text">元/公里</td>
|
<td class="category" style="vertical-align: top;" id="Show_IRPrice_<%=IRid%>"><%=IRPrice%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRPrice_<%=IRid%>"><input id="IRPrice_<%=IRid%>" name="IRPrice_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRPrice%>" type="text"></td>
|
<%sql="select * from IntroducerRegionDt where IRDt_id="&IRid&" order by IRDtlimit"
|
rsDt.open sql,objConn,1,1
|
RegionDt=""
|
r=1
|
do while not rsDt.Eof
|
RegionDt=RegionDt&rsDt("IRDtlimit")&"公里/"&rsDt("IRDtPrice")&"元"&chr(10)
|
rsDt.movenext
|
r=r+1
|
loop
|
rsDt.close()
|
If r<4 Then r=4
|
%>
|
<td class="category" style="vertical-align: top;text-align: right;" id="Show_IRDt_<%=IRid%>"><%=Replace(RegionDt,chr(10),"<br>")%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRDt_<%=IRid%>"><textarea id="IRDt_<%=IRid%>" name="IRDt_<%=IRid%>" rows="<%=r%>" cols="12" style="text-align: right;padding: 5px 5px 0 0;"><%=RegionDt%></textarea></td>
|
|
<td class="category" style="vertical-align: top;" id="Show_IRVentilatorCost_<%=IRid%>"><%=IRVentilatorCost%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRVentilatorCost_<%=IRid%>"><input id="IRVentilatorCost_<%=IRid%>" name="IRVentilatorCost_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRVentilatorCost%>" type="text"></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRWarmBoxCost_<%=IRid%>"><%=IRWarmBoxCost%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRWarmBoxCost_<%=IRid%>"><input id="IRWarmBoxCost_<%=IRid%>" name="IRWarmBoxCost_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRWarmBoxCost%>" type="text"></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRLiftingCost_<%=IRid%>"><%=IRLiftingCost%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRLiftingCost_<%=IRid%>"><input id="IRLiftingCost_<%=IRid%>" name="IRLiftingCost_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRLiftingCost%>" type="text"></td>
|
<td class="category" style="vertical-align: top;" id="Show_IRWaitingCost_<%=IRid%>"><%=IRWaitingCost%></td>
|
<td class="category" style="vertical-align: top;display:none;" id="Edit_IRWaitingCost_<%=IRid%>"><input id="IRWaitingCost_<%=IRid%>" name="IRWaitingCost_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRWaitingCost%>" type="text"></td>
|
<td class="category last" style="vertical-align: top;" id="Show_IRFerryCost_<%=IRid%>"><%=IRFerryCost%></td>
|
<td class="category last" style="vertical-align: top;display:none;" id="Edit_IRFerryCost_<%=IRid%>"><input id="IRFerryCost_<%=IRid%>" name="IRFerryCost_<%=IRid%>" class="small" style="width:50px;text-align: center;" value="<%=IRFerryCost%>" type="text"></td>
|
</tr>
|
<%
|
End If
|
rs.movenext
|
loop
|
rs.close()
|
%>
|
<%for j=i to 21%>
|
<tr>
|
<td class="selected"> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td class="last"> </td>
|
|
</tr>
|
<%next%>
|
</tbody>
|
</table>
|
|
</form>
|
</div>
|
</div>
|
<!-- end table -->
|
|
|
</div>
|
<!-- end content / right -->
|
</div>
|
<%if OrderClass<>"" then Response.Write "<script>IRCreate.style.display='block';</script>"%>
|
<!-- end content -->
|
<!--#include FILE="vicgame.asp"-->
|
</body>
|
</html>
|