| | |
| | | <el-table-column |
| | | label="申请日期" |
| | | align="center" |
| | | prop="createTime" |
| | | prop="applyTime" |
| | | width="150px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ |
| | | parseTime(scope.row.createTime, "{y}-{m}-{d}") |
| | | parseTime(scope.row.applyTime, "{y}-{m}-{d}") |
| | | }}</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | username: [ |
| | | { required: true, message: "请输入申请人", trigger: "blur" } |
| | | ], |
| | | createTime: [ |
| | | applyTime: [ |
| | | { required: true, message: "请输入申请日期", trigger: "blur" } |
| | | ], |
| | | deptmentname: [ |
| | |
| | | .then(() => { |
| | | //查找是否存在登记完成记录 |
| | | //判断是否存在上报记录 |
| | | row.recordstatus = 0; |
| | | |
| | | row.recordstatus = 0;var currenttime = new Date(); |
| | | row.applyTime = currenttime.getFullYear() + "-" + (currenttime.getMonth()+1) + "-" + currenttime.getDate() + " " + currenttime.getHours() + ":" + currenttime.getMinutes() + ":" + currenttime.getSeconds(); |
| | | updateFund(row).then(response => { |
| | | if (response.code == 200) { |
| | | this.$message({ |