From a608fcb5308747ff7b1ff6b4b94070132431319b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A4=9A=E5=95=A6C=E6=A2=A6?= <15709267061@163.com>
Date: Mon, 23 Jun 2025 13:58:16 +0800
Subject: [PATCH] update
---
src/pages/merchant/components/ViewMaterial.vue | 8 ++++++--
.../pages/task-center/manage-materials.vue | 14 ++++++++++++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/pages/merchant/components/ViewMaterial.vue b/src/pages/merchant/components/ViewMaterial.vue
index bf731df..061b0f6 100644
--- a/src/pages/merchant/components/ViewMaterial.vue
+++ b/src/pages/merchant/components/ViewMaterial.vue
@@ -4,7 +4,7 @@ import {ref} from "vue";
const visible = ref(false);
const emits = defineEmits(['edit']);
-const {id, material} = defineProps({
+const {id, material, disabled} = defineProps({
id: {
type: Number,
default: null,
@@ -12,6 +12,10 @@ const {id, material} = defineProps({
material: {
type: Object,
default: null,
+ },
+ disabled: {
+ type: Boolean,
+ default: false,
}
});
@@ -42,7 +46,7 @@ const edit = () => {
diff --git a/src/pages/merchant/pages/task-center/manage-materials.vue b/src/pages/merchant/pages/task-center/manage-materials.vue
index 74cc64c..b0d2975 100644
--- a/src/pages/merchant/pages/task-center/manage-materials.vue
+++ b/src/pages/merchant/pages/task-center/manage-materials.vue
@@ -121,6 +121,7 @@ const success = async () => {
@@ -130,6 +131,7 @@ const success = async () => {
@@ -139,7 +141,8 @@ const success = async () => {
@@ -147,6 +150,7 @@ const success = async () => {
v.material = val"
:id="po.id"
@@ -157,6 +161,7 @@ const success = async () => {
@@ -173,6 +178,7 @@ const success = async () => {
@@ -181,7 +187,11 @@ const success = async () => {
添加
-
+
+