From 1f493466a1317cdb5435d2e75c9db6a37c7fce07 Mon Sep 17 00:00:00 2001
From: zjf <1799650030@qq.com>
Date: Fri, 16 May 2025 16:10:19 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A3=9F=E5=A0=82=E8=BF=9B=E9=94=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/canteen/canteenStock.ts | 10 ++++
src/views/canteen/canteenErpSpu/form.vue | 50 +++----------------
src/views/canteen/canteenErpSpu/index.vue | 32 +++++-------
.../canteenProductionTemplate/form.vue | 4 +-
4 files changed, 31 insertions(+), 65 deletions(-)
diff --git a/src/api/canteen/canteenStock.ts b/src/api/canteen/canteenStock.ts
index 533929b..4f597b9 100644
--- a/src/api/canteen/canteenStock.ts
+++ b/src/api/canteen/canteenStock.ts
@@ -8,6 +8,16 @@ export function fetchList(query?: Object) {
})
}
+/*
+同步菜品到库存
+ */
+export function ansyncStock() {
+ return request({
+ url: '/canteen/canteenStock/canteen/ansync',
+ method: 'post',
+ })
+}
+
export function addObj(obj?: Object) {
return request({
url: '/canteen/canteenStock',
diff --git a/src/views/canteen/canteenErpSpu/form.vue b/src/views/canteen/canteenErpSpu/form.vue
index b4bd583..1fc5cd6 100644
--- a/src/views/canteen/canteenErpSpu/form.vue
+++ b/src/views/canteen/canteenErpSpu/form.vue
@@ -43,11 +43,8 @@
diff --git a/src/views/canteen/canteenProductionTemplate/form.vue b/src/views/canteen/canteenProductionTemplate/form.vue
index d539947..1ffc631 100644
--- a/src/views/canteen/canteenProductionTemplate/form.vue
+++ b/src/views/canteen/canteenProductionTemplate/form.vue
@@ -108,7 +108,7 @@
-
-
+
无图