GWM : emergency po edit page line item not showing
This commit is contained in:
parent
2030df957d
commit
7f09e30675
@ -3293,13 +3293,21 @@ if (!empty($getlogpodtl)) {
|
|||||||
tinyMCE.get('EdittxtSpcialInstruction').setContent($('#ItemDescription' + userid).val());
|
tinyMCE.get('EdittxtSpcialInstruction').setContent($('#ItemDescription' + userid).val());
|
||||||
RequistQuantity = $('#quantity' + userid).val();
|
RequistQuantity = $('#quantity' + userid).val();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$("#EditMaterialCode").empty();
|
$("#EditMaterialCode").empty();
|
||||||
var Material = <?php echo json_encode($MaterialList, JSON_PRETTY_PRINT) ?>;
|
$("#EditMaterialCode").append($('<option></option>')
|
||||||
// For Binding Material list center for the selected Requistion Number
|
.val($('#materialCode' + userid).val())
|
||||||
|
.html($('#materialCode' + userid).val() + "-" + $('#materialName' + userid).val())
|
||||||
|
.prop('selected', true)
|
||||||
|
);
|
||||||
|
// Make the select element read-only (disable it)
|
||||||
|
$("#EditMaterialCode").prop('disabled', true);
|
||||||
|
|
||||||
// $("#EditMaterialCode").append($('<option></option>').val($('#materialCode' + userid).val()).html($('#materialCode' + userid).val() + "-" + $('#materialName' + userid).val()));
|
|
||||||
|
|
||||||
|
// For Binding Material list center for the selected Requistion Number
|
||||||
|
var Material = <?php echo json_encode($MaterialList, JSON_PRETTY_PRINT) ?>;
|
||||||
|
|
||||||
var isAdded = "0";
|
var isAdded = "0";
|
||||||
for (i = 0; i < Material.length; i++) {
|
for (i = 0; i < Material.length; i++) {
|
||||||
@ -3336,6 +3344,11 @@ if (!empty($getlogpodtl)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$("#VIEWSERVICE").on("shown.bs.modal", function(e) {
|
$("#VIEWSERVICE").on("shown.bs.modal", function(e) {
|
||||||
|
|
||||||
userid = $(e.relatedTarget).data('userid');
|
userid = $(e.relatedTarget).data('userid');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user