|
|

楼主 |
发表于 2008/9/20 20:37:16
|
显示全部楼层
我用的方法很简单:
修改:crm_order 表结构,加入一个字段 demand_contact_add vachar 255 缺省为''
然后修改java源文件erp/crm/order/register_ok.java源文件
加入一行:
String demand_contact_add=request.getParameter("demand_contact_add);
再修改成:
String sql = "insert into crm_order(order_ID,chain_ID,chain_name,customer_ID,customer_name,demand_customer_address,demand_customer_mailing_address,demand_contact_person,demand_contact_person_tel,demand_contact_person_fax,demand_pay_time,demand_pay_type,demand_pay_fee_type,demand_gather_type,demand_gather_method,demand_invoice_type,register_time,sales_name,sales_ID,register,type,remark,check_tag,excel_tag,demand_contact_add) values ('"+order_ID+"','"+rs.getString("chain_ID")+"','"+rs.getString("chain_name")+"','"+customer_ID+"','"+customer_name+"','"+demand_customer_address+"','"+demand_customer_mailing_address+"','"+demand_contact_person+"','"+demand_contact_person_tel+"','"+demand_contact_person_fax+"','"+demand_pay_time+"','"+demand_pay_type+"','"+demand_pay_fee_type+"','"+demand_gather_type+"','"+demand_gather_method+"','"+demand_invoice_type+"','"+register_time+"','"+sales_name+"','"+sales_ID+"','"+register+"','"+type+"','"+remark+"','0','2','"+demand_contact_add+"')" ;
再就是修改:
订单登记+订单预览+订单审核的jsp文件,在里面加入 发货地址_________
最后就是修改配货登记和配货查询的jsp文件,也是在里面加入 发货地址的不可修改项 |
|