Browse Source

bug 修复

lilei 3 years ago
parent
commit
accd12b9eb

+ 1 - 1
src/views/common/settleAccount.js

@@ -54,7 +54,7 @@ const SettleAccount = {
     }
   },
   mounted() {
-    // this.getList()
+    this.getList()
   },
   methods: {
     filterOption (input, option) {

+ 1 - 4
src/views/financialManagement/expenseManagement/edit.vue

@@ -157,9 +157,6 @@ export default {
         if (res.status == 200) {
           this.form = Object.assign({}, this.form, res.data)
           this.form.costType = [this.form.expensesTypeSn1, this.form.expensesTypeSn2, this.form.expensesTypeSn3]
-          this.$nextTick(() => {
-            this.$refs.settleAcount.getList()
-          })
         } else {
           this.$refs.ruleForm.resetFields()
         }
@@ -222,7 +219,7 @@ export default {
       this.pageInit()
     }
     // 结算账户状态查询
-    if(this.$hasPermissions('M_fundAccountList') && this.$hasPermissions('B_fundAccountEnable')){
+    if (this.$hasPermissions('M_fundAccountList') && this.$hasPermissions('B_fundAccountEnable')) {
     	this.GetSettleAccountState().then(res => {
     	  if (res.status == 200) {
     		this.enableFundAccount = res.data.functionEnableFlag == 1