Commit 507ba137 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/luochao/confucius into master

parents 40d436c6 f7bebb55
...@@ -579,3 +579,16 @@ export function SetOrderChange(data) { ...@@ -579,3 +579,16 @@ export function SetOrderChange(data) {
}); });
} }
/**
* 保存分拆申请
*/
export function SetOrderSplit(data) {
return request({
url: '/OrderChange/SetOrderSplit',
method: 'post',
data
});
}
import request from '../../utils/request'
/**
* 获取部门分页列表
*/
export function getDeptPage(data) {
return request({
url: '/User/GetDeptPageList',
method: 'post',
data
});
}
<style>
.changeClassProcess {
width: 350px;
}
.changeClassProcess .processList {
width: 100%;
height: auto;
}
.changeClassProcess .processTop {
width: 100%;
height: 54px;
background-color: #F1F1F1;
color: #000000;
text-align: center;
line-height: 54px;
border-radius: 2px;
cursor: pointer;
position: relative;
}
.changeClassProcess .processLine {
width: 100%;
height: 54px;
background-color: #fff;
color: #bbb6b6;
text-align: center;
line-height: 54px;
}
.changeClassProcess .processLine i {
font-size: 25px;
font-weight: bold;
}
.changeClassProcess .otherList {
background-color: #2961FE !important;
color: #fff;
font-weight: bold;
}
.changeClassProcess .process_TwoList {
display: flex;
background-color: #2961FE !important;
color: #fff;
font-weight: bold;
align-items: center;
justify-content: center;
}
.changeClassProcess .process_He {
width: 36px;
height: 36px;
background-color: #3FC4FF;
text-align: center;
line-height: 36px;
color: #fff;
border-radius: 50%;
}
.changeClassProcess .process_Left {
width: 40%;
height: 100%;
text-align: right;
}
.changeClassProcess .process_center {
width: 20%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.changeClassProcess .process_Right {
width: 40%;
height: 100%;
text-align: left;
}
.changeClassProcess .process_OR {
background-color: #F28C1D;
}
.changeClassProcess .addProcessBtn {
width: 100%;
height: 45px;
text-align: center;
line-height: 45px;
color: #2961FE;
border: 1px dashed #2961FE;
border-radius: 2px;
cursor: pointer;
}
.changeClassProcess .process_BtnList {
margin-top: 30px;
width: 100%;
display: flex;
justify-content: center;
}
.changeClassProcess .process_BtnOne {
width: 90px;
height: 38px;
text-align: center;
line-height: 38px;
border-radius: 2px;
border: 1px solid #A1AAB2;
color: #000000;
cursor: pointer;
margin-right: 50px;
}
.changeClassProcess .SetShouSun {
display: inline-block;
border-radius: 2px;
background-color: #8175FB;
color: #fff;
position: absolute;
right: 10px;
width: 60px;
height: 27px;
left: 0;
top: 0;
line-height: 27px;
font-size: 13px;
}
.changeClassProcess .operationDiv {
position: absolute;
right: 0;
top: 0;
height: 30px;
line-height: 30px;
padding-right: 10px;
vertical-align: top;
}
.changeClassProcess .operationDiv i:first-child {
font-size: 13px;
}
.changeClassProcess .operationDiv i:hover {
color: red;
}
.changeClassProcess .justTwoClass {
margin-left: 8px;
}
</style>
<template>
<div class="changeClassProcess">
<div class="processList">
<div class="processTop">发起人</div>
<div class="processLine">
<i class="iconfont icon-down"></i>
</div>
</div>
<template v-for="(item,index) in flowObj.FlowNodeList">
<div class="processList" @click="getItem(index)">
<template v-if="item.FlowAduitList&&item.FlowAduitList.length==1">
<div class="processTop otherList">
{{item.FlowAduitList[0].AduitName}}
<template v-if="item.FlowAduitList&&item.FlowAduitList.length>0 && item.FlowAduitList[0].IsSpecNode==1">
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
<i class="iconfont icon-down"></i>
</div>
</template>
<template v-else>
<div class="processTop process_TwoList">
<div class="process_Left">{{item.FlowAduitList[0].AduitName}}</div>
<div class="process_center">
<template v-if="item.FlowAduitList[0].AuditWay==2">
<div class="process_He"></div>
</template>
<template v-if="item.FlowAduitList[0].AuditWay==3">
<div class="process_He process_OR">或者</div>
</template>
</div>
<div class="process_Right">
<template v-for="(subItem,subIndex) in item.FlowAduitList" v-if="subIndex>0">
{{subItem.AduitName}}
</template>
</div>
<template v-if="item.FlowAduitList&&item.FlowAduitList.length>0 && item.FlowAduitList[0].IsSpecNode==1">
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
<i class="iconfont icon-down"></i>
</div>
</template>
</div>
</template>
<br />
<div class="addProcessBtn" @click="AddNode">新增节点</div>
<div class="process_BtnList">
<q-btn label="保存" color="accent q-px-md" style="font-weight:400 !important" @click="setBackClassFlow" />
</div>
<process-form v-if="isShowProcess" :save-obj="processObj" :NodeIndex="ChooseNodeIndex" @close="closeProcessForm"
@success="refreshPage" :authObj="showObj">
</process-form>
</div>
</template>
<script>
import processForm from '../../components/flow/process-form';
import {
queryBackClassFlow,
saveBackClassFlow
} from '../../api/system/index'
export default {
meta: {
title: ""
},
components: {
processForm
},
data() {
return {
msg: {
FlowId: 6
},
isShowProcess: false, //显示旁边弹窗
processObj: {}, //传递子组件
flowObj: {
FlowId: 6,
FlowName: "分拆",
FlowNodeList: [], //审核节点列表
},
//显示对象
showObj: {
isShowShouSun: 0,//不显示收损
},
ChooseNodeIndex: 0,
}
},
created() {},
mounted() {
this.getBackClassFlow();
},
methods: {
//新增节点
AddNode() {
this.flowObj.FlowNodeList.push({
FlowId: 0,
NodeId: 0,
NodeName: "新增节点",
SortNum: 0,
FlowAduitList: [{
AduitName: "新增节点",
AuditType: 2,
AuditWay: 2,
CheckId: 0,
FlowId: 0,
IsSpecNode: 0,
NodeId: 8,
PostType: 0,
UserId: 0,
}]
});
},
//删除节点
DeleteNode(index) {
this.$q.dialog({
title: '提示信息',
message: '是否确定删除该流程',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
this.flowObj.FlowNodeList.splice(index, 1);
}).onCancel(() => {
});
},
getBackClassFlow() {
queryBackClassFlow(this.msg).then(res => {
if (res.Code == 1 && res.Data) {
this.flowObj = res.Data;
}
})
},
//点开旁边
getItem(nodeIndex) {
this.processObj = this.flowObj;
this.ChooseNodeIndex = nodeIndex;
this.isShowProcess = true;
},
//关闭
closeProcessForm() {
this.isShowProcess = false
},
//成功刷新
refreshPage() {
this.isShowProcess = false;
this.getBackClassFlow();
},
//保存退课流程
setBackClassFlow() {
saveBackClassFlow(this.flowObj).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '操作成功',
position: 'top'
})
this.refreshPage();
}
})
},
//下移下移
moveDown(index, IsUp) {
var currentItem = this.flowObj.FlowNodeList[index];
if (IsUp == 0) {
if (index > 0) {
var upItem = this.flowObj.FlowNodeList[index - 1];
this.$set(this.flowObj.FlowNodeList, index - 1, currentItem);
this.$set(this.flowObj.FlowNodeList, index, upItem);
}
} else {
if (index != this.flowObj.FlowNodeList.length - 1) {
var downItem = this.flowObj.FlowNodeList[index + 1];
this.$set(this.flowObj.FlowNodeList, index + 1, currentItem);
this.$set(this.flowObj.FlowNodeList, index, downItem);
}
}
}
}
}
</script>
...@@ -452,10 +452,6 @@ ...@@ -452,10 +452,6 @@
if (!tempArray) { if (!tempArray) {
tempArray = []; tempArray = [];
} }
tempArray.unshift({
SId: 0,
SName: "不限"
})
this.schoolList = tempArray; this.schoolList = tempArray;
} }
}) })
......
...@@ -297,9 +297,14 @@ ...@@ -297,9 +297,14 @@
<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 v-if="AuthorityObj.isShowTransOrder"> <q-item clickable v-close-popup v-close-popup v-if="AuthorityObj.isShowTransClassOrder">
<q-item-section> <q-item-section>
<q-item-label @click="transferClass(item)">转班</q-item-label> <q-item-label @click="transferClass(item,1)">转班</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup v-if="AuthorityObj.isShowSeparater">
<q-item-section>
<q-item-label @click="transferClass(item,2)">分拆</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
</q-list> </q-list>
...@@ -812,7 +817,7 @@ ...@@ -812,7 +817,7 @@
@success="refreshOrder"></continueclass-form> @success="refreshOrder"></continueclass-form>
<!-- 转班申请 --> <!-- 转班申请 -->
<transferclass-form v-if="isShowTransferClass" :save-obj="orderObj" @close="closeTransferClassForm" <transferclass-form v-if="isShowTransferClass" :save-obj="orderObj" :ChangeType="ChangeType" @close="closeTransferClassForm"
@success="refreshOrder"></transferclass-form> @success="refreshOrder"></transferclass-form>
<!-- 查看报价单 --> <!-- 查看报价单 -->
...@@ -936,6 +941,7 @@ ...@@ -936,6 +941,7 @@
isShowContract: true, //是否显示合同 isShowContract: true, //是否显示合同
isShowEdit: true, //是否显示修改订单按钮 isShowEdit: true, //是否显示修改订单按钮
isShowTransClassOrder: false, //是否显示转班按钮 isShowTransClassOrder: false, //是否显示转班按钮
isShowSeparater:false //是否显示分拆
}, },
isShowEduForm: false, //是否显示新增修改合同弹窗 isShowEduForm: false, //是否显示新增修改合同弹窗
...@@ -947,7 +953,8 @@ ...@@ -947,7 +953,8 @@
isEditOrder: false, //是否有【总经理】修改订单但权限 isEditOrder: false, //是否有【总经理】修改订单但权限
newModityOrderType: 0, newModityOrderType: 0,
isChaBan: 0, //是否插班(0-正常报入,1-插班报入) isChaBan: 0, //是否插班(0-正常报入,1-插班报入)
isShowTransferClass: false //是否显示转班 isShowTransferClass: false, //是否显示转班
ChangeType:1 //1-转班 2-分拆
} }
}, },
created() { created() {
...@@ -1038,6 +1045,9 @@ ...@@ -1038,6 +1045,9 @@
if (this.authObj.isShowTransClassOrder != null && this.authObj.isShowTransClassOrder) { if (this.authObj.isShowTransClassOrder != null && this.authObj.isShowTransClassOrder) {
this.AuthorityObj.isShowTransClassOrder = this.authObj.isShowTransClassOrder; this.AuthorityObj.isShowTransClassOrder = this.authObj.isShowTransClassOrder;
} }
if (this.authObj.isShowSeparater !=null && this.authObj.isShowSeparater){
this.AuthorityObj.isShowSeparater = this.authObj.isShowSeparater;
}
} }
}, },
//关闭报价单 //关闭报价单
...@@ -1090,8 +1100,9 @@ ...@@ -1090,8 +1100,9 @@
}, },
//转班 //转班
transferClass(item) { transferClass(item,type) {
this.orderObj = item; this.orderObj = item;
this.ChangeType = type;
this.isShowTransferClass = true; this.isShowTransferClass = true;
}, },
......
...@@ -110,7 +110,8 @@ ...@@ -110,7 +110,8 @@
<template v-if="isShowTuike"> <template v-if="isShowTuike">
<q-card-section> <q-card-section>
<div class="text-h6"> <div class="text-h6">
转班申请<span class="Title_remark">注:找不到学员?请确认学员是否已退课或已续班</span> {{transMsg.ChangeType==1?'转班申请':'分拆'}}
<span class="Title_remark">注:找不到学员?请确认学员是否已退课或已续班</span>
</div> </div>
</q-card-section> </q-card-section>
<div style="margin:20px;border-bottom:1px solid #E2E2E2"> <div style="margin:20px;border-bottom:1px solid #E2E2E2">
...@@ -124,9 +125,13 @@ ...@@ -124,9 +125,13 @@
</span> </span>
<span style="width:10%">{{item.GuestStateStr}}</span> <span style="width:10%">{{item.GuestStateStr}}</span>
<span style="width:20%;" class="guest_Status"> <span style="width:20%;" class="guest_Status">
<span v-if="item.GuestState==1" @click="clickItem(item)">转班</span> <span v-if="item.GuestState==1" @click="clickItem(item)">
{{transMsg.ChangeType==1?'转班':'分拆'}}
</span>
<template v-if="chooseItem&&chooseItem.Id==item.Id"> <template v-if="chooseItem&&chooseItem.Id==item.Id">
<span style="margin-left:10px;" @click="cancelApply">取消转班</span> <span style="margin-left:10px;" @click="cancelApply">
取消{{transMsg.ChangeType==1?'转班':'分拆'}}
</span>
</template> </template>
</span> </span>
</div> </div>
...@@ -163,6 +168,7 @@ ...@@ -163,6 +168,7 @@
</tr> </tr>
</table> </table>
<div class="row" style="margin-top:20px;"> <div class="row" style="margin-top:20px;">
<template v-if="transMsg.ChangeType==1">
<q-input filled v-model="transMsg.OutTime" class="col-6 q-pr-lg" mask="date" label="转出日期"> <q-input filled v-model="transMsg.OutTime" class="col-6 q-pr-lg" mask="date" label="转出日期">
<template v-slot:append> <template v-slot:append>
<q-icon name="event" class="cursor-pointer"> <q-icon name="event" class="cursor-pointer">
...@@ -172,6 +178,7 @@ ...@@ -172,6 +178,7 @@
</q-icon> </q-icon>
</template> </template>
</q-input> </q-input>
</template>
<q-input filled v-model="transMsg.EffectiveDate" class="col-6" mask="date" label="生效日期"> <q-input filled v-model="transMsg.EffectiveDate" class="col-6" mask="date" label="生效日期">
<template v-slot:append> <template v-slot:append>
<q-icon name="event" class="cursor-pointer"> <q-icon name="event" class="cursor-pointer">
...@@ -183,12 +190,12 @@ ...@@ -183,12 +190,12 @@
</q-input> </q-input>
</div> </div>
<q-input filled stack-label :dense="false" v-model="transMsg.Remarks" style="margin-top: 20px" type="textarea" <q-input filled stack-label :dense="false" v-model="transMsg.Remarks" style="margin-top: 20px" type="textarea"
class="col-12" label="转班原因" /> class="col-12" :label="transMsg.ChangeType==1?'转班原因':'分拆原因'" />
<q-separator /> <q-separator />
</div> </div>
<q-card-actions align="right" class="bg-white"> <q-card-actions align="right" class="bg-white">
<q-btn label="取消" flat color="grey-10" style="font-weight:400 !important" @click="closeContinueClassForm" /> <q-btn label="取消" flat color="grey-10" style="font-weight:400 !important" @click="closeContinueClassForm" />
<q-btn label="确认转班" color="accent" class="q-px-md" style="font-weight:400 !important" <q-btn :label="transMsg.ChangeType==1?'确认转班':'确认分拆'" color="accent" class="q-px-md" style="font-weight:400 !important"
@click="setRenewOrder" /> @click="setRenewOrder" />
</q-card-actions> </q-card-actions>
</template> </template>
...@@ -251,7 +258,7 @@ ...@@ -251,7 +258,7 @@
</div> </div>
<div class="continu_Div" style="width:20%"> <div class="continu_Div" style="width:20%">
<div>价格</div> <div>价格</div>
<div style="margin:5px 0;">续费价格:{{cItem.SellPrice}}</div> <div style="margin:5px 0;">售价:{{cItem.NewSellPrice}}</div>
<template v-if="cItem.ClassStepPriceList&&cItem.ClassStepPriceList.length>0"> <template v-if="cItem.ClassStepPriceList&&cItem.ClassStepPriceList.length>0">
更多优惠价格 更多优惠价格
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px"></span> <span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px"></span>
...@@ -292,7 +299,8 @@ ...@@ -292,7 +299,8 @@
<script> <script>
import { import {
getSchoolDropdown, getSchoolDropdown,
SetOrderChange SetOrderChange,
SetOrderSplit
} from '../../api/school/index' } from '../../api/school/index'
import { import {
GetClassTypeList GetClassTypeList
...@@ -312,6 +320,10 @@ ...@@ -312,6 +320,10 @@
type: Object, type: Object,
default: null, default: null,
}, },
ChangeType: {
type: Number,
default: null
}
}, },
data() { data() {
return { return {
...@@ -367,6 +379,7 @@ ...@@ -367,6 +379,7 @@
this.continueClassMsg.OrderId = this.saveObj.OrderId; this.continueClassMsg.OrderId = this.saveObj.OrderId;
this.continueClassMsg.ClassId = this.saveObj.ClassId; this.continueClassMsg.ClassId = this.saveObj.ClassId;
this.classMsg.ClassId = this.saveObj.ClassId; this.classMsg.ClassId = this.saveObj.ClassId;
this.transMsg.ChangeType = this.ChangeType;
this.getSchool(); this.getSchool();
this.GetClassTypeList(); this.GetClassTypeList();
...@@ -485,6 +498,7 @@ ...@@ -485,6 +498,7 @@
}) })
return; return;
} }
if(this.transMsg.ChangeType==1){
if (this.transMsg.OutTime=='') { if (this.transMsg.OutTime=='') {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
...@@ -493,6 +507,7 @@ ...@@ -493,6 +507,7 @@
}) })
return; return;
} }
}
if (this.transMsg.EffectiveDate=='') { if (this.transMsg.EffectiveDate=='') {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
...@@ -501,13 +516,14 @@ ...@@ -501,13 +516,14 @@
}) })
return; return;
} }
if(this.transMsg.ChangeType==1){
SetOrderChange(this.transMsg).then(res => { SetOrderChange(this.transMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.$q.notify({ this.$q.notify({
icon: 'iconfont icon-chenggong', icon: 'iconfont icon-chenggong',
color: 'accent', color: 'accent',
timeout: 2000, timeout: 2000,
message: '转班申请成功!', message: '保存成功!',
position: 'top' position: 'top'
}) })
//调用父页面成功方法 //调用父页面成功方法
...@@ -515,6 +531,22 @@ ...@@ -515,6 +531,22 @@
this.IsShowContinueClassDialog = false this.IsShowContinueClassDialog = false
} }
}) })
}else{
SetOrderSplit(this.transMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '保存成功!',
position: 'top'
})
//调用父页面成功方法
this.$emit('success');
this.IsShowContinueClassDialog = false
}
})
}
}, },
//获取校区列表 //获取校区列表
getSchool() { getSchool() {
...@@ -524,10 +556,6 @@ ...@@ -524,10 +556,6 @@
if (!tempArray) { if (!tempArray) {
tempArray = []; tempArray = [];
} }
tempArray.unshift({
SId: 0,
SName: "不限"
})
this.schoolList = tempArray; this.schoolList = tempArray;
} }
}) })
...@@ -581,6 +609,7 @@ ...@@ -581,6 +609,7 @@
this.transMsg.EffectiveDate='' this.transMsg.EffectiveDate=''
}, },
checkEffectDate(){ checkEffectDate(){
if(this.transMsg.ChangeType==1){
if(this.transMsg.OutTime==''){ if(this.transMsg.OutTime==''){
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
...@@ -589,6 +618,7 @@ ...@@ -589,6 +618,7 @@
}) })
this.transMsg.EffectiveDate='' this.transMsg.EffectiveDate=''
} }
}
this.$refs.qDateProxy2.hide() this.$refs.qDateProxy2.hide()
} }
} }
......
...@@ -686,7 +686,7 @@ ...@@ -686,7 +686,7 @@
<p> <p>
关联单号: 关联单号:
<span style="border-bottom: 1px solid #111;height: 34px;line-height: 34px;"> <span style="border-bottom: 1px solid #111;height: 34px;line-height: 34px;">
<el-input type="text" v-model='msg.RelevanceFrId' placeholder="如:123,234" onkeyup="this.value=this.value.replace(/[^0-9\,]/,'')"/> <input type="text" v-model='msg.RelevanceFrId' placeholder="如:123,234" onkeyup="this.value=this.value.replace(/[^\d\,]/g,'')"/>
</span> </span>
</p> </p>
<template v-if="GetDetail.FrID!=0"> <template v-if="GetDetail.FrID!=0">
...@@ -827,6 +827,29 @@ ...@@ -827,6 +827,29 @@
<el-button size="small" type="danger" @click="maxmoneyTips=false">确 定</el-button> <el-button size="small" type="danger" @click="maxmoneyTips=false">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<q-dialog v-model="costmode" persistent transition-show="scale" transition-hide="scale" >
<q-card style="width: 700px;max-width:700px;">
<q-card-section>
<div class="text-h6">为规范财务管理工作,关于财务单据制单和报销,特作以下温馨提示</div>
</q-card-section>
<q-card-section>
<div class="text-">
1.正确选取财务单据的归属校区和部门。<br>
2.与班级或活动相关的收支单据,应相关联。<br>
3.财务单据请上传相关原始附件。支出单据请提供合法票据(发票),凭票报销。如无法提供发票请特殊备注说明原因并单独制单。办公用品请附入库清单。<br>
4.支出单尽量选择公对公走账,如必须公对私请特殊备注说明原由。<br>
5.支出单请详细备注:使用校区及用途。<br>
6.原则上凭票报销,因特殊情况如发票后补,请及时补回发票,如跨月才提供发票应走借款程序,做特殊处理。<br>
7.大于5000元以上的支出须提供合同,并上传至附件。
</div>
</q-card-section>
<q-card-actions align="right">
<q-btn color="primary" label="我知道了" @click="costmode = false" />
</q-card-actions>
</q-card>
</q-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -970,7 +993,8 @@ ...@@ -970,7 +993,8 @@
rowsPerPage: 12, rowsPerPage: 12,
SName: "", SName: "",
Status: '-1' Status: '-1'
} },
costmode:true,
} }
}, },
methods: { methods: {
...@@ -2073,6 +2097,10 @@ ...@@ -2073,6 +2097,10 @@
if (this.$route.query.edit) { if (this.$route.query.edit) {
// 编辑 // 编辑
this.msg.FrID = this.$route.query.FrID; this.msg.FrID = this.$route.query.FrID;
console.log(this.$route.query.FrID,'财务单据id')
if( this.msg.FrID>0){
this.costmode= false
}
this.Financial_post_Get(this.$route.query.FrID, 0); this.Financial_post_Get(this.$route.query.FrID, 0);
} else { } else {
if (this.$route.query.czmsg) { if (this.$route.query.czmsg) {
......
...@@ -588,7 +588,7 @@ ...@@ -588,7 +588,7 @@
<p> <p>
关联单号: 关联单号:
<span style="border-bottom: 1px solid #111;height: 34px;line-height: 34px;"> <span style="border-bottom: 1px solid #111;height: 34px;line-height: 34px;">
<el-input type="text" v-model='msg.RelevanceFrId' placeholder="如:123,234" onkeyup="this.value=this.value.replace(/[^0-9\,]/,'')"/> <input type="text" v-model='msg.RelevanceFrId' placeholder="如:123,234" onkeyup="this.value=this.value.replace(/[^\d\,]/g,'')"/>
</span> </span>
</p> </p>
</div> </div>
...@@ -672,6 +672,29 @@ ...@@ -672,6 +672,29 @@
</div> </div>
</div> </div>
</div> </div>
<q-dialog v-model="costmode" persistent transition-show="scale" transition-hide="scale" >
<q-card style="width: 700px;max-width:700px;">
<q-card-section>
<div class="text-h6">为规范财务管理工作,关于财务单据制单和报销,特作以下温馨提示</div>
</q-card-section>
<q-card-section>
<div class="text-">
1.正确选取财务单据的归属校区和部门。<br>
2.与班级或活动相关的收支单据,应相关联。<br>
3.财务单据请上传相关原始附件。支出单据请提供合法票据(发票),凭票报销。如无法提供发票请特殊备注说明原因并单独制单。办公用品请附入库清单。<br>
4.支出单尽量选择公对公走账,如必须公对私请特殊备注说明原由。<br>
5.支出单请详细备注:使用校区及用途。<br>
6.原则上凭票报销,因特殊情况如发票后补,请及时补回发票,如跨月才提供发票应走借款程序,做特殊处理。<br>
7.大于5000元以上的支出须提供合同,并上传至附件。
</div>
</q-card-section>
<q-card-actions align="right">
<q-btn color="primary" label="我知道了" @click="costmode = false" />
</q-card-actions>
</q-card>
</q-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -830,7 +853,9 @@ ...@@ -830,7 +853,9 @@
rowsPerPage: 12, rowsPerPage: 12,
SName: "", SName: "",
Status: '-1' Status: '-1'
} },
costmode:true,
} }
}, },
methods: { methods: {
...@@ -1855,6 +1880,9 @@ ...@@ -1855,6 +1880,9 @@
if (this.$route.query.edit) { if (this.$route.query.edit) {
this.edit = this.$route.query.edit; this.edit = this.$route.query.edit;
this.msg.FrID = this.$route.query.FrID; this.msg.FrID = this.$route.query.FrID;
if( this.msg.FrID>0){
this.costmode= false
}
this.Financial_post_Get(parseInt(this.$route.query.FrID), 0); this.Financial_post_Get(parseInt(this.$route.query.FrID), 0);
this.currentType = 1 this.currentType = 1
this.currentId = this.$route.query.FrID this.currentId = this.$route.query.FrID
......
...@@ -222,7 +222,55 @@ ...@@ -222,7 +222,55 @@
<template v-for="(item,index) in DataList" v-loading="loading"> <template v-for="(item,index) in DataList" v-loading="loading">
<tr> <tr>
<!-- -合同信息-- --> <!-- -合同信息-- -->
<td @click="goUrl3('/sale/orderStatistics',item.OrderId)"><span style="cursor: pointer;text-decoration: underline;" >{{item.OrderId}}</span></td> <td @click="goUrl3('/sale/orderStatistics',item.OrderId)">
<template v-if="item.JoinType==3">
<el-tooltip class="item" effect="dark" content="续费订单" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:red" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.TargetJoinType==3">
<el-tooltip class="item" effect="dark" content="已续费" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:green" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.TargetJoinType==4">
<el-tooltip class="item" effect="dark" :content="`已转班【${item.TargetClassName}】,关联订单号${item.TargetOrderId}`" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:orange" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.TargetJoinType==1">
<template v-if="item.JoinType==3">
<el-tooltip class="item" effect="dark" :content="`原订单${item.SourceOrderId}`" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:blue" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else-if="item.JoinType==4">
<el-tooltip class="item" effect="dark" :content="`从【${item.SourceClassName}】转入,关联订单号${item.SourceOrderId}`" placement="top-start">
<span style="cursor: pointer;text-decoration: underline;color:blue" >
{{item.OrderId}}
</span>
</el-tooltip>
</template>
<template v-else>
<span style="cursor: pointer;text-decoration: underline;" >
{{item.OrderId}}
</span>
</template>
</template>
<template v-else>
<span style="cursor: pointer;text-decoration: underline;" >
{{item.OrderId}}
</span>
</template>
</td>
<td>{{item.CreateTime}}</td> <td>{{item.CreateTime}}</td>
<td @click="goUrl('/sale/contractManage',item.ContractNo)"><span style="cursor: pointer;text-decoration: underline;" >{{item.ContractNo}}</span></td> <td @click="goUrl('/sale/contractManage',item.ContractNo)"><span style="cursor: pointer;text-decoration: underline;" >{{item.ContractNo}}</span></td>
<td @click="goUrl('/course/course',item.CourseName)"><span style="cursor: pointer;text-decoration: underline;" >{{item.CourseName}}</span></td> <td @click="goUrl('/course/course',item.CourseName)"><span style="cursor: pointer;text-decoration: underline;" >{{item.CourseName}}</span></td>
......
...@@ -130,9 +130,53 @@ ...@@ -130,9 +130,53 @@
:header-cell-style="{backgroundColor:'#f5f6f7', color: '#a8a8b3'}" border style="width: 100%"> :header-cell-style="{backgroundColor:'#f5f6f7', color: '#a8a8b3'}" border style="width: 100%">
<el-table-column prop="OrderId" label="订单号" width='90'> <el-table-column prop="OrderId" label="订单号" width='90'>
<template slot-scope="scope"> <template slot-scope="scope">
<div style="text-decoration: underline;cursor: pointer;" @click='gobaoming(scope.row.OrderId)'> <template v-if="scope.row.JoinType==3">
<el-tooltip class="item" effect="dark" content="续费订单" placement="top-start">
<div style="text-decoration: underline;cursor: pointer;color:red" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}} {{scope.row.OrderId}}
</div> </div>
</el-tooltip>
</template>
<template v-else-if="scope.row.TargetJoinType==3">
<el-tooltip class="item" effect="dark" content="已续费" placement="top-start">
<div style="text-decoration: underline;cursor: pointer;color:green" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else-if="scope.row.TargetJoinType==4">
<el-tooltip class="item" effect="dark" :content="`已转班【${scope.row.TargetClassName}】,关联订单号${scope.row.TargetOrderId}`" placement="top-start">
<div style="text-decoration: underline;cursor: pointer;color:orange" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else-if="scope.row.TargetJoinType==1">
<template v-if="scope.row.JoinType==3">
<el-tooltip class="item" effect="dark" :content="`原订单${scope.row.SourceOrderId}`" placement="top-start">
<div style="cursor: pointer;text-decoration: underline;color:blue" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else-if="scope.row.JoinType==4">
<el-tooltip class="item" effect="dark" :content="`从【${scope.row.SourceClassName}】转入,关联订单号${scope.row.SourceOrderId}`" placement="top-start">
<div style="cursor: pointer;text-decoration: underline;color:blue" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</el-tooltip>
</template>
<template v-else>
<div style="cursor: pointer;text-decoration: underline;" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</template>
</template>
<template v-else>
<div style="cursor: pointer;text-decoration: underline;" @click='gobaoming(scope.row.OrderId)'>
{{scope.row.OrderId}}
</div>
</template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="ContractNo" width='150' label="合同号"></el-table-column> <el-table-column prop="ContractNo" width='150' label="合同号"></el-table-column>
......
...@@ -170,6 +170,7 @@ ...@@ -170,6 +170,7 @@
isShowBackClass: true, //显示退课按钮 isShowBackClass: true, //显示退课按钮
isShowRenewClass: true, //显示续课按钮 isShowRenewClass: true, //显示续课按钮
isShowTransClassOrder:true,//现在转班按钮 isShowTransClassOrder:true,//现在转班按钮
isShowSeparater: true //显示分拆按钮
} }
} }
}, },
......
This diff is collapsed.
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
<!-- 临时上课邀请流程 --> <!-- 临时上课邀请流程 -->
<temporaryClass-form></temporaryClass-form> <temporaryClass-form></temporaryClass-form>
</template> </template>
<template v-if="tabCheck=='6'">
<!-- 分拆 -->
<separate-form></separate-form>
</template>
</div> </div>
</div> </div>
</template> </template>
...@@ -36,6 +40,7 @@ ...@@ -36,6 +40,7 @@
import stopclassflowForm from '../../components/flow/stopclassflow-form'; import stopclassflowForm from '../../components/flow/stopclassflow-form';
import transferForm from '../../components/flow/transfer-form'; import transferForm from '../../components/flow/transfer-form';
import temporaryClassForm from '../../components/flow/temporaryClass-form'; import temporaryClassForm from '../../components/flow/temporaryClass-form';
import separateForm from '../../components/flow/separate-form'
export default { export default {
meta: { meta: {
title: "流程设置" title: "流程设置"
...@@ -45,7 +50,8 @@ ...@@ -45,7 +50,8 @@
changeclassflowForm, changeclassflowForm,
stopclassflowForm, stopclassflowForm,
transferForm, transferForm,
temporaryClassForm temporaryClassForm,
separateForm
}, },
data() { data() {
return { return {
...@@ -68,6 +74,10 @@ ...@@ -68,6 +74,10 @@
{ {
name: "5", name: "5",
label: "临时上课邀请流程" label: "临时上课邀请流程"
},
{
name: "6",
label: "分拆"
} }
], ],
tabCheck: '1', tabCheck: '1',
......
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
this.isShowTemporaryClass =true; this.isShowTemporaryClass =true;
} }
//转班 //转班
else if (item.ReceiptType == 5){ else if (item.ReceiptType == 5 || item.ReceiptType==6){
this.isShowClassTrans =true; this.isShowClassTrans =true;
} }
this.showType = type; this.showType = type;
......
...@@ -341,7 +341,7 @@ ...@@ -341,7 +341,7 @@
this.isShowBackBillForm = true; this.isShowBackBillForm = true;
} }
//转班 //转班
else if(item.ReceiptType == 5){ else if(item.ReceiptType == 5||item.ReceiptType == 6){
this.isShowTransForm = true; this.isShowTransForm = true;
} }
//停课 //停课
......
...@@ -1042,6 +1042,11 @@ const routes = [{ ...@@ -1042,6 +1042,11 @@ const routes = [{
component: () => component: () =>
import("pages/stuMan/classRecord") import("pages/stuMan/classRecord")
}, },
{
path: "/stuMan/studentManage",//学管 学员管理
component: () =>
import("pages/stuMan/studentManage")
},
], ],
}, },
......
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