|
|
|
@ -38,14 +38,13 @@ |
|
|
|
|
zuofa.value = detailList[index].sum |
|
|
|
|
changePinmu(fenlei, pinmu, cailiao, detailList[index]) |
|
|
|
|
jine.value = [[${query.jine}]] |
|
|
|
|
} |
|
|
|
|
if(detailList.length===1){ |
|
|
|
|
list.innerHTML+=`<div class="input-group mt-3 order-frame fff"> |
|
|
|
|
<div class="col-3 text-right mt-auto mb-auto"> |
|
|
|
|
<img src="/icon/plus.svg" class="icon action" onclick="plus()"/> |
|
|
|
|
<img src="/icon/minus.svg" class="icon action" onclick="minus(this)"/> |
|
|
|
|
</div> |
|
|
|
|
</div>` |
|
|
|
|
if(detailList.length===1) { |
|
|
|
|
list.innerHTML += `<div class="input-group mt-3 order-frame" id="add"> |
|
|
|
|
<div class="col-3 text-right mt-auto mb-auto"> |
|
|
|
|
<img src="/icon/plus.svg" class="icon action" onclick="plus()"/> |
|
|
|
|
</div> |
|
|
|
|
</div>` |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
let item = document.getElementsByClassName('fff') |
|
|
|
@ -247,7 +246,7 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div id="list"> |
|
|
|
|
<div class="input-group mt-3 order-frame d-none" id="add"> |
|
|
|
|
<div th:if="${querydetail} eq null" class="input-group mt-3 order-frame d-none" id="add"> |
|
|
|
|
<div class="col-3 text-right mt-auto mb-auto"> |
|
|
|
|
<img src="/icon/plus.svg" class="icon action" onclick="plus()"/> |
|
|
|
|
</div> |
|
|
|
|