fix: 代客下单优化称重商品弹窗、商品列表过滤优惠券商品,部分支付按钮禁止状态优化
This commit is contained in:
@@ -51,7 +51,7 @@ export const useCartsStore = defineStore("carts", () => {
|
|||||||
status: "on_sale",
|
status: "on_sale",
|
||||||
...query,
|
...query,
|
||||||
});
|
});
|
||||||
goods.value = res.records;
|
goods.value = res.records.filter((v: { type: string }) => v.type != 'coupon');
|
||||||
setGoodsMap(goods.value)
|
setGoodsMap(goods.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
size="large"
|
size="large"
|
||||||
:disabled="!carts.isLinkFinshed"
|
:disabled="!carts.isLinkFinshed || carts.isEmpty"
|
||||||
@click="createOrder('wx-aiplay')"
|
@click="createOrder('wx-aiplay')"
|
||||||
>
|
>
|
||||||
微信/支付宝
|
微信/支付宝
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
size="large"
|
size="large"
|
||||||
:disabled="!carts.isLinkFinshed"
|
:disabled="!carts.isLinkFinshed || carts.isEmpty"
|
||||||
@click="createOrder('cash')"
|
@click="createOrder('cash')"
|
||||||
>
|
>
|
||||||
现金
|
现金
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
size="large"
|
size="large"
|
||||||
:disabled="!carts.isLinkFinshed || showOrder"
|
:disabled="!carts.isLinkFinshed || showOrder || carts.isEmpty"
|
||||||
@click="createOrder('more-pay')"
|
@click="createOrder('more-pay')"
|
||||||
>
|
>
|
||||||
更多支付
|
更多支付
|
||||||
@@ -273,7 +273,7 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
:deep(.btn-group) {
|
:deep(.btn-group) {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 20px;
|
margin-top: 10px;
|
||||||
.el-button {
|
.el-button {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ function keyboradConfirm() {
|
|||||||
.keybord-box .box_status {
|
.keybord-box .box_status {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
width: 370px;
|
width: 370px;
|
||||||
height: 58px;
|
min-height: 58px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<div>.</div>
|
<div>.</div>
|
||||||
</template>
|
</template>
|
||||||
<template #input>
|
<template #input>
|
||||||
<div class="u-font-14 u-row-between u-flex w-full u-text-left">
|
<div class="u-font-14 u-row-between u-flex w-full u-text-left u-p-b-1">
|
||||||
<div class="">
|
<div class="">
|
||||||
<div>单价</div>
|
<div>单价</div>
|
||||||
<div class="u-m-t-10">
|
<div class="u-m-t-10">
|
||||||
|
|||||||
Reference in New Issue
Block a user