🐞 fix(ID1000936):重构版货主自营的待发货状态的后台按钮为取消订单(小程序也是只有取消订单,不要申请退款),小程序待自提状态没有取消按钮
This commit is contained in:
parent
7cec485c9d
commit
9bb2679ac3
@ -9,6 +9,7 @@ interface prosObj {
|
||||
status?: Number
|
||||
payment_method?: Number
|
||||
settle_mode?: Number | string
|
||||
is_shipper_picks_up?: boolean
|
||||
}
|
||||
cancle?: (any) => void
|
||||
nextBuy?: (any) => void
|
||||
@ -30,6 +31,7 @@ const BottomBtns = (props: prosObj, ref) => {
|
||||
status: '',
|
||||
payment_method: 0,
|
||||
settle_mode: '',
|
||||
is_shipper_picks_up: false,
|
||||
},
|
||||
showTuiGoods = false,
|
||||
cancle,
|
||||
@ -59,6 +61,7 @@ const BottomBtns = (props: prosObj, ref) => {
|
||||
|| (obj.sale_mode === 2 && obj.status === 0 && obj.collect_status == 0)
|
||||
|| (obj.sale_mode === 1 && obj.status === 10)
|
||||
|| (obj.sale_mode === 2 && obj.status === 10)
|
||||
|| (obj.sale_mode === 0 && obj.status === 13)
|
||||
) {
|
||||
return true
|
||||
}
|
||||
@ -132,9 +135,9 @@ const BottomBtns = (props: prosObj, ref) => {
|
||||
|| (obj.sale_mode === 0 && obj.status == 7 && obj.collect_status == 2 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 7 && obj.collect_status == 3 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 11 && (obj.collect_status == 1 || obj.collect_status == 2) && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 0 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 2 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 1 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 0 && goodsObj?.av_return_product?.length && !obj.is_shipper_picks_up)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 2 && goodsObj?.av_return_product?.length && !obj.is_shipper_picks_up)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 1 && goodsObj?.av_return_product?.length && !obj.is_shipper_picks_up)
|
||||
|| (obj.sale_mode === 1 && obj.status == 0 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 1 && obj.status == 9 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 2 && obj.status == 0 && obj.collect_status == 1 && goodsObj?.av_return_product?.length)
|
||||
|
||||
@ -10,6 +10,7 @@ interface prosObj {
|
||||
status?: Number
|
||||
payment_method?: Number
|
||||
settle_mode?: Number | string
|
||||
is_shipper_picks_up?: boolean
|
||||
}
|
||||
handApplyGoods?: () => void
|
||||
handApplyMoney?: () => void
|
||||
@ -24,6 +25,7 @@ const BottomApply = (props: prosObj) => {
|
||||
status: '',
|
||||
payment_method: 0,
|
||||
settle_mode: '',
|
||||
is_shipper_picks_up: false,
|
||||
},
|
||||
handApplyGoods,
|
||||
handApplyMoney,
|
||||
@ -51,9 +53,9 @@ const BottomApply = (props: prosObj) => {
|
||||
|| (obj.sale_mode === 0 && obj.status == 7 && obj.collect_status == 2 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 7 && obj.collect_status == 3 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 11 && (obj.collect_status == 1 || obj.collect_status == 2) && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 0 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 2 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 1 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 0 && goodsObj?.av_return_product?.length && !obj.is_shipper_picks_up)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 2 && goodsObj?.av_return_product?.length && !obj.is_shipper_picks_up)
|
||||
|| (obj.sale_mode === 0 && obj.status == 3 && obj.collect_status == 1 && goodsObj?.av_return_product?.length && !obj.is_shipper_picks_up)
|
||||
|| (obj.sale_mode === 1 && obj.status == 0 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 1 && obj.status == 9 && goodsObj?.av_return_product?.length)
|
||||
|| (obj.sale_mode === 2 && obj.status == 0 && obj.collect_status == 1 && goodsObj?.av_return_product?.length)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user