|
@@ -14,18 +14,18 @@
|
|
|
>
|
|
|
<div class="dialog-container">
|
|
|
<div class="select-box">
|
|
|
- <el-cascader v-model="searchClassify"
|
|
|
- :options="classifyList"
|
|
|
- :props="{
|
|
|
- children:'Children',
|
|
|
- label:'ClassifyName',
|
|
|
- value:'BaseFromMysteelChemicalClassifyId',
|
|
|
- multiple:true,
|
|
|
- emitPath:false,
|
|
|
- }"
|
|
|
- :placeholder="$t('Edb.InputHolderAll.input_classify')"
|
|
|
- @change="getEdbList"
|
|
|
- ></el-cascader>
|
|
|
+ <cascader
|
|
|
+ style="display: inline-block"
|
|
|
+ v-model="searchClassify"
|
|
|
+ :options="classifyList"
|
|
|
+ :placeholder="$t('Edb.InputHolderAll.input_classify')"
|
|
|
+ @changeVal="getEdbList"
|
|
|
+ :config="{
|
|
|
+ multiple: true,
|
|
|
+ emitPath: false,
|
|
|
+ value: 'BaseFromMysteelChemicalClassifyId',
|
|
|
+ }"
|
|
|
+ />
|
|
|
<el-input style="width:240px;" v-model="searchName"
|
|
|
:placeholder="$t('Edb.InputHolderAll.input_name_orid')"
|
|
|
prefix-icon="el-icon-search"
|
|
@@ -72,34 +72,23 @@
|
|
|
<el-radio :label="1" style="margin-right:5px"><!-- 分目录 -->{{$t('EtaBasePage.subdirectory_radio')}}</el-radio>
|
|
|
<el-radio :label="2"><!-- 同目录 -->{{$t('EtaBasePage.directory_radio')}}</el-radio>
|
|
|
</el-radio-group>
|
|
|
- <el-cascader v-if="classifyType===2" v-model="selectClassify"
|
|
|
+ <cascader
|
|
|
+ v-if="classifyType === 2"
|
|
|
+ v-model="selectClassify"
|
|
|
:options="edbClassifyList"
|
|
|
- :props="{
|
|
|
- label: 'ClassifyName',
|
|
|
- value: 'ClassifyId',
|
|
|
- children: 'Children',
|
|
|
- checkStrictly: true,
|
|
|
- emitPath:false
|
|
|
- }"
|
|
|
:placeholder="$t('SteelChemicalPage.batch_add_placeholder')"
|
|
|
- >
|
|
|
- </el-cascader>
|
|
|
+ :config="{ checkStrictly: true, emitPath: false }"
|
|
|
+ />
|
|
|
</template>
|
|
|
<template slot-scope="{row,$index}">
|
|
|
- <el-cascader
|
|
|
+ <cascader
|
|
|
v-model="row.classify"
|
|
|
:options="edbClassifyList"
|
|
|
- :props="{
|
|
|
- label: 'ClassifyName',
|
|
|
- value: 'ClassifyId',
|
|
|
- children: 'Children',
|
|
|
- checkStrictly: true,
|
|
|
- emitPath:false
|
|
|
- }"
|
|
|
:placeholder="$t('SteelChemicalPage.batch_add_placeholder')"
|
|
|
- style="width:100%;"
|
|
|
- :disabled="classifyType===2"
|
|
|
- ></el-cascader>
|
|
|
+ cascaderWidth="width:100%;"
|
|
|
+ :disabled="classifyType === 2"
|
|
|
+ :config="{ checkStrictly: true, emitPath: false }"
|
|
|
+ />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<div class="no-data" slot="empty">
|