Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
a091923e
Commit
a091923e
authored
Jul 02, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 按钮调整
parent
ef98dcea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
108 additions
and
89 deletions
+108
-89
src/views/order/podUs/index.vue
+108
-89
No files found.
src/views/order/podUs/index.vue
View file @
a091923e
...
@@ -239,93 +239,16 @@
...
@@ -239,93 +239,16 @@
</ElPopover>
</ElPopover>
</ElFormItem>
</ElFormItem>
<ElFormItem>
<ElFormItem>
<span>
<ElButton
type=
"primary"
@
click=
"search"
>
查询
</ElButton>
<ElButton
type=
"primary"
@
click=
"search"
>
查询
</ElButton>
</span>
</ElFormItem>
</ElFormItem>
<ElFormItem>
<ElFormItem>
<span>
<ElButton
type=
"danger"
@
click=
"resetSearchForm"
>
清空
</ElButton>
<ElButton
type=
"danger"
@
click=
"resetSearchForm"
>
清空
</ElButton>
</ElFormItem>
</ElForm>
</div>
<div
class=
"header-filter-tab"
>
<div
class=
"tabs"
>
<div
v-for=
"item in tabsNav"
:key=
"item.status"
class=
"tabs-node"
:class=
"item.status === status ? 'tabs-node_active' : ''"
@
click=
"changeTab(item)"
>
<span
class=
"tabs-node_label"
>
{{ item.statusName }}
</span>
<span
v-if=
"item.quantity"
class=
"tabs-node_count"
:class=
"{
blue: item.quantity && item.quantity > 0,
red: item.status === 'EXCEPTION_ORDER',
}"
>
{{ item.quantity }}
</span
>
</div>
<!-- <div
v-if="item.status === 'EXCEPTION_ORDER'"
:key="item.status"
class="tabs-node"
>
<el-dropdown @command="handleExceptionCommand">
<div>
<span
class="tabs-node_label"
style="color: #000; font-weight: 500"
>
异常单
</span>
</span>
<span
</ElFormItem>
class="tabs-node_count"
<ElFormItem>
:class="{
blue: item.quantity && item.quantity > 0,
red: item.status === 'EXCEPTION_ORDER',
}"
>{{ item.quantity }}</span
>
<el-icon class="el-icon--right"><arrow-down /></el-icon>
</div>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item command="1">待分派</el-dropdown-item>
<el-dropdown-item command="2">待处理</el-dropdown-item>
<el-dropdown-item command="3">已处理</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</div> -->
</div>
</div>
<div
class=
"order-content flex-1 flex-column overflow-hidden mt-10"
>
<div
v-if=
"status === 'EXCEPTION_ORDER'"
class=
"sub-status mb-10"
>
<div
class=
"sub-status-item"
:class=
"exceptionStatus === 1 ? 'sub-active' : ''"
@
click=
"handleExceptionCommand(1)"
>
<span
class=
"sub-status-item-label"
>
待分派
</span>
</div>
<div
class=
"sub-status-item"
:class=
"exceptionStatus === 2 ? 'sub-active' : ''"
@
click=
"handleExceptionCommand(2)"
>
<span
class=
"sub-status-item-label"
>
待处理
</span>
</div>
<div
class=
"sub-status-item"
:class=
"exceptionStatus === 3 ? 'sub-active' : ''"
@
click=
"handleExceptionCommand(3)"
>
<span
class=
"sub-status-item-label"
>
待同步
</span>
</div>
</div>
<div
class=
"operation-box mb-10"
>
<span
v-if=
"status === 'PICKING'"
class=
"item"
>
<span
v-if=
"status === 'PICKING'"
class=
"item"
>
<ElButton
<ElButton
:loading=
"tifDownloadLoading"
:loading=
"tifDownloadLoading"
...
@@ -345,10 +268,14 @@
...
@@ -345,10 +268,14 @@
</ElButton>
</ElButton>
</span>
</span>
<span
v-if=
"status === 'TO_BE_CONFIRMED'"
class=
"item"
>
<span
v-if=
"status === 'TO_BE_CONFIRMED'"
class=
"item"
>
<ElButton
type=
"success"
@
click=
"confirmProduct"
>
确认生产
</ElButton>
<ElButton
type=
"success"
@
click=
"confirmProduct"
>
确认生产
</ElButton>
</span>
</span>
<span
v-if=
"status === 'EXCEPTION_ORDER'"
class=
"item"
>
<span
v-if=
"status === 'EXCEPTION_ORDER'"
class=
"item"
>
<ElButton
type=
"success"
@
click=
"updateOrder"
>
转至待确认
</ElButton>
<ElButton
type=
"success"
@
click=
"updateOrder"
>
转至待确认
</ElButton>
</span>
</span>
<span
<span
v-if=
"status === 'EXCEPTION_ORDER' && exceptionStatus === 3"
v-if=
"status === 'EXCEPTION_ORDER' && exceptionStatus === 3"
...
@@ -447,7 +374,8 @@
...
@@ -447,7 +374,8 @@
</el-button>
</el-button>
<
template
#
dropdown
>
<
template
#
dropdown
>
<ElDropdownMenu>
<ElDropdownMenu>
<ElDropdownItem
@
click=
"getOrderByIdApi('createLogisticsOrder')"
<ElDropdownItem
@
click=
"getOrderByIdApi('createLogisticsOrder')"
>
创建物流订单
</ElDropdownItem
>
创建物流订单
</ElDropdownItem
>
>
<ElDropdownItem
@
click=
"getOrderByIdApi('getTrackingNumber')"
<ElDropdownItem
@
click=
"getOrderByIdApi('getTrackingNumber')"
...
@@ -456,10 +384,12 @@
...
@@ -456,10 +384,12 @@
<ElDropdownItem
@
click=
"getOrderByIdApi('getPrintOrder')"
<ElDropdownItem
@
click=
"getOrderByIdApi('getPrintOrder')"
>
获取打印面单
</ElDropdownItem
>
获取打印面单
</ElDropdownItem
>
>
<ElDropdownItem
@
click=
"getOrderByIdApi('cancelLogisticsOrder')"
<ElDropdownItem
@
click=
"getOrderByIdApi('cancelLogisticsOrder')"
>
取消物流订单
</ElDropdownItem
>
取消物流订单
</ElDropdownItem
>
>
<ElDropdownItem
@
click=
"getOrderByIdApi('batchChangeLogistics')"
<ElDropdownItem
@
click=
"getOrderByIdApi('batchChangeLogistics')"
>
更换物流
</ElDropdownItem
>
更换物流
</ElDropdownItem
>
>
</ElDropdownMenu>
</ElDropdownMenu>
...
@@ -467,7 +397,9 @@
...
@@ -467,7 +397,9 @@
</ElDropdown>
</ElDropdown>
</span>
</span>
<span
v-if=
"status === 'STOCK_OUT'"
class=
"item"
>
<span
v-if=
"status === 'STOCK_OUT'"
class=
"item"
>
<ElButton
type=
"warning"
@
click=
"stockOutCheck"
>
补货校验
</ElButton>
<ElButton
type=
"warning"
@
click=
"stockOutCheck"
>
补货校验
</ElButton>
</span>
</span>
<span
v-if=
"status === 'STOCK_OUT'"
class=
"item"
>
<span
v-if=
"status === 'STOCK_OUT'"
class=
"item"
>
<ElButton
type=
"success"
@
click=
"toBePicking"
>
<ElButton
type=
"success"
@
click=
"toBePicking"
>
...
@@ -478,7 +410,9 @@
...
@@ -478,7 +410,9 @@
<ElButton
type=
"warning"
@
click=
"arrangeFinish"
>
排单完成
</ElButton>
<ElButton
type=
"warning"
@
click=
"arrangeFinish"
>
排单完成
</ElButton>
</span>
</span>
<span
v-if=
"status !== 'BATCH_DOWNLOAD'"
class=
"item"
>
<span
v-if=
"status !== 'BATCH_DOWNLOAD'"
class=
"item"
>
<ElButton
type=
"primary"
@
click=
"downloadMaterial"
>
下载素材
</ElButton>
<ElButton
type=
"primary"
@
click=
"downloadMaterial"
>
下载素材
</ElButton
>
</span>
</span>
<span
<span
v-if=
"
v-if=
"
...
@@ -494,6 +428,87 @@
...
@@ -494,6 +428,87 @@
刷新素材图
刷新素材图
</ElButton>
</ElButton>
</span>
</span>
</ElFormItem>
</ElForm>
</div>
<div
class=
"header-filter-tab"
>
<div
class=
"tabs"
>
<div
v-for=
"item in tabsNav"
:key=
"item.status"
class=
"tabs-node"
:class=
"item.status === status ? 'tabs-node_active' : ''"
@
click=
"changeTab(item)"
>
<span
class=
"tabs-node_label"
>
{{ item.statusName }}
</span>
<span
v-if=
"item.quantity"
class=
"tabs-node_count"
:class=
"{
blue: item.quantity && item.quantity > 0,
red: item.status === 'EXCEPTION_ORDER',
}"
>
{{ item.quantity }}
</span
>
</div>
<!-- <div
v-if="item.status === 'EXCEPTION_ORDER'"
:key="item.status"
class="tabs-node"
>
<el-dropdown @command="handleExceptionCommand">
<div>
<span
class="tabs-node_label"
style="color: #000; font-weight: 500"
>
异常单
</span>
<span
class="tabs-node_count"
:class="{
blue: item.quantity && item.quantity > 0,
red: item.status === 'EXCEPTION_ORDER',
}"
>{{ item.quantity }}</span
>
<el-icon class="el-icon--right"><arrow-down /></el-icon>
</div>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item command="1">待分派</el-dropdown-item>
<el-dropdown-item command="2">待处理</el-dropdown-item>
<el-dropdown-item command="3">已处理</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</div> -->
</div>
</div>
<div
class=
"order-content flex-1 flex-column overflow-hidden mt-10"
>
<div
v-if=
"status === 'EXCEPTION_ORDER'"
class=
"sub-status mb-10"
>
<div
class=
"sub-status-item"
:class=
"exceptionStatus === 1 ? 'sub-active' : ''"
@
click=
"handleExceptionCommand(1)"
>
<span
class=
"sub-status-item-label"
>
待分派
</span>
</div>
<div
class=
"sub-status-item"
:class=
"exceptionStatus === 2 ? 'sub-active' : ''"
@
click=
"handleExceptionCommand(2)"
>
<span
class=
"sub-status-item-label"
>
待处理
</span>
</div>
<div
class=
"sub-status-item"
:class=
"exceptionStatus === 3 ? 'sub-active' : ''"
@
click=
"handleExceptionCommand(3)"
>
<span
class=
"sub-status-item-label"
>
待同步
</span>
</div>
</div>
</div>
<div
<div
v-if=
"
v-if=
"
...
@@ -3733,6 +3748,10 @@ const replenishmentSuccess = async () => {
...
@@ -3733,6 +3748,10 @@ const replenishmentSuccess = async () => {
}
}
}
}
.
item
{
margin
-
right
:
15
px
;
}
.
tabs
{
.
tabs
{
display
:
flex
;
display
:
flex
;
align
-
items
:
center
;
align
-
items
:
center
;
...
...
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