feat(client_defaulter): add columns to search
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
4e89c66e2c
commit
8a8951b8b0
|
@ -30,10 +30,6 @@ export default class Controller extends Section {
|
|||
valueField: 'id',
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'amount',
|
||||
searchable: false
|
||||
},
|
||||
{
|
||||
field: 'workerFk',
|
||||
autocomplete: {
|
||||
|
@ -52,10 +48,6 @@ export default class Controller extends Section {
|
|||
valueField: 'observation',
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'creditInsurance',
|
||||
searchable: false
|
||||
},
|
||||
{
|
||||
field: 'defaulterSinced',
|
||||
searchable: false
|
||||
|
@ -122,7 +114,9 @@ export default class Controller extends Section {
|
|||
exprBuilder(param, value) {
|
||||
switch (param) {
|
||||
case 'observation':
|
||||
return {[`observation`]: value};
|
||||
return {[`observation`]: {like: `%${value}%`}};
|
||||
case 'creditInsurance':
|
||||
case 'amount':
|
||||
case 'clientName':
|
||||
case 'workerFk':
|
||||
case 'salesPersonFk':
|
||||
|
|
Loading…
Reference in New Issue