import request from '@/utils/request' /** Quote trial for billing center */ export function quoteBilling(data) { return request({ url: '/price/billing/quote', method: 'post', data }) } /** Historical quote list */ export function listQuote(query) { return request({ url: '/price/billing/quote/list', method: 'get', params: query }) } /** Historical quote detail */ export function getQuote(quoteId) { return request({ url: '/price/billing/quote/' + quoteId, method: 'get' }) } /** Sync order receivable bill */ export function billOrder(data) { return request({ url: '/price/billing/bill', method: 'post', data }) } /** Receivable bill list */ export function listBill(query) { return request({ url: '/price/billing/bill/list', method: 'get', params: query }) } /** Receivable bill detail */ export function getBill(billId) { return request({ url: '/price/billing/bill/' + billId, method: 'get' }) } /** Order no options for remote search (bill list multi search) */ export function listOrderNoOptions(keyword) { return request({ url: '/price/billing/bill/orderNos', method: 'get', params: { keyword } }) } /** 运单号下拉远程搜索选项 */ export function listTrackingNoOptions(keyword) { return request({ url: '/price/billing/bill/trackingNos', method: 'get', params: { keyword } }) } /** 转单号下拉远程搜索选项 */ export function listTransferNoOptions(keyword) { return request({ url: '/price/billing/bill/transferNos', method: 'get', params: { keyword } }) }