Browse Source

改价/分班优化

学习?学个屁 1 day ago
parent
commit
1ded611e41

+ 2 - 2
.env

@@ -2,10 +2,10 @@
 VITE_PORT = 3100
 
 #  网站标题
-VITE_GLOB_APP_TITLE = 全动能
+VITE_GLOB_APP_TITLE = 全动能
 
 # 简称,此变量只能是字符/下划线
-VITE_GLOB_APP_SHORT_NAME = 全动能
+VITE_GLOB_APP_SHORT_NAME = 全动能
 
 # 单点登录服务端地址
 VITE_GLOB_APP_CAS_BASE_URL=http://cas.test.com:8443/cas

+ 1 - 1
src/views/businessManagement/courses/publishcourses.vue

@@ -77,7 +77,7 @@
           ...viewDataSport.value,
           categoryId: viewDataSport.value.categoryId.split(','),
           priceRulesList: customTableData.value,
-          insureIds: viewDataSport.value.insureIds.split(','),
+          insureIds:viewDataSport.value.insureIds ? viewDataSport.value.insureIds.split(',') : [],
         });
       });
     }

+ 2 - 2
src/views/orderManagement/order/index.vue

@@ -251,7 +251,7 @@
       .toFixed(2);
   }
 
-  // 改价1提交
+  // 改价提交
   const PriceEditLoading = ref(false);
   const totalPrice = ref(0);
 
@@ -260,7 +260,7 @@
       PriceEditLoading.value = true;
       // 组织请求参数
       const orderItemList = editOrderInfo.value.orderProInfoList.map((item) => ({
-        productId: item.productId,
+        orderProInfoId: item.id,
         originalPrice: item.modifiedPrice !== undefined ? item.modifiedPrice : item.originalPrice,
       }));
       // 计算总价