Commit 1f63d6c4 authored by XieZhiXiong's avatar XieZhiXiong

fix: 新增换货发货的非空判断

parent 75a9a23e
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-04 17:22:07
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-14 19:55:14
* @LastEditTime: 2020-12-28 09:50:08
* @Description:
*/
import React, { useState } from 'react';
......@@ -72,6 +72,17 @@ const ExchangePrSubmitVerify: React.FC = () => {
message.error('请选择退货收货地址');
return;
}
if (!exchangeAddress) {
message.error('请选择换货收货地址相关');
return;
}
if (
exchangeAddress &&
!exchangeAddress.deliveryType
) {
message.error('请选择换货配送方式');
return;
}
if (
exchangeAddress &&
exchangeAddress.deliveryType === 1 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment