重构: 入库改为工序选项(废弃勾选框) + TaskTreeNode增加remark调试log + isWarehouse计算属性

This commit is contained in:
2026-08-05 15:50:39 +08:00
parent f736cf0c13
commit c2db89d9d5
2 changed files with 25 additions and 13 deletions

View File

@ -87,6 +87,11 @@ export default {
currentUsername: { type: String, default: "" },
},
emits: ["action", "editRecord", "viewRecords"],
mounted() {
console.log("TaskTreeNode task keys:", Object.keys(this.task));
console.log("task.remark =", this.task.remark);
console.log("task.description =", this.task.description);
},
computed: {
canEditRecord() {
if (this.task.assignee_id == this.currentUserId) return true;