Commit 957889c1 authored by xiaochao's avatar xiaochao

【商业伙伴修改优化v2.0】

parent 7a50b42d
...@@ -143,8 +143,8 @@ ...@@ -143,8 +143,8 @@
record.getField('invoice_bp_bank_account').setRequired(true); record.getField('invoice_bp_bank_account').setRequired(true);
} }
if (record.get('invoice_method') == 'NO_BILLING') { if (record.get('invoice_method') == 'NO_BILLING') {
record.getField('taxpayer_type').setRequired(false); record.getField('taxpayer_type').setRequired(true);
record.getField('taxpayer_type_n').setRequired(false); record.getField('taxpayer_type_n').setRequired(true);
record.getField('tax_registry_num').setRequired(false); record.getField('tax_registry_num').setRequired(false);
record.getField('invoice_title').setRequired(false); record.getField('invoice_title').setRequired(false);
record.getField('invoice_bp_address').setRequired(false); record.getField('invoice_bp_address').setRequired(false);
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
record.getField('invoice_bp_bank_account').setRequired(true); record.getField('invoice_bp_bank_account').setRequired(true);
} }
if (value == 'NO_BILLING') { if (value == 'NO_BILLING') {
record.getField('taxpayer_type').setRequired(false); record.getField('taxpayer_type').setRequired(true);
record.getField('taxpayer_type_n').setRequired(false); record.getField('taxpayer_type_n').setRequired(true);
record.getField('tax_registry_num').setRequired(false); record.getField('tax_registry_num').setRequired(false);
record.getField('invoice_title').setRequired(false); record.getField('invoice_title').setRequired(false);
record.getField('invoice_bp_address').setRequired(false); record.getField('invoice_bp_address').setRequired(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment