Commit 4bd783de authored by zhengke's avatar zhengke

增加转班

parent 2c61fb1d
...@@ -568,3 +568,14 @@ export function SetChangeClassPlan(data) { ...@@ -568,3 +568,14 @@ export function SetChangeClassPlan(data) {
}); });
} }
/**
* 保存转班申请单
*/
export function SetOrderChange(data) {
return request({
url: '/OrderChange/SetOrderChange',
method: 'post',
data
});
}
...@@ -281,6 +281,12 @@ ...@@ -281,6 +281,12 @@
<q-item-label @click="showContinueClass(item)">续课</q-item-label> <q-item-label @click="showContinueClass(item)">续课</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup v-close-popup>
<q-item-section>
<q-item-label @click="transferClass(item)">转班</q-item-label>
</q-item-section>
</q-item>
</q-list> </q-list>
</q-btn-dropdown> </q-btn-dropdown>
</td> </td>
...@@ -788,6 +794,10 @@ ...@@ -788,6 +794,10 @@
<!--续课申请--> <!--续课申请-->
<continueclass-form v-if="isShowContinueClass" :save-obj="orderObj" @close="closeContinueClassForm" <continueclass-form v-if="isShowContinueClass" :save-obj="orderObj" @close="closeContinueClassForm"
@success="refreshOrder"></continueclass-form> @success="refreshOrder"></continueclass-form>
<!-- 转班申请 -->
<transferclass-form v-if="isShowTransferClass" :save-obj="orderObj" @close="closeTransferClassForm"
@success="refreshOrder"></transferclass-form>
<!-- 查看报价单 --> <!-- 查看报价单 -->
<viewquotation-form v-if="isShowviewQuo" :rId="offerId" :isShowCancle="1" @close="closeQuota" <viewquotation-form v-if="isShowviewQuo" :rId="offerId" :isShowCancle="1" @close="closeQuota"
...@@ -811,6 +821,7 @@ ...@@ -811,6 +821,7 @@
import classinfoForm from '../../components/course/classinfo-form'; //班级信息 import classinfoForm from '../../components/course/classinfo-form'; //班级信息
import continueclassForm from '../sale/continueclass-form' //续课申请 import continueclassForm from '../sale/continueclass-form' //续课申请
import viewquotationForm from '../sale/viewquotation-form' //报价单信息 import viewquotationForm from '../sale/viewquotation-form' //报价单信息
import transferclassForm from '../sale/transferclass-form' //转班信息
import eduinfoForm from '../sale/eduinfo-form' import eduinfoForm from '../sale/eduinfo-form'
...@@ -838,7 +849,8 @@ ...@@ -838,7 +849,8 @@
continueclassForm, continueclassForm,
viewquotationForm, viewquotationForm,
eduinfoForm, eduinfoForm,
studyorderForm studyorderForm,
transferclassForm
}, },
props: { props: {
//正常订单 //正常订单
...@@ -918,6 +930,7 @@ ...@@ -918,6 +930,7 @@
isEditOrder: false, //是否有【总经理】修改订单但权限 isEditOrder: false, //是否有【总经理】修改订单但权限
newModityOrderType: 0, newModityOrderType: 0,
isChaBan: 0, //是否插班(0-正常报入,1-插班报入) isChaBan: 0, //是否插班(0-正常报入,1-插班报入)
isShowTransferClass:false //是否显示转班
} }
}, },
created() { created() {
...@@ -1056,6 +1069,19 @@ ...@@ -1056,6 +1069,19 @@
this.orderObj = {}; this.orderObj = {};
this.isShowContinueClass = false; this.isShowContinueClass = false;
}, },
//转班
transferClass(item){
this.orderObj = item;
this.isShowTransferClass = true;
},
//关闭转班
closeTransferClassForm(){
this.orderObj = {};
this.isShowTransferClass = false;
},
//获取员工列表 //获取员工列表
Employee() { Employee() {
var qMsg = { var qMsg = {
......
This diff is collapsed.
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