Parcourir la source

审批日期修改

wengyuwen il y a 4 ans
Parent
commit
3082541b5e
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/views/startApproval.vue

+ 3 - 3
src/views/startApproval.vue

@@ -25,10 +25,9 @@
 
         <el-form-item disabled label="审批日期">
                 <el-date-picker
-                  v-model="dataForm.createTime"
+                  v-model="dataForm.auditItenm"
                   size="large"
                   type="date"
-                  disabled
                   value-format="timestamp"
                   placeholder="审批日期"
                 >
@@ -57,7 +56,7 @@ import Global from '@/layout/components/global'
           actId: null,
           auditMsg: null,
           auditUserId: null,
-          createTime: new Date
+          auditItenm: null
         },
         visible: false,
         optionsBranch: []
@@ -81,6 +80,7 @@ import Global from '@/layout/components/global'
         this.dataForm.id = id
         this.dataForm.billId = id
         this.dataForm.actId = actId
+        this.$set(this.dataForm, 'auditItenm', Date.parse(new Date()))
       },
       approved () {
         this.$confirm(`是否通过审批?`, '提示', {