From 9041b718754a0869a00ab988658e72f02a91de52 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Wed, 22 Feb 2023 17:08:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/autocomplete/index.vue | 3 +++ src/components/generalDetails/index.vue | 2 +- src/views/product/index.vue | 31 +++++++++++++++++++++++++ src/views/refineryAccount/index.vue | 2 +- 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/src/components/autocomplete/index.vue b/src/components/autocomplete/index.vue index ef332a1..fd22263 100644 --- a/src/components/autocomplete/index.vue +++ b/src/components/autocomplete/index.vue @@ -59,6 +59,9 @@ export default { if (query !== "") { this.loading = true; let params = {}; + // if() { + + // } this.config.autocompleteKey ? (params[this.config.autocompleteKey] = query) : (params["queryTypeGet"] = query); diff --git a/src/components/generalDetails/index.vue b/src/components/generalDetails/index.vue index 817e08d..8d8a9d2 100644 --- a/src/components/generalDetails/index.vue +++ b/src/components/generalDetails/index.vue @@ -117,7 +117,7 @@ export default { init() { this.dataPage = this.mappingData.map( (mappingDataItem, mappingDataIndex) => { - let shineData = this.sourceData[mappingDataIndex]; + let shineData = this.sourceData[mappingDataIndex] || {}; return { title: mappingDataItem.carTitle, iconClass: mappingDataItem.iconClass || "iconjichuziliao", diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 1d81ecb..640bc13 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -7,6 +7,19 @@ placeholder="产品名称" clearable > + + + +
- 新增炼厂账户 + 充值