|
@@ -8,7 +8,7 @@
|
|
|
<el-col :span="24" class="two">
|
|
|
<cForm :span="24" :fields="formFields" :form="form" :rules="rules" @save="onSubmit">
|
|
|
<template #pid>
|
|
|
- <el-option v-for="(i, index) in pidList" :key="index" :label="i.name" :value="i.id"></el-option>
|
|
|
+ <el-option v-for="(i, index) in pidList" :key="index" :label="i.name" :value="i._id"></el-option>
|
|
|
</template>
|
|
|
<template #type>
|
|
|
<el-option v-for="(i, index) in typeList" :key="index" :label="i.label" :value="i.value"></el-option>
|