diff --git a/src/components/CustomFormComponents/DatePickerGroup.vue b/src/components/CustomFormComponents/DatePickerGroup.vue index 4eed2dcd0..a3e7878b7 100644 --- a/src/components/CustomFormComponents/DatePickerGroup.vue +++ b/src/components/CustomFormComponents/DatePickerGroup.vue @@ -94,6 +94,10 @@ export default { required:{ type:Boolean, default:false + }, + naButton:{ + type:Boolean, + default:false } }, components: {}, @@ -144,7 +148,16 @@ export default { return { disabledDate (time) { return _this.tagList.includes(_this.$dateFormat(time, 'yyyy-MM-dd')) - } + }, + shortcuts:_this.naButton ? [{ + text: 'N/A', + onClick() { + _this.tagList.push('N/A') + _this.datePickerVisible = false + _this.datePickerVal = '' + _this.$emit('input', _this.tagList.join(',')) + } + }] : null } } }, diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 68f1b6aed..4bcae191e 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -298,9 +298,11 @@

{{ sarStandardsInfoEO.issueTime || '-' }}

-

{{ - sarStandardsInfoEO.standSystem || '-' - }}

+

+ + {{sarStandardsInfoEO.standSystem | ellipsis20 }} + +

@@ -582,8 +584,10 @@