联动组件优化
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
.message{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
background: rgba(168, 179, 189, 0.8);
|
||||
background: rgba(168, 179, 189, 0.9);
|
||||
z-index: 9;
|
||||
min-height: 0;
|
||||
padding: 20px;
|
||||
|
||||
@@ -58,7 +58,8 @@ export default memo(({orderInfo, onClick}:Param) => {
|
||||
SaleOrderStatusArranging.value,
|
||||
SaleOrderStatusArranged.value,
|
||||
SaleOrderStatusWaitingPayment.value,
|
||||
SaleOrderStatusWaitingDelivery.value], //取消订单按钮对应: 待接单,配布中,已配布, 待付款, 待发货
|
||||
SaleOrderStatusTaking.value,
|
||||
SaleOrderStatusWaitingDelivery.value], //取消订单按钮对应: 待接单,配布中,已配布, 待付款, 待发货, 提货中
|
||||
label: '取消订单'
|
||||
},
|
||||
{
|
||||
@@ -115,7 +116,7 @@ export default memo(({orderInfo, onClick}:Param) => {
|
||||
return( orderInfo.wait_pay_amount != 0 && item.value.includes(orderInfo.status)) //只要没有付完款就显示
|
||||
} else if(item.id == 3 ) {
|
||||
//申请退款, 只有大货才有
|
||||
return (orderInfo.sale_mode == SaLeModeBulk.value && orderInfo.actual_amount != 0 && item.value.includes(orderInfo.status)) //大货在待发货付过款
|
||||
return (orderInfo.sale_mode == SaLeModeBulk.value && orderInfo.actual_amount != 0 && orderInfo.av_return_roll && item.value.includes(orderInfo.status)) //大货在待发货付过款
|
||||
} else if( item.id == 8) {
|
||||
//退款按钮(直接退款不用申请), 只有散剪和剪板有
|
||||
return (orderInfo.sale_mode != SaLeModeBulk.value && orderInfo.actual_amount != 0 && item.value.includes(orderInfo.status)) //散剪和剪板在待接单时付过款
|
||||
|
||||
@@ -14,10 +14,6 @@
|
||||
border-color: transparent transparent #999999;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.top:hover {
|
||||
cursor: pointer;
|
||||
border-color: transparent transparent #333333;
|
||||
}
|
||||
|
||||
.top {
|
||||
width: 0;
|
||||
@@ -27,10 +23,6 @@
|
||||
border-color: transparent transparent #999999;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.bottom:hover {
|
||||
cursor: pointer;
|
||||
border-color: transparent transparent #333333;
|
||||
}
|
||||
.selected{
|
||||
border-color: transparent transparent $color_main;
|
||||
}
|
||||
Reference in New Issue
Block a user