Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-purchase
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0693b378
authored
Dec 29, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(采购订单): 更新订单状态显示逻辑和常量定义
修改订单状态显示逻辑,增加状态9为已驳回情况 更新订单状态常量选项,调整审核流程顺序并新增总监审核状态
1 parent
15557d85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
31 deletions
src/utils/constants.js
src/views/purchaseOrder/index.vue
src/utils/constants.js
View file @
0693b37
// 订单状态
export
const
defaultStatusOptions
=
[
{
id
:
1
,
label
:
'运营审核'
},
{
id
:
2
,
label
:
'商务审核'
},
{
id
:
3
,
label
:
'已取消'
},
{
id
:
4
,
label
:
'已驳回'
},
{
id
:
5
,
label
:
'已审核'
}
// {
// id: 6,
// label: "已审核"
// },
// {
// id: 7,
// label: "已驳回"
// }
]
{
id
:
1
,
label
:
'运营审核'
},
{
id
:
2
,
label
:
'总监审核'
},
{
id
:
8
,
label
:
'商务审核'
},
{
id
:
3
,
label
:
'已取消'
},
{
id
:
4
,
label
:
'已驳回'
},
{
id
:
5
,
label
:
'已审核'
}
// {
// id: 6,
// label: "已审核"
// },
// {
// id: 7,
// label: "已驳回"
// }
]
// 发货状态
export
const
defaultDeliveryStatusOptions
=
[
{
...
...
src/views/purchaseOrder/index.vue
View file @
0693b37
...
...
@@ -33,7 +33,7 @@
<
template
slot=
"status"
slot-scope=
"scope"
>
<div>
<span
v-if=
"scope.scope.status"
:class=
"Spot[scope.scope.status - 1]"
></span>
<span
v-if=
"scope.scope.status == 4 || scope.scope.status == 6 || scope.scope.status == 7"
>
已驳回
</span>
<span
v-if=
"scope.scope.status == 4 || scope.scope.status == 6 || scope.scope.status == 7
|| scope.scope.status == 9
"
>
已驳回
</span>
<span
v-else
>
{{
scope
.
scope
.
status
|
orderStatus
}}
</span>
</div>
</
template
>
...
...
@@ -65,7 +65,7 @@ export default {
return
{
size
:
'small'
,
url
:
url
,
Spot
:
[
'yellowSpot'
,
'yellowSpot'
,
'ashSpot'
,
'redSpot'
,
'greenSpot'
,
'redSpot'
,
'redSpot'
],
Spot
:
[
'yellowSpot'
,
'yellowSpot'
,
'ashSpot'
,
'redSpot'
,
'greenSpot'
,
'redSpot'
,
'redSpot'
,
'yellowSpot'
,
'redSpot'
],
searchForm
:
{
status
:
''
,
deliveryStatus
:
''
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment