|
@@ -1631,10 +1631,15 @@ export default {
|
|
|
}
|
|
|
console.log(pamar, 'pamar')
|
|
|
if(this.form2.id!=null){
|
|
|
- updateJgjs(this.form2)
|
|
|
+ updateJgjs(this.form2);
|
|
|
}else{
|
|
|
this.form2.jgid=this.form.id;
|
|
|
- addJgjs(this.form2)
|
|
|
+ addJgjs(this.form2);
|
|
|
+ getJgjs(this.form.id).then(response => {
|
|
|
+ if(response.data!=null) {
|
|
|
+ this.form2 = response.data
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
if (this.form.id != null) {
|