add listDataEvents.ts
This commit is contained in:
@@ -66,6 +66,7 @@ import MediaSelector from "@/components/mediaSelector/MediaSelector.vue";
|
||||
import type { OrderFulfillment } from "@/types/Fulfillment";
|
||||
import type { PhotoItem } from "@/types/Photo";
|
||||
import { getErrorMessage } from "@/utils/error";
|
||||
import { emitListDataChanged, listDataEventKeys } from "@/utils/listDataEvents";
|
||||
import { createPackageRequestNo } from "@/utils/package";
|
||||
import { Message } from "@/utils/message";
|
||||
import { uploadPhotoList } from "@/utils/photo";
|
||||
@@ -157,6 +158,8 @@ async function submit(): Promise<void> {
|
||||
attachmentList
|
||||
});
|
||||
visible.value = false;
|
||||
emitListDataChanged(listDataEventKeys.salesOrderChanged, props.fulfillment.salesOrderId);
|
||||
emitListDataChanged(listDataEventKeys.productStockChanged);
|
||||
Message.success("履约单已冲正");
|
||||
emit("success");
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user