src/views/task/task.vue
@@ -274,6 +274,7 @@ viewBtn: true, selection: true, dialogClickModal: false, emptyBtn:false, column: [ { label: "任务名称", @@ -679,6 +680,14 @@ }); }, rowUpdate(row, index, done, loading) { if(row.stockNum<0){ this.$message({ type: "warning", message: "农资量不能为负数!" }); done(); return } update(row).then(() => { this.onLoad(this.page); this.$message({