|
@@ -130,12 +130,8 @@
|
|
|
:rules="rules['itemType']"
|
|
|
>
|
|
|
<el-select v-model="item.itemType" placeholder="请选择成本类型">
|
|
|
- <el-option
|
|
|
- :label="item.categoryName"
|
|
|
- :value="item.categoryId"
|
|
|
- v-for="item in categoryList"
|
|
|
- :key="item.categoryId"
|
|
|
- ></el-option>
|
|
|
+ <el-option label="百分比" value="1"></el-option>
|
|
|
+ <el-option label="固定" value="2"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
@@ -332,7 +328,6 @@ export default {
|
|
|
e.educationTypeId == educationTypeId &&
|
|
|
e.itemCategory == itemCategory
|
|
|
);
|
|
|
- console.log(levelList, 666);
|
|
|
const len = levelList.length;
|
|
|
if (len > 1) {
|
|
|
const len1 = levelList.filter((e) => e.businessId == -1).length;
|
|
@@ -399,8 +394,7 @@ export default {
|
|
|
this.getEduList();
|
|
|
},
|
|
|
getCategoryList() {
|
|
|
- // { status: "0,1" }
|
|
|
- categoryList().then((res) => {
|
|
|
+ categoryList({ status: "0,1" }).then((res) => {
|
|
|
this.categoryList = res.rows;
|
|
|
});
|
|
|
},
|