|
|
|
@ -408,7 +408,7 @@ export default { |
|
|
|
const { actVol, actNd } = this.updateSjmbrynd(item, targetAcSolution); |
|
|
|
this.$refs[`paralleStepTableRef_${configIndex}`][0]?.updateDataSourceByRowIndex(rowIndex, { |
|
|
|
actSolutionVolume: actVol, |
|
|
|
targetAcSolution: actNd, |
|
|
|
actSolutionConcentration: actNd, |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -447,11 +447,11 @@ export default { |
|
|
|
const ref = this.currentType === "ladder" ? "ladderStepFormPackageRef_" : "paralleStepFormPackageRef_" |
|
|
|
const packageRef = this.$refs[`${ref}${this.currentRowIndex}`][0]; |
|
|
|
if (currentSubKey === "subStartSolution") { |
|
|
|
packageRef.updateFormData("targetAcSolution", row.nd, ["targetAcSolution"]); |
|
|
|
packageRef.updateFormData("targetAcSolution", row.nd); |
|
|
|
packageRef.onValueChangeCompareTo("targetAcSolution", row.nd, "targetStartSolution"); |
|
|
|
this.updateTableNd(row); |
|
|
|
} |
|
|
|
packageRef.updateFormData(currentSubKey, code, [currentSubKey]); |
|
|
|
packageRef.updateFormData(currentSubKey, code); |
|
|
|
this.currentSubKey = ""; |
|
|
|
} else if (currentTableKey === "actStartSolutionCode") {//实际原始溶液编号点击事件 |
|
|
|
const tableRef = this.$refs[`paralleStepTableRef_${currentRowIndex}`][0]; |
|
|
|
@ -461,7 +461,7 @@ export default { |
|
|
|
actStartSolutionCode: code, |
|
|
|
targetAcSolution: row.nd, |
|
|
|
actSolutionVolume: actVol, |
|
|
|
targetAcSolution: actNd, |
|
|
|
actSolutionConcentration: actNd, |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
@ -484,6 +484,7 @@ export default { |
|
|
|
// 遍历数据,按要求更新起始溶液编号 |
|
|
|
newData.forEach((item, index) => { |
|
|
|
const { actVol, actNd } = this.updateSjmbrynd(item, row.nd); |
|
|
|
console.log(actNd,"actNd") |
|
|
|
item.actSolutionVolume = actVol; |
|
|
|
item.actSolutionConcentration = actNd; |
|
|
|
}) |
|
|
|
|