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

11

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