Commit cec46e20 authored by 吴春's avatar 吴春

1

parent deea5203
...@@ -2569,20 +2569,19 @@ ...@@ -2569,20 +2569,19 @@
}, },
deleteUploadFile(i,type) { // 删除上传文件 deleteUploadFile(i,type) { // 删除上传文件
if(type==1){
this.$confirm("一旦删除不可恢复, 确认删除?", "提示", { this.$confirm("一旦删除不可恢复, 确认删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}) })
.then(() => { .then(() => {
if(type==1){
this.InvoiceVoucherList.splice(i, 1); this.InvoiceVoucherList.splice(i, 1);
})
.catch(() => {});
}else{ }else{
this.saveMsg.splice(i, 1); this.saveMsg.splice(i, 1);
} }
})
.catch(() => {});
}, },
showUpLoadFile(i) { // 预览上传文件 showUpLoadFile(i) { // 预览上传文件
......
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