Commit d4b5244d authored by LiXuyang's avatar LiXuyang

商城订单-列表

parent aff84e05
......@@ -27,7 +27,11 @@
<TableAction
:actions="[
{ label: '详情', onClick: handleDetail.bind(null, record) },
{ label: '审核', onClick: handleDetail.bind(null, record) },
{
label: '审核',
onClick: handleDetail.bind(null, record),
ifShow: record.progress !== '已审核',
},
]"
/>
</template>
......@@ -84,7 +88,7 @@
import { FormProps } from '@/components/Form';
import { ref } from 'vue';
import { useMessage } from '@/hooks/web/useMessage';
import { BasicTable, useTable, TableAction } from '@/components/Table';
import { BasicTable, useTable, TableAction, BasicTableProps } from '@/components/Table';
import { orderFormSchema, orderTableColumn } from './order.data';
import { orderData } from './orderData';
import { useModal } from '@/components/Modal';
......
......@@ -45,7 +45,7 @@ export const orderData = [
},
{
name: '月度销售报告',
type: '文件',
type: '数据服务',
version: 'v1.1',
uploadPerson: '李伟',
money: 5000,
......@@ -56,7 +56,7 @@ export const orderData = [
},
{
name: '季度运营总结',
type: '文件',
type: '数据服务',
version: 'v2.0',
uploadPerson: '孙涛',
money: 3000,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment