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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
src/utils/constants.js
src/views/purchaseOrder/index.vue
src/utils/constants.js
View file @
0693b37
...
@@ -6,6 +6,10 @@ export const defaultStatusOptions = [
...
@@ -6,6 +6,10 @@ export const defaultStatusOptions = [
},
},
{
{
id
:
2
,
id
:
2
,
label
:
'总监审核'
},
{
id
:
8
,
label
:
'商务审核'
label
:
'商务审核'
},
},
{
{
...
@@ -28,7 +32,7 @@ export const defaultStatusOptions = [
...
@@ -28,7 +32,7 @@ export const defaultStatusOptions = [
// id: 7,
// id: 7,
// label: "已驳回"
// label: "已驳回"
// }
// }
]
]
// 发货状态
// 发货状态
export
const
defaultDeliveryStatusOptions
=
[
export
const
defaultDeliveryStatusOptions
=
[
{
{
...
...
src/views/purchaseOrder/index.vue
View file @
0693b37
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<
template
slot=
"status"
slot-scope=
"scope"
>
<
template
slot=
"status"
slot-scope=
"scope"
>
<div>
<div>
<span
v-if=
"scope.scope.status"
:class=
"Spot[scope.scope.status - 1]"
></span>
<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>
<span
v-else
>
{{
scope
.
scope
.
status
|
orderStatus
}}
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
return
{
return
{
size
:
'small'
,
size
:
'small'
,
url
:
url
,
url
:
url
,
Spot
:
[
'yellowSpot'
,
'yellowSpot'
,
'ashSpot'
,
'redSpot'
,
'greenSpot'
,
'redSpot'
,
'redSpot'
],
Spot
:
[
'yellowSpot'
,
'yellowSpot'
,
'ashSpot'
,
'redSpot'
,
'greenSpot'
,
'redSpot'
,
'redSpot'
,
'yellowSpot'
,
'redSpot'
],
searchForm
:
{
searchForm
:
{
status
:
''
,
status
:
''
,
deliveryStatus
:
''
,
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