diff --git a/src/api/WorkshopProcurement/ProcurementContractApproval.js b/src/api/WorkshopProcurement/ProcurementContractApproval.js
index 537d2474..d7f6fe41 100644
--- a/src/api/WorkshopProcurement/ProcurementContractApproval.js
+++ b/src/api/WorkshopProcurement/ProcurementContractApproval.js
@@ -43,19 +43,7 @@ export function searchTable2(num) {
method: 'post',
data: {
type: '1',
- name: '车间采购管理_采购合同_查询数据_外购件',
- param: '采购合同流水号=' + num
- }
- })
-}
-// 采购合同明细查询
-export function searchTable3(num) {
- return request({
- url: '',
- method: 'post',
- data: {
- type: '1',
- name: '车间采购管理_采购合同_查询数据_基本件',
+ name: '车间采购管理_采购合同明细_查询数据NEW',
param: '采购合同流水号=' + num
}
})
diff --git a/src/api/WorkshopProcurement/ProcurementContractEnquiry.js b/src/api/WorkshopProcurement/ProcurementContractEnquiry.js
index 5548a8bf..9e4bdcfc 100644
--- a/src/api/WorkshopProcurement/ProcurementContractEnquiry.js
+++ b/src/api/WorkshopProcurement/ProcurementContractEnquiry.js
@@ -43,7 +43,7 @@ export function searchTable2(num) {
method: 'post',
data: {
type: '1',
- name: '车间采购管理_采购合同_查询数据_外购件',
+ name: '车间采购管理_采购合同明细_查询数据NEW',
param: '采购合同流水号=' + num
}
})
diff --git a/src/views/ManufacturingCenter/PartAssignment/index.vue b/src/views/ManufacturingCenter/PartAssignment/index.vue
index d9c7f19e..8a1adc39 100644
--- a/src/views/ManufacturingCenter/PartAssignment/index.vue
+++ b/src/views/ManufacturingCenter/PartAssignment/index.vue
@@ -401,7 +401,6 @@
diff --git a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue
index b70b2b43..b1f11e64 100644
--- a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue
+++ b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue
@@ -59,59 +59,84 @@
总计划
-
+
{{ scope.row.项目名称 }}
-
+
{{ scope.row.机床图号 }}
-
+
{{ scope.row.机床名称 }}
-
+
{{ scope.row.客户名称 }}
-
+
{{ scope.row.合同签订日期 }}
-
+
{{ scope.row.发货节点 }}
-
+
- {{ scope.row.机床设计完成时间.split(' ')[0] }}
+ {{ scope.row.机床设计完成时间.split(' ')[0] }}
-
+
- {{ scope.row.采购完成时间.split(' ')[0] }}
+ {{ scope.row.机床设计实际完成时间 }}
-
+
- {{ scope.row.备料完成时间.split(' ')[0] }}
+ {{ scope.row.采购完成时间.split(' ')[0] }}
-
+
- {{ scope.row.机床生产完成时间.split(' ')[0] }}
+ {{ scope.row.采购实际完成时间 }}
-
+
- {{ scope.row.机床装配完成时间.split(' ')[0] }}
+ {{ scope.row.备料完成时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.备料实际完成时间 }}
+
+
+
+
+ {{ scope.row.机床生产完成时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.机床生产实际完成时间 }}
+
+
+
+
+ {{ scope.row.机床装配完成时间.split(' ')[0] }}
+
+
+
+
+ {{ scope.row.机床装配实际完成时间 }}
@@ -138,12 +163,12 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
- {{ scope.row.实际完成时间 }}
+ {{ scope.row.实际完成时间 }}
@@ -178,12 +203,12 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
- {{ scope.row.实际完成时间 }}
+ {{ scope.row.实际完成时间 }}
@@ -218,12 +243,12 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
- {{ scope.row.实际完成时间 }}
+ {{ scope.row.实际完成时间 }}
@@ -258,12 +283,12 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
- {{ scope.row.实际完成时间 }}
+ {{ scope.row.实际完成时间 }}
@@ -298,12 +323,12 @@
- {{ scope.row.计划完成时间 }}
+ {{ scope.row.计划完成时间 }}
- {{ scope.row.实际完成时间 }}
+ {{ scope.row.实际完成时间 }}
@@ -358,10 +383,22 @@ export default {
this.fetchData()
},
methods: {
- colorJudge(time1) {
- console.log(new Date(time1) - this.now)
- if ((new Date(time1) - this.now) > 0 && (new Date(time1) - this.now) < (86400000 * this.warningValue)) {
- return 'orange'
+ colorJudge(time1, time2) {
+ if (time2 === null) {
+ if ((new Date(time1) - this.now) > 0 && (new Date(time1) - this.now) < (86400000 * this.warningValue)) {
+ return 'orange'
+ } else if ((new Date(time1) - this.now) < 0) {
+ return 'red'
+ } else {
+ return 'black'
+ }
+ } else {
+ return ''
+ }
+ },
+ colorActual(time1, time2) {
+ if ((new Date(time1) - new Date(time2)) > 0) {
+ return 'green'
} else if ((new Date(time1) - this.now) < 0) {
return 'red'
} else {
@@ -569,6 +606,9 @@ export default {
.black{
color: white;
}
+ .green{
+ color: #63a35c;
+ }