Commit 0fa4d329 authored by 黄奎's avatar 黄奎

页面修改

parent a0334d16
......@@ -87,7 +87,6 @@
.q-field__prepend {
padding-right: 0px !important;
}
</style>
<template>
<q-dialog v-model="persistent" content-class="bg-grey-1" persistent transition-show="scale">
......@@ -362,9 +361,21 @@
saveConsult() {
this.$refs.PlanName.validate();
if (!this.$refs.PlanName.hasError) {
this.objOption.SaleIds = this.SaleIdsArray.toString();
this.objOption.UseCourseIds = this.UseCourseIdsArray.toString();
this.objOption.NotUseCourseIds = this.NotUseCourseIdsArray.toString();
if (this.SaleIdsArray && this.SaleIdsArray.length > 0) {
this.objOption.SaleIds = this.SaleIdsArray.toString();
} else {
this.objOption.SaleIds = "";
}
if (this.UseCourseIdsArray && this.UseCourseIdsArray.length > 0) {
this.objOption.UseCourseIds = this.UseCourseIdsArray.toString();
} else {
this.objOption.UseCourseIds = "";
}
if (this.NotUseCourseIdsArray && this.NotUseCourseIdsArray.length > 0) {
this.objOption.NotUseCourseIds = this.NotUseCourseIdsArray.toString();
} else {
this.objOption.NotUseCourseIds = '';
}
this.saveLoading = true;
SetBounsPlan(this.objOption).then(res => {
this.saveLoading = false;
......@@ -389,5 +400,4 @@
}
},
}
</script>
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment