Commit f1f64d22fd510ce4dfb3c2c1d02143a1f553867e

Authored by 曾国涛
1 parent b86fb27e

fix(order): remove taxId from invoice company value

The taxId was appended to the company name in the invoice drawer form,
resulting in a combined value used as the `value` prop for company selection.
This change removes the tax
src/pages/Order/components/InvoicingDrawerForm.tsx
... ... @@ -126,7 +126,7 @@ export default ({ dataList, setVisible, onClose }) => {
126 126 return {
127 127 ...company,
128 128 label: company.name,
129   - value: company.name + '|' + company.taxId,
  129 + value: company.name,
130 130 key: company.id,
131 131 };
132 132 });
... ...