This commit is contained in:
魏啾
2024-07-20 13:25:39 +08:00
parent 8655d7ed2f
commit ca46106afb
2 changed files with 8 additions and 6 deletions

View File

@@ -109,7 +109,9 @@
可用优惠券{{couponAmount}}
</view>
</view> -->
<!-- <u--textarea v-model="remark" placeholder="订单备注" ></u--textarea> -->
<view style="padding: 0 20rpx;">
<u--textarea v-model="remark" placeholder="备注"></u--textarea>
</view>
<!-- 支付方式 -->
<view class="payType">
<view class="">
@@ -292,7 +294,6 @@
break;
case 'addCart':
this.cartLists = msg
this.productqueryProduct() //list 数据
break;
case 'order':
uni.navigateBack()
@@ -397,6 +398,7 @@
"skuId": '',
"num": '', //数量
"type": "createOrder", //“addcart:添加购物车create0rder:生成订单clearCart:庆康购物车”,
"remark": this.remark,
"couponsId": '', //优惠券ID,
"isYhq": 0, // 是否使用优惠券( 1 使用, 0 不使用),
"isBuyYhq": 0, // 是否购买优惠券( 1 购买, 0 不够买)
@@ -478,8 +480,7 @@
let res = await this.api.accountPay({
orderId: this.listinfoid,
memberId: this.amountVIP.id,
// remark: this.remark,
pwd
pwd:pwd
})
if (res.code == 0) {
// data ->1 支付成功

View File

@@ -79,7 +79,7 @@
{{ item1.name }}
</view>
<view class="namess" v-if="item1.suit>1">
{{ item1.suit }}
起售{{ item1.suit }}
</view>
<view class="price-wrap">
<view class="price">
@@ -452,7 +452,7 @@
}
break;
}
console.log(this.cartLists.data,1111111)
console.log(this.cartLists.data, 1111111)
this.cartListsdatashow = this.cartLists.data.length == 0 ? false : true
}
} catch (e) {
@@ -927,6 +927,7 @@
margin-top: 16rpx;
font-size: 24upx;
font-weight: 300;
color: #a5a5a5;
}
.select-sku-wrap {