[CLAUDE] PurchaseEvaluation: go field "Dieu khoan thanh toan" khoi TAT CA form phieu (UAT vong 5 - anh chot "bo not ra luon tat ca cac form")
Some checks failed
Deploy SOLUTION_ERP / build-deploy (push) Has been cancelled
Some checks failed
Deploy SOLUTION_ERP / build-deploy (push) Has been cancelled
- PeWorkspaceCreateView: bo Select preset + Textarea custom + PAYMENT_PRESETS/ PAYMENT_CUSTOM/paymentMode drop, payload paymentTerms: null. - PeHeaderForm + PeDetailTabs inline-edit: bo Textarea; state paymentTerms GIU (load tu phieu cu + save giu nguyen -> data cu KHONG mat, van hien read-only). - GIU cot "Dieu khoan TT" per-NCC trong bang so sanh (data tung NCC, khac field). - SHA256 mirror x2 app IDENTICAL, build tsc+vite x2 PASS.
This commit is contained in:
@ -13,7 +13,6 @@ import { Input } from '@/components/ui/Input'
|
||||
import { Label } from '@/components/ui/Label'
|
||||
import { SearchableSelect } from '@/components/ui/SearchableSelect'
|
||||
import { Select } from '@/components/ui/Select'
|
||||
import { Textarea } from '@/components/ui/Textarea'
|
||||
import { api } from '@/lib/api'
|
||||
import { getErrorMessage } from '@/lib/apiError'
|
||||
import { cn } from '@/lib/cn'
|
||||
@ -722,16 +721,9 @@ function InfoTab({ ev, readOnly, autoEdit }: { ev: PeDetailBundle; readOnly: boo
|
||||
placeholder="Phương án A: ..."
|
||||
/>
|
||||
</div>
|
||||
<div className="md:col-span-2">
|
||||
<Label className="text-[11px]">Điều khoản thanh toán</Label>
|
||||
{/* S59 UAT "nhập tay chỉ được 1 dòng?" → Textarea đa dòng (render đã pre-wrap). */}
|
||||
<Textarea
|
||||
rows={3}
|
||||
value={paymentTerms}
|
||||
onChange={e => setPaymentTerms(e.target.value)}
|
||||
placeholder={'Nhập điều khoản — Enter để xuống dòng'}
|
||||
/>
|
||||
</div>
|
||||
{/* S59 vòng 5: field "Điều khoản thanh toán" GỠ khỏi inline-edit (anh chốt
|
||||
"bỏ nốt ra luôn tất cả các form"). State paymentTerms giữ — save giữ nguyên
|
||||
data cũ; phiếu đã nhập vẫn hiển thị read-only ở header info. */}
|
||||
</div>
|
||||
<div className="flex items-center justify-end gap-2">
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user