disable search observation
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5a906d075a
commit
2026e909e9
|
@ -61,7 +61,7 @@ module.exports = Self => {
|
||||||
u.nickname salesPersonName,
|
u.nickname salesPersonName,
|
||||||
d.amount,
|
d.amount,
|
||||||
co.created,
|
co.created,
|
||||||
CONCAT(DATE(co.created), ' ', co.text) observation,
|
co.text observation,
|
||||||
uw.id workerFk,
|
uw.id workerFk,
|
||||||
uw.nickname workerName,
|
uw.nickname workerName,
|
||||||
c.creditInsurance,
|
c.creditInsurance,
|
||||||
|
|
|
@ -41,11 +41,7 @@ export default class Controller extends Section {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'observation',
|
field: 'observation',
|
||||||
autocomplete: {
|
searchable: false
|
||||||
url: 'Defaulters/filter',
|
|
||||||
showField: 'observation',
|
|
||||||
valueField: 'observation',
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'created',
|
field: 'created',
|
||||||
|
@ -116,8 +112,6 @@ export default class Controller extends Section {
|
||||||
|
|
||||||
exprBuilder(param, value) {
|
exprBuilder(param, value) {
|
||||||
switch (param) {
|
switch (param) {
|
||||||
case 'observation':
|
|
||||||
return {[`observation`]: {like: `%${value}%`}};
|
|
||||||
case 'creditInsurance':
|
case 'creditInsurance':
|
||||||
case 'amount':
|
case 'amount':
|
||||||
case 'clientName':
|
case 'clientName':
|
||||||
|
|
Loading…
Reference in New Issue