mutexOrder.js 1.04 KB
Newer Older
dcy's avatar
dcy committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
// export function
import request from '@/utils/request'

export function guanlianList(params){
  return request({
    url:'order/mutual/getMutualOrderByOrderId',
    method:'post',
    data:params,
  })
};
//未加入互斥
export function getUnGuanlianOrderByOrderId(data){
  return request({
    url:'order/mutual/getUnMutualOrderByOrderId',
    method:'post',
    data:data,
  })
}
//加入互斥
export function guanlianCreate(data){
  return request({
    url:'order/mutual/create',
    method:'post',
    data:data,
  })
}
//批量加入互斥
export function ordeRcreateBatch(data){
  return request({
    url:'order/mutual/createBatch',
    method:'post',
    data:data,
  })
}
//移出互斥
export function deleteGuanlianOrderByOrderId(data){
  return request({
    url:'/order/mutual/deleteMutualOrderByOrderId',
    method:'delete',
    data:data
  })
}
// 批量移出互斥
export function deleteBatchGuanlianOrderByOrderId(data){
  return request({
    url:'/order/mutual/deleteBatchMutualOrderByOrderId',
    method:'delete',
    data:data,
  })
}