zhengyiming
2025-02-21 9b87bcbcad94873dedee7389d1ef9742a8d72c2b
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] ?? '未填写供应商利润'
  }`;
}