1.新增放款方式,并在生成本次付款明细的时候只能选择同一种放款方式的。

This commit is contained in:
zhangbb 2019-01-10 20:16:44 +08:00
parent 76d6847bcb
commit 1c79ee20f0

View File

@ -42,6 +42,10 @@
}
var contractIds = "";
for(var i in rows){
if(getItemValue(0,rows[i],"payType")!=getItemValue(0,rows[0],"payType")){
AsDebug.showMessage("提示","每次只能生成放款方式相同的合同!","","",true);
return;
}
contractIds += "@"+getItemValue(0,rows[i],"ID");
}
contractIds = contractIds.substring(1);