diff --git a/商家端web/订单管理/订单管理.html b/商家端web/订单管理/订单管理.html index 037beb9..a9fb41c 100644 --- a/商家端web/订单管理/订单管理.html +++ b/商家端web/订单管理/订单管理.html @@ -496,10 +496,7 @@ 市场订单配送费 调度费 包装费 - 订单支付状态 - 订单业务状态 - 订单退款状态 - 订单结算状态 + 订单状态 市场编号 市场名称 申请退款原因 @@ -521,16 +518,13 @@ 0 1 已支付 - 待备货 - 正常 - 未结算 - 0 + 1 春申菜市场 - +
@@ -539,20 +533,22 @@ + - + +
序号 订单编号 店铺名称订单状态
1 11220250719153384807045 牛牛蔬菜店待备货
- +
@@ -562,6 +558,7 @@ + @@ -574,6 +571,7 @@ + @@ -596,18 +594,64 @@ - - - - + - @@ -625,19 +669,65 @@ - - - - - + + - @@ -655,19 +745,65 @@ - - - - - + + - @@ -685,19 +821,65 @@ - - - - - + + - @@ -752,12 +934,33 @@ const nextRow = currentRow.nextElementSibling; if (nextRow && nextRow.classList.contains('expandable-row')) { - if (nextRow.style.display === 'none') { - nextRow.style.display = 'table-row'; - btn.innerHTML = '▲'; - } else { + const isVisible = nextRow.style.display !== 'none'; + + if (isVisible) { nextRow.style.display = 'none'; btn.innerHTML = '▼'; + } else { + nextRow.style.display = 'table-row'; + btn.innerHTML = '▲'; + } + } + } + + // 子表格展开功能 + function toggleSubExpand(btn) { + const currentRow = btn.closest('tr'); + const tableWrapper = currentRow.closest('.nested-table-wrapper'); + let subTable = tableWrapper.querySelector('.sub-table:not(.order-detail-header)'); + + if (subTable) { + const isVisible = subTable.style.display !== 'none'; + + if (isVisible) { + subTable.style.display = 'none'; + btn.innerHTML = '▼'; + } else { + subTable.style.display = 'table'; + btn.innerHTML = '▲'; } } }