IO-1914 Resolve bill edit error.
This commit is contained in:
@@ -29,7 +29,7 @@ export function BillInventoryTable({
|
||||
const { t } = useTranslation();
|
||||
|
||||
useEffect(() => {
|
||||
if (inventoryData) {
|
||||
if (inventoryData && inventoryData.inventory) {
|
||||
form.setFieldsValue({
|
||||
inventory: billEnterModal.context.consumeinventoryid
|
||||
? inventoryData.inventory.map((i) => {
|
||||
|
||||
Reference in New Issue
Block a user