二手车评估

This commit is contained in:
user 2018-06-04 11:11:57 +08:00
parent 7594c30c17
commit 696a5125ee
3 changed files with 165 additions and 65 deletions

View File

@ -1,30 +1,30 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-03
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LbEquipmentCarInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "测试");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
</script>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-04
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LbEquipmentCarInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "测试");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -1,37 +1,37 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-03
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LbEquipmentCarList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow("");
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "/Tenwa/Lease/App/Interface/VehicleEvaluation/LbEquipmentCarInfo.jsp";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/App/Interface/VehicleEvaluation/LbEquipmentCarInfo.jsp";
var sPara = getItemValue(0,getRow(0),'ID');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'ID=' +sPara ,'_self','');
}
</script>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-04
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LbEquipmentCarList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow("");
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "/Tenwa/Lease/App/Interface/VehicleEvaluation/LbEquipmentCarInfo.jsp";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/App/Interface/VehicleEvaluation/LbEquipmentCarInfo.jsp";
var sPara = getItemValue(0,getRow(0),'ID');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'ID=' +sPara ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -4544,6 +4544,106 @@
</managerProperties>
</manager>
</class>
<class name="LB_EQUIPMENT_CAR_TEMP" label="汽车租赁物临时表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="32"/>
<attribute name="CONTRACT_ID" label="合同编号" type="STRING" length="32"/>
<attribute name="DEVICE_TYPE" label="车辆类型" type="STRING" length="30"/>
<attribute name="EQUIP_NAME" label="设备名称" type="STRING" length="200"/>
<attribute name="BRAND" label="车辆品牌" type="STRING" length="30"/>
<attribute name="MODEL" label="型号" type="STRING" length="30"/>
<attribute name="EQUIP_NUM" label="数量" type="STRING" length="30"/>
<attribute name="PRICE" label="单价" type="STRING" length="30"/>
<attribute name="UNIT" label="单位" type="STRING" length="30"/>
<attribute name="EQUIP_PRICE" label="交易价格" type="STRING" length="30"/>
<attribute name="TOTAL" label="设备原值" type="STRING" length="30"/>
<attribute name="NOW_TOTAL" label="车辆指导价" type="STRING" length="30"/>
<attribute name="VNDR" label="供应商id" type="STRING" length="32"/>
<attribute name="VNDR_NAME" label="供应商" type="STRING" length="200"/>
<attribute name="MANUFACTURER" label="制造商id" type="STRING" length="32"/>
<attribute name="MANUFACTURER_NAME" label="生产商" type="STRING" length="200"/>
<attribute name="EQUIP_NUMBER" label="设备序列号" type="STRING" length="30"/>
<attribute name="EQUIP_DELIVERY_PLACE" label="交付地点" type="STRING" length="100"/>
<attribute name="EQUIP_DELIVERY_DATE" label="交付时间" type="STRING" length="30"/>
<attribute name="EQUIP_PLACE" label="设备设置地址" type="STRING" length="100"/>
<attribute name="MEMO" label="其他配置说明" type="STRING" length="1000"/>
<attribute name="DATA_STATE" label="数据状态" type="STRING" length="32"/>
<attribute name="IS_FLOW" label="是否在流程中" type="STRING" length="1000"/>
<attribute name="STATUS" label="状态" type="STRING" length="1000"/>
<attribute name="FLOWUNID" label="流程编号" type="STRING" length="32"/>
<attribute name="INPUTUSERID" label="登记人" type="STRING" length="32"/>
<attribute name="INPUTORGID" label="登记部门" type="STRING" length="32"/>
<attribute name="INPUTTIME" label="登记时间" type="STRING" length="32"/>
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="FRAME_NUMBER" label="车架号" type="STRING" length="100"/>
<attribute name="ENGINE_NUMBER" label="发动机号" type="STRING" length="100"/>
<attribute name="PLATE_NUMBER" label="车牌号" type="STRING" length="100"/>
<attribute name="EQUIP_TYPE" label="租赁物类型" type="STRING" length="32"/>
<attribute name="CONSIGNEE" label="收货人" type="STRING" length="30"/>
<attribute name="CONSIGNEE_TEL" label="收货人联系电话" type="STRING" length="30"/>
<attribute name="IS_DELIVERY" label="设备交付情况" type="STRING" length="30"/>
<attribute name="REMARK" label="交付说明" type="STRING" length="1000"/>
<attribute name="DRIVE_TYPE" label="驱动形式" type="STRING" length="100"/>
<attribute name="CAR_COLOUR" label="车辆颜色" type="STRING" length="32"/>
<attribute name="DISPLACEMENT" label="排量" type="STRING" length="32"/>
<attribute name="LICENSE_PLATE_NUMBER" label="车牌号码" type="STRING" length="32"/>
<attribute name="EXPIRYDATE" label="年检有效期" type="STRING" length="32"/>
<attribute name="D_NAME" label="驾驶人姓名" type="STRING" length="32"/>
<attribute name="D_SEX" label="驾驶人性别" type="STRING" length="32"/>
<attribute name="D_CERTID" label="驾驶人身份证号" type="STRING" length="32"/>
<attribute name="D_CERT_ADDR" label="驾驶人身份证地址" type="STRING" length="200"/>
<attribute name="D_CERT_VALID" label="驾驶人身份证有效期" type="STRING" length="32"/>
<attribute name="D_DRIVE" label="驾驶证" type="STRING" length="32"/>
<attribute name="D_TEL" label="驾驶人手机号码" type="STRING" length="32"/>
<attribute name="D_ADDR" label="驾驶人常住地址" type="STRING" length="200"/>
<attribute name="D_EDU_LEVEL" label="驾驶人学历" type="STRING" length="32"/>
<attribute name="D_WORK_NAME" label="驾驶人公司名称" type="STRING" length="100"/>
<attribute name="D_WORK_ADDR" label="驾驶人公司地址" type="STRING" length="200"/>
<attribute name="D_WORK_YEAR" label="驾驶人当前工作工作年限" type="STRING" length="32"/>
<attribute name="D_SALARY" label="驾驶人月薪" type="DOUBLE" length="22" scale="2"/>
<attribute name="D_ID" label="驾驶人ID" type="STRING" length="32"/>
<attribute name="car_series" label="车系" type="STRING" length="80"/>
<attribute name="gears" label="档位" type="STRING" length="80"/>
<attribute name="evaluated_price" label="评估价格" type="STRING" length="32"/>
<attribute name="excellent_dealer_low_buy_price" label="优秀最低车商收购价" type="STRING" length="32"/>
<attribute name="excellent_dealer_buy_price" label=" 优秀车商收车价" type="STRING" length="32"/>
<attribute name="excellent_individual_low_sold_price" label="优秀最低个人交易价" type="STRING" length="32"/>
<attribute name="excellent_individual_price" label="优秀个人交易价" type="STRING" length="32"/>
<attribute name="excellent_dealer_low_sold_price" label="优秀最低车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_price" label="优秀车商零售价" type="STRING" length="32"/>
<attribute name="excellent_dealer_high_sold_price" label="优秀最高车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_low_buy_price" label="良好最低车商收购" type="STRING" length="32"/>
<attribute name="good_dealer_buy_price" label=" 良好车商收车价" type="STRING" length="32"/>
<attribute name="good_individual_low_sold_price" label="良好最低个人交易价" type="STRING" length="32"/>
<attribute name="good_individual_price" label=" 良好个人交易价" type="STRING" length="32"/>
<attribute name="good_dealer_low_sold_price" label="良好最低车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_price" label="良好车商零售价" type="STRING" length="32"/>
<attribute name="good_dealer_high_sold_price" label="良好最高车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_buy_price" label="普通最低车商收购" type="STRING" length="32"/>
<attribute name="normal_dealer_buy_price" label=" 普通车商收车价" type="STRING" length="32"/>
<attribute name="normal_individual_low_sold_price" label="普通最低个人交易价" type="STRING" length="32"/>
<attribute name="normal_individual_price" label=" 普通个人交易价" type="STRING" length="32"/>
<attribute name="normal_dealer_low_sold_price" label="普通最低车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_price" label="普通车商零售价" type="STRING" length="32"/>
<attribute name="normal_dealer_high_sold_price" label="普通最高车商零售价" type="STRING" length="32"/>
<attribute name="taken" label="查询编号" type="STRING" length="32"/>
<attribute name="modelId" label="车型ID" type="STRING" length="32"/>
<attribute name="zone" label="城市标识" type="STRING" length="32"/>
<attribute name="regDate" label="车牌上牌日期" type="STRING" length="32"/>
<attribute name="mile" label="车辆行驶里程" type="STRING" length="32"/>
<attribute name="CITYID" label="CITYID" type="STRING" length="32"/>
<attribute name="CITYNAME" label="CITYNAME" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_equipment_car_temp" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
<package name="jbo.guaranty">
<class name="GUARANTY_CONTRACT" label="担保合同信息" keyAttributes="SERIALNO">