diff --git a/dist.zip b/dist.zip
deleted file mode 100644
index b2fbb400..00000000
Binary files a/dist.zip and /dev/null differ
diff --git a/src/api/Outsourcing/PreorderAssociation.js b/src/api/Outsourcing/PreorderAssociation.js
index 273dbc85..1bbfcebe 100644
--- a/src/api/Outsourcing/PreorderAssociation.js
+++ b/src/api/Outsourcing/PreorderAssociation.js
@@ -39,7 +39,7 @@ export function searchTable(num1, num2, num3, num4, num5, num6, check, num7, pag
method: 'post',
data: {
type: '1',
- name: '车间生产管理工艺_零件工艺计划_查询数据_状态_新',
+ name: '车间生产管理工艺_序间外协_查询零件',
param: '项目流水号_check=' + num1 + '&项目流水号=' + num2 + '&机床流水号_check=' + num3 + '&机床流水号=' + num4 + '&组件流水号_check=' + num5 + '&组件流水号=' + num6 + '&零件图号_check=' + check + '&零件图号=' + num7 + '&考核状态_check=0&考核状态=0&单件是否外协_check=1&单件是否外协=1&时间=0&机加工开始时间=0&机加工结束时间=0&零件类型=0',
Pagination: pageCurrent + '&' + pageSize
}
diff --git a/src/views/MarketingCenter/CreateProject/index.vue b/src/views/MarketingCenter/CreateProject/index.vue
index c0fbeb02..fcae64db 100644
--- a/src/views/MarketingCenter/CreateProject/index.vue
+++ b/src/views/MarketingCenter/CreateProject/index.vue
@@ -43,6 +43,14 @@
新增
+
+
+
+
+
+
+
+
@@ -73,7 +81,7 @@
- {{ scope.row.合同签订日期 }}
+ {{ scope.row.合同签订日期.substring(0,10) }}
diff --git a/src/views/Outsourcing/PreorderAssociation/index.vue b/src/views/Outsourcing/PreorderAssociation/index.vue
index 50180b33..578781b9 100644
--- a/src/views/Outsourcing/PreorderAssociation/index.vue
+++ b/src/views/Outsourcing/PreorderAssociation/index.vue
@@ -21,7 +21,7 @@
查询
-
+
{{ scope.row.零件图号 }}
@@ -235,6 +235,12 @@ export default {
return 'XJWXywc'
}
},
+ tableData1ClassName2({ row, rowIndex }) {
+ row.index = rowIndex
+ if (row.状态 === 1 || row.状态 === '1') {
+ return 'XJWXwx'
+ }
+ },
// 修改外协状态
edit(index, row) {
this.count = 0
@@ -245,21 +251,20 @@ export default {
}
}
if (this.count === this.tableData2.length) {
+ this.tableData1[this.index2].状态 = 0
edit2(row.工序流水号, row.工艺计划流水号, 0)
}
if (this.checkBox[index] === true) {
this.InOut = 2
+ this.tableData2[this.index].工序间是否外协 = 2
+ this.tableData1[this.index2].状态 = 1
edit(row.工序流水号, this.InOut).then(response => {
- edit2(row.工序流水号, row.工艺计划流水号, 1).then(response => {
- this.tableData2[this.index].工序间是否外协 = 2
- this.tableData1[this.index2].工序间是否外协 = 2
- })
+ edit2(row.工序流水号, row.工艺计划流水号, 1)
})
} else {
this.InOut = 1
- edit(row.工序流水号, this.InOut).then(response => {
- this.tableData2[this.index].工序间是否外协 = 1
- })
+ this.tableData2[this.index].工序间是否外协 = 1
+ edit(row.工序流水号, this.InOut)
}
},
// 保存行价格