修改订单复核页面
This commit is contained in:
parent
a304fe645d
commit
f174309d68
@ -14,4 +14,11 @@ export default {
|
||||
|
||||
<style>
|
||||
/*每个页面公共css */
|
||||
|
||||
/* H5/Electron 下 picker 下拉弹窗宽度与触发下拉框一致(高特异性覆盖库默认 300px),阴影调淡 */
|
||||
uni-picker .uni-picker-container .uni-picker-custom,
|
||||
.uni-picker-container .uni-picker-custom.uni-picker-custom {
|
||||
width: 260rpx !important;
|
||||
box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -69,3 +69,34 @@ export function fetchOrderDetail(id: string | number, options?: RequestOptions)
|
||||
id,
|
||||
}, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单复核-扫码搜索(order.recheckOrder.scanOrder)
|
||||
* 支持运单号 / 波次号 / 车号三种匹配模式:
|
||||
* - 运单号/波次号命中(散单)返回扁平订单列表 list_type='single'
|
||||
* - 车号命中(团单)返回嵌套波次结构 list_type='group'
|
||||
* - 运单号命中但订单无波次信息时,退回单订单详情模式(list 每项含 detail/items/expresses/logs)
|
||||
* 所有 list[] 每项均附带 items_weight 与 suggested_package_material
|
||||
*/
|
||||
export function scanReviewOrder(
|
||||
params: {
|
||||
keyword?: string
|
||||
waybill_no?: string
|
||||
waybillCode?: string
|
||||
waybill_code?: string
|
||||
wave_no?: string
|
||||
waveNo?: string
|
||||
cart_code?: string
|
||||
cartCode?: string
|
||||
} = {},
|
||||
options?: RequestOptions
|
||||
) {
|
||||
return request<ApiBody>(
|
||||
'order.recheckOrder.scanOrder',
|
||||
{
|
||||
...workerPayload,
|
||||
...params,
|
||||
},
|
||||
options
|
||||
)
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user