@@ -204,7 +204,7 @@ function formatNumber(value?: number | null, digits = 3) {
>
< template # toolbar -start > < div class = "detail-section__heading" > < div > < h2 > 装柜货物明细 < span > { { detail . items . length } } 条 < / span > < / h2 > < p > 仓库备注将随装柜完成资料下发海外仓 < / p > < / div > < / div > < / template >
< template # actions = "{ row }" >
< el-button size = "small" type = "primary" plain : aria -label = " ` 编辑 $ { row.inboundCode | | row.orderNo } 的备注 ` " @click ="emit('editRemarks', row as LoadingItem)" > < Pencil :size = "14" / > 编辑备注 < / el-button >
< el-button : class = "{ 'density-action': mode === 'preload' }" size = "small" : type = "mode === 'preload' ? undefined : ' primary' " : plain = "mode !== 'preload'" : aria -label = " ` 编辑 $ { row.inboundCode | | row.orderNo } 的备注 ` " @click ="emit('editRemarks', row as LoadingItem)" > < Pencil v-if = "mode !== 'preload'" :size= "14" / > 编辑备注 < / el-button >
< / template >
< template # unitType = "{ row }" > < el-tag size = "small" : type = "row.unitType === 'SEALED_PALLET' ? 'success' : 'info'" > { { row . unitType === 'SEALED_PALLET' ? '封托托盘' : '箱件' } } < / el-tag > < small v-if = "row.indivisible" > 整托不可拆 < / small > < / template >
< template # grossWeight = "{ row }" > { { formatNumber ( row . grossWeightKg ) } } < / template >
@@ -236,58 +236,58 @@ function formatNumber(value?: number | null, digits = 3) {
< / template >
< style scoped >
. loading - detail - content { display : grid ; min - width : 0 ; gap : 16 px ; padding : 16 px ; border : 1 px solid var ( -- cc - border ) ; border - radius : 8 px ; background : # fff ; }
. loading - detail - content { display : grid ; min - width : 0 ; gap : var ( -- admin - space - 6 , 16 px ) ; padding : var ( -- admin - space - 6 , 16 px ) ; border : 1 px solid var ( -- cc - border ) ; border - radius : 8 px ; background : var ( -- admin - surface , # fff ) ; }
. detail - layout { display : grid ; min - width : 0 ; }
. detail - overview { min - width : 0 ; }
. detail - page - header { display : grid ; grid - template - columns : auto minmax ( 0 , 1 fr ) auto ; align - items : center ; gap : 16 px ; padding : 8 px 0 12 px ; }
. detail - page - header { display : grid ; grid - template - columns : auto minmax ( 0 , 1 fr ) auto ; align - items : center ; gap : var ( -- admin - space - 6 , 16 px ) ; padding : var ( -- admin - space - 3 , 8 px ) 0 var ( -- admin - space - 5 , 12 px ) ; }
. detail - page - header -- embedded { grid - template - columns : minmax ( 0 , 1 fr ) auto ; padding - top : 0 ; }
. detail - page - header _ _back { margin - right : 2 px ; }
. detail - page - header _ _identity { min - width : 0 ; }
. detail - page - header _ _identity h1 { margin : 0 ; color : var ( -- cc - text ) ; font - size : 18 px ; line - height : 1.35 ; }
. detail - page - header _ _identity p { margin : 3 px 0 0 ; color : var ( -- cc - muted ) ; font - size : 12 px ; }
. detail - page - header _ _actions { display : flex ; align - items : center ; justify - content : flex - end ; gap : 8 px ; }
. detail - page - header _ _identity p { margin : 3 px 0 0 ; color : var ( -- cc - muted ) ; font - size : var ( -- admin - font - caption , 12 px ) ; }
. detail - page - header _ _actions { display : flex ; align - items : center ; justify - content : flex - end ; gap : var ( -- admin - space - 3 , 8 px ) ; }
. detail - page - header _ _actions : deep ( . el - button + . el - button ) { margin - left : 0 ; }
. detail - summary { display : grid ; grid - template - columns : repeat ( 4 , minmax ( 0 , 1 fr ) ) ; gap : 6 px 28 px ; padding : 10 px 0 2 px ; border - top : 1 px solid var ( -- cc - border ) ; }
. detail - summary > div { display : flex ; min - width : 0 ; min - height : 26 px ; align - items : center ; gap : 6 px ; }
. detail - summary > div > span : first - child { flex : 0 0 auto ; color : var ( -- cc - muted ) ; font - size : 12 px ; white - space : nowrap ; }
. detail - summary { display : grid ; grid - template - columns : repeat ( 4 , minmax ( 0 , 1 fr ) ) ; gap : var ( -- admin - space - 2 , 6 px ) 28 px ; padding : var ( -- admin - space - 4 , 10 px ) 0 2 px ; border - top : 1 px solid var ( -- cc - border ) ; }
. detail - summary > div { display : flex ; min - width : 0 ; min - height : 26 px ; align - items : center ; gap : var ( -- admin - space - 2 , 6 px ) ; }
. detail - summary > div > span : first - child { flex : 0 0 auto ; color : var ( -- cc - muted ) ; font - size : var ( -- admin - font - caption , 12 px ) ; white - space : nowrap ; }
. detail - summary > div > span : first - child : : after { content : ": " ; }
. detail - summary strong { min - width : 0 ; color : var ( -- cc - text ) ; font - size : 13 px ; overflow - wrap : anywhere ; }
. detail - summary strong { min - width : 0 ; color : var ( -- cc - text ) ; font - size : var ( -- admin - font - body , 13 px ) ; overflow - wrap : anywhere ; }
. detail - summary : deep ( . status - badge ) { width : fit - content ; }
. detail - summary small { color : var ( -- cc - muted ) ; font - size : 11 px ; }
. detail - summary small { color : var ( -- cc - muted ) ; font - size : var ( -- admin - font - caption , 11 px ) ; }
. detail - summary _ _wide { grid - column : auto ; }
. detail - layout : deep ( . detail - page - layout _ _content ) { display : grid ; min - width : 0 ; gap : 20 px ; }
. readiness - note { display : flex ; min - width : 0 ; align - items : center ; padding : 2 px 4 px ; color : var ( -- cc - text ) ; font - size : 12 px ; }
. readiness - note { display : flex ; min - width : 0 ; align - items : center ; padding : 2 px var ( -- admin - space - 1 , 4 px ) ; color : var ( -- cc - text ) ; font - size : var ( -- admin - font - caption , 12 px ) ; }
. readiness - note strong { flex : 0 0 auto ; color : var ( -- el - color - warning - dark - 2 ) ; }
. readiness - note span { min - width : 0 ; color : var ( -- cc - muted ) ; overflow : hidden ; text - overflow : ellipsis ; white - space : nowrap ; }
. detail - section , . history - section { min - width : 0 ; overflow : hidden ; padding : 16 px 0 0 ; border - top : 1 px solid var ( -- cc - border ) ; }
. detail - section , . history - section { min - width : 0 ; overflow : hidden ; padding : var ( -- admin - space - 6 , 16 px ) 0 0 ; border - top : 1 px solid var ( -- cc - border ) ; }
. detail - section _ _heading h2 { margin : 0 ; font - size : 15 px ; }
. detail - section _ _heading h2 span { margin - left : 6 px ; color : var ( -- cc - muted ) ; font - size : 12 px ; font - weight : 400 ; }
. detail - section _ _heading p { margin : 2 px 0 0 ; color : var ( -- cc - muted ) ; font - size : 11 px ; line - height : 1.35 ; }
. detail - section : deep ( . data - table _ _toolbar ) { min - height : 52 px ; padding : 7 px 12 px ; }
. detail - section _ _heading h2 span { margin - left : var ( -- admin - space - 2 , 6 px ) ; color : var ( -- cc - muted ) ; font - size : var ( -- admin - font - caption , 12 px ) ; font - weight : 400 ; }
. detail - section _ _heading p { margin : 2 px 0 0 ; color : var ( -- cc - muted ) ; font - size : var ( -- admin - font - caption , 11 px ) ; line - height : 1.35 ; }
. detail - section : deep ( . data - table _ _toolbar ) { min - height : 52 px ; padding : 7 px var ( -- admin - space - 5 , 12 px ) ; }
. detail - section : deep ( . el - table ) { width : 100 % ; }
. detail - section : deep ( . el - table th . el - table _ _cell ) { padding : 7 px 0 ; }
. detail - section : deep ( . el - table td . el - table _ _cell ) { padding : 6 px 0 ; }
. detail - section : deep ( . el - table td . el - table _ _cell ) { padding : var ( -- admin - space - 2 , 6 px ) 0 ; }
. detail - section : deep ( . identifier - column . cell ) { overflow : hidden ; text - overflow : ellipsis ; white - space : nowrap ; }
. detail - section small { display : block ; margin - top : 3 px ; color : var ( -- cc - muted ) ; }
. remark - cell { min - width : 0 ; line - height : 1.45 ; overflow - wrap : anywhere ; }
. history - section header { display : flex ; align - items : baseline ; gap : 10 px ; margin - bottom : 18 px ; }
. history - section h2 { margin : 0 ; font - size : 16 px ; }
. history - section header span { color : var ( -- cc - muted ) ; font - size : 12 px ; }
. preload - density { gap : 12 px ; padding : 12 px ; border - radius : 4 px ; }
. preload - density . detail - page - header { gap : 12 px ; padding : 0 0 8 px ; }
. preload - density . detail - page - header _ _identity h1 { font - size : 16 px ; overflow - wrap : anywhere ; }
. history - section header { display : flex ; align - items : baseline ; gap : var ( -- admin - space - 4 , 10 px ) ; margin - bottom : 18 px ; }
. history - section h2 { margin : 0 ; font - size : var ( -- admin - font - title , 16 px ) ; }
. history - section header span { color : var ( -- cc - muted ) ; font - size : var ( -- admin - font - caption , 12 px ) ; }
. preload - density { gap : var ( -- admin - space - 5 , 12 px ) ; padding : var ( -- admin - space - 5 , 12 px ) ; border - radius : var ( -- admin - radius , 4 px ) ; }
. preload - density . detail - page - header { gap : var ( -- admin - space - 5 , 12 px ) ; padding : 0 0 var ( -- admin - space - 3 , 8 px ) ; }
. preload - density . detail - page - header _ _identity h1 { font - size : var ( -- admin - font - title , 16 px ) ; overflow - wrap : anywhere ; }
. preload - density . detail - page - header _ _actions { flex - wrap : wrap ; }
. preload - density . detail - summary { gap : 0 ; padding : 0 ; border - left : 1 px solid var ( -- cc - border ) ; }
. preload - density . detail - summary > div { gap : 0 ; align - items : stretch ; min - height : 36 px ; border - bottom : 1 px solid var ( -- cc - border ) ; border - right : 1 px solid var ( -- cc - border ) ; }
. preload - density . detail - summary > div > span : first - child { display : flex ; align - items : center ; flex : 0 0 96 px ; padding : 6 px 8 px ; background : # f8fafc ; }
. preload - density . detail - summary > div { gap : 0 ; align - items : stretch ; min - height : var ( -- admin - row - height , 36 px ) ; border - bottom : 1 px solid var ( -- cc - border ) ; border - right : 1 px solid var ( -- cc - border ) ; }
. preload - density . detail - summary > div > span : first - child { display : flex ; align - items : center ; flex : 0 0 96 px ; padding : var ( -- admin - space - 2 , 6 px ) var ( -- admin - space - 3 , 8 px ) ; background : var ( -- admin - label - bg , # f8fafc ) ; }
. preload - density . detail - summary > div > span : first - child : : after { content : none ; }
. preload - density . detail - summary strong , . preload - density . detail - summary : deep ( . status - badge ) { align - self : center ; margin : 6 px 8 px ; font - weight : 400 ; }
. preload - density . detail - summary strong , . preload - density . detail - summary : deep ( . status - badge ) { align - self : center ; margin : var ( -- admin - space - 2 , 6 px ) var ( -- admin - space - 3 , 8 px ) ; font - weight : 400 ; }
. preload - density . detail - summary _ _wide { grid - column : span 2 ; }
. preload - density . detail - layout : deep ( . detail - page - layout _ _content ) { gap : 12 px ; }
. preload - density . detail - section , . preload - density . history - section { padding - top : 8 px ; }
. preload - density . detail - section _ _heading h2 , . preload - density . history - section h2 { font - size : 14 px ; }
. preload - density . history - section header { margin - bottom : 8 px ; }
. preload - density . detail - section _ _heading p , . preload - density small { font - size : 12 px ; }
. preload - density . detail - layout : deep ( . detail - page - layout _ _content ) { gap : var ( -- admin - space - 5 , 12 px ) ; }
. preload - density . detail - section , . preload - density . history - section { padding - top : var ( -- admin - space - 3 , 8 px ) ; }
. preload - density . detail - section _ _heading h2 , . preload - density . history - section h2 { font - size : var ( -- admin - font - section , 14 px ) ; }
. preload - density . history - section header { margin - bottom : var ( -- admin - space - 3 , 8 px ) ; }
. preload - density . detail - section _ _heading p , . preload - density small { font - size : var ( -- admin - font - caption , 12 px ) ; }
. preload - density . readiness - note { align - items : baseline ; }
. preload - density . readiness - note span { white - space : normal ; overflow : visible ; overflow - wrap : anywhere ; }
@ media ( max - width : 720 px ) { . preload - density . detail - summary { grid - template - columns : 1 fr ; } . preload - density . detail - summary _ _wide { grid - column : auto ; } }