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