|
|
|
@ -227,7 +227,7 @@ export default { |
|
|
|
// this.tabledata.push(this.rightselctedata[i]); |
|
|
|
} |
|
|
|
console.log(this.personnelUnit.customerOrgGroupId); |
|
|
|
|
|
|
|
|
|
|
|
// this. |
|
|
|
this.rightselctedata.forEach((item) => { |
|
|
|
this.addrulst.push({ |
|
|
|
@ -253,9 +253,9 @@ export default { |
|
|
|
} else { |
|
|
|
if (this.unselecteddata.length == 0) { |
|
|
|
this.$message.warning("未选数据为空无法移动"); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.saveornot = false; |
|
|
|
let count = this.unselecteddata.length - 1; |
|
|
|
let count = this.unselecteddata.length - 1; |
|
|
|
for (var i = count; i >= 0; i--) { |
|
|
|
// this.tabledata.splice(i, 1); |
|
|
|
if ([...new Set(this.unselecteddata)]) { |
|
|
|
@ -273,23 +273,22 @@ export default { |
|
|
|
// } else { |
|
|
|
// price = this.price; |
|
|
|
// } |
|
|
|
//获取最新价格 |
|
|
|
//获取最新价格 |
|
|
|
}); |
|
|
|
let prices = ""; |
|
|
|
// let prices = ""; |
|
|
|
this.personnelUnit.nogroupselected.forEach((items) => { |
|
|
|
prices = items.price; |
|
|
|
console.log(prices); |
|
|
|
// prices = items.price; |
|
|
|
|
|
|
|
// this.price = item.price; |
|
|
|
console.log(price); |
|
|
|
console.log(items, "items"); |
|
|
|
this.addrulst.push({ |
|
|
|
asbitemId: "3a0b2f0c-f884-bec4-a350-79b46b455a2d", |
|
|
|
asbitemId:items.id, // "3a0b2f0c-f884-bec4-a350-79b46b455a2d" |
|
|
|
// price: prices, |
|
|
|
price: this.psrice, |
|
|
|
price: items.price, |
|
|
|
customerOrgGroupId: this.personnelUnit.customerOrgGroupId, |
|
|
|
}); |
|
|
|
}); |
|
|
|
console.log(this.addrulst, "hhhhhhh"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -355,12 +354,12 @@ export default { |
|
|
|
this.personnelUnit.form = res.data; |
|
|
|
console.log(res); |
|
|
|
}); |
|
|
|
getapi( |
|
|
|
`/api/app/customer-org-group-detail/customer-org-group-detail-in-asbitem?CustomerOrgGroupId=${this.personnelUnit.form.id}` |
|
|
|
).then((res) => { |
|
|
|
console.log(res, "res"); |
|
|
|
this.personnelUnit.nogroupselected = res.data; |
|
|
|
}); |
|
|
|
// getapi( |
|
|
|
// `/api/app/customer-org-group-detail/customer-org-group-detail-in-asbitem/${this.personnelUnit.form.id}` |
|
|
|
// ).then((res) => { |
|
|
|
// console.log(res, "res"); |
|
|
|
// this.personnelUnit.nogroupselected = res.data; |
|
|
|
// }); |
|
|
|
}, |
|
|
|
// getapi(`/api/app/customer-org-group/${row.id}`).then((res) |
|
|
|
}, |
|
|
|
@ -401,6 +400,8 @@ export default { |
|
|
|
width: 20%; |
|
|
|
border: 1px solid #000; |
|
|
|
height: 300px; |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
margin-left: 7%; |
|
|
|
} |
|
|
|
.examinationcategory { |
|
|
|
|