|
@@ -35,8 +35,48 @@
|
|
|
<label class="form-label col-2 col-sm-2 huanhang">检测产品:</label>
|
|
|
<div class="formControls col-9 col-sm-9 text-c huanhang">
|
|
|
|
|
|
- <#if (productList?size > 0)>
|
|
|
+ <table class="table table-border table-bg table-bordered" style="width: 520px;">
|
|
|
+ <thead>
|
|
|
+ <tr class="text-c">
|
|
|
+ <th style="text-align: center;" width="80">产品名称</th>
|
|
|
+ <th style="text-align: center;" width="130">产品颜色</th>
|
|
|
+ <th style="text-align: center;" width="100">产品编号</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="addProduct">
|
|
|
+ <#if (productList?size > 0)>
|
|
|
+ <#list productList as product>
|
|
|
+ <tr>
|
|
|
+
|
|
|
+ <td>
|
|
|
+ <input type="radio" id="radio-${product.productId!''}" name="productId" value="${product.productId!''}" <#if product_index == 0>checked</#if>/>${product.productName!''}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <select name="colorId${product.productId!''}" id="colorId${product.productId!''}" style="width:100%" class="my-select">
|
|
|
+ <#if (product.colorList?size > 0)>
|
|
|
+ <#list product.colorList as colorList>
|
|
|
+ <option value ="${colorList.colorId!''}">${colorList.colorName!''}</option>
|
|
|
+ </#list>
|
|
|
+ <#else>
|
|
|
+ <option value ="">暂无颜色</option>
|
|
|
+ </#if>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input class="input-text" type="text" id="maintenanceEquipmentNumber${product.productId!''}" name="maintenanceEquipmentNumber${product.productId!''}" style="width: 100%;" placeholder="机器编号" /><br>
|
|
|
+ </td>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <#--<#if (productList?size > 0)>
|
|
|
<#list productList as product>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<input type="radio" id="radio-${product.productId!''}" name="productId" value="${product.productId!''}" <#if product_index == 0>checked</#if>/>${product.productName!''}
|
|
|
<select name="colorId${product.productId!''}" id="colorId${product.productId!''}" style="width:60px" class="select">
|
|
|
<#if (product.colorList?size > 0)>
|
|
@@ -49,7 +89,7 @@
|
|
|
</select>
|
|
|
<input class="input-text" type="text" id="maintenanceEquipmentNumber${product.productId!''}" name="maintenanceEquipmentNumber${product.productId!''}" style="width: 20%;" placeholder="机器编号" /><br>
|
|
|
</#list>
|
|
|
- </#if>
|
|
|
+ </#if>-->
|
|
|
|
|
|
</div>
|
|
|
</div>
|