diff --git a/public/template/导入菜谱模板.xlsx b/public/template/导入菜谱模板.xlsx new file mode 100644 index 00000000..ee7c7b19 Binary files /dev/null and b/public/template/导入菜谱模板.xlsx differ diff --git a/src/api/dish/dish.js b/src/api/dish/dish.js index d8bd24fb..682f3b84 100644 --- a/src/api/dish/dish.js +++ b/src/api/dish/dish.js @@ -131,7 +131,17 @@ export function removeMenuDishesApi(data) { } - +// 菜品列表-导入 +export function importMenuDishesApi(data) { + return request({ + url: '/smart-canteen/menu_dishes/import/dishes', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} diff --git a/src/api/dish/menu.js b/src/api/dish/menu.js index ba66d826..dadae61f 100644 --- a/src/api/dish/menu.js +++ b/src/api/dish/menu.js @@ -138,11 +138,19 @@ export function getMenuRecipeTemplateDetailApi(data) { data: data }) } - - - - - + + +export function menuUpLoadApi(param){ + const formData = new FormData() + formData.append('file', param.file) + formData.append('recipeId', param.recipeId) + return request({ + url: '/smart-canteen/menu_recipe/recipe/import/dishes', + method: 'post', + data: formData, + header:'multipart/form-data' + }) +} diff --git a/src/views/accountCenter/cardManage/cardRecord/index.vue b/src/views/accountCenter/cardManage/cardRecord/index.vue index 3610a5d5..c4323df5 100644 --- a/src/views/accountCenter/cardManage/cardRecord/index.vue +++ b/src/views/accountCenter/cardManage/cardRecord/index.vue @@ -29,7 +29,7 @@ - + - - - - + + + + - + @@ -145,17 +162,18 @@ - + - - - + - + - - - - - - - - - - - - - - - - - - - + + + + + + + + + +
+ + + + {{ rowData.deptFullName }} + + + + {{ rowData.nickName }} + + + + {{rowData.userId}} + + + + {{ rowData.phonenumber }} + + + + {{ (rowData.lastWalletBal/100).toFixed(2) }} + + + + {{ (rowData.walletBalNow/100).toFixed(2) }} + + + + {{ (rowData.income/100).toFixed(2) }} + + + + {{ (rowData.outcome/100).toFixed(2) }} + + + + {{ (rowData.walletBal/100).toFixed(2) }} + + + +
+ +