|
@ -84,7 +84,7 @@ const priceOptionIndex = () => { |
|
|
if (item.spec == null) item.spec = '' |
|
|
if (item.spec == null) item.spec = '' |
|
|
if (item.memo == null) item.memo = '' |
|
|
if (item.memo == null) item.memo = '' |
|
|
if (item.price == null) item.price = 0 |
|
|
if (item.price == null) item.price = 0 |
|
|
return (item.group_name.toLowerCase().includes(text.toLowerCase()) || item.spec.toLowerCase().includes(text.toLowerCase()) || item.memo.toLowerCase().includes(text.toLowerCase()) || String(item.price).includes(text.toLowerCase())); |
|
|
return (item.id.includes(text.toLowerCase()) ||item.group_name.toLowerCase().includes(text.toLowerCase()) || item.spec.toLowerCase().includes(text.toLowerCase()) || item.memo.toLowerCase().includes(text.toLowerCase()) || String(item.price).includes(text.toLowerCase())); |
|
|
} |
|
|
} |
|
|
}).slice((Number(this.currentpage) - 1) * Number(this.pageLength), (Number(this.currentpage) - 1) * Number(this.pageLength) + Number(this.pageLength)) |
|
|
}).slice((Number(this.currentpage) - 1) * Number(this.pageLength), (Number(this.currentpage) - 1) * Number(this.pageLength) + Number(this.pageLength)) |
|
|
this.dataLangth = this.options.length |
|
|
this.dataLangth = this.options.length |
|
@ -165,7 +165,7 @@ const priceOptionSelect = () => { |
|
|
if (item.spec == null) item.spec = '' |
|
|
if (item.spec == null) item.spec = '' |
|
|
if (item.memo == null) item.memo = '' |
|
|
if (item.memo == null) item.memo = '' |
|
|
if (item.price == null) item.price = 0 |
|
|
if (item.price == null) item.price = 0 |
|
|
return (item.group_name.toLowerCase().includes(text.toLowerCase()) || item.spec.toLowerCase().includes(text.toLowerCase()) || item.memo.toLowerCase().includes(text.toLowerCase()) || String(item.price).includes(text.toLowerCase())); |
|
|
return (item.id.includes(text.toLowerCase()) || item.group_name.toLowerCase().includes(text.toLowerCase()) || item.spec.toLowerCase().includes(text.toLowerCase()) || item.memo.toLowerCase().includes(text.toLowerCase()) || String(item.price).includes(text.toLowerCase())); |
|
|
}).slice((Number(this.currentpage) - 1) * Number(this.pageLength), (Number(this.currentpage) - 1) * Number(this.pageLength) + Number(this.pageLength)) |
|
|
}).slice((Number(this.currentpage) - 1) * Number(this.pageLength), (Number(this.currentpage) - 1) * Number(this.pageLength) + Number(this.pageLength)) |
|
|
this.dataLangth = this.options.length |
|
|
this.dataLangth = this.options.length |
|
|
} else { |
|
|
} else { |
|
@ -304,7 +304,7 @@ const pricereviewOptionSelect = () => { |
|
|
if(option.memo == null) option.memo = '' |
|
|
if(option.memo == null) option.memo = '' |
|
|
if(option.price == null) option.price = 0 |
|
|
if(option.price == null) option.price = 0 |
|
|
if(option.unit == null) option.unit = '' |
|
|
if(option.unit == null) option.unit = '' |
|
|
if(option.group_name.includes(val) || option.memo.toLowerCase().includes(val) || option.spec.toLowerCase().includes(val) || option.unit.includes(val) || String(option.price).includes(val)){ |
|
|
if(option.id.includes(val) || option.group_name.includes(val) || option.memo.toLowerCase().includes(val) || option.spec.toLowerCase().includes(val) || option.unit.includes(val) || String(option.price).includes(val)){ |
|
|
option.status = "Y" |
|
|
option.status = "Y" |
|
|
}else{ |
|
|
}else{ |
|
|
option.status = "N" |
|
|
option.status = "N" |
|
|