|
@@ -97,7 +97,16 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
detail: function () {
|
|
|
- Controller.api.bindevent();
|
|
|
+ Controller.api.bindevent(
|
|
|
+ $(document).on('change', '#c-deploy_type', function () {
|
|
|
+ if($(this).val() == 1){
|
|
|
+ $('#deploy').css('display','block')
|
|
|
+ }else{
|
|
|
+ $('#deploy').css('display','none')
|
|
|
+ $('#c-deploy').val('')
|
|
|
+ }
|
|
|
+ })
|
|
|
+ );
|
|
|
},
|
|
|
coupon: function () {
|
|
|
Controller.api.bindevent();
|