|
@@ -97,7 +97,7 @@
|
|
|
:label-width="auto"
|
|
|
:prop="item.required ? item.fieldKey : ''"
|
|
|
>
|
|
|
- <u-input v-model="form.apply_post" disabled :placeholder="`请输入${item.fieldName}`" />
|
|
|
+ <u-input v-model="form.apply_post" :disabled="apply_post_disabled" :placeholder="`请输入${item.fieldName}`" />
|
|
|
</u-form-item>
|
|
|
<u-form-item
|
|
|
:key="index"
|
|
@@ -498,6 +498,7 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ apply_post_disabled:false,
|
|
|
isRequired: false
|
|
|
};
|
|
|
},
|
|
@@ -545,6 +546,9 @@ export default {
|
|
|
this.goodsData = res.data.data;
|
|
|
if(this.goodsData.categoryName) {
|
|
|
this.form.apply_post = this.goodsData.categoryName;
|
|
|
+ if(this.goodsData.categoryName) {
|
|
|
+ this.apply_post_disabled = true;
|
|
|
+ }
|
|
|
}
|
|
|
resolve()
|
|
|
})
|