Skip to content
Snippets Groups Projects

申报书保存name跟code不同

Merged wangchao requested to merge feature/wangchao into develop
Compare and
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
@@ -350,7 +350,7 @@
v-for="item in fundsList"
:key="item.id"
:label="item.name"
:value="item.code"
:value="item.name"
></el-option>
</el-select>
</template>
@@ -868,7 +868,10 @@ export default {
budgetData.budgetTableSelected = selected;
};
const fundSubjectChhange = (value, row) => {
const fund = budgetData.fundsList.find(item => item.code == value);
console.log('value', value);
console.log('ddd', budgetData.fundsList);
const fund = budgetData.fundsList.find(item => item.name == value);
console.log('fund', fund);
row.subjectCode = fund.code;
row.otherJson.fundDescribe = fund.fundDescribe;
row.number = 0;