|
@@ -140,7 +140,7 @@
|
|
|
</a-col>
|
|
|
<a-col :span="7" style="text-align: right;">
|
|
|
<!-- <a-button size="small" style="margin-left: 8px" id="chainTransferOutEdit-import-btn">导入明细</a-button> -->
|
|
|
- <a-button size="small" type="danger" style="margin-left: 8px" @click.stop="handleDel('', 'all')" id="chainTransferOutEdit-del-all-btn">整单删除</a-button>
|
|
|
+ <a-button size="small" type="danger" style="margin-left: 8px" @click.stop="handleDel('', 'all')" id="chainTransferOutEdit-del-all-btn">清空列表</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
<!-- 列表 -->
|
|
@@ -369,13 +369,13 @@ export default {
|
|
|
// 删除
|
|
|
handleDel (row, isAll) {
|
|
|
const _this = this
|
|
|
- const content = isAll ? '删除后不可恢复,确定要进行整单删除吗?' : '删除后不可恢复,确定要进行删除吗?'
|
|
|
+ const content = isAll ? '删除后不可恢复,确定要清空列表吗?' : '删除后不可恢复,确定要进行删除吗?'
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
content: content,
|
|
|
centered: true,
|
|
|
onOk () {
|
|
|
- if (isAll) { // 整单删除
|
|
|
+ if (isAll) { // 清空列表
|
|
|
_this.spinning = true
|
|
|
allocLinkageOutDetailDelAll({ sn: _this.$route.params.sn }).then(res => {
|
|
|
if (res.status == 200) {
|