kts-component-invoice-operate 3.2.161 → 3.2.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/InvoiceTypeModal/index.tsx +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -23282,8 +23282,8 @@ function InvoiceTypeModal(props) {
|
|
|
23282
23282
|
});
|
|
23283
23283
|
setValues(form.getFieldsValue());
|
|
23284
23284
|
}, [props.onChange, form]);
|
|
23285
|
-
var onInvoiceTypeChange = React.useCallback(function (
|
|
23286
|
-
props.onInvoiceTypeChange && props.onInvoiceTypeChange(
|
|
23285
|
+
var onInvoiceTypeChange = React.useCallback(function (value) {
|
|
23286
|
+
props.onInvoiceTypeChange && props.onInvoiceTypeChange(value);
|
|
23287
23287
|
form.setFieldsValue({
|
|
23288
23288
|
business: null
|
|
23289
23289
|
});
|
package/dist/index.js
CHANGED
|
@@ -23292,8 +23292,8 @@ function InvoiceTypeModal(props) {
|
|
|
23292
23292
|
});
|
|
23293
23293
|
setValues(form.getFieldsValue());
|
|
23294
23294
|
}, [props.onChange, form]);
|
|
23295
|
-
var onInvoiceTypeChange = React__default['default'].useCallback(function (
|
|
23296
|
-
props.onInvoiceTypeChange && props.onInvoiceTypeChange(
|
|
23295
|
+
var onInvoiceTypeChange = React__default['default'].useCallback(function (value) {
|
|
23296
|
+
props.onInvoiceTypeChange && props.onInvoiceTypeChange(value);
|
|
23297
23297
|
form.setFieldsValue({
|
|
23298
23298
|
business: null
|
|
23299
23299
|
});
|
package/package.json
CHANGED
|
@@ -76,8 +76,8 @@ export default function InvoiceTypeModal(props: IInvoiceTypeModalProps) {
|
|
|
76
76
|
form.setFieldsValue({ invoiceType: null, business: null });
|
|
77
77
|
setValues(form.getFieldsValue());
|
|
78
78
|
}, [props.onChange, form])
|
|
79
|
-
const onInvoiceTypeChange = React.useCallback(
|
|
80
|
-
props.onInvoiceTypeChange && props.onInvoiceTypeChange(
|
|
79
|
+
const onInvoiceTypeChange = React.useCallback(value => {
|
|
80
|
+
props.onInvoiceTypeChange && props.onInvoiceTypeChange(value);
|
|
81
81
|
form.setFieldsValue({ business: null });
|
|
82
82
|
setValues(form.getFieldsValue());
|
|
83
83
|
}, [props.onInvoiceTypeChange, form])
|