From 3ad5e6df619db267e10ec9435066f143cfd55ae0 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 22 四月 2022 16:30:06 +0800
Subject: [PATCH] login type code
---
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