Commit 870a14a2 authored by 郝聪敏's avatar 郝聪敏

feature: 订单下的每个商品必须设置物流信息

parent 40cfcb13
......@@ -45,6 +45,11 @@ const LogisticsForm = props => {
return;
}
if (skuList.length !== orderSkuIds.length) {
notification.open({ message: '该订单下的所有商品必须设置物流信息!' });
return;
}
console.log(result);
await updateExpress(result);
onSubmit();
......
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