庞东旭 2 лет назад
Родитель
Сommit
ed2fe98ffe
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});


Загрузка…
Отмена
Сохранить