8/19 账单-时间类型-自然/滚动
This commit is contained in:
@@ -63,8 +63,7 @@ export const billEdit = (data: { 'detailsId': string[]; 'payType': string; 'payS
|
||||
return request({
|
||||
url: '/cash/billEdit',
|
||||
method: 'post',
|
||||
data: data,
|
||||
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
@@ -76,6 +75,25 @@ export const billPrint = (data: { 'detailsIds': string[]; 'residentId': string }
|
||||
data: data
|
||||
});
|
||||
};
|
||||
// 查询所有账单总金额
|
||||
export const getAllAccount = (
|
||||
data = {}
|
||||
): AxiosPromise<{
|
||||
/** 总金额 */
|
||||
'receivableAmount': string;
|
||||
/** 总实收金额 */
|
||||
'receivedAmount': string;
|
||||
/** 总优惠金额 */
|
||||
'discountAmount': string;
|
||||
/** 未收金额 */
|
||||
'unpaidAmount': string;
|
||||
}> => {
|
||||
return request({
|
||||
url: '/cash/billAmountSummary',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
// 删除账单
|
||||
export const billDelete = (ids: string | string[]) => {
|
||||
|
||||
Reference in New Issue
Block a user