Authored by liuyue

非预售按钮置灰

@@ -349,6 +349,11 @@ function shelveModal(title, html) { @@ -349,6 +349,11 @@ function shelveModal(title, html) {
349 content: html 349 content: html
350 }); 350 });
351 351
  352 + if (len === 1 && g.selected[0].isAdvance === 'N') {
  353 + $('#advanceBeginTime, #advanceEndTime').prop('disabled', true);
  354 + $('#advanceBeginTime').parents('.form-group').find('.btn').addClass('disabled');
  355 + }
  356 +
352 var e = new common.edit('.shelve-form'); 357 var e = new common.edit('.shelve-form');
353 e.init(); 358 e.init();
354 359