发票作废申请,缓存
This commit is contained in:
parent
0d60a7a9e4
commit
a7628477cb
@ -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 || {};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user