车型选择修改
This commit is contained in:
parent
ecec8285fc
commit
b4104c6d68
@ -391,10 +391,10 @@
|
||||
function SelectCardataBrand()
|
||||
{
|
||||
var carTypea = "<%=carTypea%>";
|
||||
var selectBank = "SelectCardataBrandFlow";
|
||||
var selectBank = "SelectCardataBrandFlowNew";
|
||||
var parms = "cartypea,"+carTypea;
|
||||
if(typeof(carTypea)=="undefined" || carTypea.length==0 ){
|
||||
selectBank = "SelectCardataBrand";
|
||||
selectBank = "SelectCardataBrandNew";
|
||||
parms = "projectId,<%=projectId%>";
|
||||
}
|
||||
AsDialog.OpenSelector(selectBank, parms ,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
@ -407,6 +407,7 @@
|
||||
sReturn = sReturn.split("@");
|
||||
MyOjbect.brandid=sReturn[0];
|
||||
MyOjbect.brandname=sReturn[1];
|
||||
MyOjbect.cartypea=sReturn[3];
|
||||
setItemValue(0,getRow(),"BRAND",sReturn[1]);
|
||||
setItemValue(0,getRow(),"car_series","");
|
||||
setItemValue(0,getRow(),"MODEL","");
|
||||
@ -437,7 +438,11 @@
|
||||
var brandid="";
|
||||
if(MyOjbect.brandid){
|
||||
brandid=MyOjbect.brandid;
|
||||
AsDialog.OpenSelector("SelectCardataSeries","brandid,"+brandid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
let selectType = 'SelectCardataSeriesCYC';
|
||||
if (MyOjbect.cartypea == 'SYC') {
|
||||
selectType = 'SelectCardataSeriesSYC';
|
||||
}
|
||||
AsDialog.OpenSelector(selectType,"brandid,"+brandid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
|
||||
{
|
||||
@ -465,7 +470,11 @@
|
||||
var seriesid="";
|
||||
if(MyOjbect.seriesid){
|
||||
seriesid=MyOjbect.seriesid;
|
||||
AsDialog.OpenSelector("SelectCardataModel","seriesid,"+seriesid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
let selectType = 'SelectCardataModelCYC';
|
||||
if (MyOjbect.cartypea == 'SYC') {
|
||||
selectType = 'SelectCardataModelSYC';
|
||||
}
|
||||
AsDialog.OpenSelector(selectType,"seriesid,"+seriesid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
|
||||
{
|
||||
|
||||
@ -39,6 +39,9 @@
|
||||
//sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
var MyOjbect={};
|
||||
|
||||
$(function(){
|
||||
var id = "<%=id%>"
|
||||
if(typeof(id) == "undefined" || id == "null" || id == ""){
|
||||
@ -93,7 +96,7 @@
|
||||
}
|
||||
//选择车品牌
|
||||
function selectProductModel(){
|
||||
AsDialog.OpenSelector("SelectCardataBrand","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
AsDialog.OpenSelector("SelectCardataBrandNew","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_"){
|
||||
//alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
@ -102,7 +105,8 @@
|
||||
sReturn = sReturn.split("@");
|
||||
setItemValue(0,0,"BRAND",sReturn[1]);
|
||||
setItemValue(0,0,"BRANDID",sReturn[0]);
|
||||
|
||||
MyOjbect.cartypea = sReturn[3];
|
||||
|
||||
setItemValue(0,0,"CARSERIES","");
|
||||
setItemValue(0,0,"CARSERIESID","");
|
||||
setItemValue(0,0,"MODEL","");
|
||||
@ -113,7 +117,11 @@
|
||||
function selectCarSeries(){
|
||||
var brandid = getItemValue(0,0,'BRANDID');
|
||||
if(brandid){
|
||||
AsDialog.OpenSelector("SelectCardataSeries","brandid,"+brandid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
let selectType = 'SelectCardataSeriesCYC';
|
||||
if (MyOjbect.cartypea == 'SYC') {
|
||||
selectType = 'SelectCardataSeriesSYC';
|
||||
}
|
||||
AsDialog.OpenSelector(selectType,"brandid,"+brandid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_"){
|
||||
return;
|
||||
@ -133,7 +141,11 @@
|
||||
function selectCarSystem(){
|
||||
var seriesid = getItemValue(0,0,'CARSERIESID');
|
||||
if(seriesid){
|
||||
AsDialog.OpenSelector("SelectCardataModel","seriesid,"+seriesid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
let selectType = 'SelectCardataModelCYC';
|
||||
if (MyOjbect.cartypea == 'SYC') {
|
||||
selectType = 'SelectCardataModelSYC';
|
||||
}
|
||||
AsDialog.OpenSelector(selectType,"seriesid,"+seriesid,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_"){
|
||||
return;
|
||||
|
||||
@ -101,7 +101,7 @@ public class CmbToPayController extends BaseFlowStartAction {
|
||||
* 本方放款账户获取######开始
|
||||
*/
|
||||
BizObjectManager actualPaymentMan = JBOFactory.getBizObjectManager(LB_ACTUAL_PAYMENT_INFO_TEMP.CLASS_NAME);
|
||||
BizObject accountBo = actualPaymentMan.createQuery("select o.account,o.acc_number,o.bank,oa.id,oa.branch_code from o join jbo.com.tenwa.entity.comm.own.OWN_ACCOUNT oa on o.acc_number = oa.acc_number where flowunid=:flowunid and and (oa.account_type='out_account' or oa.account_type='inAndOut_account')").setParameter("flowunid", FLOWUNID).getSingleResult(false);
|
||||
BizObject accountBo = actualPaymentMan.createQuery("select o.account,o.acc_number,o.bank,oa.id,oa.branch_code from o join jbo.com.tenwa.entity.comm.own.OWN_ACCOUNT oa on o.acc_number = oa.acc_number where flowunid=:flowunid and (oa.account_type='out_account' or oa.account_type='inAndOut_account')").setParameter("flowunid", FLOWUNID).getSingleResult(false);
|
||||
if (accountBo == null) {
|
||||
map.put("code", "1");
|
||||
map.put("msg", "没有匹配的本方账户,请在本方账户中检查!");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user