Commit 7fc83798 authored by Smile's avatar Smile Committed by wux

bug225 (web)首页/我发出的/我收到的/控货管理查询条件“编号”输入空格查询不到数据。

parent 64b0578b
...@@ -256,7 +256,7 @@ export default { ...@@ -256,7 +256,7 @@ export default {
if (this.dynamicStatusList){ if (this.dynamicStatusList){
this.queryParams.dynamicStatusList=this.dynamicStatusList this.queryParams.dynamicStatusList=this.dynamicStatusList
} }
if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== ''){ if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== '' && this.queryParams.searchKey !== undefined){
this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, ''); this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, '');
} }
return Object.assign({}, this.queryParams, timeParams) return Object.assign({}, this.queryParams, timeParams)
......
...@@ -341,7 +341,7 @@ export default { ...@@ -341,7 +341,7 @@ export default {
if (this.dynamicStatusList){ if (this.dynamicStatusList){
this.queryParams.dynamicStatusList=this.dynamicStatusList this.queryParams.dynamicStatusList=this.dynamicStatusList
} }
if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== ''){ if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== '' && this.queryParams.searchKey !== undefined){
this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, ''); this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, '');
} }
getIssued(this.queryParams).then((r) => { getIssued(this.queryParams).then((r) => {
......
...@@ -273,7 +273,7 @@ export default { ...@@ -273,7 +273,7 @@ export default {
if (this.dynamicStatusList){ if (this.dynamicStatusList){
this.queryParams.dynamicStatusList=this.dynamicStatusList this.queryParams.dynamicStatusList=this.dynamicStatusList
} }
if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== ''){ if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== '' && this.queryParams.searchKey !== undefined){
this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, ''); this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, '');
} }
return Object.assign({}, this.queryParams, timeParams) return Object.assign({}, this.queryParams, timeParams)
......
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
if (this.dynamicStatusList){ if (this.dynamicStatusList){
this.queryParams.dynamicStatusList=this.dynamicStatusList this.queryParams.dynamicStatusList=this.dynamicStatusList
} }
if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== ''){ if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== '' && this.queryParams.searchKey !== undefined){
this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, ''); this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, '');
} }
return Object.assign({}, this.queryParams, timeParams) return Object.assign({}, this.queryParams, timeParams)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment