1.修复返佣配置详情页面(点击修改进入时,期数为空)
This commit is contained in:
parent
2c203635a9
commit
6f24ec1e51
@ -17,6 +17,17 @@ include
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
||||
var product_id = getItemValue(0, 0, "product_id");
|
||||
var income_number = getItemValue(0, 0, "income_number");
|
||||
if(product_id!=null){
|
||||
changeIncomeNumber(product_id);
|
||||
setItemValue(0, 0, "income_number",income_number);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
function selectSplitting(){
|
||||
AsDialog.OpenSelector("selectSplitting", "", "dialogWidth=" + parseInt(window.screen.width * 0.6) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px", function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"){
|
||||
@ -32,6 +43,7 @@ include
|
||||
}, "ÇëÑ¡Ôñ·ÖÈóÅäÖÃ")
|
||||
}
|
||||
function changeIncomeNumber(productId){
|
||||
|
||||
var incomeNumber=$("#INCOME_NUMBER").children();
|
||||
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.rent.rentreback.OtherPayMethod","getParamByProductId",
|
||||
"productId="+productId);
|
||||
@ -44,7 +56,7 @@ include
|
||||
inco[inNumber[i]]="1";
|
||||
}
|
||||
$(incomeNumber).each(function(){
|
||||
debugger;
|
||||
|
||||
var value=$(this).attr("value");
|
||||
if(inco[value]==1){
|
||||
$("#INCOME_NUMBER").append(this);
|
||||
@ -59,6 +71,7 @@ include
|
||||
function saveRecord() {
|
||||
checkNull();
|
||||
if(checkRatio()){
|
||||
|
||||
as_save("myiframe0", "goBack()");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user