diff --git a/src/api/Assembly/QualityInspectionInformationInquiry.js b/src/api/Assembly/QualityInspectionInformationInquiry.js
index 70849d00..6b20a96d 100644
--- a/src/api/Assembly/QualityInspectionInformationInquiry.js
+++ b/src/api/Assembly/QualityInspectionInformationInquiry.js
@@ -18,7 +18,7 @@ export function QualityType() {
method: 'post',
data: {
type: '1',
- name: '质量管理_质检类型_查询数据'
+ name: '质检管理_质检类型_查询数据'
}
})
}
@@ -41,7 +41,7 @@ export function selecttable(check1, value1, check2, value2, check3, value3, chec
method: 'post',
data: {
type: '1',
- name: '质量管理_质量情况_查询数据',
+ name: '质检管理_质量情况_查询数据',
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4,
Pagination: pageCurrent + '&' + pageSize
}
diff --git a/src/api/Assembly/ShipmentApproval.js b/src/api/Assembly/ShipmentApproval.js
new file mode 100644
index 00000000..efa590b6
--- /dev/null
+++ b/src/api/Assembly/ShipmentApproval.js
@@ -0,0 +1,38 @@
+import request from '@/utils/request'
+
+// 初始化机床项目
+export function initProject() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: 'PDM_项目名称_查询数据'
+ }
+ })
+}
+// PDM_机床名称_发货状态_查询数据
+export function selecttable(check2, machineNumberValue) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: 'PDM_机床名称_发货状态_查询数据',
+ param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue
+ }
+ })
+}
+// PDM_机床名称_发货状态_编辑数据
+export function updatestate(machineNumberValue, state, attention) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: 'PDM_机床名称_发货审批_编辑数据',
+ param: '机床流水号=' + machineNumberValue + '&发货状态=' + state + '&注意事项=' + attention
+ }
+ })
+}
+
diff --git a/src/icons/svg/ShipmentApproval.svg b/src/icons/svg/ShipmentApproval.svg
new file mode 100644
index 00000000..1c0ddb41
--- /dev/null
+++ b/src/icons/svg/ShipmentApproval.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/Assembly/AssemblyExecution/index.vue b/src/views/Assembly/AssemblyExecution/index.vue
index a661d266..951c39cb 100644
--- a/src/views/Assembly/AssemblyExecution/index.vue
+++ b/src/views/Assembly/AssemblyExecution/index.vue
@@ -26,7 +26,7 @@
总装调试
-
+
{{ scope.row.项目名称 }}
@@ -150,7 +150,7 @@ export default {
},
searchTable1() {
this.tableData1 = []
- if (this.machineNumberValue !== '') { this.check2 = 1 } else { this.check2 = 0 }
+ if (this.machineNumberValue !== '' && this.machineNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 }
searchTable1(this.machineNumberValue, this.check2).then(response => {
this.tableData1 = response.data
console.log(response.data, 1111)
@@ -158,8 +158,8 @@ export default {
},
searchTable2() {
this.tableData2 = []
- if (this.machineNumberValue !== '') { this.check2 = 1 } else { this.check2 = 0 }
- if (this.groupNumberValue !== '') { this.check3 = 1 } else { this.check3 = 0 }
+ if (this.machineNumberValue !== '' && this.machineNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 }
+ if (this.groupNumberValue !== '' && this.groupNumberValue !== null) { this.check3 = 1 } else { this.check3 = 0 }
searchTable2(this.machineNumberValue, this.check2).then(response => {
console.log(response.data, 222)
this.tableData2 = response.data
diff --git a/src/views/Assembly/DeliveryApplication/index.vue b/src/views/Assembly/DeliveryApplication/index.vue
index d58a4363..68b2d28d 100644
--- a/src/views/Assembly/DeliveryApplication/index.vue
+++ b/src/views/Assembly/DeliveryApplication/index.vue
@@ -46,7 +46,7 @@
确认发货
- 待 审批
+ 待审批
已审批
@@ -89,7 +89,7 @@ export default {
},
selecttable() {
this.tableData1 = []
- if (this.machineNumberValue !== '') { this.check2 = 1 } else { this.check2 = 0 }
+ if (this.machineNumberValue !== '' && this.machineNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 }
selecttable(this.check2, this.machineNumberValue).then(response => {
this.tableData1 = response.data
console.log(response.data)
diff --git a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue
index fa12ff43..10673baf 100644
--- a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue
+++ b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue
@@ -31,7 +31,7 @@
零件:
- 查询
+ 查询
@@ -56,7 +56,7 @@
{{ scope.row.组号 }}
-
+
{{ scope.row.零件图号 }}
@@ -66,6 +66,11 @@
{{ scope.row.零件名称 }}
+
+
+ {{ scope.row.规格或材料 }}
+
+
{{ scope.row.质检类型 }}
@@ -83,12 +88,17 @@
- {{ scope.row.不合格原因 }}
+ {{ scope.row.不合格原因文本 }}
- {{ scope.row.处理结果 }}
+ {{ scope.row.不合格处理文本 }}
+
+
+
+
+ {{ scope.row.操作时间 }}
diff --git a/src/views/Assembly/ShipmentApproval/index.vue b/src/views/Assembly/ShipmentApproval/index.vue
new file mode 100644
index 00000000..803a607e
--- /dev/null
+++ b/src/views/Assembly/ShipmentApproval/index.vue
@@ -0,0 +1,125 @@
+
+
+
+
+ 机床编号:
+
+
+ {{ item.label }}
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row.项目名称 }}
+
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.机床名称 }}
+
+
+
+
+ {{ scope.row.机床数量 }}
+
+
+
+
+
+
+
+ {{ scope.row.注意事项 }}
+
+
+
+
+ 确认审批
+ 已审批
+ 确认
+ 取消
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue b/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue
index 5783f32d..f01c02ce 100644
--- a/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue
+++ b/src/views/ManufacturingCenter/machiningHoursStatistics/index.vue
@@ -231,7 +231,11 @@ export default {
methods: {
// 导出
exportUninquirySheet3() {
+ if (this.machineNumberValue === null) {
+ this.machineNumberValue = ''
+ }
searchtable55(this.machineNumberValue).then(res1 => {
+ console.log(res1.data)
if (res1.data.length === 0) {
this.$message.error('请选择机床')
return