|
@@ -168,7 +168,7 @@
|
|
|
type="link"
|
|
|
class="button-error"
|
|
|
v-if="record.salesBillSource == 'PURCHASE' && record.billStatus !== 'FINISH' && record.financialStatus !== 'FINISH'&& record.billStatus != 'AUDIT_REJECT'&& record.billStatus != 'WAIT_OUT_WAREHOUSE'"
|
|
|
- @click="handleDel(record)"
|
|
|
+ @click="handleDel(record, 'cancel')"
|
|
|
>
|
|
|
取消
|
|
|
</a-button>
|
|
@@ -339,11 +339,15 @@ export default {
|
|
|
this.$router.push({ name: 'salesEdit', params: { id: row.id, sn: row.salesBillSn, priceType: row.priceType } })
|
|
|
},
|
|
|
// 删除
|
|
|
- handleDel (row) {
|
|
|
+ handleDel (row, type) {
|
|
|
const _this = this
|
|
|
+ let content = '确认要删除吗?'
|
|
|
+ if (type == 'cancel') {
|
|
|
+ content = '确认要取消吗?'
|
|
|
+ }
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
- content: '确认要删除吗?',
|
|
|
+ content: content,
|
|
|
centered: true,
|
|
|
closable: true,
|
|
|
onOk () {
|