|
@@ -14,6 +14,7 @@ const defaultFunRela = {
|
|
|
banMinusChangeBills: true,
|
|
|
minusNoValue: true,
|
|
|
lockPayExpr: false,
|
|
|
+ showMinusCol: true,
|
|
|
imType: imType.zl.value,
|
|
|
needGcl: false,
|
|
|
};
|
|
@@ -68,6 +69,7 @@ module.exports = app => {
|
|
|
banMinusChangeBills: {type: 'bool', required: true,},
|
|
|
minusNoValue: {type: 'bool', required: true,},
|
|
|
lockPayExpr: {type: 'bool', required: true,},
|
|
|
+ showMinusCol: {type: 'bool', required: true,},
|
|
|
};
|
|
|
break;
|
|
|
default:
|
|
@@ -174,7 +176,8 @@ module.exports = app => {
|
|
|
const result = await this.db.update(this.tableName, {
|
|
|
id: id, fun_rela: JSON.stringify({
|
|
|
banOver: data.banOver, hintOver: data.hintOver, banMinusChangeBills: data.banMinusChangeBills,
|
|
|
- imType: data.imType, needGcl: data.needGcl, minusNoValue: data.minusNoValue, lockPayExpr: data.lockPayExpr,
|
|
|
+ imType: data.imType, needGcl: data.needGcl, minusNoValue: data.minusNoValue,
|
|
|
+ lockPayExpr: data.lockPayExpr, showMinusCol: data.showMinusCol,
|
|
|
}),
|
|
|
});
|
|
|
return result.affectedRows === 1;
|