|
|
@@ -2146,7 +2146,7 @@ $(document).ready(function() {
|
|
|
$('#planTemplateForm input[name=goodsPlanContSq'+(i+1)+']').val(goodsList[i].planContSq);
|
|
|
$('#planTemplateForm input[name=goodsPlanContItemSq'+(i+1)+']').val(goodsList[i].planContItemSq);
|
|
|
|
|
|
- if (goodsList[0].dispYn == 'Y') {
|
|
|
+ if (goodsList[i].dispYn == 'Y') {
|
|
|
$('#planTemplateForm input:checkbox[name=goodsDispYn'+(i+1)+']').prop('checked', true);
|
|
|
}
|
|
|
|