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
236e940e
Commit
236e940e
authored
Apr 08, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 操作单布局调用连词接口修改
parent
87ca4491
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
13 deletions
+23
-13
src/types/api/order/factoryOrderNew.ts
+3
-0
src/views/order/factoryOrderNew/component/CardLayout.vue
+1
-0
src/views/order/factoryOrderNew/index.vue
+19
-13
No files found.
src/types/api/order/factoryOrderNew.ts
View file @
236e940e
...
...
@@ -119,6 +119,9 @@ export interface ProductListData {
notPassNum
?:
number
payAmount
?:
number
weight
?:
number
inventory
?:
number
occupyInventory
?:
number
freezeInventory
?:
number
createTime
?:
string
updateTime
?:
string
version
?:
number
...
...
src/views/order/factoryOrderNew/component/CardLayout.vue
View file @
236e940e
...
...
@@ -303,6 +303,7 @@ const {
refresh
,
}
=
usePageList
<
operateOrderListData
>
({
initPageSize
:
props
.
initPageSize
||
100
,
initLoad
:
false
,
query
:
async
(
current
,
size
)
=>
{
const
payload
=
{
...
props
.
queryPayload
,
...
...
src/views/order/factoryOrderNew/index.vue
View file @
236e940e
...
...
@@ -278,7 +278,11 @@
style
=
"width: 150px"
>
<
ElOption
v
-
for
=
"(item, index) in ['自有物流', '工厂物流','自提']"
v
-
for
=
"(item, index) in [
'自有物流',
'工厂物流',
'自提',
]"
:
key
=
"index"
:
value
=
"index"
:
label
=
"item"
...
...
@@ -859,7 +863,7 @@ import {
CaretBottom
,
Edit
,
}
from
'@element-plus/icons-vue'
import
{
computed
,
onMounted
,
ref
}
from
'vue'
import
{
computed
,
nextTick
,
onMounted
,
ref
}
from
'vue'
import
splitDiv
from
'@/components/splitDiv/splitDiv.vue'
import
TableView
from
'@/components/TableView.vue'
import
ResultInfo
from
'@/views/order/components/ResultInfo.vue'
...
...
@@ -895,6 +899,7 @@ import {
getFactoryOrderNewOperateDetailApi
,
statusPushApi
,
}
from
'@/api/factoryOrderNew'
import
BigNumber
from
'bignumber.js'
import
{
filePath
}
from
'@/api/axios'
import
{
OrderData
}
from
'@/types/api/podMakeOrder'
import
useLodop
from
'@/utils/hooks/useLodop'
...
...
@@ -1026,7 +1031,9 @@ const refreshCurrentView = (options?: { isRefreshTree?: boolean }) => {
}
if
(
isCardLayout
.
value
)
{
cardLayoutRef
.
value
?.
clearSelection
()
nextTick
(()
=>
{
cardLayoutRef
.
value
?.
refresh
(
true
)
}
)
return
}
if
(
status
.
value
===
'PENDING_RECEIVE'
)
{
...
...
@@ -1220,7 +1227,7 @@ const baseProductColumns = [
minWidth
:
100
,
align
:
'center'
,
}
,
{
key
:
'price'
,
prop
:
'price'
,
label
:
'价格'
,
minWidth
:
100
,
align
:
'right'
}
,
{
prop
:
'price'
,
label
:
'价格'
,
minWidth
:
100
,
align
:
'right'
}
,
{
prop
:
'num'
,
label
:
'数量'
,
...
...
@@ -1234,49 +1241,48 @@ const baseProductColumns = [
align
:
'right'
,
}
,
{
key
:
'availableQuantity'
,
prop
:
'availableQuantity'
,
label
:
'可用数量'
,
minWidth
:
100
,
align
:
'right'
,
render
:
(
row
:
ProductListData
)
=>
{
const
available
=
new
BigNumber
(
row
.
inventory
??
0
)
.
minus
(
row
.
occupyInventory
??
0
)
.
minus
(
row
.
freezeInventory
??
0
)
.
toNumber
()
return
<
span
>
{
available
}
<
/span
>
}
,
}
,
{
key
:
'stockQuantity'
,
prop
:
'stockQuantity'
,
prop
:
'inventory'
,
label
:
'库存数量'
,
minWidth
:
100
,
align
:
'right'
,
}
,
{
key
:
'occupiedQuantity'
,
prop
:
'occupiedQuantity'
,
prop
:
'occupyInventory'
,
label
:
'占用数量'
,
minWidth
:
100
,
align
:
'right'
,
}
,
{
key
:
'customsNameEnglish'
,
prop
:
'customsNameEnglish'
,
label
:
'英文报关名称'
,
width
:
160
,
align
:
'center'
,
}
,
{
key
:
'customsNameChinese'
,
prop
:
'customsNameChinese'
,
label
:
'中文报关名称'
,
width
:
160
,
align
:
'center'
,
}
,
{
key
:
'customsWeight'
,
prop
:
'customsWeight'
,
label
:
'申报重量(g)'
,
width
:
100
,
align
:
'right'
,
}
,
{
key
:
'customsValue'
,
prop
:
'customsValue'
,
label
:
'申报价值($)'
,
width
:
100
,
...
...
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