Commit a5b57acd authored by xiejb's avatar xiejb

高级搜索 重置按钮b报错问题

parent dfa0bc12
...@@ -163,13 +163,13 @@ export default { ...@@ -163,13 +163,13 @@ export default {
titleInitial(model) { titleInitial(model) {
let str = '' let str = ''
if (this.isJudgeStrNull(model.companyname)) { if (this.isJudgeStrNull(model.companyname)) {
str = model.companyname str = model.companyname + '/'
} }
if (this.isJudgeStrNull(model.erp_user)) { if (this.isJudgeStrNull(model.erp_user)) {
str = str + '/('+ model.erp_user + ')' str = str + '('+ model.erp_user + ')'
} }
if (this.isJudgeStrNull(model.partyOpcode)) { if (this.isJudgeStrNull(model.partyOpcode)) {
str = str + '/' + model.partyOpcode str = str + model.partyOpcode
} }
return str return str
}, },
......
...@@ -347,17 +347,13 @@ export default { ...@@ -347,17 +347,13 @@ export default {
this.$emit('onsearch', this.moreSearchInfo) this.$emit('onsearch', this.moreSearchInfo)
}, },
onCleanClick() { onCleanClick() {
this.moreSearchInfo = { this.moreSearchInfo.supplier = []
supplier: [], // 供应商 this.moreSearchInfo.consignor = []
consignor: [], // 货主 this.moreSearchInfo.client = []
goods: '', // 商品 this.moreSearchInfo.orderNo = ''
client: [], // 客户 this.moreSearchInfo.goods = ''
orderNo: '', this.moreSearchInfo.time.start = getFormateDate(new Date(), 'yyyy-MM-dd')
time: { this.moreSearchInfo.time.end = getFormateDate(new Date(), 'yyyy-MM-dd')
start: getFormateDate(new Date(), 'yyyy-MM-dd'),
end: getFormateDate(new Date(), 'yyyy-MM-dd')
},
}
this.onQuickDateChoose(0, '') this.onQuickDateChoose(0, '')
// console.log(this.moreSearchInfo) // console.log(this.moreSearchInfo)
// this.moreSearchShow = false // this.moreSearchShow = false
...@@ -435,13 +431,13 @@ export default { ...@@ -435,13 +431,13 @@ export default {
// return model.companyname + '/(' + model.erp_user + ')' // return model.companyname + '/(' + model.erp_user + ')'
let str = '' let str = ''
if (this.isJudgeStrNull(model.companyname)) { if (this.isJudgeStrNull(model.companyname)) {
str = model.companyname str = model.companyname + '/'
} }
if (this.isJudgeStrNull(model.erp_user)) { if (this.isJudgeStrNull(model.erp_user)) {
str = str + '/('+ model.erp_user + ')' str = str + '('+ model.erp_user + ')'
} }
if (this.isJudgeStrNull(model.partyOpcode)) { if (this.isJudgeStrNull(model.partyOpcode)) {
str = str + '/' + model.partyOpcode str = str + model.partyOpcode
} }
return str return str
}, },
......
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