发票作废申请,缓存

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