|
@@ -399,71 +399,43 @@
|
|
|
<#list product.colorList as color>
|
|
|
<tr>
|
|
|
<td width="55" style="border-left: none;text-align: center;border-top: 1px solid #ddd;">
|
|
|
- 品蓝
|
|
|
+ ${color.colorName}
|
|
|
</td>
|
|
|
<td width="45" style="border-top: 1px solid #ddd; padding: 0px;width: 25px;">
|
|
|
<input type="hidden" class="input-produce-id" value="${product.productId}">
|
|
|
<input type="hidden" class="input-color-id" value="${color.colorId}">
|
|
|
- <input type="text" class="input-text input-color-number number-input" style="width: 100%;border: none;text-align: center;" value="${color.colorId}" placeholder="产品数量" id="color-1-1" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
+ <#assign number = ""/>
|
|
|
+ <#list customerCommon.sendProdcues as sendProdcues>
|
|
|
+ <#if sendProdcues.colorId == color.colorId >
|
|
|
+ <#assign number = sendProdcues.sendProdcueNumber/>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ <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>
|
|
|
</#list>
|
|
|
- <tr>
|
|
|
- <td width="55" style="border-left: none;text-align: center;border-top: 1px solid #ddd;">
|
|
|
- 品蓝
|
|
|
- </td>
|
|
|
- <td width="45" style="border-top: 1px solid #ddd; padding: 0px;width: 25px;">
|
|
|
- <input type="hidden" class="input-produce-id" value="1">
|
|
|
- <input type="hidden" class="input-color-id" value="1">
|
|
|
- <input type="text" class="input-text input-color-number number-input" style="width: 100%;border: none;text-align: center;" value="1" placeholder="产品数量" id="color-1-1" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td width="55" style="border-left: none;text-align: center;border-top: 1px solid #ddd;">品黑</td>
|
|
|
- <td width="45" style="border-top: 1px solid #ddd; padding: 0px;width: 25px;">
|
|
|
- <input type="hidden" class="input-produce-id" value="1">
|
|
|
- <input type="hidden" class="input-color-id" value="2">
|
|
|
- <input type="text" class="input-text input-color-number number-input" style="width: 100%;border: none;text-align: center;" value="" placeholder="产品数量" id="color-1-2" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td width="55" style="border-left: none;text-align: center;border-top: 1px solid #ddd;">苹果绿</td>
|
|
|
- <td width="45" style="border-top: 1px solid #ddd; padding: 0px;width: 25px;">
|
|
|
- <input type="hidden" class="input-produce-id" value="1">
|
|
|
- <input type="hidden" class="input-color-id" value="3">
|
|
|
- <input type="text" class="input-text input-color-number number-input" style="width: 100%;border: none;text-align: center;" value="" placeholder="产品数量" id="color-1-3" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td width="55" style="border-left: none;text-align: center;border-top: 1px solid #ddd;">西瓜红</td>
|
|
|
- <td width="45" style="border-top: 1px solid #ddd; padding: 0px;width: 25px;">
|
|
|
- <input type="hidden" class="input-produce-id" value="1">
|
|
|
- <input type="hidden" class="input-color-id" value="4">
|
|
|
- <input type="text" class="input-text input-color-number number-input" style="width: 100%;border: none;text-align: center;" value="" placeholder="产品数量" id="color-1-4" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</td>
|
|
|
<td style="padding: 0px;text-align: center;">
|
|
|
<table style="height: 100%;">
|
|
|
<tbody>
|
|
|
- <tr>
|
|
|
- <td width="55" style="border-left: none;text-align: center; border-top: 1px solid #ddd;">内部配件1</td>
|
|
|
- <td width="45" style="border-top: 1px solid #ddd;padding: 0px;width: 25px;">
|
|
|
- <input type="hidden" class="input-produce-id" value="1">
|
|
|
- <input type="hidden" class="input-fittings-id" value="1">
|
|
|
- <input type="text" class="input-text input-fittings-number" style="width: 100%;border: none;text-align: center;" value="3" placeholder="配件数量" id="fittings-1-1" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td width="55" style="border-left: none;text-align: center; border-top: 1px solid #ddd;">内部配件2</td>
|
|
|
- <td width="45" style="border-top: 1px solid #ddd;padding: 0px;width: 25px;">
|
|
|
- <input type="hidden" class="input-produce-id" value="1">
|
|
|
- <input type="hidden" class="input-fittings-id" value="2">
|
|
|
- <input type="text" class="input-text input-fittings-number" style="width: 100%;border: none;text-align: center;" value="" placeholder="配件数量" id="fittings-1-2" name="" onkeyup="keyFun($(this),999)" onpaste="keyFun($(this),999)">
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
+ <#list product.fittingsList as fittingsInfo>
|
|
|
+ <tr>
|
|
|
+ <td width="55" style="border-left: none;text-align: center; border-top: 1px solid #ddd;">${fittingsInfo.fittingsName}</td>
|
|
|
+ <td width="45" style="border-top: 1px solid #ddd;padding: 0px;width: 25px;">
|
|
|
+ <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>
|
|
|
+ <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>
|
|
|
+ </#list>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</td>
|
|
@@ -480,9 +452,7 @@
|
|
|
<label class="form-label col-1 col-sm-1">TDS收集:</label>
|
|
|
<div class="formControls col-2 col-sm-2" style="position: relative;">
|
|
|
<input type="hidden" name="arrcity_3word" id="arrcity_3word" value="" />
|
|
|
- <#-- <#assign index_num = customerInfo.customerArea?index_of("-") />-->
|
|
|
- <#--${customerInfo.customerArea?substring(0,)!'0'}-->
|
|
|
- <input style="width: 190px;" placeholder="" class="input-text my-search-input" placeholder="请输入城市名称搜索" type="text" name="arrcity" id="arrcity" value="" />
|
|
|
+ <input style="width: 190px;" placeholder="" class="input-text my-search-input" placeholder="请输入城市名称搜索" type="text" name="arrcity" id="arrcity" value="${index_num}" />
|
|
|
<div id="suggest" class="ac_results"></div>
|
|
|
</div>
|
|
|
<div class="formControls col-2 col-sm-2">
|
|
@@ -539,7 +509,8 @@
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="back-product">
|
|
|
- <tr id="showOrder">
|
|
|
+
|
|
|
+ <tr id="">
|
|
|
<td style="text-align: center;" colspan="3">请选择订单之后再选择产品</td>
|
|
|
</tr>
|
|
|
</tbody>
|