|
|
@@ -692,13 +692,19 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- showorhid(val){
|
|
|
- if(val=='1'||val=='2'){
|
|
|
- this.showorhidflag='hid'
|
|
|
- }
|
|
|
- else{
|
|
|
- this.showorhidflag='show'
|
|
|
- }
|
|
|
+ showorhid(val){
|
|
|
+ if(val=='1'||val=='2'){
|
|
|
+ this.showorhidflag='hid'
|
|
|
+ this.formData.OrganCode=""
|
|
|
+ this.formData.CountryTaxNo=""
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ if(this.formData.CommercialNo!=""){
|
|
|
+ this.formData.OrganCode=this.formData.CommercialNo
|
|
|
+ this.formData.CountryTaxNo=this.formData.CommercialNo
|
|
|
+ }
|
|
|
+ this.showorhidflag='show'
|
|
|
+ }
|
|
|
},
|
|
|
currentSel (event) {
|
|
|
if (event==2){
|