zhengyiming
2025-02-20 314dcacdeecec4dff192b78bad5124b1b29a453d
1
2
3
4
5
6
7
8
9
10
11
import { SupplierProfitUintText } from '@/constants';
 
export function getSupplierRefund(row: API.OrderSupplierRefundInfo[]) {
  if (!row?.length) {
    return '未填写供应商利润';
  }
  const item = row[0];
  return `${item.supplierProfit}${
    SupplierProfitUintText[item.supplierProfitUint] ?? '未填写供应商利润'
  }`;
}