Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jisu_gongdan_phone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglongbao
jisu_gongdan_phone
Commits
521a9f8d
Commit
521a9f8d
authored
Sep 14, 2024
by
zhanglongbao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e91c3f91
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
6 deletions
+10
-6
index.vue
src/components/widget/field/address/index.vue
+0
-1
index.vue
src/components/widget/field/order_client/index.vue
+0
-2
index.vue
src/components/widget/field/order_product/index.vue
+0
-2
hook.ts
src/view/work_order/hook.ts
+8
-0
index.vue
src/view/work_order/index.vue
+2
-1
No files found.
src/components/widget/field/address/index.vue
View file @
521a9f8d
...
...
@@ -13,7 +13,6 @@
<div
class=
"box"
>
<div
class=
"label"
>
<span
class=
"required"
v-if=
"required"
>
*
</span>
<span
class=
"title"
>
详细地址
</span>
</div>
<div
class=
"content"
>
...
...
src/components/widget/field/order_client/index.vue
View file @
521a9f8d
...
...
@@ -22,7 +22,6 @@
<div
class=
"box"
>
<div
class=
"label"
>
<span
class=
"required"
v-if=
"required"
>
*
</span>
<span
class=
"title"
>
联系人
</span>
</div>
<div
class=
"content"
>
...
...
@@ -32,7 +31,6 @@
<div
class=
"box"
>
<div
class=
"label"
>
<span
class=
"required"
v-if=
"required"
>
*
</span>
<span
class=
"title"
>
联系电话
</span>
</div>
<div
class=
"content"
>
...
...
src/components/widget/field/order_product/index.vue
View file @
521a9f8d
...
...
@@ -14,7 +14,6 @@
<div
class=
"box"
>
<div
class=
"label"
>
<span
class=
"required"
v-if=
"required"
>
*
</span>
<span
class=
"title"
>
产品编号
</span>
</div>
<div
class=
"content"
>
...
...
@@ -24,7 +23,6 @@
<div
class=
"box"
>
<div
class=
"label"
>
<span
class=
"required"
v-if=
"required"
>
*
</span>
<span
class=
"title"
>
规格型号
</span>
</div>
<div
class=
"content"
>
...
...
src/view/work_order/hook.ts
View file @
521a9f8d
...
...
@@ -12,6 +12,13 @@ import { useUserStore } from "@/store/user";
export
const
useOrderControls
=
(
callBack
=
()
=>
{})
=>
{
const
USER
=
useUserStore
();
// 显示审批的操作按钮
const
show_approval_group
=
(
order_detail
:
any
)
=>
{
return
(
order_detail
.
approve_status
==
1
||
show_reapproval_btn
(
order_detail
)
);
};
// 显示审批按钮
const
show_approval_btn
=
(
order_detail
:
any
)
=>
{
return
(
...
...
@@ -255,6 +262,7 @@ export const useOrderControls = (callBack = () => {}) => {
show_approval_btn
,
show_reapproval_btn
,
show_approval
,
show_approval_group
,
};
};
...
...
src/view/work_order/index.vue
View file @
521a9f8d
...
...
@@ -88,7 +88,7 @@
</div>
<div
class=
"controls"
>
<
template
v-if=
"
[1, 2].includes(+it.approve_status
)"
>
<
template
v-if=
"
show_approval_group(it
)"
>
<template
v-if=
"show_approval_btn(it)"
>
<span
class=
"button green text"
...
...
@@ -207,6 +207,7 @@ const {
show_approval_btn
,
show_reapproval_btn
,
show_approval
,
show_approval_group
,
}
=
useOrderControls
(
init
);
// 切换工单类型
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment