Browse Source

feat:[模板管理][update]

lkf
luojie 2 months ago
parent
commit
831816bbcf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/components/Template/StepFormPackage.vue

+ 2
- 2
src/components/Template/StepFormPackage.vue View File

@ -187,9 +187,9 @@ export default {
const {buttonName = ""} = e;
const {config} = item;
if(buttonName === '开始' && config.hasOwnProperty("startDate")){
this.updateFormData("startDate",moment().format('YYYY-MM-DD HH:mm:ss'))
this.updateFormData("startDate",moment().format('YYYY-MM-DD HH:mm'))
}else if(buttonName === '结束' && config.hasOwnProperty("endDate")){
this.updateFormData("endDate",moment().format('YYYY-MM-DD HH:mm:ss'))
this.updateFormData("endDate",moment().format('YYYY-MM-DD HH:mm'))
}
this.$emit("clickButton",e,item)
},

Loading…
Cancel
Save