Commit 4bd783de authored by zhengke's avatar zhengke

增加转班

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