统一社会信用代码
This commit is contained in:
parent
028a8ee365
commit
5a4eb3e5c8
@ -94,6 +94,7 @@
|
||||
function validityCheck(){
|
||||
//验证纳税人识别号
|
||||
var tax_no = getItemValue(0,getRow(),"tax_no");//纳税人识别号
|
||||
var certid=getItemValue(0,getRow() , "certid");//统一社会信用代码
|
||||
var id = getItemValue(0,getRow(),"id");
|
||||
var tax_account = getItemValue(0,getRow(),"tax_account");//开户账号
|
||||
var tax_status = getItemValue(0,getRow(),"tax_status");//开票状态
|
||||
@ -106,7 +107,7 @@
|
||||
if(typeof(tax_no) != undefined && tax_no != ""){
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.customer.controller.invoice.CustomerInvoiceController","checkTax_no","tax_no="+tax_no+",customer_id="+"<%=customer_id%>");
|
||||
if(sReturnInfo != "true"){
|
||||
alert("统一社会信用代码已存在");
|
||||
alert("纳税人识别号已存在");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -114,7 +115,7 @@
|
||||
if(typeof(tax_no) != undefined && tax_no != "" ){
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.customer.controller.invoice.CustomerInvoiceController","editCheckTax_no","tax_no="+tax_no+",id="+id+",customer_id="+"<%=customer_id%>");
|
||||
if(sReturnInfo != "true"){
|
||||
alert("统一社会信用代码已存在");
|
||||
alert("纳税人识别号已存在");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -20,7 +20,7 @@ public class CustomerInvoiceHandler extends CommonHandler{
|
||||
if(CUSTOMER_INFO != null)
|
||||
{
|
||||
bo.setAttributeValue("tax_object", CUSTOMER_INFO.getAttribute("customername").getString());
|
||||
bo.setAttributeValue("tax_no", CUSTOMER_INFO.getAttribute("customerid").getString());
|
||||
bo.setAttributeValue("tax_no", CUSTOMER_INFO.getAttribute("certid").getString());
|
||||
|
||||
}
|
||||
//³õʼ»¯customer_id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user