🐞 fix(ID1001130):【内部小程序】--修改订单点击提交,提示选择地址
This commit is contained in:
parent
aa0274d273
commit
04c8e7dcfd
@ -554,7 +554,7 @@ const OrderDetails = () => {
|
|||||||
const { fetchData: submitFetch } = MpsaleOrdersubmit()
|
const { fetchData: submitFetch } = MpsaleOrdersubmit()
|
||||||
// 提交修改
|
// 提交修改
|
||||||
const handSubmit = () => {
|
const handSubmit = () => {
|
||||||
if (infoObj?.address_id == 0 || !infoObj?.address_id) {
|
if ((infoObj?.address_id == 0 || !infoObj?.address_id) && receivingStatus == 2) {
|
||||||
return Taro.showToast(
|
return Taro.showToast(
|
||||||
{
|
{
|
||||||
title: '请选择收货地址',
|
title: '请选择收货地址',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user