DbjpEvent.js 607 Bytes
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import Api from '~/service/Api';

export default {
  methods:{
    ownextkeyChange(){
      if(this.model.recgrp.vrf && this.model.recgrp.vrf.hasOwnProperty("ownextkey")){
        this.model.recgrp.vrf.ownextkey = this.model.recgrp.bas.ownextkey
      }
      this.model.recgrp.bas.rptno = ""
    },
    custypeChange(){
      this.model.recgrp.bas.rptno = ""
      if("D" == this.model.recgrp.bas.custype || "F" == this.model.recgrp.bas.custype){
        this.model.recgrp.bas.custcod = ""
      }else if("C" == this.model.recgrp.bas.custype){
        this.model.recgrp.bas.idcode = ""
      }
    },
  }
}