폐기신청서 접수 상세화면 저장 오류 수정

main
이범준 3 weeks ago
parent 176e0732cd
commit 54824cbb52

@ -441,7 +441,11 @@
$P.productList.onAppend = (item) => { $P.productList.onAppend = (item) => {
if($P.productList._items != null && $P.productList._items.length > 0){ if($P.productList._items != null && $P.productList._items.length > 0){
$P.productList._items.forEach((it)=>{it.state = "";}); $P.productList._items.forEach((it)=>{
if(it.state == "added"){
it.state = "";
}
});
} }
if (!item) return; if (!item) return;

@ -414,7 +414,11 @@
$P.productList.onAppend = (item) => { $P.productList.onAppend = (item) => {
if($P.productList._items != null && $P.productList._items.length > 0){ if($P.productList._items != null && $P.productList._items.length > 0){
$P.productList._items.forEach((it)=>{it.state = "";}); $P.productList._items.forEach((it)=>{
if(it.state == "added"){
it.state = "";
}
});
} }
if (!item) return; if (!item) return;

Loading…
Cancel
Save