diff --git a/.env.development b/.env.development
index 5f14a43..3249194 100644
--- a/.env.development
+++ b/.env.development
@@ -1,6 +1,6 @@
VITE_APP_NAME=后台管理(开发环境)
-#VITE_API_URL=http://127.0.0.1:9200/api
+VITE_API_URL=http://127.0.0.1:9200/api
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
-VITE_API_URL=https://glt-api.websoft.top/api
+#VITE_API_URL=https://glt-api.websoft.top/api
diff --git a/src/api/shop/shopGoods/model/index.ts b/src/api/shop/shopGoods/model/index.ts
index 3b8f926..2fc4c27 100644
--- a/src/api/shop/shopGoods/model/index.ts
+++ b/src/api/shop/shopGoods/model/index.ts
@@ -137,6 +137,8 @@ export interface ShopGoods {
// 一级/二级分红(单位以服务端为准)
firstDividend?: number;
secondDividend?: number;
+ // 配送奖金
+ deliveryMoney?: number;
}
export interface BathSet {
diff --git a/src/views/shop/shopGoods/components/shopGoodsEdit.vue b/src/views/shop/shopGoods/components/shopGoodsEdit.vue
index ff67464..08cfb85 100644
--- a/src/views/shop/shopGoods/components/shopGoodsEdit.vue
+++ b/src/views/shop/shopGoods/components/shopGoodsEdit.vue
@@ -580,6 +580,19 @@
+
+
+ 元
+
+
@@ -1109,6 +1122,7 @@ const form = reactive({
thirdMoney: 0,
firstDividend: 0,
secondDividend: 0,
+ deliveryMoney: 0,
position: undefined,
price: undefined,
originPrice: undefined,
@@ -1880,6 +1894,7 @@ const save = () => {
form.thirdMoney = 0;
form.firstDividend = 0;
form.secondDividend = 0;
+ form.deliveryMoney = 0;
}
if (form.isOpenCommission === 1 && form.commissionType === 20) {
// UI 输入:0~100;保存到后端:0~1(例如 10% => 0.1)