fix: outbound total_amount 改为需权限 outbound_list:total_amount,库管无此权限则隐藏总金额
This commit is contained in:
@ -170,11 +170,12 @@ const permissionMap: Record<string, string | null> = {
|
|||||||
outbound_no: null,
|
outbound_no: null,
|
||||||
outbound_time: null,
|
outbound_time: null,
|
||||||
outbound_type: null,
|
outbound_type: null,
|
||||||
total_amount: null,
|
|
||||||
consumer_name: null,
|
consumer_name: null,
|
||||||
operator_name: null,
|
operator_name: null,
|
||||||
remark: null,
|
remark: null,
|
||||||
signature_path: null,
|
signature_path: null,
|
||||||
|
// 金额列 — 需权限
|
||||||
|
total_amount: 'outbound_list:total_amount',
|
||||||
// 明细列 — 始终可见
|
// 明细列 — 始终可见
|
||||||
sku: null,
|
sku: null,
|
||||||
name: null,
|
name: null,
|
||||||
@ -183,6 +184,7 @@ const permissionMap: Record<string, string | null> = {
|
|||||||
spec_model: null,
|
spec_model: null,
|
||||||
quantity: null,
|
quantity: null,
|
||||||
batch_sn: null,
|
batch_sn: null,
|
||||||
|
// 明细金额 — 需权限
|
||||||
unit_price: 'outbound_list:unit_price',
|
unit_price: 'outbound_list:unit_price',
|
||||||
subtotal: 'outbound_list:subtotal',
|
subtotal: 'outbound_list:subtotal',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user