抖火综法
This commit is contained in:
@@ -80,6 +80,45 @@ const oderinfo = (order_id, order_type) => {
|
||||
})
|
||||
}
|
||||
|
||||
// 创建补差价订单
|
||||
const orderDiff = (order_type, order_id, price) => {
|
||||
return request({
|
||||
url : 'synthesis/diff_prices/create',
|
||||
data : {
|
||||
order_type,
|
||||
order_id,
|
||||
price
|
||||
},
|
||||
method : 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
// 补差价列表
|
||||
const orderDiffList = (order_id, order_type) => {
|
||||
return request({
|
||||
url : 'synthesis/diff_prices',
|
||||
data : {
|
||||
order_type,
|
||||
order_id,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 取消补差价
|
||||
const orderDiffCancel = (diff_price_id) => {
|
||||
return request({
|
||||
url : 'synthesis/diff_prices/' + diff_price_id,
|
||||
method : 'DELETE'
|
||||
})
|
||||
}
|
||||
|
||||
// 补差价详情
|
||||
const orderDiffInfo = (diff_price_id) => {
|
||||
return request({
|
||||
url : 'synthesis/diff_prices/' + diff_price_id,
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
servicesOrder,
|
||||
synthesisOrder,
|
||||
@@ -89,5 +128,9 @@ export {
|
||||
synthesisInfo,
|
||||
entrustInfo,
|
||||
expandInfo,
|
||||
oderinfo
|
||||
oderinfo,
|
||||
orderDiff,
|
||||
orderDiffList,
|
||||
orderDiffCancel,
|
||||
orderDiffInfo
|
||||
}
|
||||
|
||||
@@ -29,8 +29,19 @@ const sign = () => {
|
||||
})
|
||||
}
|
||||
|
||||
// 获取综法订单统计
|
||||
const synthesisCount = () => {
|
||||
return request({
|
||||
url : 'synthesis/data/orders_count',
|
||||
data : {
|
||||
channel : 'manage'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
index,
|
||||
rights,
|
||||
sign
|
||||
sign,
|
||||
synthesisCount
|
||||
}
|
||||
Reference in New Issue
Block a user