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 () => {
添加
-
+
+