|
@@ -239,27 +239,94 @@ export const textbookColumns: BasicColumn[] = [
|
|
|
default: 'teacherSubscriptionNumber',
|
|
|
},
|
|
|
},
|
|
|
- // {
|
|
|
- // title: '定价',
|
|
|
- // dataIndex: 'sourcePrice',
|
|
|
- // width: 80,
|
|
|
- // },
|
|
|
- // {
|
|
|
- // title: '折扣',
|
|
|
- // dataIndex: 'discount',
|
|
|
- // width: 100,
|
|
|
- // slots: {
|
|
|
- // default: 'discount',
|
|
|
- // },
|
|
|
- // },
|
|
|
- // {
|
|
|
- // title: '价格',
|
|
|
- // dataIndex: 'price',
|
|
|
- // width: 100,
|
|
|
- // slots: {
|
|
|
- // default: 'price',
|
|
|
- // },
|
|
|
- // },
|
|
|
+];
|
|
|
+
|
|
|
+export const textbookColumns1: BasicColumn[] = [
|
|
|
+ {
|
|
|
+ title: '课程名称',
|
|
|
+ dataIndex: 'courseName',
|
|
|
+ align: 'left',
|
|
|
+ width: 80,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '教材书名',
|
|
|
+ dataIndex: 'bookName',
|
|
|
+ align: 'left',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '书号(ISSN)',
|
|
|
+ dataIndex: 'issn',
|
|
|
+ width: 150,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '作者(主编)',
|
|
|
+ dataIndex: 'editorInChief',
|
|
|
+ align: 'left',
|
|
|
+ width: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '出版社',
|
|
|
+ dataIndex: 'publishingHouse',
|
|
|
+ width: 90,
|
|
|
+ align: 'left',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '类型',
|
|
|
+ dataIndex: 'textbookTypeCn',
|
|
|
+ width: 80,
|
|
|
+ align: 'left',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '版次',
|
|
|
+ dataIndex: 'version',
|
|
|
+ align: 'left',
|
|
|
+ width: 150,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '使用类型',
|
|
|
+ dataIndex: 'useType',
|
|
|
+ customRender: ({ record }) => {
|
|
|
+ return record.useType ? record.useType + '学期' : '';
|
|
|
+ },
|
|
|
+ width: 80,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '定价',
|
|
|
+ dataIndex: 'price',
|
|
|
+ align: 'left',
|
|
|
+ width: 80,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '折扣',
|
|
|
+ dataIndex: 'discount',
|
|
|
+ align: 'left',
|
|
|
+ width: 120,
|
|
|
+ slots: {
|
|
|
+ default: 'discount',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '小计',
|
|
|
+ dataIndex: 'subtotal',
|
|
|
+ align: 'left',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '学生用书征订数量',
|
|
|
+ dataIndex: 'studentSubscriptionNumber',
|
|
|
+ width: 150,
|
|
|
+ slots: {
|
|
|
+ default: 'studentSubscriptionNumber',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '教师用书征订数量',
|
|
|
+ dataIndex: 'teacherSubscriptionNumber',
|
|
|
+ width: 150,
|
|
|
+ slots: {
|
|
|
+ default: 'teacherSubscriptionNumber',
|
|
|
+ },
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
export const historyTableColumns: BasicColumn[] = [
|