This commit is contained in:
mayue
2022-05-18 02:48:51 +00:00
parent 8aad51ace3
commit bf4ac6a465
2 changed files with 3 additions and 3 deletions
+2
View File
@@ -85,3 +85,5 @@ $('#future').on('change', function()
}
});
$('#future').change();
+1 -3
View File
@@ -39,12 +39,10 @@
<th><?php echo $lang->productplan->title;?></th>
<td><?php echo html::input('title', $plan->title, "class='form-control' required");?></td><td></td><td></td>
</tr>
<?php if($plan->parent >= 0):?>
<tr <?php echo $plan->parent == '-1' ? "class='hidden'" : ''?>>
<th><?php echo $lang->productplan->parent;?></th>
<td><?php echo html::select('parent', array('0' => '') + $parentPlanPairs, $plan->parent, "class='form-control chosen'");?>
<td><?php echo html::select('parent', array('0' => '') + $parentPlanPairs, $plan->parent != '-1' ? $plan->parent : '', "class='form-control chosen'");?>
</tr>
<?php endif;?>
<tr>
<th><?php echo $lang->productplan->status;?></th>
<?php $disabled = $plan->parent == -1 ? "disabled='disabled'" : '' ;?>