diff --git a/src/assets/less/common.less b/src/assets/less/common.less index 28ccb065..8472b405 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -643,6 +643,10 @@ border-bottom: 1px solid #E5E6EB; } + &-item:last-child { + border-bottom: none; + } + &-title { font-size: 16px; font-family: PingFang SC-Regular, PingFang SC, sans-serif; diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 82212633..b0645966 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -343,7 +343,7 @@ export default { }, methods: { add () { - this.$set(this.formInline, 'year_number', '2023') + this.formInline = Object.assign({}, this.defaultValue) this.$forceUpdate() this.type = 'add' this.getForm() diff --git a/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue b/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue index 0daf8899..43b7f394 100644 --- a/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue +++ b/src/views/standardRegulationLibrary/commonPage/modules/UpdateRecordModal.vue @@ -65,4 +65,8 @@ export default { .record-item:first-child { padding-top: 0; } + +.record-item:last-child { + border-bottom: none; +}