租金通知书 开票信息带出新增客户时填写的信息
This commit is contained in:
parent
185948e154
commit
c7dfa6eb3d
@ -106,7 +106,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 +114,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;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -20,6 +20,8 @@ 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());
|
||||
|
||||
}
|
||||
//³õʼ»¯customer_id
|
||||
bo.setAttributeValue("customer_id", customer_id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user