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