Kaynağa Gözat

fix: 修改优惠卷相关文本为“优惠券”以统一术语

laiqi 1 yıl önce
ebeveyn
işleme
4f3ce6cf0f
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 1 1
      src/pages/coupon/index.vue
  2. 2 2
      src/types/order.ts

+ 1 - 1
src/pages/coupon/index.vue

@@ -22,7 +22,7 @@
             </view>
             <view class="coupon-content">
               <view class="coupon-info">
-                <text>卷名: {{ item.coupon2mc || '暂无卷名' }}</text>
+                <text>券名: {{ item.coupon2mc || '暂无券名' }}</text>
               </view>
               <view class="coupon-info">
                 <text>产品: {{ item.productsname || '暂无产品信息' }}</text>

+ 2 - 2
src/types/order.ts

@@ -9,7 +9,7 @@
 //   `orderstotalprice` decimal(10,2) DEFAULT NULL COMMENT '订单总金额',
 //   `ordersdiscountprice` decimal(10,2) DEFAULT NULL COMMENT '订单优惠后金额',
 //   `ordersyhprice` decimal(10,2) DEFAULT NULL COMMENT '优惠金额',
-//   `orderscouponid` varchar(50) DEFAULT NULL COMMENT '优惠id',
+//   `orderscouponid` varchar(50) DEFAULT NULL COMMENT '优惠id',
 //   `ordersorderstatus` tinyint(2) DEFAULT NULL COMMENT '订单状态(0:待审核,1:已支付,2:已完成)',
 //   `ordersorderdate` datetime DEFAULT NULL COMMENT '下单时间',
 //   PRIMARY KEY (`ordersid`),
@@ -40,7 +40,7 @@ interface OrderType {
   ordersdiscountprice: number
   /** 优惠金额 */
   ordersyhprice: number
-  /** 优惠id */
+  /** 优惠id */
   orderscouponid: string
   /** 订单状态 */
   ordersorderstatus: number