수정반영

This commit is contained in:
NAS-Admin 2026-03-14 23:10:55 +09:00
parent 1be6a5fb73
commit 93980546dd

View file

@ -539,28 +539,27 @@
</div>
</div>
<!-- 모델 기반 공통 정보 섹션 (Read Only) -->
<!-- 모델 기반 공통 정보 섹션 (편집 가능하도록 개선) -->
<div class="bg-slate-50 p-6 rounded-[2rem] border border-slate-100 space-y-4">
<div class="flex items-center gap-2 mb-2">
<div class="w-1.5 h-1.5 rounded-full bg-slate-400"></div>
<h4 class="text-xs font-black text-slate-400 uppercase tracking-widest">Model Base Info (Read
Only)</h4>
<div class="w-1.5 h-1.5 rounded-full bg-blue-400"></div>
<h4 class="text-xs font-black text-blue-400 uppercase tracking-widest">Model Base Info (Editable)</h4>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div>
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">취득일</label>
<input type="text" :value="formData.purchase_date" readonly
class="w-full px-4 py-3 bg-slate-100 border border-slate-200 rounded-xl text-sm font-bold text-slate-500 cursor-not-allowed">
<input type="date" x-model="formData.purchase_date"
class="w-full px-4 py-3 bg-white border border-slate-200 rounded-xl text-sm font-bold text-slate-700 focus:ring-2 focus:ring-blue-500 outline-none transition-all">
</div>
<div>
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">정격입출력</label>
<input type="text" :value="formData.power_rating" readonly
class="w-full px-4 py-3 bg-slate-100 border border-slate-200 rounded-xl text-sm font-bold text-slate-500 cursor-not-allowed">
<input type="text" x-model="formData.power_rating" placeholder="예: 20V / 3.25A"
class="w-full px-4 py-3 bg-white border border-slate-200 rounded-xl text-sm font-bold text-slate-700 focus:ring-2 focus:ring-blue-500 outline-none transition-all">
</div>
<div>
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">옵션</label>
<input type="text" :value="formData.options" readonly
class="w-full px-4 py-3 bg-slate-100 border border-slate-200 rounded-xl text-sm font-bold text-slate-500 cursor-not-allowed">
<input type="text" x-model="formData.options" placeholder="예: 지문인식, 백라이트"
class="w-full px-4 py-3 bg-white border border-slate-200 rounded-xl text-sm font-bold text-slate-700 focus:ring-2 focus:ring-blue-500 outline-none transition-all">
</div>
</div>
</div>
@ -842,6 +841,7 @@
this.formData.hdd1_capacity = model.hdd1_capacity || this.formData.hdd1_capacity;
this.formData.power_rating = model.power_rating || this.formData.power_rating;
this.formData.options = model.options || this.formData.options;
this.formData.purchase_date = model.purchase_date || this.formData.purchase_date;
this.formData.manufacturer = model.manufacturer;
this.formData.product_name = model.product_name || this.formData.product_name;
this.formData.vendor = model.vendor || this.formData.vendor;