This commit is contained in:
邓皓元 2019-01-07 18:38:06 +08:00
parent 3d7d22a8f9
commit c9ddf7066a
2 changed files with 6 additions and 2 deletions

View File

@ -96,13 +96,13 @@ export default {
column, column,
index index
}) => { }) => {
let html = [];
row.cost_price = Number(row.cost_price); row.cost_price = Number(row.cost_price);
row.guide_price = Number(row.guide_price); row.guide_price = Number(row.guide_price);
row.renewal_cost_price = Number(row.renewal_cost_price); row.renewal_cost_price = Number(row.renewal_cost_price);
row.renewal_guide_price = Number(row.renewal_guide_price); row.renewal_guide_price = Number(row.renewal_guide_price);
let html = [];
if (row.deleted_at) { if (row.deleted_at) {
return h('Tag', { props: { color: 'default' } }, '该套餐已被删除'); return h('Tag', { props: { color: 'default' } }, '该套餐已被删除');
} }

View File

@ -78,6 +78,10 @@ export default {
column, column,
index index
}) => { }) => {
row.base_price = Number(row.base_price);
row.renewal_price = Number(row.renewal_price);
let html = []; let html = [];
if (this.haveJurisdiction('update')) { if (this.haveJurisdiction('update')) {