feat(pl): 实现合同产品用证与额度结转以支持购买证和运输证全流程管理。
This commit is contained in:
1 parent
cb0344498a
commit
fb866c7fa7
104 files changed
+10187
-3833
No files matched your search
@@ -41,10 +41,9 @@ describe('mp-pl-plan-card-fields', () => {
|
||||
])
|
||||
})
|
||||
|
||||
it('cert preview keys exclude export/print and keep ready status', () => {
|
||||
it('cert preview keys exclude retired ready status', () => {
|
||||
assert.deepEqual([...MP_PLAN_CERT_CARD_PREVIEW_KEYS], [
|
||||
'deliveryTimes',
|
||||
'hazardCertReady',
|
||||
'licensePlate',
|
||||
'personnelSummary',
|
||||
'loadCustomer',
|
||||
|
||||
@@ -47,7 +47,6 @@ export function buildPlanCardExtraFlatFields(values: Record<string, string>): Mp
|
||||
/** 危化证列表卡预览键(meta 含日期/类型/公司,Tag 含跟进状态) */
|
||||
export const MP_PLAN_CERT_CARD_PREVIEW_KEYS = [
|
||||
'deliveryTimes',
|
||||
'hazardCertReady',
|
||||
'licensePlate',
|
||||
'personnelSummary',
|
||||
'loadCustomer',
|
||||
|
||||
@@ -489,6 +489,7 @@ export function getPlPlanArchiveStatusTagType(status?: string) {
|
||||
|
||||
export function getPlPlanArchiveStatusLabel(status?: string) {
|
||||
if (status === 'cancelled') return '已取消'
|
||||
if (status === 'exception') return '用证结转异常'
|
||||
if (status === 'archived') return '已归档'
|
||||
if (status === 'draft') return '已暂存'
|
||||
return '未归档'
|
||||
|
||||
@@ -595,7 +595,6 @@ export const PL_PLAN_SPAN_PROPS = new Set([
|
||||
'erpEntered',
|
||||
'planAttachments',
|
||||
'carrierName',
|
||||
'hazardCertReady',
|
||||
'loadCustomer',
|
||||
'loadAddressTime',
|
||||
'loadDibang',
|
||||
|
||||
Reference in new issue
Block a user