套餐编码为大写字母

This commit is contained in:
邓皓元 2019-01-03 18:06:04 +08:00
parent 582693649a
commit c1f86bcbb4

View File

@ -16,10 +16,6 @@ export default {
show: false,
data: null
},
detailObj: {
show: false,
data: null
},
search: {
show: false
},
@ -102,30 +98,15 @@ export default {
}) => {
let html = [];
row.cost_price = Number(row.cost_price);
row.guide_price = Number(row.guide_price);
row.renewal_cost_price = Number(row.renewal_cost_price);
row.renewal_guide_price = Number(row.renewal_guide_price);
if (row.deleted_at) {
return h('Tag', { props: { color: 'default' } }, '该套餐已被删除');
}
if (this.haveJurisdiction('show')) {
html.push(h('Button', {
props: {
type: 'success',
size: 'small',
disabled: false,
icon: 'md-eye'
},
class: ['btn'],
on: {
click: (event) => {
this.detailObj = {
show: true,
data: row
};
}
}
}, '查看'));
}
if (this.haveJurisdiction('update')) {
html.push(h('Button', {
props: {