Commit c12a2b4f authored by xd's avatar xd

优惠券修改

parent aee1997d
......@@ -39,15 +39,11 @@ export default {
this.getList()
},
methods: {
getList() {
console.log(11);
getList() {
let params = {
deptId: 10
deptId: this.deptId
}
getCouponList(params).then(res => {
console.log(2);
getCouponList(params).then(res => {
this.list = res.data
res.data.forEach(item => {
item.begin_date = item.begin_date.substr(0,4)+'-'+item.begin_date.substr(4,2)+'-'+item.begin_date.substr(6,2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment