@@ -500,11 +500,11 @@ export const dowmColumns: BasicColumn[] = [
},
{
title: '下载类型',
- dataIndex: 'downType',
+ dataIndex: 'downTypeStr',
width: 100,
- customRender: ({ record }) => {
- return record.downType ? t(`routes.product.type.${record.downType}`) : '-';
- },
+ // customRender: ({ record }) => {
+ // return record.downType ? t(`routes.product.type.${record.downType}`) : '-';
+ // },
title: '订单金额(元)',
@@ -129,7 +129,7 @@
defaultValue: 1,
componentProps: {
options: showOptions(5),
- onChange: (data) => {
+ onChange: (data = 1) => {
let { incrementTypeId, count = 1 } = getFieldsValue()
let unit = incrementTypeId == '3' ? 'month' : 'year'
let unitStr = incrementTypeId == '3' ? '个月' : '年';