getThirdMoneyProgramKey function

dynamic getThirdMoneyProgramKey(
  1. dynamic label,
  2. dynamic sWidth,
  3. dynamic sHeight,
  4. dynamic type,
  5. dynamic col,
)

Implementation

getThirdMoneyProgramKey(label, sWidth, sHeight, type, col) {
  var nextAction = '';
  if (type == gBackContext) {
    nextAction = '$gTip$gReset';
  }
  return {
    "label": label,
    "type": gLocalAction,
    "actionid": gSetValueFocus,
    gInputType: gMoney,
    "width": sWidth,
    "height": sHeight,
    gAddnew: type, //append, ...
    '$gAfter$gBackContext': nextAction,
    gCol: col
  };
}