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