1.table内容展示
style="width: 100%;" @selection-change="selectionChange">
{ {scope.row.type === 1 ? '时效卡' : '次卡'}}
{ { scope.row.type===1 ? scope.row.times + '天' : scope.row.times + '次'}}
{ {scope.row.price}}
{ {scope.row.floor_price}}
{ {scope.row.app_status === 1? '下架':'上架'}}
{ {scope.row.saas_status === 1? '下架' : '上架'}}
{ {scope.row.created_at}}
@click="handleEdit(scope.$index, scope.row)">编辑
删除
确定
取消
2.编辑
handleEdit(index, row) {this.subStatus = 'edit_' +indexthis.formData =Object.assign({}, row)this.