feat: 完成采购订单功能。
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user