diff --git a/src/pages/policyRegulation/policy/components/editDrawer.vue b/src/pages/policyRegulation/policy/components/editDrawer.vue index 0d20d2132..a93586faa 100644 --- a/src/pages/policyRegulation/policy/components/editDrawer.vue +++ b/src/pages/policyRegulation/policy/components/editDrawer.vue @@ -1313,6 +1313,9 @@ export default { if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) { nowstandinfo.commentCycleStart = this.commentCycleDate2[0] nowstandinfo.commentCycleEnd = this.commentCycleDate2[1] + }else if (this.commentCycleDate2 === null) { + nowstandinfo.commentCycleStart = null + nowstandinfo.commentCycleEnd = null } this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, { _this: this, @@ -1354,6 +1357,9 @@ export default { if(this.commentCycleDate2 && this.commentCycleDate2.length > 0) { nowstandinfo.commentCycleStart = this.commentCycleDate2[0] nowstandinfo.commentCycleEnd = this.commentCycleDate2[1] + }else if (this.commentCycleDate2 === null) { + nowstandinfo.commentCycleStart = null + nowstandinfo.commentCycleEnd = null } this.$http.postData('lawss/sarLawsInfo/updateSarLawsStandInfo', nowstandinfo, { _this: this,