更新
This commit is contained in:
@@ -20,7 +20,7 @@ export function orderTodayRevenue() {
|
||||
return request.get({ url: '/order.order/todayRevenue' })
|
||||
}
|
||||
|
||||
// 订单统计(-1全部已支付类型合计,0退款,1挂号费,2问诊费,3药品费用,4首付,5尾款,6其他)
|
||||
// 订单统计(-1全部已支付类型合计,0退款,1~8:含全部费用与驼奶费用等)
|
||||
export function orderStats(params?: { order_type?: number; days?: number }) {
|
||||
return request.get({ url: '/order.order/orderStats', params })
|
||||
}
|
||||
@@ -80,6 +80,11 @@ export function orderExport(params: any) {
|
||||
return request.get({ url: '/order.order/export', params }, { isReturnDefaultResponse: true })
|
||||
}
|
||||
|
||||
// 拆分订单(待支付 / 付呗待审核)
|
||||
export function orderSplit(params: { id: number; amounts: number[]; order_types: number[] }) {
|
||||
return request.post({ url: '/order.order/split', params })
|
||||
}
|
||||
|
||||
// 搜索患者(从诊单表)
|
||||
export function searchPatients(params: any) {
|
||||
return request.get({ url: '/tcm.diagnosis/searchPatient', params })
|
||||
|
||||
@@ -328,7 +328,12 @@ export function prescriptionOrderWithdraw(params: { id: number }) {
|
||||
}
|
||||
|
||||
/** 业务订单物流轨迹(快递100 + 顺丰/京东官网链接) */
|
||||
export function prescriptionOrderLogisticsTrace(params: { id: number; express_company?: string }) {
|
||||
export function prescriptionOrderLogisticsTrace(params: {
|
||||
id: number
|
||||
express_company?: string
|
||||
/** 顺丰等:收件电话(建议完整 11 位,与面单一致;至少后 4 位) */
|
||||
phone_tail?: string
|
||||
}) {
|
||||
return request.get({ url: '/tcm.prescriptionOrder/logisticsTrace', params })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user