/* eslint-disable no-undef */
import {extendInclude, extendRule} from "../../utils/common";

/**
 * @return {string}
 */

export default {
  onChange: ({value,colInfo,getFieldValue,setFieldValue,setFieldEditable}) => {


  },
  onFetchAutoFilter:({colInfo,params,getFieldValue})=>{

  },
  onBeforeEdit:({isNew,getFieldValue,setFieldValueByBatch,setFieldEditable})=>{
    if(isNew){
      const temps=[];
      temps.push({field:'PRODUCT_TYPE',value:4});
      temps.push({field:'PRICE',value:0});
      temps.push({field:'MAX_WORK_NUMER',value:0})
      setFieldValueByBatch(temps);
    }

  },
  onBeforeSave:({data,getFieldValue,setFieldValue})=>{
  },
}
