diff --git a/src/views/Outsourcing/InterBudgetaryBudgets/index.vue b/src/views/Outsourcing/InterBudgetaryBudgets/index.vue index 753afaf0..5595bd25 100644 --- a/src/views/Outsourcing/InterBudgetaryBudgets/index.vue +++ b/src/views/Outsourcing/InterBudgetaryBudgets/index.vue @@ -76,30 +76,30 @@ {{ scope.row.原材料规格 }} - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
@@ -305,7 +305,7 @@ export default { return } else if (index === 5) { for (let i = 0; i < data.length; i++) { - sums[5] += parseFloat(data[i].外协预算价格_系数) + sums[5] += parseFloat(data[i].外协预算价格_计算) } sums[5] = parseInt(sums[5] * 100) / 100 } @@ -317,8 +317,8 @@ export default { this.tableData = [] searchTable(row.工艺计划流水号, 1).then(response => { for (let i = 0; i < response.data.length; i++) { - if (response.data[i].外协预算价格_系数 !== 0) { - response.data[i].外协预算价格_系数 = response.data[i].外协预算价格_系数.toFixed(2) + if (response.data[i].外协预算价格_计算 !== 0) { + response.data[i].外协预算价格_计算 = response.data[i].外协预算价格_计算.toFixed(2) } } this.cailiaofei = row.材料费 @@ -372,7 +372,7 @@ export default { this.$message.error('请选择零件') } else { for (let i = 0; i < this.tableData.length; i++) { - saveRowPrice(this.tableData[i].工序流水号, parseFloat(this.tableData[i].外协预算价格_系数), this.tableData[i].工艺计划流水号, this.cailiaofei).then(response => { + saveRowPrice(this.tableData[i].工序流水号, parseFloat(this.tableData[i].外协预算价格_计算), this.tableData[i].工艺计划流水号, this.cailiaofei).then(response => { }) } this.$message.success('保存成功')