Commit a2da0cdc authored by 黄媛媛's avatar 黄媛媛

11

parent 3f46783a
......@@ -1204,10 +1204,11 @@ export default {
AuditList.Sort = this.myAuditList.length + 1;
AuditList.RoleOrInitiator = this.directors;
AuditList.SpecialNode = this.GetNodeValue;
if(this.GetNodeValue!=2){
if(this.directors==''){
return this.$message.error(this.$t('tips.qxzbmzgjibie'))
}
if(this.GetNodeValue==2){
this.directors=1
}
if(this.directors==''){
return this.$message.error(this.$t('tips.qxzbmzgjibie'))
}
this.levelList.forEach(x=>{
......@@ -1474,7 +1475,8 @@ export default {
},
addNode(){ // 添加节点
let AuditList = {};
let type = this.approvalType
let type = this.approvalType
console.log("this.approvalType",this.approvalType)
if(this.AuditDescription==''){
return this.$message.error(this.$t('tips.qtxjdmiaoshu'))
}
......@@ -1486,10 +1488,11 @@ export default {
AuditList.RoleOrInitiator = this.directors;
AuditList.AuditDescription='';
AuditList.SpecialNode = this.GetNodeValue;
if(this.GetNodeValue!=2){
if(this.directors==''){
return this.$message.error(this.$t('tips.qxzbmzgjibie'))
}
if(this.GetNodeValue==2){
this.directors=1
}
if(this.directors==''){
return this.$message.error(this.$t('tips.qxzbmzgjibie'))
}
this.levelList.forEach(x=>{
......@@ -1619,7 +1622,7 @@ export default {
AuditList.SpecialNode = this.GetNodeValue;
this.myAuditList.push(AuditList);
}
if(type==8){//记账出纳
if(type==8){//记账出纳
// if(!this.WindowID){
// this.$message.error("请选择窗口!")
// return
......@@ -1632,7 +1635,7 @@ export default {
AuditList.SpecialNode = this.GetNodeValue;
this.myAuditList.push(AuditList);
}
if(type==9){//收款出纳
if(type==9){//收款出纳
// if(!this.WindowID){
// this.$message.error("请选择窗口!")
// return
......@@ -1644,7 +1647,8 @@ export default {
AuditList.AuditDescription = this.AuditDescription;
AuditList.SpecialNode = this.GetNodeValue;
this.myAuditList.push(AuditList);
}
}
console.log("this.myAuditList",this.myAuditList)
this.closeLayer()
},
clearValue(t){ // 选择会计出纳窗口获取对应下拉
......
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