|
@@ -114,7 +114,7 @@
|
|
class="button-error"
|
|
class="button-error"
|
|
id="purchaseReturnEdit-delAll-btn"
|
|
id="purchaseReturnEdit-delAll-btn"
|
|
@click.stop="handleDel('', 'all')"
|
|
@click.stop="handleDel('', 'all')"
|
|
- style="margin-right: 10px;float: right;">整单删除</a-button> -->
|
|
|
|
|
|
+ style="margin-right: 10px;float: right;">清空列表</a-button> -->
|
|
</template>
|
|
</template>
|
|
<!-- 总计 -->
|
|
<!-- 总计 -->
|
|
<a-alert type="info" style="margin-bottom:10px">
|
|
<a-alert type="info" style="margin-bottom:10px">
|
|
@@ -404,13 +404,13 @@ export default {
|
|
// 删除
|
|
// 删除
|
|
handleDel (row, isAll) {
|
|
handleDel (row, isAll) {
|
|
const _this = this
|
|
const _this = this
|
|
- const content = isAll ? '删除后不可恢复,确定要进行整单删除吗?' : '删除后不可恢复,确定要进行删除吗?'
|
|
|
|
|
|
+ const content = isAll ? '删除后不可恢复,确定要清空列表吗?' : '删除后不可恢复,确定要进行删除吗?'
|
|
this.$confirm({
|
|
this.$confirm({
|
|
title: '提示',
|
|
title: '提示',
|
|
content: content,
|
|
content: content,
|
|
centered: true,
|
|
centered: true,
|
|
onOk () {
|
|
onOk () {
|
|
- if (isAll) { // 整单删除
|
|
|
|
|
|
+ if (isAll) { // 清空列表
|
|
_this.spinning = true
|
|
_this.spinning = true
|
|
purchaseReturnDelAll({ purchaseReturnSn: _this.$route.params.sn }).then(res => {
|
|
purchaseReturnDelAll({ purchaseReturnSn: _this.$route.params.sn }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|