|
|
@ -395,8 +395,8 @@ const pkgStatusOptions = [ |
|
|
{ label: '下架', value: 'inactive' } |
|
|
{ label: '下架', value: 'inactive' } |
|
|
] |
|
|
] |
|
|
const pkgColumns = [ |
|
|
const pkgColumns = [ |
|
|
{ colKey: 'code', title: '编码', width: '12%' }, |
|
|
|
|
|
{ colKey: 'name', title: '名称', width: '14%' }, |
|
|
|
|
|
|
|
|
{ colKey: 'code', title: '编码', width: '12%', ellipsis: true }, |
|
|
|
|
|
{ colKey: 'name', title: '名称', width: '14%', ellipsis: true }, |
|
|
{ colKey: 'amountText', title: '额度', width: '10%' }, |
|
|
{ colKey: 'amountText', title: '额度', width: '10%' }, |
|
|
{ colKey: 'priceText', title: '价格', width: '8%' }, |
|
|
{ colKey: 'priceText', title: '价格', width: '8%' }, |
|
|
{ colKey: 'validityText', title: '有效期', width: '10%' }, |
|
|
{ colKey: 'validityText', title: '有效期', width: '10%' }, |
|
|
@ -558,8 +558,8 @@ const purchaseStatusOptions = [ |
|
|
{ label: '失效', value: 'inactive' } |
|
|
{ label: '失效', value: 'inactive' } |
|
|
] |
|
|
] |
|
|
const purchaseColumns = [ |
|
|
const purchaseColumns = [ |
|
|
{ colKey: 'batchNo', title: '批次号', width: '12%' }, |
|
|
|
|
|
{ colKey: 'provider', title: '供应商', width: '10%' }, |
|
|
|
|
|
|
|
|
{ colKey: 'batchNo', title: '批次号', width: '12%', ellipsis: true }, |
|
|
|
|
|
{ colKey: 'provider', title: '供应商', width: '10%', ellipsis: true }, |
|
|
{ colKey: 'totalText', title: '总量', width: '10%' }, |
|
|
{ colKey: 'totalText', title: '总量', width: '10%' }, |
|
|
{ colKey: 'costText', title: '成本', width: '10%' }, |
|
|
{ colKey: 'costText', title: '成本', width: '10%' }, |
|
|
{ colKey: 'expiresAt', title: '到期', width: '14%' }, |
|
|
{ colKey: 'expiresAt', title: '到期', width: '14%' }, |
|
|
@ -682,9 +682,9 @@ const ledgerColumns = [ |
|
|
{ colKey: 'accountType', title: '账户类型', width: '8%' }, |
|
|
{ colKey: 'accountType', title: '账户类型', width: '8%' }, |
|
|
{ colKey: 'accountId', title: '账户ID', width: '10%' }, |
|
|
{ colKey: 'accountId', title: '账户ID', width: '10%' }, |
|
|
{ colKey: 'direction', title: '方向', width: '7%' }, |
|
|
{ colKey: 'direction', title: '方向', width: '7%' }, |
|
|
{ colKey: 'amountText', title: '金额', width: '12%' }, |
|
|
|
|
|
{ colKey: 'balanceText', title: '余额前→后', width: '14%' }, |
|
|
|
|
|
{ colKey: 'sourceType', title: '来源', width: '10%' }, |
|
|
|
|
|
|
|
|
{ colKey: 'amountText', title: '金额', width: '12%', ellipsis: true }, |
|
|
|
|
|
{ colKey: 'balanceText', title: '余额前→后', width: '14%', ellipsis: true }, |
|
|
|
|
|
{ colKey: 'sourceType', title: '来源', width: '10%', ellipsis: true }, |
|
|
{ colKey: 'sourceId', title: '来源ID', width: '10%', ellipsis: true }, |
|
|
{ colKey: 'sourceId', title: '来源ID', width: '10%', ellipsis: true }, |
|
|
{ colKey: 'idempotencyKey', title: '幂等键', width: '12%', ellipsis: true } |
|
|
{ colKey: 'idempotencyKey', title: '幂等键', width: '12%', ellipsis: true } |
|
|
] |
|
|
] |
|
|
|