更新
This commit is contained in:
@@ -59,6 +59,9 @@ export default {
|
|||||||
if (query !== "") {
|
if (query !== "") {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
let params = {};
|
let params = {};
|
||||||
|
// if() {
|
||||||
|
|
||||||
|
// }
|
||||||
this.config.autocompleteKey
|
this.config.autocompleteKey
|
||||||
? (params[this.config.autocompleteKey] = query)
|
? (params[this.config.autocompleteKey] = query)
|
||||||
: (params["queryTypeGet"] = query);
|
: (params["queryTypeGet"] = query);
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ export default {
|
|||||||
init() {
|
init() {
|
||||||
this.dataPage = this.mappingData.map(
|
this.dataPage = this.mappingData.map(
|
||||||
(mappingDataItem, mappingDataIndex) => {
|
(mappingDataItem, mappingDataIndex) => {
|
||||||
let shineData = this.sourceData[mappingDataIndex];
|
let shineData = this.sourceData[mappingDataIndex] || {};
|
||||||
return {
|
return {
|
||||||
title: mappingDataItem.carTitle,
|
title: mappingDataItem.carTitle,
|
||||||
iconClass: mappingDataItem.iconClass || "iconjichuziliao",
|
iconClass: mappingDataItem.iconClass || "iconjichuziliao",
|
||||||
|
|||||||
@@ -7,6 +7,19 @@
|
|||||||
placeholder="产品名称"
|
placeholder="产品名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></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" />
|
<autocomplete :params="parameter.params" :config="configAutocomplete" />
|
||||||
<el-input
|
<el-input
|
||||||
@@ -227,6 +240,24 @@ export default {
|
|||||||
batch: false,
|
batch: false,
|
||||||
adjust: false,
|
adjust: false,
|
||||||
},
|
},
|
||||||
|
productTypeList: [
|
||||||
|
{
|
||||||
|
label: "0#柴",
|
||||||
|
value: "0#",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "-10#柴",
|
||||||
|
value: "-10#",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "92#汽",
|
||||||
|
value: "92#",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "95#汽",
|
||||||
|
value: "95#",
|
||||||
|
},
|
||||||
|
],
|
||||||
configAutocomplete: {
|
configAutocomplete: {
|
||||||
serveTarget: refineryInfoServe.findByEntity,
|
serveTarget: refineryInfoServe.findByEntity,
|
||||||
autocompleteKey: "refineryName",
|
autocompleteKey: "refineryName",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="table">
|
<div class="table">
|
||||||
<div class="operation">
|
<div class="operation">
|
||||||
<el-button @click="addition">新增炼厂账户</el-button>
|
<!-- <el-button @click="addition">新增炼厂账户</el-button> -->
|
||||||
<el-button @click="addition">充值</el-button>
|
<el-button @click="addition">充值</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
|
|||||||
Reference in New Issue
Block a user