修改BUG
This commit is contained in:
parent
c16e245145
commit
9a44177048
@ -10,7 +10,7 @@
|
||||
String phaseNo = CurPage.getParameter("PhaseNo");
|
||||
String sTempletNo = "ActualPaymentBatchModify";//--Ä£°åºÅ--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
if("0020".equals(phaseNo)||"0030".equals(phaseNo)){
|
||||
if("0020".equals(phaseNo)){
|
||||
doTemp.setVisible("EBANK_STATUS", false);
|
||||
doTemp.setReadOnly("BANK", true);
|
||||
doTemp.setRequired("BANK", false);
|
||||
@ -26,7 +26,7 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
if("0040"=="<%=phaseNo%>"){
|
||||
if("0030"=="<%=phaseNo%>"){
|
||||
$("#EBANK_STATUS option[value='01']").remove();
|
||||
$("#EBANK_STATUS option[value='02']").remove();
|
||||
$("#EBANK_STATUS option[value='03']").remove();
|
||||
@ -44,7 +44,7 @@
|
||||
data["ACCOUNT"] = getItemValue(0,getRow(0),"ACCOUNT");
|
||||
data["ACC_NUMBER"] = getItemValue(0,getRow(0),"ACC_NUMBER");
|
||||
data["MEMO"] = getItemValue(0,getRow(0),"MEMO");
|
||||
if("0040"=="<%=phaseNo%>"){
|
||||
if("0030"=="<%=phaseNo%>"){
|
||||
data["EBANK_STATUS"] = getItemValue(0,getRow(0),"EBANK_STATUS");
|
||||
}
|
||||
AsDialog.ClosePage(data);
|
||||
|
||||
@ -61,7 +61,7 @@
|
||||
ado.setReadOnly("FACT_DATE", true);
|
||||
ado.setReadOnly("BANK", true);
|
||||
}
|
||||
if("0020".equals(phaseNo)||"0030".equals(phaseNo)){
|
||||
if("0020".equals(phaseNo)){
|
||||
ado.setReadOnly("BANK", true);
|
||||
ado.setRequired("BANK", false);
|
||||
}
|
||||
@ -86,7 +86,7 @@
|
||||
/* {"true","","Button","保存","保存","as_save(0,'setColRequired()')","","","","btn_icon_saveNew",""},
|
||||
{"true","","Button","批量修改","批量修改","batchModify()","","","","btn_icon_detail",""}, */
|
||||
{"true","","Button","删除","删除","doDelete()","","","","btn_icon_delete",""}, };
|
||||
}else if("0020".equals(phaseNo)||"0030".equals(phaseNo)){
|
||||
}else if("0020".equals(phaseNo)){
|
||||
sButtons = new String[][]{
|
||||
{"true","","Button","保存","保存","as_save(0,'setColRequired()')","","","","btn_icon_saveNew",""} ,
|
||||
{"true","","Button","批量修改","批量修改","batchModify()","","","","btn_icon_detail",""}
|
||||
@ -262,7 +262,7 @@
|
||||
alert("请选择需要批量修改的数据!");
|
||||
return;
|
||||
}
|
||||
if("0040"==phaseNo){
|
||||
if("0030"==phaseNo){
|
||||
for(var y=0;y<rows.length;y++){
|
||||
var ebankStatus=getItemValue(0,rows[y],"EBANK_STATUS");
|
||||
if("01"==ebankStatus){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user