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
40f59d70
Commit
40f59d70
authored
Mar 20, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/qinjianhui/factory_front
# Conflicts: # src/views/order/pod/index.vue
parents
4b7fcd2a
0eb970c3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
3 deletions
+30
-3
src/api/podOrder.ts
+10
-0
src/types/api/order.ts
+1
-0
src/views/order/Shipment.vue
+18
-1
src/views/order/pod/index.vue
+1
-2
No files found.
src/api/podOrder.ts
View file @
40f59d70
...
...
@@ -220,3 +220,13 @@ export function getWaitShipmentCount(
},
)
}
// 完成发货
export
function
completeDeliveryApi
(
productIdList
:
number
[],
data
:
ShipmentForm
,
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podJomallOrder/completeDelivery '
,
{
productIdList
,
...
data
},
)
}
src/types/api/order.ts
View file @
40f59d70
...
...
@@ -108,6 +108,7 @@ export interface ProductList {
factorySubOrderNumber
?:
string
podOrderId
?:
number
|
string
isProduction
?:
boolean
imageAry
?:
string
}
export
interface
MemoList
{
...
...
src/views/order/Shipment.vue
View file @
40f59d70
...
...
@@ -180,9 +180,18 @@
</div>
</div>
<div
v-if=
"currentRow"
class=
"shipment-order-detail_info"
>
<div
class=
"shipment-order-detail_info_image"
>
<div
v-if=
"!currentRow.imageAry"
class=
"shipment-order-detail_info_image"
>
<img
:src=
"currentRow.variantImage"
style=
"width: 100%"
/>
</div>
<div
v-else
class=
"shipment-order-detail_info_image-list"
>
<div
v-for=
"item in JSON.parse(currentRow.imageAry)"
:key=
"item"
class=
"shipment-order-detail_info_image-list-item"
>
<img
:src=
"item.url"
style=
"width: 100%"
/>
</div>
</div>
<div
class=
"shipment-order-detail_info_other"
>
<div
class=
"order-norm"
>
<span
class=
"order-norm-label"
style=
"margin-right: 6px"
>
...
...
@@ -446,4 +455,12 @@ const calculateTotals = (ee: OrderData) => {
font-weight
:
bold
;
}
}
.shipment-order-detail_info_image-list
{
height
:
100%
;
overflow
:
auto
;
border
:
1px
solid
#eee
;
.
shipment-order-detail_info_image-list-item
:
not
(:
last-child
)
{
border-bottom
:
1px
solid
#eee
;
}
}
</
style
>
src/views/order/pod/index.vue
View file @
40f59d70
...
...
@@ -50,7 +50,6 @@
style=
"width: 130px"
></ElInput>
</ElFormItem>
<!--
<ElFormItem
label=
"发货单号"
>
<ElInput
v-model=
"searchForm.shipmentNumber"
...
...
@@ -144,6 +143,7 @@
<
/span
>
<
span
v
-
if
=
"
status === 'TO_BE_CONFIRMED' ||
status === 'IN_PRODUCTION' ||
status === 'PART_SHIPPING'
"
...
...
@@ -989,7 +989,6 @@ const countVisible = ref(false)
const
keyCode
=
ref
(
''
)
const
cardItem
=
ref
<
PodProductList
|
CardOrderData
>
()
const
rightMenuRef
=
ref
()
const
userMarkList
=
ref
<
string
[]
>
([])
const
count
=
ref
<
number
>
(
0
)
const
rightClick
=
(
e
:
MouseEvent
,
item
:
PodProductList
|
CardOrderData
)
=>
{
cardItem
.
value
=
item
...
...
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