|
@@ -810,9 +810,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
/**修改*/
|
|
/**修改*/
|
|
|
showImproveAndUpload(record) {
|
|
showImproveAndUpload(record) {
|
|
|
|
|
+
|
|
|
if (!record.createTime.match(RegExp(this.getDate()))){
|
|
if (!record.createTime.match(RegExp(this.getDate()))){
|
|
|
return this.$message.warning('非当天创建 禁止修改', 3);
|
|
return this.$message.warning('非当天创建 禁止修改', 3);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (record.status!=='0'){
|
|
|
|
|
+ return this.$message.warning('当前状态非新建未报 不可修改', 3);
|
|
|
|
|
+ }
|
|
|
//校验
|
|
//校验
|
|
|
let data = {
|
|
let data = {
|
|
|
ids: [record.id],
|
|
ids: [record.id],
|