判分点新增选择调整

master
e 3 years ago
parent 198e8be2e8
commit e8b06f5d52
  1. 18
      src/views/Transaction.vue

@ -438,14 +438,14 @@ export default {
},
handleConfirm(){
let list = []
if (this.formData.lcJudgmentRuleList.length){
for (var j = 0;j<this.formData.lcJudgmentRuleList.length;j++){
list.push(this.formData.lcJudgmentRuleList[j]);
}
for (var i=0;i<list.length;i++){
list[i].id = list[i].operationIds
}
}
// if (this.formData.lcJudgmentRuleList.length){
// for (var j = 0;j<this.formData.lcJudgmentRuleList.length;j++){
// list.push(this.formData.lcJudgmentRuleList[j]);
// }
// for (var i=0;i<list.length;i++){
// list[i].id = list[i].operationIds
// }
// }
if (this.SelectedObj.checkedNodes.length > 0){
for (var i=0;i<this.SelectedObj.checkedNodes.length;i++){
if(this.SelectedObj.checkedNodes[i].children.length > 0){
@ -485,8 +485,6 @@ export default {
item.operationIds = item.id
item.type = null
}
console.log(item.operationIds)
console.log(item.type)
//(1 2 3 4 5)
if (item.type == 1 || item.type == 2) {
obj.subjectId = Number(item.emptyOne);

Loading…
Cancel
Save