Browse Source

fix: 更新isAccountstatement计算属性逻辑,增加对dialogType的判断

xieyong 3 days ago
parent
commit
1ed2fc9d3a

+ 1 - 1
src/views/financialManage/invoiceManage/components/addOrEditDialogNew.vue

@@ -581,7 +581,7 @@
     computed: {
       ...mapGetters(['user']),
       isAccountstatement() {
-        return this.form.sourceType != 99;
+        return this.form.sourceType != 99 && this.dialogType !== 'add';
       },
       sourceTypeOp() {
         if(this.$route.path.includes('invoiceManage') && !this.isAccountstatement) {