diff --git a/新账系统/public/app.css b/新账系统/public/app.css
index e3ed7c9..2de0c89 100644
--- a/新账系统/public/app.css
+++ b/新账系统/public/app.css
@@ -213,3 +213,17 @@ button.order-copy-button:focus-visible{outline:3px solid var(--gold);outline-off
.shop-settings-fields{border:0;padding:0;margin:0;min-width:0}.shop-settings h3{margin:24px 0 12px}@media(max-width:650px){.shop-settings .grid.three{grid-template-columns:1fr}.shop-settings .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 普通新单的勾选成本,金额与付款人固定,其他成本沿用原费用行。 */
.order-cost-presets{margin:18px 0 12px;padding:16px;border:1px solid #d4c39f;border-radius:8px;min-width:0;background:#fffcf5}.order-cost-presets legend{padding:0 7px;color:#6e4b17;font-size:14px;font-weight:650}.order-cost-presets>p{margin:0 0 14px}.order-cost-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.order-cost-option{display:flex;gap:10px;align-items:flex-start;margin:0;padding:13px 10px;border:1px solid #d9cbae;background:#fffdf8;border-radius:7px;cursor:pointer;min-height:106px}.order-cost-option:has(input:checked){border-color:#647b57;background:#eef3e8}.order-cost-option:has(input:disabled){opacity:.7;cursor:default}.order-cost-option>input[type=checkbox]{width:19px;height:19px;min-height:19px;margin:3px 0 0;flex:0 0 auto;accent-color:var(--green)}.order-cost-option>span{display:flex;flex-direction:column;min-width:0;gap:3px}.order-cost-option strong{font-size:14px;line-height:1.5}.order-cost-price{color:#35523a;font-size:17px;font-weight:650}.order-cost-option small{font-size:11px;line-height:1.6;font-weight:400;overflow-wrap:anywhere}.order-cost-quantity{margin:10px 0 0;font-size:12px}.order-cost-quantity input{margin:6px 0 3px;max-width:180px}.order-cost-quantity small{display:block;line-height:1.6;font-weight:400}@media(max-width:1000px){.order-cost-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.order-cost-presets{padding:12px 10px}.order-cost-options{gap:10px}.order-cost-option{padding:12px 9px;gap:8px}.order-cost-option strong{font-size:13px}.order-cost-quantity input{width:100%;max-width:none}.order-cost-presets legend{font-size:13px}}
+
+/* 置换共用来料:每件新货同级排列,收费和内部成本分别对齐。 */
+#recovery-form .recovery-new-product{min-width:0;border:1px solid var(--border);border-radius:9px;padding:18px;margin:16px 0;background:var(--white)}
+#recovery-form .recovery-new-product>.panel-title{margin-bottom:16px;min-height:32px}
+#recovery-form .recovery-new-product>.panel-title h3{margin:0}
+#recovery-form .recovery-new-product .recovery-new-fields{grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr))}
+#recovery-form .recovery-product-cost{margin-top:18px;padding:16px}
+#recovery-form .recovery-product-cost h4{margin:0 0 12px}
+#recovery-form .recovery-product-cost>.recovery-row{grid-template-columns:repeat(3,minmax(0,1fr))}
+#recovery-form .recovery-common-pricing{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
+#recovery-form .recovery-common-pricing>h3{margin:0 0 14px}
+#recovery-form .recovery-common-pricing>.recovery-row{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}
+@media(max-width:1100px){#recovery-form .recovery-new-product .recovery-new-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#recovery-form .recovery-new-product .recovery-new-fields>label:first-child{grid-column:1/-1}}
+@media(max-width:650px){#recovery-form .recovery-new-product{padding:14px;margin:14px 0}#recovery-form .recovery-product-cost{padding:12px}#recovery-form .recovery-product-cost>.recovery-row,#recovery-form .recovery-common-pricing>.recovery-row{grid-template-columns:repeat(2,minmax(0,1fr))}#recovery-form .recovery-product-cost>.recovery-row>label:last-child{grid-column:1/-1}}
diff --git a/新账系统/public/recoveries-ui.js b/新账系统/public/recoveries-ui.js
index 4da01f0..cbe31db 100644
--- a/新账系统/public/recoveries-ui.js
+++ b/新账系统/public/recoveries-ui.js
@@ -1,7 +1,7 @@
'use strict';
let recoveryListRequest=0,recoveryQuoteRequest=0,recoveryQuoteTimer=null,recoveryDetailRequest=0,recoveryDetail=null,recoveryFilters=null,recoveryFilterUser='';
const recoveryModeNames={direct:'直接回收',exchange:'置换'};
-const recoveryDraftFields=['surplus_mode','surplus_memo','old_source','deposit_id','deposit_weight','mode','date','customer','salesperson','member','old_name','incoming_weight','melted_weight','purity','old_pocket','old_stock_count','buy_rate','buy_total','new_name','new_quantity','pocket','stockCount','gold_price','labor_mode','labor_rate','depreciation_weight','depreciation_rate','charge_name','charge_amount','discount','rounding_mode','material_source','material_pool_id','material_rate','material_payer','cost_labor_mode','cost_labor_value','labor_payer','fee_note','fee_amount','fee_payer','payment_method','payment_recipient','payout_method','payer','note'];
+const recoveryDraftFields=['shared_old_notice','surplus_mode','surplus_memo','old_source','deposit_id','deposit_weight','mode','date','customer','salesperson','member','old_name','incoming_weight','melted_weight','purity','old_pocket','old_stock_count','buy_rate','buy_total','new_name','new_quantity','pocket','stockCount','gold_price','labor_mode','labor_rate','depreciation_weight','depreciation_rate','charge_name','charge_amount','discount','rounding_mode','material_source','material_pool_id','material_rate','material_payer','cost_labor_mode','cost_labor_value','labor_payer','fee_note','fee_amount','fee_payer','payment_method','payment_recipient','payout_method','payer','note'];
const recoveryText=value=>String(value??'').trim();
const recoveryDraftKey=()=>`mm-recovery-draft-${state.user.id}`;
const recoveryUser=()=>state?.user?.id||'';
@@ -31,7 +31,7 @@ function recoveryProductLaborHTML(row,{prefix=''}={}){
}
function recoveryExtraProductHTML(row,index){
const original=typeof recoveryEditEntry!=='undefined'?recoveryEditEntry?.data?.inputs?.exchange?.products?.[index+1]:null;
- return `新货 ${index+2}
${button('移除商品','recovery-remove-product','quiet',`data-index="${index}"`)}本件内部成本
${recoveryProductLaborHTML(row,{prefix:'extra_'})}置换新货 ${index+2}
${button('移除商品','recovery-remove-product','quiet',`data-index="${index}"`)}本件内部成本
${recoveryProductLaborHTML(row,{prefix:'extra_'})}
每件旧料只填写一次;补金和余料分别按本件单价计算。