|
@@ -409,11 +409,20 @@
|
|
|
<input type="hidden" class="input-produce-id" value="${product.productId}">
|
|
|
<input type="hidden" class="input-color-id" value="${color.colorId}">
|
|
|
<#assign number = ""/>
|
|
|
- <#list customerCommon.sendProdcues as sendProdcues>
|
|
|
- <#if sendProdcues.colorId == color.colorId >
|
|
|
- <#assign number = sendProdcues.sendProdcueNumber/>
|
|
|
- </#if>
|
|
|
- </#list>
|
|
|
+ <#if (customerCommon.sendProdcues?size>0)>
|
|
|
+ <#list customerCommon.sendProdcues as sendProdcues>
|
|
|
+ <#if sendProdcues.colorId == color.colorId >
|
|
|
+ <#assign number = sendProdcues.sendProdcueNumber/>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ <#else >
|
|
|
+ <#list customerCommon.closedProdcues as closedProdcues>
|
|
|
+ <#if closedProdcues.colorId == color.colorId >
|
|
|
+ <#assign number = closedProdcues.closedProdcueNumber/>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+
|
|
|
<input type="text" class="input-text input-color-number number-input" style="width: 100%;border: none;text-align: center;" value="${number}" placeholder="产品数量" id="color-1-1" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -431,11 +440,21 @@
|
|
|
<input type="hidden" class="input-produce-id" value="${fittingsInfo.productId}">
|
|
|
<input type="hidden" class="input-fittings-id" value="${fittingsInfo.fittingsId}">
|
|
|
<#assign number = ""/>
|
|
|
- <#list customerCommon.sendFittings as sendFittings>
|
|
|
- <#if sendFittings.fittingsId == fittingsInfo.fittingsId >
|
|
|
- <#assign number = sendFittings.sendFittingNumber/>
|
|
|
- </#if>
|
|
|
- </#list>
|
|
|
+
|
|
|
+ <#if (customerCommon.sendFittings?size>0)>
|
|
|
+ <#list customerCommon.sendFittings as sendFittings>
|
|
|
+ <#if sendFittings.fittingsId == fittingsInfo.fittingsId >
|
|
|
+ <#assign number = sendFittings.sendFittingNumber/>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ <#else>
|
|
|
+ <#list customerCommon.closedFittings as closedFittings>
|
|
|
+ <#if closedFittings.fittingsId == fittingsInfo.fittingsId >
|
|
|
+ <#assign number = closedFittings.closedFittingNumber/>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+
|
|
|
<input type="text" class="input-text input-fittings-number" style="width: 100%;border: none;text-align: center;" value="${number}" placeholder="配件数量" id="fittings-1-1" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -1336,10 +1355,10 @@
|
|
|
$("#processResultStatus").show();
|
|
|
$("#orderHead").show();
|
|
|
$("#order").show();
|
|
|
- $("#recipientInfo").show();
|
|
|
- $("#recipientInfoTitle").show();
|
|
|
- $("#recipientAddress").show();
|
|
|
- $("#recipientAddressText").show();
|
|
|
+ $("#recipientInfo").hide();
|
|
|
+ $("#recipientInfoTitle").hide();
|
|
|
+ $("#recipientAddress").hide();
|
|
|
+ $("#recipientAddressText").hide();
|
|
|
$("#renewedProduct").show();
|
|
|
$("#TDScollect").show();
|
|
|
$("#TDScollectShow").show();
|
|
@@ -1356,10 +1375,10 @@
|
|
|
$("#processResultStatus").show();
|
|
|
$("#orderHead").show();
|
|
|
$("#order").show();
|
|
|
- $("#recipientInfo").show();
|
|
|
- $("#recipientInfoTitle").show();
|
|
|
- $("#recipientAddress").show();
|
|
|
- $("#recipientAddressText").show();
|
|
|
+ $("#recipientInfo").hide();
|
|
|
+ $("#recipientInfoTitle").hide();
|
|
|
+ $("#recipientAddress").hide();
|
|
|
+ $("#recipientAddressText").hide();
|
|
|
$("#renewedProduct").show();
|
|
|
$("#TDScollect").show();
|
|
|
$("#TDScollectShow").show();
|