iloom-flatten/.microcompact/mpp307qv/functions.Edit:6.txt

13 lines
1012 B
Plaintext

The file /home/project/src/pages/purchaser/NewPlan.tsx has been updated. Made 1 replacement.
Here's the result of running `cat -n` on a snippet of the edited file:
524→ <label className="block text-sm text-gray-600 mb-1">纱线名称/占比</label>
525→ <div className="w-full px-3 py-2 border rounded-lg bg-gray-100 text-gray-700 min-h-[42px] flex flex-wrap items-center gap-x-4">
526→ {yarns.filter(y => y.name).map((yarn, idx) => (
527→ <span key={yarn.id} className="inline-block whitespace-nowrap">
528→ {yarnTypeLabels[yarn.yarn_type || 'all']}:{yarn.name}&nbsp;&nbsp;&nbsp;占比:{(yarn.ratio * 100).toFixed(0)}%
529→ </span>
530→ ))}
531→ {!yarns.some(y => y.name) && <span className="text-gray-400">-</span>}
532→ </div>
533→ <p className="text-xs text-gray-400 mt-1">自动从原坯布产品获取</p>