kts-component-invoice-operate 3.2.41 → 3.2.42
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
CHANGED
|
@@ -10635,7 +10635,7 @@ function ItemNameInput(props) {
|
|
|
10635
10635
|
value: e.itemName
|
|
10636
10636
|
};
|
|
10637
10637
|
}),
|
|
10638
|
-
|
|
10638
|
+
onSelect: onChangeAutoComplete
|
|
10639
10639
|
}, React.createElement(Input, {
|
|
10640
10640
|
style: {
|
|
10641
10641
|
height: '100%',
|
|
@@ -16830,7 +16830,7 @@ function ItemNameInput$1(props) {
|
|
|
16830
16830
|
value: e.itemName
|
|
16831
16831
|
};
|
|
16832
16832
|
}),
|
|
16833
|
-
|
|
16833
|
+
onSelect: onChangeAutoComplete
|
|
16834
16834
|
}, React.createElement(Input$1, {
|
|
16835
16835
|
style: {
|
|
16836
16836
|
height: '100%'
|
package/dist/index.js
CHANGED
|
@@ -10645,7 +10645,7 @@ function ItemNameInput(props) {
|
|
|
10645
10645
|
value: e.itemName
|
|
10646
10646
|
};
|
|
10647
10647
|
}),
|
|
10648
|
-
|
|
10648
|
+
onSelect: onChangeAutoComplete
|
|
10649
10649
|
}, React__default['default'].createElement(ktsComponentsAntdX3.Input, {
|
|
10650
10650
|
style: {
|
|
10651
10651
|
height: '100%',
|
|
@@ -16840,7 +16840,7 @@ function ItemNameInput$1(props) {
|
|
|
16840
16840
|
value: e.itemName
|
|
16841
16841
|
};
|
|
16842
16842
|
}),
|
|
16843
|
-
|
|
16843
|
+
onSelect: onChangeAutoComplete
|
|
16844
16844
|
}, React__default['default'].createElement(ktsXui.Input, {
|
|
16845
16845
|
style: {
|
|
16846
16846
|
height: '100%'
|
package/package.json
CHANGED
|
@@ -99,7 +99,7 @@ export default function ItemNameInput(props: { onChange?: (e: ChangeEvent<HTMLIn
|
|
|
99
99
|
return (
|
|
100
100
|
<div className='kts-invoice-operate-goods-list-itemName-input'>
|
|
101
101
|
{props.shorthand && <span style={{ alignSelf: 'center', fontSize: 12 }} >*{props.shorthand}*</span>}
|
|
102
|
-
<AutoComplete onSearch={onSearch} value={props.value} options={options.map(e => ({ value: e.itemName }))}
|
|
102
|
+
<AutoComplete onSearch={onSearch} value={props.value} options={options.map(e => ({ value: e.itemName }))} onSelect={onChangeAutoComplete} >
|
|
103
103
|
<Input style={{ height: '100%', border: 'none' }} onChange={onChange} />
|
|
104
104
|
</AutoComplete>
|
|
105
105
|
</div>
|
|
@@ -42,7 +42,7 @@ export default function ItemNameInput(props: {
|
|
|
42
42
|
return (
|
|
43
43
|
<div className='kts-invoice-operate-goods-list-itemName-input'>
|
|
44
44
|
{props.shorthand && <span style={{ alignSelf: 'center', fontSize: 12 }} >*{props.shorthand}*</span>}
|
|
45
|
-
<AutoComplete onSearch={onSearch} value={props.value} options={options.map(e => ({ value: e.itemName }))}
|
|
45
|
+
<AutoComplete onSearch={onSearch} value={props.value} options={options.map(e => ({ value: e.itemName }))} onSelect={onChangeAutoComplete} >
|
|
46
46
|
<Input style={{ height: '100%' }} onChange={onChange} suffix={props.suffix} />
|
|
47
47
|
</AutoComplete>
|
|
48
48
|
</div>
|