Commit 6ca25e04 authored by 黄媛媛's avatar 黄媛媛

update

parent 92a16069
......@@ -558,6 +558,7 @@ import myFlowChartModule from "./FinancialSubmodule/FlowChartModule.vue";
export default {
data(){
return{
maxmoneyData:0,
detailCurrDis:false,
Description:"",
msg:{
......@@ -918,6 +919,11 @@ export default {
// return
// }
}
// 判断付款金额与最大金额
if(this.maxmoneyData>0 && this.allPriceTo>this.maxmoneyData){
this.Error(`根据公司规定,每张付款单不能超过${this.maxmoneyData}元,超过需额外制单,谢谢配合!`)
return;
}
//旅客名单数据组装
if(!this.$route.query.edit){
this.msg.Type = this.$route.query.Type
......@@ -1562,7 +1568,14 @@ export default {
}
this.Description= gj+gn+gjzd+sj+sc
}
}
},
MaxMoney(){ // 获取最大金额
this.apipost('Financial_get_GetFinanceMoneyLimit',{}, res => {
if(res.data.resultCode == 1) {
this.maxmoneyData = res.data.data;
}
}, err => {})
},
},
created(){
var that=this;
......@@ -1588,7 +1601,12 @@ export default {
}
}, err => {})
},
mounted(){
// 付款单新增或修改 获取最大金额
if((this.$route.query.type && this.$route.query.type==2) || (this.$route.query.Type && this.$route.query.Type==2)){
this.MaxMoney();
}
let userInfo = this.getLocalStorage();
this.department = userInfo.DepartName;
this.EmployeeId=userInfo.EmployeeId;
......
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