|
@@ -1635,18 +1635,21 @@ export default {
|
|
|
}
|
|
|
console.log(pamar, 'pamar')
|
|
|
|
|
|
- if(this.form2.zt!="0"){
|
|
|
- delJgjs(this.form2.jgid).then(response =>{
|
|
|
- this.form2.jgid=this.form.id;
|
|
|
- addJgjs(this.form2);
|
|
|
- this.form2.zt="1";
|
|
|
- });
|
|
|
- // updateJgjs(this.form2);
|
|
|
- }else{
|
|
|
- this.form2.jgid=this.form.id;
|
|
|
- addJgjs(this.form2);
|
|
|
- this.form2.zt="1";
|
|
|
- }
|
|
|
+ this.form2.jgid=this.form.id;
|
|
|
+ addJgjs(this.form2);
|
|
|
+
|
|
|
+ // if(this.form2.zt!="0"){
|
|
|
+ // delJgjs(this.form2.jgid).then(response =>{
|
|
|
+ // this.form2.jgid=this.form.id;
|
|
|
+ // addJgjs(this.form2);
|
|
|
+ // this.form2.zt="1";
|
|
|
+ // });
|
|
|
+ // // updateJgjs(this.form2);
|
|
|
+ // }else{
|
|
|
+ // this.form2.jgid=this.form.id;
|
|
|
+ // addJgjs(this.form2);
|
|
|
+ // this.form2.zt="1";
|
|
|
+ // }
|
|
|
|
|
|
if (this.form.id != null) {
|
|
|
let formData = this.comparisonObject({ ...this.form, ...pamar }, this.copyForm)
|