From 56c465363df0ccb564ec1144f4dde86379dbe994 Mon Sep 17 00:00:00 2001
From: Vergil <974548713@qq.com>
Date: Thu, 19 Mar 2020 09:15:22 +0800
Subject: [PATCH 1/7] =?UTF-8?q?=E7=89=A9=E6=96=99=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../MaterialManagement/index.vue | 66 +++----------------
1 file changed, 10 insertions(+), 56 deletions(-)
diff --git a/src/views/PurchasingCenter/MaterialManagement/index.vue b/src/views/PurchasingCenter/MaterialManagement/index.vue
index 15f5e538..fb6509df 100644
--- a/src/views/PurchasingCenter/MaterialManagement/index.vue
+++ b/src/views/PurchasingCenter/MaterialManagement/index.vue
@@ -138,14 +138,7 @@
-
+
{{ scope.row.物料名称 }}
@@ -211,19 +204,9 @@
- 查询
+ 查询
-
+
{{ scope.row.供货商 }}
@@ -251,13 +234,7 @@
-
+
-
+
{{ scope.row.物料类别 }}
@@ -427,13 +398,7 @@
编辑
-
+
{{ scope.row.品种编号 }}
@@ -471,13 +436,9 @@
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
未到
已到
@@ -200,8 +182,8 @@ export default {
// this.getTableData()
},
methods: {
- formatJson(filterVal, jsonData) {
- return jsonData.map(v => filterVal.map(j => {
+ formatJson(column, tableData) {
+ return tableData.map(v => column.map(j => {
return v[j]
}))
},
@@ -283,9 +265,8 @@ export default {
check2 = 0
}
searchTable(check, this.supplierNameValue, check1, this.partNumber, check2, this.MaterialsValue, check3, this.dateRange[0], this.dateRange[1], this.ordername, this.order, this.pageSize, this.pageCurrent).then(response => {
- console.log(response)
- this.tableData = response.data.rows
- this.total = response.data.total
+ this.tableData = response.data.result
+ this.total = parseInt(response.data.output[0].ItemCount)
this.loading = false
})
},
From e24636fa81adfdea369e8b23dbd0fe7dff0411e8 Mon Sep 17 00:00:00 2001
From: Vergil <974548713@qq.com>
Date: Thu, 19 Mar 2020 17:30:30 +0800
Subject: [PATCH 5/7] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E6=89=A7=E8=A1=8C?=
=?UTF-8?q?=E5=AE=9E=E6=97=B6=E4=BF=9D=E5=AD=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Outsourcing/OutsourcingTaskExecution/index.vue | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
index c8817402..24f87862 100644
--- a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
+++ b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
@@ -92,7 +92,7 @@
-
+
@@ -520,6 +520,9 @@ export default {
this.$message.warning('请选择外协加工任务单')
}
},
+ saveAct(row) {
+ getPrice(row.外协加工任务单明细流水号, row.加工价格_成交)
+ },
// 保存
confirmPrice() {
if (this.Number) {
From 905deb52fac08a3eadbe9afe44092c358f6bc462 Mon Sep 17 00:00:00 2001
From: Vergil <974548713@qq.com>
Date: Thu, 19 Mar 2020 17:34:15 +0800
Subject: [PATCH 6/7] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E6=89=A7=E8=A1=8C?=
=?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=8C=89=E9=92=AE=E5=8E=BB=E6=8E=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Outsourcing/OutsourcingTaskExecution/index.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
index 24f87862..4cbf2ddc 100644
--- a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
+++ b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
@@ -65,9 +65,9 @@
提交
-
- 保存
-
+
+
+
From 87967ed31027510dec515ddc9c905dfee6b255a3 Mon Sep 17 00:00:00 2001
From: Vergil <974548713@qq.com>
Date: Thu, 19 Mar 2020 17:38:51 +0800
Subject: [PATCH 7/7] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E6=89=A7=E8=A1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Outsourcing/OutsourcingTaskExecution/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
index 4cbf2ddc..2a30ef8d 100644
--- a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
+++ b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue
@@ -39,7 +39,7 @@
查询
外协任务
-
+
{{ scope.row.表单号 }}