Commit 4fbc8b3e authored by 卢均锐's avatar 卢均锐

feat: 操作日志-采购-采购询价

-添加对应状态值
parent 33525e52
......@@ -2,7 +2,7 @@ import React from 'react';
import StatusTag from '@/components/StatusTag';
import { status_3, operation_3, state_external_5, state_interior_5 } from './constants'
import { status_3, operation_3, state_external_5, state_interior_5, state_external_6_1, state_interior_6_1 } from './constants'
import { formatTimeString } from '@/utils/index';
......@@ -275,7 +275,7 @@ export const columns_outer_6_1 = [
title: '状态',
dataIndex: 'state',
key: 'state',
render: (text, record) => <StatusTag title={record.stateName || state_external_5[text].text} type={state_external_5[text].type} />
render: (text, record) => <StatusTag title={record.stateName || state_external_6_1[text].text} type={state_external_6_1[text].type} />
},
{
title: '操作',
......@@ -591,7 +591,7 @@ export const columns_inner_6_1 = [
title: '状态',
dataIndex: 'state',
key: 'state',
render: (text, record) => <StatusTag title={record.stateName || state_interior_5[text].text} type={state_interior_5[text].type} />
render: (text, record) => <StatusTag title={record.stateName || state_interior_6_1[text].text} type={state_interior_6_1[text].type} />
},
{
title: '操作',
......
......@@ -28,3 +28,25 @@ export const state_interior_5 = {
6: {text: '审核不通过(一)',type: 'danger'},
7: {text: '审核不通过(二)',type: 'danger'},
}
export const state_external_6_1 = {
'-1': {text: '已作废',type: 'default'},
1: {text: '待提交采购需求单',type: 'default'},
2: {text: '待审核采购需求单',type: 'warnning'},
3: {text: '待提交报价单',type: 'default'},
4: {text: '待确认授标结果',type: 'primary'},
5: {text: '采购需求单审核不通过',type: 'danger'},
6: {text: '发起下轮报价',type: 'default'},
99: {text: '已完成',type: 'success'},
}
export const state_interior_6_1 = {
'-1': {text: '已作废',type: 'default'},
1: {text: '待提交审核采购需求单',type: 'default'},
2: {text: '待审核采购需求单(一级)',type: 'warnning'},
3: {text: '待审核采购需求单(二级)',type: 'warnning'},
4: {text: '待提交采购需求单',type: 'default'},
5: {text: '已提交审核采购需求单',type: 'primary'},
8: {text: '审核不通过(一级)',type: 'danger'},
9: {text: '审核不通过(二级)',type: 'danger'},
}
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