Commit 4967e23a authored by 罗超's avatar 罗超

新增请假申请单详情

parent 4195baee
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"cos-js-sdk-v5": "^1.1.5", "cos-js-sdk-v5": "^1.1.5",
"echarts": "^5.1.2", "echarts": "^5.1.2",
"element-ui": "^2.14.1", "element-ui": "^2.14.1",
"html2canvas": "^1.2.2", "html2canvas": "^1.3.2",
"js-md5": "^0.7.3", "js-md5": "^0.7.3",
"lockr": "^0.8.5", "lockr": "^0.8.5",
"lrz": "^4.9.41", "lrz": "^4.9.41",
......
This diff is collapsed.
...@@ -267,6 +267,14 @@ ...@@ -267,6 +267,14 @@
@success="refreshPage" @success="refreshPage"
> >
</temporaryClass-form> </temporaryClass-form>
<!-- 请假申请 -->
<leaveBillForm
v-if="isShowLeaveBillForm"
:seting-obj="billObj"
:showType="showType"
@close="closeBillForm"
@success="refreshPage"
></leaveBillForm>
</div> </div>
</div> </div>
</template> </template>
...@@ -283,6 +291,7 @@ import stopbillForm from "../../components/sale/stopbill-form"; ...@@ -283,6 +291,7 @@ import stopbillForm from "../../components/sale/stopbill-form";
import createbackbillForm from "../../components/sale/createbackbill-form"; import createbackbillForm from "../../components/sale/createbackbill-form";
import ordertransForm from "../../components/sale/ordertrans-form"; import ordertransForm from "../../components/sale/ordertrans-form";
import temporaryClassForm from "../../components/sale/temporaryClassbill-form"; import temporaryClassForm from "../../components/sale/temporaryClassbill-form";
import leaveBillForm from "../../components/sale/leavebill-form.vue";
export default { export default {
meta: { meta: {
title: "业务单据", title: "业务单据",
...@@ -294,6 +303,7 @@ export default { ...@@ -294,6 +303,7 @@ export default {
stopbillForm, stopbillForm,
ordertransForm, ordertransForm,
temporaryClassForm, temporaryClassForm,
leaveBillForm,
}, },
data() { data() {
return { return {
...@@ -384,6 +394,7 @@ export default { ...@@ -384,6 +394,7 @@ export default {
isShowStopBillForm: false, //是否显示停课订单详情 isShowStopBillForm: false, //是否显示停课订单详情
isShowClassTrans: false, //是否显示订单转班详情 isShowClassTrans: false, //是否显示订单转班详情
isShowTemporaryClass: false, //是否显示临时上课邀请订单详情 isShowTemporaryClass: false, //是否显示临时上课邀请订单详情
isShowLeaveBillForm: false, //是否显示请假申请单详情
}; };
}, },
created() { created() {
...@@ -431,6 +442,7 @@ export default { ...@@ -431,6 +442,7 @@ export default {
this.isShowStopBillForm = false; this.isShowStopBillForm = false;
this.isShowClassTrans = false; this.isShowClassTrans = false;
this.isShowTemporaryClass = false; this.isShowTemporaryClass = false;
this.isShowLeaveBillForm = false;
this.billObj = {}; this.billObj = {};
}, },
//显示表单 //显示表单
...@@ -455,6 +467,10 @@ export default { ...@@ -455,6 +467,10 @@ export default {
else if (item.ReceiptType == 5 || item.ReceiptType == 6) { else if (item.ReceiptType == 5 || item.ReceiptType == 6) {
this.isShowClassTrans = true; this.isShowClassTrans = true;
} }
//学生请假
else if (item.ReceiptType == 7) {
this.isShowLeaveBillForm = true;
}
this.showType = type; this.showType = type;
this.billObj = item; this.billObj = item;
}, },
...@@ -498,6 +514,7 @@ export default { ...@@ -498,6 +514,7 @@ export default {
this.isShowCreateBillForm = false; this.isShowCreateBillForm = false;
this.isShowStopBillForm = false; this.isShowStopBillForm = false;
this.isShowClassTrans = false; this.isShowClassTrans = false;
this.isShowLeaveBillForm = false;
this.billObj = {}; this.billObj = {};
this.getStuBackBill(); this.getStuBackBill();
}, },
......
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