|
|
@@ -18,15 +18,15 @@
|
|
|
<div v-for="(region, regionIndex) in crop.regions" :key="regionIndex" class="variety-card">
|
|
|
<div class="field-row">
|
|
|
<div class="field-value variety-select-wrap" v-if="farmData.status === 'INIT' || isAddVariety">
|
|
|
- <el-select v-model="region.regionId" class="variety-input" placeholder="选择品种">
|
|
|
+ <el-select filterable v-model="region.regionId" class="variety-input" placeholder="选择品种">
|
|
|
<el-option v-for="(item, index) in crop.typeIdItems" :key="index" :label="item.name"
|
|
|
:value="item.id"
|
|
|
:disabled="isVarietyOptionDisabled(crop, region, item.id) || item.selected === 1" />
|
|
|
- <template #footer>
|
|
|
+ <!-- <template #footer>
|
|
|
<el-button text bg @click="onAddOption(region)">
|
|
|
+ 增加品种
|
|
|
</el-button>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</el-select>
|
|
|
<div
|
|
|
v-if="regionIndex > 0"
|