|
@@ -119,9 +119,16 @@
|
|
<strong>寄回产品</strong>
|
|
<strong>寄回产品</strong>
|
|
</div>
|
|
</div>
|
|
<div class="formControls col-10 col-sm-10">
|
|
<div class="formControls col-10 col-sm-10">
|
|
- <div id="noreasonBackProduct" class="update-parts"></div>
|
|
|
|
|
|
+ <div id="noreasonBackProduct" class="update-parts" style="float: left;width: 410px;margin-right: 10px;"></div>
|
|
<input type="hidden" id="closed_products" name="closed_products" />
|
|
<input type="hidden" id="closed_products" name="closed_products" />
|
|
<input type="hidden" id="closed_fittings" name="closed_fittings" />
|
|
<input type="hidden" id="closed_fittings" name="closed_fittings" />
|
|
|
|
+ <div style="float: left;">
|
|
|
|
+ <button type="button" style="cursor:pointer;height: 30px;" class="my-btn-search" onclick="showProductList();">修改产品</button>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="cl">
|
|
|
|
+ <div class="formControls col-2 col-sm-2 text-r">
|
|
</div>
|
|
</div>
|
|
<div class="formControls col-9 col-sm-9" id="produceSelect" style="padding-top: 10px;display: none;">
|
|
<div class="formControls col-9 col-sm-9" id="produceSelect" style="padding-top: 10px;display: none;">
|
|
<div>
|
|
<div>
|
|
@@ -140,10 +147,6 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="cl">
|
|
|
|
- <div class="formControls col-2 col-sm-2 text-r">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
<div class="row cl">
|
|
<div class="row cl">
|
|
<div class="formControls col-2 col-sm-2 text-r">
|
|
<div class="formControls col-2 col-sm-2 text-r">
|
|
<strong>备注信息</strong>
|
|
<strong>备注信息</strong>
|
|
@@ -282,7 +285,7 @@
|
|
//var colorName = $(this).parent().find(".input-color-name").val();
|
|
//var colorName = $(this).parent().find(".input-color-name").val();
|
|
//封装更换的所有产品
|
|
//封装更换的所有产品
|
|
color_numbers += productId + ':' + colorId + ":" + number + ",";
|
|
color_numbers += productId + ':' + colorId + ":" + number + ",";
|
|
- txt_product += '<span>'+ productName + '*' + number + '台</span>';
|
|
|
|
|
|
+ txt_product += '<span style="margin-bottom: 10px;display: inline-block;float: left;">'+ productName + '*' + number + '台</span>';
|
|
}
|
|
}
|
|
});
|
|
});
|
|
$("#addProduct").find(".input-fittings-number").each(function(){
|
|
$("#addProduct").find(".input-fittings-number").each(function(){
|
|
@@ -294,10 +297,9 @@
|
|
//var colorName = $(this).parent().find(".input-color-name").val();
|
|
//var colorName = $(this).parent().find(".input-color-name").val();
|
|
//封装更换的所有产品
|
|
//封装更换的所有产品
|
|
fittings_numbers += productId + ':' + fittingsId + ":" + number + ",";
|
|
fittings_numbers += productId + ':' + fittingsId + ":" + number + ",";
|
|
- txt_product += '<span>'+ fittingsName + '*' + number + '件</span>';
|
|
|
|
|
|
+ txt_product += '<span style="margin-bottom: 10px;display: inline-block;float: left;">'+ fittingsName + '*' + number + '件</span>';
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- txt_product += '<button type="button" style="cursor:pointer; float: right;" class="my-btn-search" onclick="showProductList();">修改产品</button>';
|
|
|
|
$('#noreasonBackProduct').html(txt_product);
|
|
$('#noreasonBackProduct').html(txt_product);
|
|
$('#closed_products').val(color_numbers);
|
|
$('#closed_products').val(color_numbers);
|
|
$('#closed_fittings').val(fittings_numbers);
|
|
$('#closed_fittings').val(fittings_numbers);
|
|
@@ -365,15 +367,14 @@
|
|
var noreasonProduct = '';
|
|
var noreasonProduct = '';
|
|
if (noreasonBack.closedProdcues != null && noreasonBack.closedProdcues.length > 0) {
|
|
if (noreasonBack.closedProdcues != null && noreasonBack.closedProdcues.length > 0) {
|
|
$.each(noreasonBack.closedProdcues,function(index,element){
|
|
$.each(noreasonBack.closedProdcues,function(index,element){
|
|
- noreasonProduct += '<span>'+ this.closedProductName + '*' + this.closedProdcueNumber + '</span>';
|
|
|
|
|
|
+ noreasonProduct += '<span style="margin-bottom: 10px;display: inline-block;float: left;">'+ this.closedProductName + '*' + this.closedProdcueNumber + '</span>';
|
|
})
|
|
})
|
|
}
|
|
}
|
|
if (noreasonBack.closedFittings != null && noreasonBack.closedFittings.length > 0) {
|
|
if (noreasonBack.closedFittings != null && noreasonBack.closedFittings.length > 0) {
|
|
$.each(noreasonBack.closedFittings,function(index,element){
|
|
$.each(noreasonBack.closedFittings,function(index,element){
|
|
- noreasonProduct += '<span>'+ this.fittingName + '*' + this.closedFittingNumber + '</span>';
|
|
|
|
|
|
+ noreasonProduct += '<span style="margin-bottom: 10px;display: inline-block;float: left;">'+ this.fittingName + '*' + this.closedFittingNumber + '</span>';
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- noreasonProduct += '<button type="button" style="cursor:pointer; float: right;" class="my-btn-search" onclick="showProductList();">修改产品</button>';
|
|
|
|
$('#noreasonBackProduct').html(noreasonProduct);
|
|
$('#noreasonBackProduct').html(noreasonProduct);
|
|
}
|
|
}
|
|
},
|
|
},
|