Merge branch 'xiaozy_产品列表' of http://121.196.213.68:3000/xiaozhiyong/refinery-admin into lixuan

This commit is contained in:
lixuan
2023-02-22 17:48:43 +08:00
11 changed files with 77 additions and 87 deletions

View File

@@ -7,6 +7,19 @@
placeholder="产品名称"
clearable
></el-input>
<el-select
v-model="parameter.params.productType"
placeholder="产品类型"
clearable
>
<el-option
v-for="(item, index) in productTypeList"
:key="index"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
<!-- 炼厂名称 -->
<autocomplete :params="parameter.params" :config="configAutocomplete" />
<el-input
@@ -227,6 +240,24 @@ export default {
batch: false,
adjust: false,
},
productTypeList: [
{
label: "0#柴",
value: "0#",
},
{
label: "-10#柴",
value: "-10#",
},
{
label: "92#汽",
value: "92#",
},
{
label: "95#汽",
value: "95#",
},
],
configAutocomplete: {
serveTarget: refineryInfoServe.findByEntity,
autocompleteKey: "refineryName",