|
@@ -108,8 +108,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print'], funct
|
|
|
str += "<tr class='tablestr"+i+" tablestr'><td><input class='form-control' type='text' name='row[batch][]' readonly value='"+res.bach+"'></td>";
|
|
str += "<tr class='tablestr"+i+" tablestr'><td><input class='form-control' type='text' name='row[batch][]' readonly value='"+res.bach+"'></td>";
|
|
|
str += "<td><input class='form-control' type='text' name='row[pname][]' readonly value='"+res.pname+"'></td>";
|
|
str += "<td><input class='form-control' type='text' name='row[pname][]' readonly value='"+res.pname+"'></td>";
|
|
|
str += "<td><input class='form-control' type='text' name='row[material][]' readonly value='"+res.material+"'></td>";
|
|
str += "<td><input class='form-control' type='text' name='row[material][]' readonly value='"+res.material+"'></td>";
|
|
|
- str += "<td><input class='form-control' type='number' name='row[weight][]' data-rule='required' value=''></td>";
|
|
|
|
|
- str += "<td><input class='form-control' type='text' name='row[specifications][]' value='"+ (res.specifications?res.specifications:'')+"'></td>";
|
|
|
|
|
|
|
+ // str += "<td><input class='form-control' type='number' name='row[weight][]' data-rule='required' value=''></td>";
|
|
|
|
|
+ // str += "<td><input class='form-control' type='text' name='row[specifications][]' value='"+ (res.specifications?res.specifications:'')+"'></td>";
|
|
|
str += "<td><input class='form-control' type='text' name='row[unit][]' value=''></td>";
|
|
str += "<td><input class='form-control' type='text' name='row[unit][]' value=''></td>";
|
|
|
str += "<td><input class='form-control' type='text' name='row[time][]' readonly value='"+res.time+"'></td>";
|
|
str += "<td><input class='form-control' type='text' name='row[time][]' readonly value='"+res.time+"'></td>";
|
|
|
str += "<input type='hidden' value='"+i+"'>";
|
|
str += "<input type='hidden' value='"+i+"'>";
|
|
@@ -120,8 +120,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print'], funct
|
|
|
<td>${res.pname}</td>
|
|
<td>${res.pname}</td>
|
|
|
<td>${res.material}</td>
|
|
<td>${res.material}</td>
|
|
|
<td></td>
|
|
<td></td>
|
|
|
- <td>${res.specifications}</td>
|
|
|
|
|
- <td></td>
|
|
|
|
|
|
|
+ <!--<td>${res.specifications}</td>-->
|
|
|
|
|
+ <!--<td></td>-->
|
|
|
</tr>`;
|
|
</tr>`;
|
|
|
//写入页面
|
|
//写入页面
|
|
|
$("#print_gy").append(html);
|
|
$("#print_gy").append(html);
|
|
@@ -186,8 +186,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','jQuery.print'], funct
|
|
|
var weight = $(".tablestr:eq("+i+")").children("tr td:eq(3)").children().val();
|
|
var weight = $(".tablestr:eq("+i+")").children("tr td:eq(3)").children().val();
|
|
|
var specifications = $(".tablestr:eq("+i+")").children("tr td:eq(4)").children().val();
|
|
var specifications = $(".tablestr:eq("+i+")").children("tr td:eq(4)").children().val();
|
|
|
var unit = $(".tablestr:eq("+i+")").children("tr td:eq(5)").children().val();
|
|
var unit = $(".tablestr:eq("+i+")").children("tr td:eq(5)").children().val();
|
|
|
- $(".print:eq("+i+")").children("tr td:eq(3)").html(weight);
|
|
|
|
|
- $(".print:eq("+i+")").children("tr td:eq(4)").html(specifications);
|
|
|
|
|
|
|
+ // $(".print:eq("+i+")").children("tr td:eq(3)").html(weight);
|
|
|
|
|
+ // $(".print:eq("+i+")").children("tr td:eq(4)").html(specifications);
|
|
|
$(".print:eq("+i+")").children("tr td:eq(5)").html(unit);
|
|
$(".print:eq("+i+")").children("tr td:eq(5)").html(unit);
|
|
|
}
|
|
}
|
|
|
if(!$("#c-pickor").val()){
|
|
if(!$("#c-pickor").val()){
|