修改
This commit is contained in:
parent
cc24122484
commit
83c5a8c385
@ -525,10 +525,14 @@
|
||||
>{{ form.trainingParentName }}</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
<el-form-item label="所属培训课程分类" prop="trainingCategoryId" v-if="
|
||||
<el-form-item
|
||||
label="所属培训课程分类"
|
||||
prop="trainingCategoryId"
|
||||
v-if="
|
||||
form.trainingItemType == 'VIDEO_LEARNING' ||
|
||||
form.trainingItemType == 'GRAPHIC_LEARNING'
|
||||
">
|
||||
"
|
||||
>
|
||||
<el-button
|
||||
type=""
|
||||
:disabled="isEditFlag"
|
||||
@ -1196,7 +1200,6 @@ export default {
|
||||
this.$modal.msgSuccess("已修改上架状态为上架");
|
||||
} else {
|
||||
this.$modal.msgSuccess("已修改上架状态为未上架");
|
||||
|
||||
}
|
||||
this.getList();
|
||||
});
|
||||
@ -1338,12 +1341,12 @@ export default {
|
||||
submitForm() {
|
||||
if (this.form.trainingItemPrice) {
|
||||
this.form.trainingItemPrice = Number(this.form.trainingItemPrice);
|
||||
} else if (!this.form.trainingItemSort) {
|
||||
this.form.trainingItemSort = null;
|
||||
}
|
||||
if (!this.form.trainingItemPrice) {
|
||||
} else {
|
||||
this.form.trainingItemPrice = null;
|
||||
}
|
||||
if (!this.form.trainingItemSort) {
|
||||
this.form.trainingItemSort = null;
|
||||
}
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.form.trainingItemStartTime) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user