This commit is contained in:
linfso 2025-05-23 02:47:57 +08:00
parent f55c5a4863
commit 3e52591178

View File

@ -44,7 +44,6 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleSendHXToOpen" @click="handleSendHXToOpen"
>发送航信开票</el-button> >发送航信开票</el-button>
</el-col> </el-col>
<!-- v-hasPermi="['emis:emisSettleInvoiceChRecord:edit']" <!-- v-hasPermi="['emis:emisSettleInvoiceChRecord:edit']"
@ -67,6 +66,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['emis:emisSettleInvoiceChRecord:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
@ -459,6 +459,11 @@ export default {
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
if(row.openChStatus==1||row.openChStatus==2||row.openChStatus==3){
this.$modal.msgError("不允许删除");
return;
}
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除').then(function() { this.$modal.confirm('是否确认删除').then(function() {
return delEmisSettleInvoiceChRecord(ids); return delEmisSettleInvoiceChRecord(ids);