수정반영
This commit is contained in:
parent
1be6a5fb73
commit
93980546dd
1 changed files with 10 additions and 10 deletions
20
laptops.php
20
laptops.php
|
|
@ -539,28 +539,27 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 모델 기반 공통 정보 섹션 (Read Only) -->
|
<!-- 모델 기반 공통 정보 섹션 (편집 가능하도록 개선) -->
|
||||||
<div class="bg-slate-50 p-6 rounded-[2rem] border border-slate-100 space-y-4">
|
<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="flex items-center gap-2 mb-2">
|
||||||
<div class="w-1.5 h-1.5 rounded-full bg-slate-400"></div>
|
<div class="w-1.5 h-1.5 rounded-full bg-blue-400"></div>
|
||||||
<h4 class="text-xs font-black text-slate-400 uppercase tracking-widest">Model Base Info (Read
|
<h4 class="text-xs font-black text-blue-400 uppercase tracking-widest">Model Base Info (Editable)</h4>
|
||||||
Only)</h4>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
||||||
<div>
|
<div>
|
||||||
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">취득일</label>
|
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">취득일</label>
|
||||||
<input type="text" :value="formData.purchase_date" readonly
|
<input type="date" x-model="formData.purchase_date"
|
||||||
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">
|
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>
|
<div>
|
||||||
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">정격입출력</label>
|
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">정격입출력</label>
|
||||||
<input type="text" :value="formData.power_rating" readonly
|
<input type="text" x-model="formData.power_rating" placeholder="예: 20V / 3.25A"
|
||||||
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">
|
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>
|
<div>
|
||||||
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">옵션</label>
|
<label class="block text-[10px] font-black text-slate-400 uppercase mb-2 ml-1">옵션</label>
|
||||||
<input type="text" :value="formData.options" readonly
|
<input type="text" x-model="formData.options" placeholder="예: 지문인식, 백라이트"
|
||||||
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">
|
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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -842,6 +841,7 @@
|
||||||
this.formData.hdd1_capacity = model.hdd1_capacity || this.formData.hdd1_capacity;
|
this.formData.hdd1_capacity = model.hdd1_capacity || this.formData.hdd1_capacity;
|
||||||
this.formData.power_rating = model.power_rating || this.formData.power_rating;
|
this.formData.power_rating = model.power_rating || this.formData.power_rating;
|
||||||
this.formData.options = model.options || this.formData.options;
|
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.manufacturer = model.manufacturer;
|
||||||
this.formData.product_name = model.product_name || this.formData.product_name;
|
this.formData.product_name = model.product_name || this.formData.product_name;
|
||||||
this.formData.vendor = model.vendor || this.formData.vendor;
|
this.formData.vendor = model.vendor || this.formData.vendor;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue