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
d0e2e922
Commit
d0e2e922
authored
Apr 01, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 称重分拣添加来源单号查询
parent
f262d51d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
src/api/factoryOrderNew.ts
+7
-4
src/views/order/components/WeightDialog.vue
+6
-4
No files found.
src/api/factoryOrderNew.ts
View file @
d0e2e922
...
@@ -138,13 +138,16 @@ export function cancelOrderWithReasonApi(
...
@@ -138,13 +138,16 @@ export function cancelOrderWithReasonApi(
export
function
suspendOrderApi
(
export
function
suspendOrderApi
(
ids
:
(
number
|
string
)[],
ids
:
(
number
|
string
)[],
reason
:
string
,
reason
:
string
,
needCustomerHandl
e
:
string
,
pauseTyp
e
:
string
,
)
{
)
{
return
axios
.
post
<
never
,
BaseRespData
<
void
>>
(
'factory/orderNew/suspend'
,
{
return
axios
.
post
<
never
,
BaseRespData
<
void
>>
(
'factory/podOrder/suspendOrders'
,
{
podOrderIds
:
ids
,
podOrderIds
:
ids
,
pauseReason
:
reason
,
pauseReason
:
reason
,
needCustomerHandle
,
pauseType
,
})
},
)
}
}
export
function
cancelSuspendApi
(
ids
:
(
number
|
string
)[])
{
export
function
cancelSuspendApi
(
ids
:
(
number
|
string
)[])
{
...
...
src/views/order/components/WeightDialog.vue
View file @
d0e2e922
...
@@ -207,17 +207,19 @@ const props = withDefaults(
...
@@ -207,17 +207,19 @@ const props = withDefaults(
* 提交称重时的请求体构造;默认 `{ podCnWeighingParams: rows }`,
* 提交称重时的请求体构造;默认 `{ podCnWeighingParams: rows }`,
* 若后端字段与 podCN 分叉时可单独传入。
* 若后端字段与 podCN 分叉时可单独传入。
*/
*/
buildOrderWeighingPayload
?:
(
buildOrderWeighingPayload
?:
(
rows
:
IpodCnWeighingParams
[])
=>
rows
:
IpodCnWeighingParams
[],
)
=>
|
{
|
{
podCnWeighingParams
:
{
id
?:
string
;
outWarehouseWeight
?:
string
}[]
podCnWeighingParams
:
{
id
?:
string
;
outWarehouseWeight
?:
string
}[]
}
}
|
{
|
{
podOrderWeighingParams
:
{
id
?:
string
;
outWarehouseWeight
?:
string
}[]
podOrderWeighingParams
:
{
id
?:
string
;
outWarehouseWeight
?:
string
}[]
}
}
/** 是否是新订单 */
isNewOrder
?:
boolean
}
>
(),
}
>
(),
{},
{
isNewOrder
:
false
,
},
)
)
const
resolveListByNoApi
=
()
=>
props
.
listByNoApi
??
defaultListByNoApi
const
resolveListByNoApi
=
()
=>
props
.
listByNoApi
??
defaultListByNoApi
...
...
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