diff --git a/src/api/canteen/canteenInventoryRecords.ts b/src/api/canteen/canteenInventoryRecords.ts index 7338eea..e017d2f 100644 --- a/src/api/canteen/canteenInventoryRecords.ts +++ b/src/api/canteen/canteenInventoryRecords.ts @@ -39,3 +39,11 @@ export function putObj(obj?: Object) { }) } +export function acceptanceObj(id: string) { + return request({ + url: '/canteen/canteenInventoryRecords/ys', + method: 'post', + params: { id } + }) +} + diff --git a/src/views/canteen/canteenInventoryRecords/index.vue b/src/views/canteen/canteenInventoryRecords/index.vue index 824693b..10fc80a 100644 --- a/src/views/canteen/canteenInventoryRecords/index.vue +++ b/src/views/canteen/canteenInventoryRecords/index.vue @@ -72,12 +72,13 @@ - + + @@ -103,6 +104,15 @@ > 删除 + + 验收 + @@ -115,7 +125,7 @@