Commit 4f0605e9 authored by liudong1993's avatar liudong1993

票务历史账单 增加删除功能

parent 081bad07
......@@ -112,6 +112,10 @@
<el-button v-if="item.Status==0" type="danger" class="_bth_bg_bl" @click="queren(item)" circle>
</el-button>
</el-tooltip>
<el-tooltip v-if="item.UpdateBy==emID" class="item" effect="dark" content="删除" placement="top">
<el-button v-if="item.Status==0" type="danger" class="_bth_bg_br" @click="delperiods(item)" circle>
</el-button>
</el-tooltip>
</td>
</tr>
</table>
......@@ -200,6 +204,28 @@
});
});
},
delperiods(obj) {
this.$confirm('是否删除' + '“' + obj.Term + '”' + '期?删除后不可恢复!', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost('DomesticTicket_post_DelBillInfo', {
BillId: obj.ID
}, r => {
if (r.data.resultCode == 1) {
let data = r.data.data;
this.$message.success(r.data.message);
this.getList();
}
}, null);
}).catch(() => {
this.$message({
type: 'info',
message: '已取消'
});
});
},
getDetails(id) {
this.Details = [];
this.apipost('Financial_post_GetOrderFinanceList', {
......
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