增加跟单员
This commit is contained in:
parent
63f493ec3d
commit
1e11697fd0
|
|
@ -242,6 +242,16 @@ const remainingRouter: AppRouteRecordRaw[] = [
|
|||
hidden: true
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'order/edit/:id(\\d+)',
|
||||
component: () => import('@/views/oms/order/createorder/index.vue'),
|
||||
name: 'SaleOrderEdit',
|
||||
meta: {
|
||||
title: '订单编辑',
|
||||
icon: 'ep:edit',
|
||||
activeMenu: '/oms/saleorder'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'order/detail/:id(\\d+)',
|
||||
component: () => import('@/views/oms/saleorder/detail/index.vue'),
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@
|
|||
@click="handleExport"
|
||||
:loading="exportLoading"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> 导出
|
||||
<Icon icon="ep:upload" class="mr-5px" /> 导出
|
||||
</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
|
@ -236,6 +236,15 @@
|
|||
/>
|
||||
<el-table-column label="操作" align="center" width="150" fixed="right">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
@click="openEdit(scope.row.id)"
|
||||
v-if="scope.row.billStatus == 'C' "
|
||||
>
|
||||
<Icon icon="ep:edit" />
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="primary"
|
||||
|
|
@ -557,16 +566,17 @@ const rejectCancel = () =>{
|
|||
}
|
||||
|
||||
|
||||
/** 订单编辑 */
|
||||
const openEdit = (id: number) => {
|
||||
push({ name: 'SaleOrderEdit', params: { id } })
|
||||
}
|
||||
|
||||
/** 查看订单详情 */
|
||||
const openDetail = (id: number) => {
|
||||
push({ name: 'SaleOrderDetail', params: { id } })
|
||||
}
|
||||
|
||||
const tableRowClassName = ({
|
||||
row,
|
||||
rowIndex,
|
||||
}: {
|
||||
const tableRowClassName = ({row, rowIndex}: {
|
||||
row: SaleOrderVO
|
||||
rowIndex: number
|
||||
}) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue