Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
cba937ec
Commit
cba937ec
authored
Aug 29, 2024
by
yujinyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路价格搜索文本框字段去除中间和前后左右空格
parent
61fa029c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
index.vue
src/components/ProductsSelector/index.vue
+2
-2
blacklist.vue
src/views/ecw/productPrice/blacklist.vue
+3
-3
index.vue
src/views/ecw/productPrice/index.vue
+1
-0
No files found.
src/components/ProductsSelector/index.vue
View file @
cba937ec
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<el-select
v-model=
"queryParams.attrId"
:placeholder=
"$t('选择属性')"
style=
"width:120px"
clearable
@
change=
"getList"
:disabled=
"loading"
>
<el-select
v-model=
"queryParams.attrId"
:placeholder=
"$t('选择属性')"
style=
"width:120px"
clearable
@
change=
"getList"
:disabled=
"loading"
>
<el-option
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.attrName"
:value=
"item.id"
/>
<el-option
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.attrName"
:value=
"item.id"
/>
</el-select>
</el-select>
<el-input
v-model=
"queryParams.titleZh"
:placeholder=
"$t('产品关键字')"
style=
"width:120px"
clearable
:disabled=
"loading"
/>
<el-input
v-model=
"queryParams.titleZh"
:placeholder=
"$t('产品关键字')"
style=
"width:120px"
clearable
onkeyup=
"this.value=this.value.replace(/\s+/g, '')"
:disabled=
"loading"
/>
<el-button
type=
"primary"
@
click=
"reLoad"
:loading=
"loading"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"reLoad"
:loading=
"loading"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
<div
style=
"height: 36px; display: flex; align-items: center"
>
<div
style=
"height: 36px; display: flex; align-items: center"
>
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<el-select
v-model=
"selectedFilterParams.attrId"
:placeholder=
"$t('选择属性')"
style=
"width:120px"
clearable
:disabled=
"loading"
>
<el-select
v-model=
"selectedFilterParams.attrId"
:placeholder=
"$t('选择属性')"
style=
"width:120px"
clearable
:disabled=
"loading"
>
<el-option
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.attrName"
:value=
"item.id"
/>
<el-option
v-for=
"item in attrList"
:key=
"item.id"
:label=
"item.attrName"
:value=
"item.id"
/>
</el-select>
</el-select>
<el-input
v-model=
"selectedFilterParams.titleZh"
:placeholder=
"$t('产品关键字')"
style=
"width:120px"
clearable
:disabled=
"loading"
/>
<el-input
v-model=
"selectedFilterParams.titleZh"
:placeholder=
"$t('产品关键字')"
style=
"width:120px"
clearable
onkeyup=
"this.value=this.value.replace(/\s+/g, '')"
:disabled=
"loading"
/>
<!--
<el-button
type=
"primary"
@
click=
"reLoad"
:loading=
"loading"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
-->
<!--
<el-button
type=
"primary"
@
click=
"reLoad"
:loading=
"loading"
>
{{
$t
(
'
搜索
'
)
}}
</el-button>
-->
<div
class=
"flex"
>
<div
class=
"flex"
>
...
...
src/views/ecw/productPrice/blacklist.vue
View file @
cba937ec
...
@@ -4,15 +4,15 @@
...
@@ -4,15 +4,15 @@
<!-- 搜索工作栏 -->
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
:label=
"$t('商品编码')"
prop=
"productCode"
>
<el-form-item
:label=
"$t('商品编码')"
prop=
"productCode"
>
<el-input
v-model=
"queryParams.productCode"
:placeholder=
"$t('请输入商品编码')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.productCode"
:placeholder=
"$t('请输入商品编码')"
clearable
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/\s+/g, '')"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('海关编码')"
prop=
"customsCode"
>
<el-form-item
:label=
"$t('海关编码')"
prop=
"customsCode"
>
<el-input
v-model=
"queryParams.customsCode"
:placeholder=
"$t('请输入海关编码')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.customsCode"
:placeholder=
"$t('请输入海关编码')"
clearable
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/\s+/g, '')"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('商品名称')"
prop=
"titleZh"
>
<el-form-item
:label=
"$t('商品名称')"
prop=
"titleZh"
>
<el-input
v-model=
"queryParams.titleZh"
:placeholder=
"$t('请输入商品名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
<el-input
v-model=
"queryParams.titleZh"
:placeholder=
"$t('请输入商品名称')"
clearable
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/\s+/g, '')"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('商品类型')"
prop=
"typeId"
>
<el-form-item
:label=
"$t('商品类型')"
prop=
"typeId"
>
...
...
src/views/ecw/productPrice/index.vue
View file @
cba937ec
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
:placeholder=
"$t('请输入中英文名称、商品编码、海关编码')"
:placeholder=
"$t('请输入中英文名称、商品编码、海关编码')"
clearable
clearable
@
keyup.enter.native=
"handleQuery"
@
keyup.enter.native=
"handleQuery"
onkeyup=
"this.value=this.value.replace(/\s+/g, '')"
>
>
<template
#prepend
>
<template
#prepend
>
<el-select
v-model=
"queryParams.searchType"
style=
"width: 100px"
>
<el-select
v-model=
"queryParams.searchType"
style=
"width: 100px"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment