From 38df40bededb1be1ac1b4decb2b81ab2a4539921 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Thu, 29 Nov 2018 17:35:20 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E4=BB=B7=E6=A0=BC=E9=A2=84?=
=?UTF-8?q?=E7=AE=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../InterBudgetaryBudgets/index.vue | 58 +++++++++----------
1 file changed, 29 insertions(+), 29 deletions(-)
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.原材料规格 }}
-
-
- {{ scope.row.面积 }}
-
-
-
-
- {{ scope.row.重量 }}
-
-
-
-
- {{ 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('保存成功')