skyouc
2025-06-26 f2833c7f3e01c997e94a66bd5dd9be738b5c6cc7
rsf-admin/src/page/orders/outStock/OutOrderList.jsx
@@ -115,6 +115,7 @@
const OutOrderList = (props) => {
  const translate = useTranslate();
  const refresh = useRefresh();
  const notify = useNotify();
  const [createDialog, setCreateDialog] = useState(false);
  const [manualDialog, setManualDialog] = useState(false);
@@ -130,16 +131,13 @@
  //获取波次规则
  const closeDialog = async (value) => {
    setWaveRule(false)
    const res = await request.post(`/outStock/generate/wave`, { ids: selectIds, waveRuleId: value.id });
    if (res?.data?.code === 200) {
      notify(res.data.msg);
    } else {
      notify(res.data.msg);
    }
    refresh()
    console.log('=====>');
    console.log(value);
    console.log(selectIds);
    // const res = await request.post(`/outStock/generate/wave`, { ids: selectIds });
    // if (res?.data?.code === 200) {
    //   notify(res.data.msg);
    // } else {
    //   notify(res.data.msg);
    // }
  }
  return (