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
1162a0de
Commit
1162a0de
authored
Apr 11, 2024
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
7bbd818e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
21 deletions
+16
-21
src/views/order/ProductInfo.vue
+13
-3
src/views/order/SendOrder.vue
+2
-17
src/views/order/index.vue
+1
-1
No files found.
src/views/order/ProductInfo.vue
View file @
1162a0de
...
...
@@ -73,7 +73,7 @@
item
.
price
||
'--'
}}
</span>
</div>
<div
class=
"order-list-expand_item_info_title"
>
<div
class=
"order-list-expand_item_info_title
font-bold
"
>
<span
class=
"order-list-expand_item_label"
>
购买数:
</span>
<span
class=
"order-list-expand_item_value"
>
{{
item
.
num
||
0
}}
</span>
</div>
...
...
@@ -92,7 +92,8 @@
<div
class=
"order-list-expand_item_info_title"
>
<span
class=
"order-list-expand_item_label"
>
待质检:
</span>
<span
class=
"order-list-expand_item_value"
>
{{
(
item
.
shipmentNum
||
0
)
-
((
item
.
passNum
||
0
)
+
(
item
.
notPassNum
||
0
))
(
item
.
shipmentNum
||
0
)
-
((
item
.
passNum
||
0
)
+
(
item
.
notPassNum
||
0
))
}}
</span>
</div>
<div
class=
"order-list-expand_item_info_title"
>
...
...
@@ -107,7 +108,13 @@
item
.
notPassNum
||
0
}}
</span>
</div>
<div
class=
"order-list-expand_item_info_title"
>
<div
v-if=
"
(status === 3 || status === 4 || status === 2) &&
item.shipmentNum === 0
"
class=
"order-list-expand_item_info_title"
>
<el-button
type=
"success"
size=
"small"
...
...
@@ -134,6 +141,9 @@ defineProps({
type
:
Boolean
,
default
:
false
,
},
status
:
{
type
:
Number
,
},
})
const
downloadManuscriptBySubOrder
=
async
(
item
:
ProductList
)
=>
{
try
{
...
...
src/views/order/SendOrder.vue
View file @
1162a0de
...
...
@@ -46,7 +46,7 @@
<
script
lang=
"ts"
setup
>
import
{
val
}
from
'@/utils'
import
type
{
DetailList
,
SendOrderData
}
from
'@/types/api/order'
import
type
{
SendOrderData
}
from
'@/types/api/order'
import
type
{
PropType
}
from
'vue'
defineProps
({
...
...
@@ -62,25 +62,10 @@ const productProps = [
{
label
:
'Base SKU'
,
key
:
'baseSku'
},
{
label
:
'变体SKU'
,
key
:
'variantSku'
},
],
[
{
label
:
'生产单号'
,
key
:
'subOrderNumber'
},
],
[{
label
:
'生产单号'
,
key
:
'subOrderNumber'
}],
[
{
label
:
'生产数'
,
key
:
'productionNum'
},
{
label
:
'发货数'
,
key
:
'shipmentNum'
},
{
label
:
'未发数'
,
key
:
(
data
:
DetailList
)
=>
(
data
.
productionNum
||
0
)
-
((
data
.
shipmentNum
||
0
)
-
(
data
.
notPassNum
||
0
)),
},
{
label
:
'待质检'
,
key
:
(
data
:
DetailList
)
=>
(
data
.
shipmentNum
||
0
)
-
((
data
.
passNum
||
0
)
+
(
data
.
notPassNum
||
0
)),
},
{
label
:
'质检(通过)'
,
key
:
'passNum'
},
{
label
:
'质检(不通过)'
,
key
:
'notPassNum'
},
],
]
...
...
src/views/order/index.vue
View file @
1162a0de
...
...
@@ -122,7 +122,7 @@
class
=
"order-list-expand"
:
style
=
"{ width: `${thOrderDetailWidth + 50
}
px`
}
"
>
<
ProductInfo
:
row
=
"row"
/>
<
ProductInfo
:
row
=
"row"
:
status
=
"statusCode"
/>
<
template
v
-
if
=
"row.productList.length > 2"
>
<
div
class
=
"order-list-expand_more"
>
<
span
@
click
=
"openAll(row)"
>
...
...
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