应收账单功能实现
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
export const AR_BILL_STATUS = Object.freeze({
|
||||
DRAFT: 'DRAFT',
|
||||
CONFIRMED: 'CONFIRMED',
|
||||
PARTIAL_WRITTEN_OFF: 'PARTIAL_WRITTEN_OFF',
|
||||
WRITTEN_OFF: 'WRITTEN_OFF',
|
||||
VOID: 'VOID'
|
||||
})
|
||||
|
||||
export const AR_BILL_STATUS_OPTIONS = Object.freeze([
|
||||
{ label: '草稿', value: AR_BILL_STATUS.DRAFT },
|
||||
{ label: '已确认', value: AR_BILL_STATUS.CONFIRMED },
|
||||
{ label: '部分核销', value: AR_BILL_STATUS.PARTIAL_WRITTEN_OFF },
|
||||
{ label: '已核销', value: AR_BILL_STATUS.WRITTEN_OFF },
|
||||
{ label: '已作废', value: AR_BILL_STATUS.VOID }
|
||||
])
|
||||
|
||||
export const AR_BILL_STATUS_TYPES = Object.freeze({
|
||||
[AR_BILL_STATUS.DRAFT]: 'info',
|
||||
[AR_BILL_STATUS.CONFIRMED]: 'primary',
|
||||
[AR_BILL_STATUS.PARTIAL_WRITTEN_OFF]: 'warning',
|
||||
[AR_BILL_STATUS.WRITTEN_OFF]: 'success',
|
||||
[AR_BILL_STATUS.VOID]: 'danger'
|
||||
})
|
||||
Reference in New Issue
Block a user