1730532197@qq.com

lwj

...@@ -488,12 +488,13 @@ ...@@ -488,12 +488,13 @@
488 submitForm: function() { 488 submitForm: function() {
489 this.$refs["form"].validate(valid => { 489 this.$refs["form"].validate(valid => {
490 if (valid) { 490 if (valid) {
491 + let formdata=JSON.parse(JSON.stringify(this.form));
491 //是否开启高地价 492 //是否开启高地价
492 - this.form.highLowPriceFlg =this.form.highLowPriceFlg?1:0; 493 + formdata.highLowPriceFlg =formdata.highLowPriceFlg?1:0;
493 //是否预审 494 //是否预审
494 - this.form.isNeedRequired =this.form.isNeedRequired?1:0; 495 + formdata.isNeedRequired =formdata.isNeedRequired?1:0;
495 //处理数据 496 //处理数据
496 - saveOrUpdate(this.form).then(response => { 497 + saveOrUpdate(formdata).then(response => {
497 if (response.code === 200) { 498 if (response.code === 200) {
498 this.msgSuccess("保存成功"); 499 this.msgSuccess("保存成功");
499 this.open = false; 500 this.open = false;
......