Subversion Repositories SmartDukaan

Rev

Rev 34449 | Rev 34487 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34449 Rev 34456
Line 340... Line 340...
340
        var fofoId = $(this).data('fofoid');
340
        var fofoId = $(this).data('fofoid');
341
        var brand = $(this).data('brand');
341
        var brand = $(this).data('brand');
342
 
342
 
343
        var $row = $(this).closest('tr');
343
        var $row = $(this).closest('tr');
344
 
344
 
345
        //var shortInvest = $row.find('.shortInvestment-mk').val().trim();
345
        var shortInvest = $row.find('.shortInvestment-mk').val().trim();
346
        var shortInvest = 0;
346
        //var shortInvest = 0;
347
 
347
 
348
        console.log(shortInvest)
348
        console.log(shortInvest)
349
 
349
 
350
        doGetAjaxRequestHandler(context + "/getPartnerShortageStock?brand=" + brand + "&fofoId=" + fofoId + "&shortInvest=" + shortInvest, function (response) {
350
        doGetAjaxRequestHandler(context + "/getPartnerShortageStock?brand=" + brand + "&fofoId=" + fofoId + "&shortInvest=" + shortInvest, function (response) {
351
 
351
 
Line 353... Line 353...
353
            getPartnerShortageStockDetail(fofoId, brand);
353
            getPartnerShortageStockDetail(fofoId, brand);
354
 
354
 
355
        });
355
        });
356
    });
356
    });
357
 
357
 
358
    // $(document).on('click', '.brandFocusedStockDetail', function () {
-
 
359
    //
-
 
360
    //     var fofoId = $(this).data('fofoid');
-
 
361
    //     var brand = $(this).data('brand');
-
 
362
    //
-
 
363
    //     getPartnerShortageStockDetail(fofoId, brand);
-
 
364
    //
-
 
365
    // });
-
 
366
 
358
 
367
    function getPartnerShortageStockDetail(fofoId, brand) {
359
    function getPartnerShortageStockDetail(fofoId, brand) {
368
        console.log("fdwfdw");
360
        console.log("fdwfdw");
369
        doGetAjaxRequestHandler(
361
        doGetAjaxRequestHandler(
370
                context + "/getPartnerShortageStockDetail?brand=" + brand + "&fofoId="
362
                context + "/getPartnerShortageStockDetail?brand=" + brand + "&fofoId="