Showing
9 changed files
with
175 additions
and
142 deletions
@@ -21,7 +21,7 @@ var ENUM = { | @@ -21,7 +21,7 @@ var ENUM = { | ||
21 | status: {0: '待审核', 1: '审核通过', 2: '驳回', '-1': '过期', 3: '作废'},//全部 | 21 | status: {0: '待审核', 1: '审核通过', 2: '驳回', '-1': '过期', 3: '作废'},//全部 |
22 | tips: {"0": 0, "1": 0, "2": 0, "3": 0, "4": 0, "all": 0} | 22 | tips: {"0": 0, "1": 0, "2": 0, "3": 0, "4": 0, "all": 0} |
23 | }; | 23 | }; |
24 | - | 24 | +var columnname="all"; |
25 | var couponIds = {}; | 25 | var couponIds = {}; |
26 | /** | 26 | /** |
27 | * 初始化下拉框 | 27 | * 初始化下拉框 |
@@ -29,9 +29,8 @@ var couponIds = {}; | @@ -29,9 +29,8 @@ var couponIds = {}; | ||
29 | new common.dropDown({el: '#filter-dep'}); | 29 | new common.dropDown({el: '#filter-dep'}); |
30 | common.util.__ajax({ | 30 | common.util.__ajax({ |
31 | url: "/coupon/queryList",//获取所有优惠券ID | 31 | url: "/coupon/queryList",//获取所有优惠券ID |
32 | - data: {} | 32 | + data: {size:1000} |
33 | }, function (res) { | 33 | }, function (res) { |
34 | - //console.log("res",res); | ||
35 | $("#couponsIds").html(common.util.__template2($("#search-coupon").html(), res)); | 34 | $("#couponsIds").html(common.util.__template2($("#search-coupon").html(), res)); |
36 | new common.dropDown({el: "#choose-coupon"}); | 35 | new common.dropDown({el: "#choose-coupon"}); |
37 | couponIds = res.data; | 36 | couponIds = res.data; |
@@ -43,7 +42,30 @@ common.util.__ajax({ | @@ -43,7 +42,30 @@ common.util.__ajax({ | ||
43 | var t = new common.tab({ | 42 | var t = new common.tab({ |
44 | el: "#basicTab", | 43 | el: "#basicTab", |
45 | click: function () { | 44 | click: function () { |
46 | - g.reload(1); | 45 | + columnname = $(this).find('a').attr('columnname'); |
46 | + g.options.columns[6].hidden = true; | ||
47 | + g.options.columns[7].hidden = true; | ||
48 | + switch (columnname){ | ||
49 | + case "1":{ | ||
50 | + g.options.columns[8].hidden = true; | ||
51 | + } | ||
52 | + break; | ||
53 | + case "2":{ | ||
54 | + g.options.columns[6].hidden = false; | ||
55 | + g.options.columns[8].hidden = true; | ||
56 | + } | ||
57 | + break; | ||
58 | + case "3":{ | ||
59 | + g.options.columns[7].hidden = false; | ||
60 | + g.options.columns[8].hidden = true; | ||
61 | + } | ||
62 | + break; | ||
63 | + case "all":{ | ||
64 | + g.options.columns[8].hidden = false; | ||
65 | + } | ||
66 | + break; | ||
67 | + } | ||
68 | + g.init("/coupon/queryCouponList"); | ||
47 | }, | 69 | }, |
48 | columns: [ | 70 | columns: [ |
49 | {name: "all", display: "全部"}, | 71 | {name: "all", display: "全部"}, |
@@ -54,63 +76,6 @@ var t = new common.tab({ | @@ -54,63 +76,6 @@ var t = new common.tab({ | ||
54 | {name: "-1", display: "已过期"} | 76 | {name: "-1", display: "已过期"} |
55 | ] | 77 | ] |
56 | }).init(ENUM.tips); | 78 | }).init(ENUM.tips); |
57 | -var activeTip= t.active; | ||
58 | -/** | ||
59 | - * 通用方法 | ||
60 | - * @type {{getTime: Function, toast: Function, toastInfo: Function}} | ||
61 | - */ | ||
62 | -var Bll = { | ||
63 | - getTime: function (time) { | ||
64 | - var t = new Date(time * 1000); | ||
65 | - return common.util.__dateFormat(t, "yyyy-MM-dd hh:mm:ss"); | ||
66 | - }, | ||
67 | - toast: function (content, url,data) { | ||
68 | - common.dialog.confirm("温馨提示", content, function () { | ||
69 | - common.util.__ajax({ | ||
70 | - url:url, | ||
71 | - data:data() | ||
72 | - }, function () { | ||
73 | - g.reload(); | ||
74 | - }); | ||
75 | - }); | ||
76 | - }, | ||
77 | - toastPass: function (content, url,data) { | ||
78 | - common.dialog.confirm("温馨提示", content, function () { | ||
79 | - common.util.__ajax({ | ||
80 | - url:url, | ||
81 | - data:data | ||
82 | - }, function () { | ||
83 | - g.reload(); | ||
84 | - }); | ||
85 | - }); | ||
86 | - }, | ||
87 | - toastInfo: function (item, hint) { | ||
88 | - common.dialog({ | ||
89 | - title: hint, | ||
90 | - content: common.util.__template2($("#templateInfo").html(), item), | ||
91 | - width: "60%", | ||
92 | - button: [{ | ||
93 | - value: '取消' | ||
94 | - } | ||
95 | - | ||
96 | - ] | ||
97 | - }) | ||
98 | - }, | ||
99 | - getButtons: function (index, id, array) { | ||
100 | - var btns = []; | ||
101 | - var buttons = [ | ||
102 | - '<a class="btn btn-warning btn-xs apply-back" data-index="' + index + '" >驳回</a>', | ||
103 | - '<a class="btn btn-primary btn-xs apply-success" data-index="' + index + '" >通过</a>', | ||
104 | - '<a data-index="' + index + '" class="btn btn-info btn-xs coupon-info">查看详情</a>', | ||
105 | - '<a data-index="' + index + '"class="btn btn-info btn-xs apply-modify" href="/market/couponList/update/'+id +'">修改</a>', | ||
106 | - '<a class="btn btn-danger btn-xs apply-cancel" data-index="' + index + '" >作废</a>' | ||
107 | - ]; | ||
108 | - for (var i = 0; i < array.length; i++) { | ||
109 | - btns.push(buttons[array[i]]) | ||
110 | - } | ||
111 | - return btns; | ||
112 | - } | ||
113 | -}; | ||
114 | /** | 79 | /** |
115 | * 列表 | 80 | * 列表 |
116 | * @type {common.grid} | 81 | * @type {common.grid} |
@@ -118,7 +83,6 @@ var Bll = { | @@ -118,7 +83,6 @@ var Bll = { | ||
118 | var g = new common.grid({ | 83 | var g = new common.grid({ |
119 | el: '#basicTable', | 84 | el: '#basicTable', |
120 | parms: function () { | 85 | parms: function () { |
121 | - | ||
122 | return { | 86 | return { |
123 | couponId: common.util.__input("choose-coupon"), | 87 | couponId: common.util.__input("choose-coupon"), |
124 | couponName: common.util.__input("filter-couponName"), | 88 | couponName: common.util.__input("filter-couponName"), |
@@ -159,8 +123,14 @@ var g = new common.grid({ | @@ -159,8 +123,14 @@ var g = new common.grid({ | ||
159 | }, | 123 | }, |
160 | {display: "优惠券说明", name: "explains"}, | 124 | {display: "优惠券说明", name: "explains"}, |
161 | {display: "申请人", name: "proposer"}, | 125 | {display: "申请人", name: "proposer"}, |
126 | + {display:"驳回理由",hidden:true,name:"rejectReason",render:function(item){ | ||
127 | + return "<p style='color: red'>"+item.rejectReason+"</p>" | ||
128 | + }}, | ||
129 | + {display:"作废理由",hidden:true,name:"invalidReason",render:function(item){ | ||
130 | + return "<p style='color: red'>"+item.invalidReason+"</p>" | ||
131 | + }}, | ||
162 | { | 132 | { |
163 | - display: '状态', render: function (item) { | 133 | + display: '状态',render: function (item) { |
164 | var html = ENUM.status[item.status] || '全部'; | 134 | var html = ENUM.status[item.status] || '全部'; |
165 | if (item.reason) { | 135 | if (item.reason) { |
166 | if (item.status == 2 || item.status == 4) { | 136 | if (item.status == 2 || item.status == 4) { |
@@ -181,6 +151,64 @@ var g = new common.grid({ | @@ -181,6 +151,64 @@ var g = new common.grid({ | ||
181 | }); | 151 | }); |
182 | g.init("/coupon/queryCouponList"); | 152 | g.init("/coupon/queryCouponList"); |
183 | /** | 153 | /** |
154 | + * 通用方法 | ||
155 | + * @type {{getTime: Function, toast: Function, toastInfo: Function}} | ||
156 | + */ | ||
157 | +var Bll = { | ||
158 | + getTime: function (time) { | ||
159 | + var t = new Date(time * 1000); | ||
160 | + return common.util.__dateFormat(t, "yyyy-MM-dd hh:mm:ss"); | ||
161 | + }, | ||
162 | + toast: function (content, url,data) { | ||
163 | + common.dialog.confirm("温馨提示", content, function () { | ||
164 | + common.util.__ajax({ | ||
165 | + url:url, | ||
166 | + data:data() | ||
167 | + }, function () { | ||
168 | + g.reload(); | ||
169 | + }); | ||
170 | + }); | ||
171 | + }, | ||
172 | + toastPass: function (content, url,data) { | ||
173 | + common.dialog.confirm("温馨提示", content, function () { | ||
174 | + common.util.__ajax({ | ||
175 | + url:url, | ||
176 | + data:data | ||
177 | + }, function () { | ||
178 | + g.reload(); | ||
179 | + }); | ||
180 | + }); | ||
181 | + }, | ||
182 | + toastInfo: function (item, hint) { | ||
183 | + common.dialog({ | ||
184 | + title: hint, | ||
185 | + content: common.util.__template2($("#templateInfo").html(), item), | ||
186 | + width: "60%", | ||
187 | + button: [{ | ||
188 | + value: '取消', | ||
189 | + css:"btn btn-primary" | ||
190 | + } | ||
191 | + | ||
192 | + ] | ||
193 | + }) | ||
194 | + }, | ||
195 | + getButtons: function (index, id, array) { | ||
196 | + var btns = []; | ||
197 | + var buttons = [ | ||
198 | + '<a class="btn btn-warning btn-xs apply-back" data-index="' + index + '" >驳回</a>', | ||
199 | + '<a class="btn btn-primary btn-xs apply-success" data-index="' + index + '" >通过</a>', | ||
200 | + '<a data-index="' + index + '" class="btn btn-info btn-xs coupon-info">查看详情</a>', | ||
201 | + '<a data-index="' + index + '"class="btn btn-info btn-xs apply-modify" href="/market/couponList/update/'+id +'">修改</a>', | ||
202 | + '<a class="btn btn-danger btn-xs apply-cancel" data-index="' + index + '" >作废</a>' | ||
203 | + ]; | ||
204 | + for (var i = 0; i < array.length; i++) { | ||
205 | + btns.push(buttons[array[i]]) | ||
206 | + } | ||
207 | + return btns; | ||
208 | + } | ||
209 | +}; | ||
210 | + | ||
211 | +/** | ||
184 | * 筛选 | 212 | * 筛选 |
185 | */ | 213 | */ |
186 | $("#filter-btn").click(function () { | 214 | $("#filter-btn").click(function () { |
@@ -229,7 +257,6 @@ $(document).on('click', '.apply-cancel', function () { | @@ -229,7 +257,6 @@ $(document).on('click', '.apply-cancel', function () { | ||
229 | */ | 257 | */ |
230 | $(document).on('click', '.coupon-info', function () { | 258 | $(document).on('click', '.coupon-info', function () { |
231 | var item = g.rows[$(this).data("index")]; | 259 | var item = g.rows[$(this).data("index")]; |
232 | - console.log("item.options",item.options); | ||
233 | var item1 = $.extend(true, {}, item); | 260 | var item1 = $.extend(true, {}, item); |
234 | item1.createTime = Bll.getTime(item1.createTime); | 261 | item1.createTime = Bll.getTime(item1.createTime); |
235 | item1.startTime = Bll.getTime(item1.startTime); | 262 | item1.startTime = Bll.getTime(item1.startTime); |
@@ -10,6 +10,7 @@ var type = $("#basicForm").attr("role"),//类型 新增或修改 | @@ -10,6 +10,7 @@ var type = $("#basicForm").attr("role"),//类型 新增或修改 | ||
10 | action = $("#basicForm").data("action");//路由 | 10 | action = $("#basicForm").data("action");//路由 |
11 | var startTimeObj; | 11 | var startTimeObj; |
12 | var endTimeObj; | 12 | var endTimeObj; |
13 | +var customType=[]; | ||
13 | 14 | ||
14 | /** | 15 | /** |
15 | * 监听输入值的变化 | 16 | * 监听输入值的变化 |
@@ -110,9 +111,9 @@ var Bll = { | @@ -110,9 +111,9 @@ var Bll = { | ||
110 | new common.dropDown({el: '#filter-department'}); | 111 | new common.dropDown({el: '#filter-department'}); |
111 | if(type=='update'){ | 112 | if(type=='update'){ |
112 | if(couponBean.customType){ | 113 | if(couponBean.customType){ |
113 | - var customType=couponBean.customType.split(','); | 114 | + customType=couponBean.customType.split(','); |
114 | for(var i=0;i<customType.length;i++){ | 115 | for(var i=0;i<customType.length;i++){ |
115 | - custom = "custom-" + customType[i]; | 116 | + var custom = "custom-" + customType[i]; |
116 | $("input ." + custom).attr("checked","checked"); | 117 | $("input ." + custom).attr("checked","checked"); |
117 | } | 118 | } |
118 | } | 119 | } |
@@ -181,7 +182,7 @@ $(document).on('click',"#addSorts",function(){ | @@ -181,7 +182,7 @@ $(document).on('click',"#addSorts",function(){ | ||
181 | }, | 182 | }, |
182 | css: "btn btn-primary" | 183 | css: "btn btn-primary" |
183 | }, { | 184 | }, { |
184 | - value: "取消" | 185 | + value: "返回" |
185 | }] | 186 | }] |
186 | }); | 187 | }); |
187 | tabTreeArr = []; | 188 | tabTreeArr = []; |
1 | -exports.domain =require('../config/common.js').domain; | 1 | +exports.domain = require('../config/common.js').domain; |
2 | //exports.domain = 'http://172.16.6.250:2081/platform';//庞洁 | 2 | //exports.domain = 'http://172.16.6.250:2081/platform';//庞洁 |
3 | 3 | ||
4 | exports.res = [ | 4 | exports.res = [ |
5 | //原 supplier | 5 | //原 supplier |
6 | { | 6 | { |
7 | - route:'/supplier/supplier/getSupplierListByIdName', | ||
8 | - method:'POST', | 7 | + route: '/supplier/supplier/getSupplierListByIdName', |
8 | + method: 'POST', | ||
9 | url: '/supplier/supplier/getSupplierListByIdName', | 9 | url: '/supplier/supplier/getSupplierListByIdName', |
10 | - params:[ | ||
11 | - {name:"idName",type:"String",def: 1} | 10 | + params: [ |
11 | + {name: "idName", type: "String", def: 1} | ||
12 | ] | 12 | ] |
13 | }, | 13 | }, |
14 | { | 14 | { |
@@ -19,9 +19,9 @@ exports.res = [ | @@ -19,9 +19,9 @@ exports.res = [ | ||
19 | { | 19 | { |
20 | name: 'idName', | 20 | name: 'idName', |
21 | type: 'String' | 21 | type: 'String' |
22 | - },{ | ||
23 | - name:'status', | ||
24 | - type:'Number' | 22 | + }, { |
23 | + name: 'status', | ||
24 | + type: 'Number' | ||
25 | } | 25 | } |
26 | ] | 26 | ] |
27 | }, | 27 | }, |
@@ -29,41 +29,41 @@ exports.res = [ | @@ -29,41 +29,41 @@ exports.res = [ | ||
29 | // 根据身份选择管理员 | 29 | // 根据身份选择管理员 |
30 | route: '/supplier/storeadmin/managerName', | 30 | route: '/supplier/storeadmin/managerName', |
31 | method: 'POST', | 31 | method: 'POST', |
32 | - url:"/ShopsAdminRest/getUsersByIdentity", | ||
33 | - src:'/store/adminedit', | ||
34 | - params:[ | ||
35 | - {name:"identity",type:"Number"}, | ||
36 | - {name:"shopsId",type:"Number"} | 32 | + url: "/ShopsAdminRest/getUsersByIdentity", |
33 | + src: '/store/adminedit', | ||
34 | + params: [ | ||
35 | + {name: "identity", type: "Number"}, | ||
36 | + {name: "shopsId", type: "Number"} | ||
37 | ] | 37 | ] |
38 | }, | 38 | }, |
39 | {//添加品类关联尺码属性接口【验证通过】 | 39 | {//添加品类关联尺码属性接口【验证通过】 |
40 | route: '/erpproduct/sortattribute/ajax/automatic', | 40 | route: '/erpproduct/sortattribute/ajax/automatic', |
41 | method: 'POST', | 41 | method: 'POST', |
42 | url: '/product/querySizeAttributesByName', | 42 | url: '/product/querySizeAttributesByName', |
43 | - params:[ | ||
44 | - {name:"idName",type:"String"}, | ||
45 | - {name:"sortId",type:"Number"} | 43 | + params: [ |
44 | + {name: "idName", type: "String"}, | ||
45 | + {name: "sortId", type: "Number"} | ||
46 | 46 | ||
47 | ] | 47 | ] |
48 | }, | 48 | }, |
49 | { | 49 | { |
50 | - route:'/erpproduct/sortsize/ajax/querySizeListBySortId4Html', | ||
51 | - method:'POST', | ||
52 | - url:'/product/querySizeListBySortId4Html', | ||
53 | - params:[ | ||
54 | - {name:"idName",type:"String"}, | ||
55 | - {name:"sortId",type:"Number"} | 50 | + route: '/erpproduct/sortsize/ajax/querySizeListBySortId4Html', |
51 | + method: 'POST', | ||
52 | + url: '/product/querySizeListBySortId4Html', | ||
53 | + params: [ | ||
54 | + {name: "idName", type: "String"}, | ||
55 | + {name: "sortId", type: "Number"} | ||
56 | ] | 56 | ] |
57 | }, | 57 | }, |
58 | {//尺码模糊查询【验证通过】 | 58 | {//尺码模糊查询【验证通过】 |
59 | - route:'/erpproduct/sortsize/ajax/automatic', | ||
60 | - method:'POST', | 59 | + route: '/erpproduct/sortsize/ajax/automatic', |
60 | + method: 'POST', | ||
61 | url: '/product/querySizeByNameForSelect', | 61 | url: '/product/querySizeByNameForSelect', |
62 | - params:[ | ||
63 | - {name:"idName",type:"String"}, | ||
64 | - {name:"sortId",type:"Number"} | 62 | + params: [ |
63 | + {name: "idName", type: "String"}, | ||
64 | + {name: "sortId", type: "Number"} | ||
65 | ] | 65 | ] |
66 | - },{ | 66 | + }, { |
67 | //查询品牌列表接口 | 67 | //查询品牌列表接口 |
68 | route: '/goods/query/brand', | 68 | route: '/goods/query/brand', |
69 | method: 'POST', | 69 | method: 'POST', |
@@ -109,54 +109,59 @@ exports.res = [ | @@ -109,54 +109,59 @@ exports.res = [ | ||
109 | name: 'idName', | 109 | name: 'idName', |
110 | type: 'String' | 110 | type: 'String' |
111 | }] | 111 | }] |
112 | - },{//根据品牌查询店铺 | ||
113 | - route:'/goods/query/queryShopsByBrandId', | ||
114 | - method:'POST', | ||
115 | - url:'/ShopsRest/queryShopsByBrandId', | 112 | + }, {//根据品牌查询店铺 |
113 | + route: '/goods/query/queryShopsByBrandId', | ||
114 | + method: 'POST', | ||
115 | + url: '/ShopsRest/queryShopsByBrandId', | ||
116 | params: [{ | 116 | params: [{ |
117 | name: 'idName', | 117 | name: 'idName', |
118 | type: 'String' | 118 | type: 'String' |
119 | - },{name:'brandId',type:'Number'}] | 119 | + }, {name: 'brandId', type: 'Number'}] |
120 | }, | 120 | }, |
121 | {//模糊查询 | 121 | {//模糊查询 |
122 | - route:'/limit/xiangouID/selectActivityListForSelect', | ||
123 | - method:'POST', | ||
124 | - url:'/DrawlineActivityRest/selectActivityListForSelect', | ||
125 | - params:[ | ||
126 | - {name:"idName",type:'String'} | 122 | + route: '/limit/xiangouID/selectActivityListForSelect', |
123 | + method: 'POST', | ||
124 | + url: '/DrawlineActivityRest/selectActivityListForSelect', | ||
125 | + params: [ | ||
126 | + {name: "idName", type: 'String'} | ||
127 | ] | 127 | ] |
128 | - },{ | 128 | + }, { |
129 | // 店铺列表 | 129 | // 店铺列表 |
130 | route: '/ShopsRest/getShopsByName', | 130 | route: '/ShopsRest/getShopsByName', |
131 | method: 'POST', | 131 | method: 'POST', |
132 | - url:"/ShopsRest/selectCheckPassShopsByName", | ||
133 | - params:[ | ||
134 | - {name:"idName",type:"String"} | 132 | + url: "/ShopsRest/selectCheckPassShopsByName", |
133 | + params: [ | ||
134 | + {name: "idName", type: "String"} | ||
135 | ] | 135 | ] |
136 | - },{ | 136 | + }, { |
137 | //获取JIT店铺 | 137 | //获取JIT店铺 |
138 | - route:'/goods/query/getJitSupplierByBrandld', | ||
139 | - method:'POST', | ||
140 | - url:'/AgreementRest/getJitSupplierByBrandId', | ||
141 | - params:[ | ||
142 | - {name:"brandId",type:"Number"} | 138 | + route: '/goods/query/getJitSupplierByBrandld', |
139 | + method: 'POST', | ||
140 | + url: '/AgreementRest/getJitSupplierByBrandId', | ||
141 | + params: [ | ||
142 | + {name: "brandId", type: "Number"} | ||
143 | ] | 143 | ] |
144 | - },{ | ||
145 | - route:'/ajax/guang/article/getSortList', | ||
146 | - method:'POST', | ||
147 | - url:'/guang/article/getSortList', | ||
148 | - params:[ | ||
149 | - {name:"parentId",type:"Number"} | 144 | + }, { |
145 | + route: '/ajax/guang/article/getSortList', | ||
146 | + method: 'POST', | ||
147 | + url: '/guang/article/getSortList', | ||
148 | + params: [ | ||
149 | + {name: "parentId", type: "Number"} | ||
150 | ] | 150 | ] |
151 | } | 151 | } |
152 | //发券搜索 | 152 | //发券搜索 |
153 | - ,{ | ||
154 | - route:'/coupon/queryList', | ||
155 | - method:'POST', | ||
156 | - url:'/coupon/queryList', | ||
157 | - params: [{ | ||
158 | - name: 'idName', | ||
159 | - type: 'String' | ||
160 | - }] | 153 | + , { |
154 | + route: '/coupon/queryList', | ||
155 | + method: 'POST', | ||
156 | + url: '/coupon/queryList', | ||
157 | + params: [ | ||
158 | + { | ||
159 | + name: 'idName', | ||
160 | + type: 'String' | ||
161 | + },{ | ||
162 | + name:"size", | ||
163 | + type:"Number" | ||
164 | + } | ||
165 | + ] | ||
161 | } | 166 | } |
162 | ]; | 167 | ]; |
1 | /** | 1 | /** |
2 | * Created by yoho on 2016/5/27. | 2 | * Created by yoho on 2016/5/27. |
3 | */ | 3 | */ |
4 | -//exports.domain = require('../config/common.js').domain; | ||
5 | -exports.domain ='http://172.16.6.120:8088/platform';//曹燕 | 4 | +exports.domain = require('../config/common.js').domain; |
5 | +//exports.domain ='http://172.16.6.120:8088/platform';//曹燕 | ||
6 | + | ||
6 | exports.res = [ | 7 | exports.res = [ |
7 | //主界面 | 8 | //主界面 |
8 | { | 9 | { |
@@ -205,11 +205,9 @@ | @@ -205,11 +205,9 @@ | ||
205 | <label class="col-sm-2 control-label">申请人</label> | 205 | <label class="col-sm-2 control-label">申请人</label> |
206 | 206 | ||
207 | <div class="col-sm-8"> | 207 | <div class="col-sm-8"> |
208 | - <input type="text" class="form-control" value="{{auth.name}}" readonly> | 208 | + <input type="text" class="form-control" value="[[proposer]]" readonly> |
209 | </div> | 209 | </div> |
210 | </div> | 210 | </div> |
211 | - <input id="auth_id" type="hidden" value="{{auth.uid}}"> | ||
212 | - <input id="auth_name" type="hidden" value="{{auth.name}}"> | ||
213 | </div> | 211 | </div> |
214 | </div> | 212 | </div> |
215 | </div> | 213 | </div> |
@@ -93,7 +93,7 @@ | @@ -93,7 +93,7 @@ | ||
93 | <label class="col-sm-2 control-label">数量<i class="red">*</i></label> | 93 | <label class="col-sm-2 control-label">数量<i class="red">*</i></label> |
94 | 94 | ||
95 | <div class="col-sm-8"> | 95 | <div class="col-sm-8"> |
96 | - <input type="text" placeholder="数量" class="form-control observe number" data-field="couponNum" | 96 | + <input type="text" placeholder="数量" prompt="数量" class="form-control observe number" data-field="couponNum" |
97 | required value="[[couponNum]]"> | 97 | required value="[[couponNum]]"> |
98 | </div> | 98 | </div> |
99 | </div> | 99 | </div> |
@@ -111,8 +111,8 @@ | @@ -111,8 +111,8 @@ | ||
111 | <label class="col-sm-2 control-label">申请部门<i class="red">*</i></label> | 111 | <label class="col-sm-2 control-label">申请部门<i class="red">*</i></label> |
112 | 112 | ||
113 | <div class="col-sm-8"> | 113 | <div class="col-sm-8"> |
114 | - <select id="filter-department" tabindex="-1" class="select2-offscreen brandBtn-group observe" | ||
115 | - value="[[department]]" data-field="department" required> | 114 | + <select id="filter-department" placeholder="申请部门" tabindex="-1" class="select2-offscreen brandBtn-group observe" |
115 | + value="[[department]]" data-field="department" required > | ||
116 | <option value="-1">申请部门</option> | 116 | <option value="-1">申请部门</option> |
117 | <option value="1">渠道二部</option> | 117 | <option value="1">渠道二部</option> |
118 | <option value="2">渠道一部</option> | 118 | <option value="2">渠道一部</option> |
@@ -262,9 +262,10 @@ | @@ -262,9 +262,10 @@ | ||
262 | </div> | 262 | </div> |
263 | <div class="panel-footer"> | 263 | <div class="panel-footer"> |
264 | <div class="row"> | 264 | <div class="row"> |
265 | - <div class="col-sm-8 col-sm-offset-2"> | 265 | + <div class="col-sm-4 col-sm-offset-4"> |
266 | + | ||
267 | + <button id="save_brand" type="button" data-loading-text="保存中..." class="btn btn-primary">提交</button> | ||
266 | <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> | 268 | <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> |
267 | - <button id="save_brand" type="button" data-loading-text="保存中..." class="btn btn-primary">保存</button> | ||
268 | </div> | 269 | </div> |
269 | </div> | 270 | </div> |
270 | </div> | 271 | </div> |
-
Please register or login to post a comment