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
759fd198
Commit
759fd198
authored
Jun 05, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
概览不用删除
parent
68a3f25c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
38 additions
and
33 deletions
+38
-33
src/api/order.ts
+4
-3
src/components/NavMenu.vue
+2
-1
src/router/index.ts
+8
-8
src/router/menu.ts
+5
-5
src/types/api/index.ts
+0
-13
src/types/api/order.ts
+14
-1
src/types/api/warehouse.ts
+1
-0
src/views/warehouse/issueDoc.vue
+2
-1
src/views/warehouse/receiptDoc.vue
+2
-1
No files found.
src/api/order.ts
View file @
759fd198
import
{
BasePaginationData
,
BaseRespData
,
RejectParams
}
from
'@/types/api'
import
{
BasePaginationData
,
BaseRespData
}
from
'@/types/api'
import
axios
from
'./axios'
import
{
PaymentForm
}
from
'@/types/api/index.ts'
import
{
LogListData
,
OrderData
,
...
...
@@ -11,6 +10,8 @@ import {
ShipmentOrderRes
,
Tab
,
InspectionData
,
PaymentForm
,
RejectParams
}
from
'@/types/api/order'
import
{
apiSubmitPodOrderForm
,
...
...
@@ -151,7 +152,7 @@ export function apiSetCraftData({
}:
{
id
:
number
|
undefined
craftTotalPrice
:
number
|
undefined
recNumber
:
string
|
undefined
recNumber
:
string
|
undefined
craftPriceList
:
IUpdatePrice
[]
})
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
...
...
src/components/NavMenu.vue
View file @
759fd198
...
...
@@ -86,8 +86,9 @@
>
<div
class=
"nav-tabs-node_label"
>
<span>
{{ item.title }}
</span>
<!-- 首页不可删除 -->
<el-icon
v-if=
"tabs.length > 1"
v-if=
"
item.path != '/dashboard' &&
tabs.length > 1"
class=
"el-icon-close"
@
click
.
stop=
"removeTab(item.name)"
>
...
...
src/router/index.ts
View file @
759fd198
...
...
@@ -27,7 +27,7 @@ import WarehouseManage from '@/views/warehouse/manage.vue'
import
WarehouseWarning
from
'@/views/warehouse/warning.vue'
import
WarehousePosition
from
'@/views/warehouse/position.vue'
import
receiptDoc
from
'@/views/warehouse/receiptDoc.vue'
//
import issueDoc from '@/views/warehouse/issueDoc.vue'
import
issueDoc
from
'@/views/warehouse/issueDoc.vue'
const
router
=
createRouter
({
history
:
createWebHistory
(),
routes
:
[
...
...
@@ -182,13 +182,13 @@ const router = createRouter({
},
component
:
receiptDoc
,
},
//
{
//
path: '/warehouse/issue-doc',
//
meta: {
//
title: '出库单',
//
},
//
component: issueDoc,
//
},
{
path
:
'/warehouse/issue-doc'
,
meta
:
{
title
:
'出库单'
,
},
component
:
issueDoc
,
},
{
path
:
'/warehouse/warning'
,
meta
:
{
...
...
src/router/menu.ts
View file @
759fd198
...
...
@@ -73,11 +73,11 @@ const menu: MenuItem[] = [
id
:
123
,
label
:
'入库单'
,
},
//
{
//
index: '/warehouse/issue-doc',
//
id: 124,
//
label: '出库单',
//
},
{
index
:
'/warehouse/issue-doc'
,
id
:
124
,
label
:
'出库单'
,
},
{
index
:
'/warehouse/manage'
,
...
...
src/types/api/index.ts
View file @
759fd198
...
...
@@ -35,17 +35,4 @@ export interface baseRes {
code
:
number
msg
:
string
}
export
interface
PaymentForm
{
waterList
:
string
id
?:
number
|
string
actualAmount
?:
number
|
string
payableAmount
?:
number
|
string
recNumber
?:
number
|
string
}
export
interface
RejectParams
{
id
:
number
description
?:
string
ids
?:
string
pass
?:
number
}
src/types/api/order.ts
View file @
759fd198
...
...
@@ -81,7 +81,7 @@ export interface ProductList {
subOrderNumber
?:
string
shopNumber
?:
string
material
?:
string
materialPrice
?:
number
|
null
materialPrice
?:
number
|
null
count
?:
number
baseSku
?:
string
erpSubOrderNumber
?:
string
...
...
@@ -277,3 +277,16 @@ export interface ICompareObjects {
lanshouPost
?:
string
lanshouRegion
?:
string
}
export
interface
PaymentForm
{
waterList
:
string
id
?:
number
|
string
actualAmount
?:
number
|
string
payableAmount
?:
number
|
string
recNumber
?:
number
|
string
}
export
interface
RejectParams
{
id
:
number
description
?:
string
ids
?:
string
pass
?:
number
}
src/types/api/warehouse.ts
View file @
759fd198
...
...
@@ -42,6 +42,7 @@ export interface InterWarehouseBase {
total
?:
number
totalPrice
?:
number
billStatus
?:
string
billStatusTxt
?:
string
remark
?:
string
|
null
dataVersion
?:
number
createTime
?:
string
|
null
...
...
src/views/warehouse/issueDoc.vue
View file @
759fd198
...
...
@@ -190,7 +190,7 @@
<
ElTableColumn
label
=
"单据状态"
width
=
"130"
prop
=
"billStatus"
prop
=
"billStatus
Txt
"
header
-
align
=
"center"
align
=
"center"
><
/ElTableColumn
>
...
...
@@ -1197,6 +1197,7 @@ const addDialog = async (i: number, v: InterWarehousePage | null) => {
formId
.
value
=
undefined
}
fetchLocationList
(
''
)
selectSku
.
value
=
''
newDialogVisible
.
value
=
true
}
const
getProduct
=
async
(
id
:
number
|
undefined
)
=>
{
...
...
src/views/warehouse/receiptDoc.vue
View file @
759fd198
...
...
@@ -190,7 +190,7 @@
<
ElTableColumn
label
=
"单据状态"
width
=
"130"
prop
=
"billStatus"
prop
=
"billStatus
Txt
"
header
-
align
=
"center"
align
=
"center"
><
/ElTableColumn
>
...
...
@@ -1280,6 +1280,7 @@ const addDialog = async (i: number, v: InterWarehousePage | null) => {
formId
.
value
=
undefined
}
fetchLocationList
(
''
)
selectSku
.
value
=
''
newDialogVisible
.
value
=
true
}
const
getProduct
=
async
(
id
:
number
|
undefined
)
=>
{
...
...
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