删除frappe-gantt

This commit is contained in:
砂糖
2025-07-19 10:26:00 +08:00
parent 69e1178fee
commit df2d9a3025
7 changed files with 409 additions and 175 deletions

View File

@@ -112,6 +112,12 @@ import { listPurchasePlanDetail, getPurchasePlanDetail, delPurchasePlanDetail, a
export default {
name: "PurchasePlanDetail",
props: {
planId: {
type: [String, Number],
default: null
}
},
data() {
return {
// 按钮loading
@@ -169,6 +175,17 @@ export default {
created() {
this.getList();
},
watch: {
planId: {
handler(newVal) {
if (newVal) {
this.queryParams.planId = newVal;
this.getList();
}
},
immediate: true
}
},
methods: {
/** 查询采购计划明细列表 */
getList() {
@@ -221,6 +238,9 @@ export default {
/** 新增按钮操作 */
handleAdd() {
this.reset();
if (this.planId) {
this.form.planId = this.planId;
}
this.open = true;
this.title = "添加采购计划明细";
},