import commonFunctions from '~/mixin/commonFunctions.js';
export default {
  mixins: [commonFunctions],
  methods: {

    changePurcan() {
      //if (this.model.nidgrp.rec.purcan != "RN") {
      //  this.model.newref = "";
      //}
      this.changeClsflgp();
    },

    changeClsflgp() {
      if (this.model.nidgrp.rec.purcan != "RR") {
        this.model.mtabut.clsflg = "C";
      } else {
        this.model.mtabut.clsflg = "O";
      }
    }
  },
};