发票作废申请,缓存

This commit is contained in:
wuteng 2026-01-27 18:35:50 +08:00
parent 0d60a7a9e4
commit a7628477cb

View File

@ -70,7 +70,7 @@ export default {
}, },
data() { data() {
return { return {
isFormDisabled: null, // isFormDisabled: null,
form: {}, form: {},
invoiceList: [], invoiceList: [],
fileList: [], fileList: [],
@ -106,9 +106,14 @@ export default {
created() { created() {
this.initData(); this.initData();
}, },
computed: {
isFormDisabled() {
return this.openType === "view";
}
},
methods: { methods: {
async initData() { async initData() {
this.isFormDisabled = (this.openType === "view"); // 查看详情时,表单禁用 // this.isFormDisabled = (this.openType === "view"); // 查看详情时,表单禁用
if (this.id) { if (this.id) {
let res = await getEmisInvoiceCancellation(this.id); let res = await getEmisInvoiceCancellation(this.id);
let data= res.data || {}; let data= res.data || {};