浏览代码

银农-银行转账修改不重新加载问题

wulanhaote
yangfuda 2 年前
父节点
当前提交
2da46e90e1
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue

+ 3
- 2
src/views/yinnong/bankAgriculture/paymentApproval/approvalModify.vue 查看文件

@@ -406,6 +406,9 @@
templateList:[], templateList:[],
}; };
}, },
activated:function(){
this.getDictionaries();
},
created() { created() {
let queryParams={ let queryParams={
pageNum: 1, pageNum: 1,
@@ -444,7 +447,6 @@
this.payerOptions[index].value = res.id; this.payerOptions[index].value = res.id;
}) })
}); });
this.getDictionaries();
this.getFileList(); this.getFileList();
}, },
methods: { methods: {
@@ -471,7 +473,6 @@
}, },
getDictionaries(){ getDictionaries(){
getTransfer(this.$route.query.id).then((response) => { getTransfer(this.$route.query.id).then((response) => {

this.getDicts("capital_expenditure_type").then((res) => { this.getDicts("capital_expenditure_type").then((res) => {
for (var i = 0; i < res.data.length; i++) { for (var i = 0; i < res.data.length; i++) {
this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue});


正在加载...
取消
保存