tableData.tsx
1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { ref } from 'vue';
import { ROLE } from '../../../financeList/type.d';
import { queryNoOptions } from '/@/api/project/order';
import { useOrderInfo } from '/@/hooks/component/order';
import { useOrderStoreWithOut } from '/@/store/modules/order';
import { formatToDate } from '/@/utils/dateUtil';
// 角色
// 业务员- 查看all,编辑-利润分析,报告书
// 跟单员- 查看利润分析(单价和总金额),跟单,质检,编辑
// 质检员- 查看跟单,质检,编辑质检
const innerNoOptions = ref([]);
const projectNoOptions = ref([]);
const orderStore = useOrderStoreWithOut();
// const { productionDepartment: productionDepartmentOptions } = useOrderInfo(orderStore);
/**
* drawer面板的字段
*/
// 基本信息
export const FIELDS_BASE_INFO = [
{
field: 'packetActualRmbTotalPrice',
component: 'Select',
labelWidth: 150,
label: '包装费用实际金额¥',
rules: [{ required: true }],
},
{
field: 'orderScore',
component: 'Select',
labelWidth: 150,
label: '跟单评分',
rules: [{ required: true }],
},
];