123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- import request from '@/utils/request'
- /**
- * 收款列表
- */
- export function getReceiptList(query) {
- return request({
- url: '/order/organize/receipt/list',
- method: 'get',
- params: query
- })
- }
- /**
- * 收款账号列表
- */
- export function getReceiptTypeList(query) {
- return request({
- url: '/order/organize/receipt/type',
- method: 'get',
- params: query
- })
- }
- /**
- * 付款账号列表
- */
- export function getPayTypeList(query) {
- return request({
- url: '/order/organize/pay/type',
- method: 'get',
- params: query
- })
- }
- /**
- * 收款详情
- */
- export function getReceiptDetail(id) {
- return request({
- url: `/order/organize/receipt/detail/${id.orderId}/${id.shopOrderId}`,
- method: 'get'
- })
- }
- /**
- * 付款列表
- */
- export function getOrganizePayList(params) {
- return request({
- url: '/order/organize/pay/list',
- method: 'get',
- params: params
- })
- }
- /**
- * 申请付款列表
- */
- export function getPayOrderList(params) {
- return request({
- url: '/order/organize/payOrder/list',
- method: 'get',
- params: params
- })
- }
- /**
- * 付款详情
- */
- export function getPayDetails(id) {
- return request({
- url: '/order/organize/pay/form/' + id,
- method: 'get'
- })
- }
- /**
- * 付款单初始化详情
- */
- export function getApplyPays(data) {
- return request({
- url: '/order/organize/apply/pays',
- method: 'post',
- data: data
- })
- }
- /**
- * 提交付款申请
- */
- export function subPayApply(data) {
- return request({
- url: '/order/organize/pay/apply',
- method: 'post',
- data: data
- })
- }
- /**
- * 审核付款申请
- */
- export function subPayCheck(data) {
- return request({
- url: '/order/organize/pay/check',
- method: 'post',
- data: data
- })
- }
- /**
- * 取消付款
- */
- export function cancelPayApply(id) {
- return request({
- url: '/order/organize/pay/cancel/' + id,
- method: 'get'
- })
- }
- /**
- * 撤销付款
- */
- export function cancelPayBack(id) {
- return request({
- url: '/order/organize/pay/back/' + id,
- method: 'get'
- })
- }
- /**
- * 订单财富信息列表
- */
- export function organizePayInfos(params) {
- return request({
- url: '/order/organize/pay/infos',
- method: 'get',
- params: params
- })
- }
- /**
- * 订单收付款记录
- */
- export function organizeReceiptRecord(id) {
- return request({
- url: `/order/organize/receipt/record/${id}`,
- method: 'get'
- })
- }
- /**
- * 订单退款退货记录
- */
- export function organizeToRecturnRecordByOrderId(params) {
- return request({
- url: `/order/organize/toRecturnRecordByOrderId?orderId=${params.orderId}&shopOrderId=${params.shopOrderId}`,
- method: 'get'
- })
- }
- /**
- * 订单结算记录
- */
- export function organizeSettleRecord(id) {
- return request({
- url: '/order/organize/settle/record/' + id,
- method: 'get'
- })
- }
- /**
- * 子订单退付款记录
- */
- export function organizeReturnAndPay(id) {
- return request({
- url: '/order/cmReturnedPurchase/returnAndPay/' + id,
- method: 'get'
- })
- }
- /**
- * 申请分账
- */
- export function subPaySplit(data) {
- return request({
- url: '/order/organize/pay/split',
- method: 'post',
- data: data
- })
- }
- /**
- * 申请结算
- */
- export function subPaySettle(data) {
- return request({
- url: '/order/organize/pay/settle',
- method: 'post',
- data: data
- })
- }
|