|
@@ -315,10 +315,14 @@
|
|
|
<!-- CNY项目列 -->
|
|
|
<template slot="CNYProjectList" slot-scope="text, record, index">
|
|
|
<a-form-model-item prop="CNYProjectList" :rules="rules.CNYProjectList">
|
|
|
- <a-select v-model="record.itemColumn" style="width:100%" placeholder="请输入项目列">
|
|
|
- <a-select-option value="1">项目列1</a-select-option>
|
|
|
- <a-select-option value="2">项目列2</a-select-option>
|
|
|
- </a-select>
|
|
|
+ <a-select v-model="record.itemColumn" style="width:100%">
|
|
|
+ <a-select-option
|
|
|
+ v-for="(item,index) in itemArrOption"
|
|
|
+ :key="index"
|
|
|
+ :value="item.value">
|
|
|
+ {{item.label}}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
</a-form-model-item>
|
|
|
</template>
|
|
|
</a-table>
|
|
@@ -355,10 +359,14 @@
|
|
|
<!-- USD项目列 -->
|
|
|
<template slot="USDProjectList" slot-scope="text, record, index">
|
|
|
<a-form-model-item prop="USDProjectList" :rules="rules.USDProjectList">
|
|
|
- <a-select v-model="record.itemColumn" style="width:100%">
|
|
|
- <a-select-option value="1">项目列1</a-select-option>
|
|
|
- <a-select-option value="2">项目列2</a-select-option>
|
|
|
- </a-select>
|
|
|
+ <a-select v-model="record.itemColumn" style="width:100%">
|
|
|
+ <a-select-option
|
|
|
+ v-for="(item,index) in itemArrOption"
|
|
|
+ :key="index"
|
|
|
+ :value="item.value">
|
|
|
+ {{item.label}}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
</a-form-model-item>
|
|
|
</template>
|
|
|
</a-table>
|
|
@@ -625,6 +633,7 @@ export default {
|
|
|
loading: false, // 表格加载
|
|
|
addBook: {},
|
|
|
arrOption:[],
|
|
|
+ itemArrOption:[],
|
|
|
defaultMethod : 'add',
|
|
|
confirmLoading: false,
|
|
|
visible: false,
|
|
@@ -652,6 +661,9 @@ export default {
|
|
|
Dictionaries({code:'test-200'}).then(res => {
|
|
|
this.arrOption = res
|
|
|
})
|
|
|
+ Dictionaries({code:'expenseItems'}).then(res => {
|
|
|
+ this.itemArrOption = res
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
//托书号转化大写
|