From 246772ecc677b15cc9be2fbdd63d50f6216e099f Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 20 四月 2022 16:18:24 +0800
Subject: [PATCH] 注册登录验证码

---
 src/views/productDetail/components/PayCard.vue |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/src/views/productDetail/components/PayCard.vue b/src/views/productDetail/components/PayCard.vue
index 2569d6d..182540f 100644
--- a/src/views/productDetail/components/PayCard.vue
+++ b/src/views/productDetail/components/PayCard.vue
@@ -143,16 +143,6 @@
       >
         <div class="label">鎺堟潈鏁伴噺</div>
         <el-input-number
-          v-model="cartItem.chCount"
-          @change="handleChangeCh"
-          :disabled="!data.hasChUnitPrice"
-          size="small"
-          :min="1"
-          :max="16"
-          label="鎻忚堪鏂囧瓧"
-        ></el-input-number>
-        <span class="desText">鏈�澶ф敮鎸�16璺�</span>
-        <el-input-number
           v-model="cartItem.authCount"
           @change="handleChangeAuth"
           :disabled="!data.hasAuthPrice"
@@ -310,7 +300,9 @@
 
       <div class="btns">
         <div class="button addCar">鍔犲叆璐墿杞�</div>
-        <div class="button pay" @click="confirmNow">绔嬪嵆璐拱</div>
+        <div class="button pay" @click="confirmNow">
+          {{ data.priceBase ? "绔嬪嵆璐拱" : "鍏嶈垂璇曠敤" }}
+        </div>
       </div>
     </div>
 
@@ -543,6 +535,7 @@
         payMethod: 0,
         products,
         status: 0,
+        userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
       }).then((res) => {
         if (res.success) {
           this.orderId = res.data.orderId;

--
Gitblit v1.8.0