|
@@ -294,7 +294,15 @@ function drawLine() {
|
294
|
294
|
|
295
|
295
|
var itp_fn_MAIN_COUNT = function() {
|
296
|
296
|
|
297
|
|
- const key = { brandId:fn_make_user_info.get('brandId'), storeId:fn_make_user_info.get('storeId'), spplyId:fn_make_user_info.get('spplyId') };
|
|
297
|
+ var brandId = fn_make_user_info.get('brandId');
|
|
298
|
+ var storeId = fn_make_user_info.get('storeId');
|
|
299
|
+ var spplyId = fn_make_user_info.get('spplyId');
|
|
300
|
+
|
|
301
|
+ if(brandId == '' && storeId == '' && spplyId == '') {
|
|
302
|
+ return;
|
|
303
|
+ }
|
|
304
|
+
|
|
305
|
+ const key = { brandId:brandId, storeId:storeId, spplyId:spplyId };
|
298
|
306
|
var param = $.param(key);
|
299
|
307
|
fn_ajax_call(MAIN_CHART_COUNT, param, function(result) {
|
300
|
308
|
|