套餐编码为大写字母
This commit is contained in:
parent
582693649a
commit
c1f86bcbb4
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user