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

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

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