feat: 完成采购订单功能。

This commit is contained in:
c
2026-03-07 17:31:55 +08:00
parent 324c1c0a73
commit d75f33dda7
4 changed files with 706 additions and 65 deletions

View File

@@ -61,6 +61,7 @@ const generateOrderVisible = ref(false);
const generateOrderForm = reactive({
planId: 0,
planStatus: 0,
planNo: "",
});
const planItems = ref([] as any[]);
const allVendors = ref([] as any[]);
@@ -192,6 +193,7 @@ const buildVendorSuggestions = (item: any) => {
const showGenerateOrderDialog = async (row: any) => {
generateOrderForm.planId = row.id;
generateOrderForm.planStatus = row.planStatus;
generateOrderForm.planNo = row.planNo;
try {
const response = await get(getItemsUrl, { planId: row.id });