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