法人客户添加草稿状态
This commit is contained in:
parent
80c6d23137
commit
5f1ced228b
@ -38,7 +38,7 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#STATUS_0").prop("checked", true);
|
||||
// $("#STATUS_0").prop("checked", true);
|
||||
init();
|
||||
changeOtherRequired();
|
||||
})
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
String sTempletNo = "CustomerCompanyRegister";
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setDDDWJbo("certtype","jbo.sys.CODE_LIBRARY,itemNo,ItemName,Codeno='CertType' and SortNo like 'Ent%' and itemno<>'Ent03' and IsInuse='1' ");
|
||||
doTemp.setDDDWJbo("status","jbo.sys.CODE_LIBRARY,itemNo,ItemName,Codeno='customer_status' and itemno in('status02','status03') ");
|
||||
doTemp.setDDDWJbo("status","jbo.sys.CODE_LIBRARY,itemNo,ItemName,Codeno='customer_status' and itemno in('status04','status02') ");
|
||||
doTemp.setDefaultValue("nationcode","CHN");
|
||||
doTemp.setColInnerBtEvent("NATIONCODENAME", "");
|
||||
doTemp.setHtmlEvent("certtype","onchange","changeCertidRequired");
|
||||
|
||||
@ -211,10 +211,10 @@ public class NewCustomerCompanyController{
|
||||
}else{
|
||||
newCustomerType.setAttributeValue("custstatus", "status04");//ĆäËűÄŹČϲݸĺ
|
||||
}*/
|
||||
if("status03".equals(status)){
|
||||
newCustomerType.setAttributeValue("custstatus", "status03");//ˇĎĆú
|
||||
if("status02".equals(status)){
|
||||
newCustomerType.setAttributeValue("custstatus", "status02");//ŐýĘ˝
|
||||
}else{
|
||||
newCustomerType.setAttributeValue("custstatus", "status02");//ĆäËűÄŹČĎŐýĘ˝
|
||||
newCustomerType.setAttributeValue("custstatus", "status04");//ĆäËűÄŹČĎŐýĘ˝
|
||||
}
|
||||
newCustomerType.setAttributeValue("status","valid");
|
||||
newCustomerType.setAttributeValue("isoriginal","yes");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user