diff --git a/src/views/BasicData/TimeLine/index.vue b/src/views/BasicData/TimeLine/index.vue new file mode 100644 index 0000000..d5745f5 --- /dev/null +++ b/src/views/BasicData/TimeLine/index.vue @@ -0,0 +1,80 @@ + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/EngineModel.vue b/src/views/ProcessManagement/MonitoringData/EngineModel.vue new file mode 100644 index 0000000..5c8eebd --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/EngineModel.vue @@ -0,0 +1,207 @@ + + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/EngineNumber.vue b/src/views/ProcessManagement/MonitoringData/EngineNumber.vue new file mode 100644 index 0000000..fbb18fe --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/EngineNumber.vue @@ -0,0 +1,207 @@ + + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/LineHeadStationInformation.vue b/src/views/ProcessManagement/MonitoringData/LineHeadStationInformation.vue new file mode 100644 index 0000000..f445128 --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/LineHeadStationInformation.vue @@ -0,0 +1,231 @@ + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/OfflineStation.vue b/src/views/ProcessManagement/MonitoringData/OfflineStation.vue new file mode 100644 index 0000000..de91041 --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/OfflineStation.vue @@ -0,0 +1,221 @@ + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/Operator.vue b/src/views/ProcessManagement/MonitoringData/Operator.vue new file mode 100644 index 0000000..00aa747 --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/Operator.vue @@ -0,0 +1,222 @@ + + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/OrderNumber.vue b/src/views/ProcessManagement/MonitoringData/OrderNumber.vue new file mode 100644 index 0000000..62c2759 --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/OrderNumber.vue @@ -0,0 +1,207 @@ + + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/PalletNo.vue b/src/views/ProcessManagement/MonitoringData/PalletNo.vue new file mode 100644 index 0000000..9a57468 --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/PalletNo.vue @@ -0,0 +1,207 @@ + + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/StationStatus.vue b/src/views/ProcessManagement/MonitoringData/StationStatus.vue new file mode 100644 index 0000000..976006c --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/StationStatus.vue @@ -0,0 +1,222 @@ + + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/TransferModel.vue b/src/views/ProcessManagement/MonitoringData/TransferModel.vue new file mode 100644 index 0000000..e04a94e --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/TransferModel.vue @@ -0,0 +1,207 @@ + + + + + + + diff --git a/src/views/ProcessManagement/MonitoringData/index.vue b/src/views/ProcessManagement/MonitoringData/index.vue new file mode 100644 index 0000000..9574c27 --- /dev/null +++ b/src/views/ProcessManagement/MonitoringData/index.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/src/views/ProcessManagement/WarehouseLocation/index.vue b/src/views/ProcessManagement/WarehouseLocation/index.vue new file mode 100644 index 0000000..7235a71 --- /dev/null +++ b/src/views/ProcessManagement/WarehouseLocation/index.vue @@ -0,0 +1,179 @@ + + + + + + diff --git a/src/views/QualityAssurance/AssemblyQualitydataQuery/index.vue b/src/views/QualityAssurance/AssemblyQualitydataQuery/index.vue index 9566d2f..ec5448f 100644 --- a/src/views/QualityAssurance/AssemblyQualitydataQuery/index.vue +++ b/src/views/QualityAssurance/AssemblyQualitydataQuery/index.vue @@ -40,15 +40,6 @@ - 总成编号: - - - 测量位置: @@ -60,6 +51,15 @@ :value="item.value" size="mini"/> + 总成编号: + + +
订单号: @@ -112,7 +112,7 @@
- 查询 + 查询 Excel
总成编号: - + --> 分总成编号: - + + style="width: 200px" + @change="getMeasuringPosition();getTraceabilityCode();getBatchBarcode();getAssemblyNumber()"> 机型: - + 精确追溯码: - - - - - - - - - - - 分总成编号: - + + + + 总成编号: + + + + 测量位置: + + +
- 零件名称: - + 订单号: + @@ -71,21 +80,37 @@ range-separator="~" start-placeholder="开始日期" end-placeholder="结束日期" - @change="getTraceabilityCode();getBatchBarcode();getAssemblyNumber()"/> + @change="getOrderNumber();getTraceabilityCode();getBatchBarcode();getAssemblyNumber()"/> 批次条码: - - - - - - - - - - + + + + 是否合格: + + + + 测量项目: + + +
- 查询 + 查询 Excel
- + @@ -130,44 +156,49 @@ {{ scope.row.工序名称 }} - + - + - + - + - + - + - + - + + + + @@ -207,21 +238,19 @@ export default { engineType: [], // 机型 batchBarcode: [], // 批次条码 batchBarcodeValue: '', // 批次条码 - partName: [], // 零件名称 - partNameValue: '', // 零件名称 isQualified: [ { label: '合格', value: 1 }, { label: '不合格', - value: 2 + value: 0 }, { label: '全部', - value: 0 + value: 2 } ], // 是否合格 - isQualifiedValue: 1, // 是否合格 + isQualifiedValue: 2, // 是否合格 dateTime: '', // 时间 loading: false, // 时间 tableData: [], // 时间 @@ -246,9 +275,9 @@ export default { this.getEngineType() }, mounted() { + this.getOrderNumber() this.getTraceabilityCode() this.getAssemblyNumber() - setTimeout(() => { this.getPartName() }, 200) }, methods: { // 表格颜色变化 @@ -274,6 +303,7 @@ export default { } }).then(() => { this.getBatchBarcode() + this.getMeasuringPosition() }) }, // 机型 @@ -290,19 +320,18 @@ export default { } }) }, - // 零件名称 - getPartName() { - this.partName = [] + // 订单号 + getOrderNumber() { + this.orderNumber = [] var param = [] - param[0] = ['发动机型号', this.engineTypeValue] - param[1] = ['工位号', this.stationNumberValue] - var Data = this.CreateData('11', '电子看板装配零件_零件名称_初始化查询 ', param) + param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] + param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] + var Data = this.CreateData('11', '测量数据发动机在线状态_订单号_查询 ', param) this.ExecDatabase(Data).then(response => { for (let i = 0; i < response.data.length; i++) { - this.partName.push({ - label: response.data[i].零件名称, - value: response.data[i].零件名称, - ID: response.data[i].ID + this.orderNumber.push({ + label: response.data[i].订单号, + value: response.data[i].订单号 }) } }) @@ -316,8 +345,6 @@ export default { var param = [] param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] - // param[0] = ['开始时间', this.dateTime[0]] - // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['发动机型号_ischeck', engineTypeValue_check] param[3] = ['发动机型号', this.engineTypeValue] param[4] = ['工位号_ischeck', stationNumberValue_check] @@ -342,8 +369,6 @@ export default { var param = [] param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] - // param[0] = ['开始时间', this.dateTime[0]] - // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['发动机型号_ischeck', engineTypeValue_check] param[3] = ['发动机型号', this.engineTypeValue] param[4] = ['工位号_ischeck', stationNumberValue_check] @@ -364,10 +389,7 @@ export default { var param = [] param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] - // param[0] = ['开始时间', this.dateTime[0]] - // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['工位号', this.stationNumberValue] - console.log(param, 'param') var Data = this.CreateData('11', '物料数据分线_视图_物料条码批次号_查询 ', param) this.ExecDatabase(Data).then(response => { for (let i = 0; i < response.data.length; i++) { @@ -378,6 +400,22 @@ export default { } }) }, + getMeasuringPosition() { + this.measuringPosition = [] + var param = [] + param[0] = ['工位号', this.stationNumberValue] + var Data = this.CreateData('11', '质量数据查询_测量位置 ', param) + this.ExecDatabase(Data).then(response => { + for (let i = 0; i < response.data.length; i++) { + this.measuringPosition.push({ + label: response.data[i].测量位置, + value: response.data[i].测量位置 + }) + } + }).then(() => { + this.getMeasuringProject() + }) + }, getMeasuringProject() { this.measuringProject = [] var param = [] @@ -395,35 +433,37 @@ export default { }, selectDate() { this.tableData = [] - let engineTypeValue_check, assemblyNumberValue_check, stationNumberValue_check, partNameValue_check, traceabilityCode_check, batchBarcodeValue_check + let engineTypeValue_check, assemblyNumberValue_check, stationNumberValue_check, measuringPositionValue_check, measuringProjectValue_check, traceabilityCode_check, orderNumberValue_check this.engineTypeValue ? engineTypeValue_check = 1 : (engineTypeValue_check = 0, this.engineTypeValue = '') this.assemblyNumberValue ? assemblyNumberValue_check = 1 : (assemblyNumberValue_check = 0, this.assemblyNumberValue = '') this.stationNumberValue ? stationNumberValue_check = 1 : (stationNumberValue_check = 0, this.stationNumberValue = '') - this.partNameValue ? partNameValue_check = 1 : (partNameValue_check = 0, this.partNameValue = '') + this.measuringPositionValue ? measuringPositionValue_check = 1 : (measuringPositionValue_check = 0, this.measuringPositionValue = '') + this.measuringProjectValue ? measuringProjectValue_check = 1 : (measuringProjectValue_check = 0, this.measuringProjectValue = '') this.traceabilityCode ? traceabilityCode_check = 1 : (traceabilityCode_check = 0, this.traceabilityCode = '') - this.batchBarcodeValue ? batchBarcodeValue_check = 1 : (batchBarcodeValue_check = 0, this.batchBarcodeValue = '') + this.orderNumberValue ? orderNumberValue_check = 1 : (orderNumberValue_check = 0, this.orderNumberValue = '') var param = [] param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] - // param[0] = ['开始时间', this.dateTime[0]] - // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['发动机型号_ischeck', engineTypeValue_check] param[3] = ['发动机型号', this.engineTypeValue] param[4] = ['发动机号_ischeck', assemblyNumberValue_check] param[5] = ['发动机号', this.assemblyNumberValue] param[6] = ['工位号_ischeck', stationNumberValue_check] param[7] = ['工位号', this.stationNumberValue] - param[8] = ['零件名称_ischeck', partNameValue_check] - param[9] = ['零件名称', this.partNameValue] - param[10] = ['二维码_ischeck', traceabilityCode_check] - param[11] = ['二维码', this.traceabilityCode] - param[12] = ['物料条码批次_ischeck', batchBarcodeValue_check] - param[13] = ['物料条码批次', this.batchBarcodeValue] - param[14] = ['PageCurrent', this.pageCurrent] - param[15] = ['PageSize', this.pageSize] - param[16] = ['PageCount', '1111', 'int', '1'] - param[17] = ['ItemCount', '1111', 'int', '1'] - var Data = this.CreateData('11', '物料数据分线_视图_查询', param) + param[8] = ['测量位置_ischeck', measuringPositionValue_check] + param[9] = ['测量位置', this.measuringPositionValue] + param[10] = ['测量项目_ischeck', measuringProjectValue_check] + param[11] = ['测量项目', this.measuringProjectValue] + param[12] = ['订单号_ischeck', orderNumberValue_check] + param[13] = ['订单号', this.orderNumberValue] + param[14] = ['批次条码_ischeck', traceabilityCode_check] + param[15] = ['批次条码', this.traceabilityCode] + param[16] = ['合格标志', this.isQualifiedValue] + param[17] = ['PageCurrent', this.pageCurrent] + param[18] = ['PageSize', this.pageSize] + param[19] = ['PageCount', '1111', 'int', '1'] + param[20] = ['ItemCount', '1111', 'int', '1'] + var Data = this.CreateData('11', '质量数据_发动机分线质量数据_综合查询', param) this.ExecDatabase(Data).then(response => { console.log(response, 66) if (response.data.result.length !== 0) { @@ -435,31 +475,33 @@ export default { }, exportExcel() { if (this.tableData.length !== 0) { - let engineTypeValue_check, assemblyNumberValue_check, stationNumberValue_check, partNameValue_check, traceabilityCode_check, batchBarcodeValue_check + let engineTypeValue_check, assemblyNumberValue_check, stationNumberValue_check, measuringPositionValue_check, measuringProjectValue_check, traceabilityCode_check, orderNumberValue_check this.engineTypeValue ? engineTypeValue_check = 1 : (engineTypeValue_check = 0, this.engineTypeValue = '') this.assemblyNumberValue ? assemblyNumberValue_check = 1 : (assemblyNumberValue_check = 0, this.assemblyNumberValue = '') this.stationNumberValue ? stationNumberValue_check = 1 : (stationNumberValue_check = 0, this.stationNumberValue = '') - this.partNameValue ? partNameValue_check = 1 : (partNameValue_check = 0, this.partNameValue = '') + this.measuringPositionValue ? measuringPositionValue_check = 1 : (measuringPositionValue_check = 0, this.measuringPositionValue = '') + this.measuringProjectValue ? measuringProjectValue_check = 1 : (measuringProjectValue_check = 0, this.measuringProjectValue = '') this.traceabilityCode ? traceabilityCode_check = 1 : (traceabilityCode_check = 0, this.traceabilityCode = '') - this.batchBarcodeValue ? batchBarcodeValue_check = 1 : (batchBarcodeValue_check = 0, this.batchBarcodeValue = '') + this.orderNumberValue ? orderNumberValue_check = 1 : (orderNumberValue_check = 0, this.orderNumberValue = '') var param = [] param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] - // param[0] = ['开始时间', this.dateTime[0]] - // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['发动机型号_ischeck', engineTypeValue_check] param[3] = ['发动机型号', this.engineTypeValue] param[4] = ['发动机号_ischeck', assemblyNumberValue_check] param[5] = ['发动机号', this.assemblyNumberValue] param[6] = ['工位号_ischeck', stationNumberValue_check] param[7] = ['工位号', this.stationNumberValue] - param[8] = ['零件名称_ischeck', partNameValue_check] - param[9] = ['零件名称', this.partNameValue] - param[10] = ['二维码_ischeck', traceabilityCode_check] - param[11] = ['二维码', this.traceabilityCode] - param[12] = ['物料条码批次_ischeck', batchBarcodeValue_check] - param[13] = ['物料条码批次', this.batchBarcodeValue] - var Data = this.CreateData('2001', '物料数据分线查询_报表新', param) + param[8] = ['测量位置_ischeck', measuringPositionValue_check] + param[9] = ['测量位置', this.measuringPositionValue] + param[10] = ['测量项目_ischeck', measuringProjectValue_check] + param[11] = ['测量项目', this.measuringProjectValue] + param[12] = ['订单号_ischeck', orderNumberValue_check] + param[13] = ['订单号', this.orderNumberValue] + param[14] = ['批次条码_ischeck', traceabilityCode_check] + param[15] = ['批次条码', this.traceabilityCode] + param[16] = ['合格标志', this.isQualifiedValue] + var Data = this.CreateData('2001', '质量数据分线_导出新', param) this.exportExcel_NPOI(Data) } else { this.$message.warning('暂无数据') diff --git a/src/views/QualityAssurance/MaterialDataQuery/index.vue b/src/views/QualityAssurance/MaterialDataQuery/index.vue index 74269ba..c95ea72 100644 --- a/src/views/QualityAssurance/MaterialDataQuery/index.vue +++ b/src/views/QualityAssurance/MaterialDataQuery/index.vue @@ -32,7 +32,7 @@ 总成编号: - + { diff --git a/src/views/QualityAssurance/ProductionPlanOrderCompletion/index.vue b/src/views/QualityAssurance/ProductionPlanOrderCompletion/index.vue index f7188cc..182a16b 100644 --- a/src/views/QualityAssurance/ProductionPlanOrderCompletion/index.vue +++ b/src/views/QualityAssurance/ProductionPlanOrderCompletion/index.vue @@ -256,7 +256,7 @@ export default { series: [ { name: 'PASS', - data: this.number, + data: this.yData, type: 'bar', showBackground: true, backgroundStyle: { @@ -277,7 +277,7 @@ export default { }, { name: 'NO', - data: this.yData, + data: this.number, type: 'bar', showBackground: true, backgroundStyle: { @@ -311,8 +311,10 @@ export default { this.stationNumberValue ? stationNumberValue_check = 1 : (stationNumberValue_check = 0, this.stationNumberValue = '') this.orderNumberValue ? orderNumberValue_check = 1 : (orderNumberValue_check = 0, this.orderNumberValue = '') var param = [] - param[0] = ['开始时间', this.dateTime[0]] - param[1] = ['结束时间', this.dateTime[1]] + param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] + param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] + // param[0] = ['开始时间', this.dateTime[0]] + // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['工位号_ischeck', stationNumberValue_check] param[3] = ['工位号', this.stationNumberValue] param[4] = ['订单号_ischeck', orderNumberValue_check] @@ -349,8 +351,10 @@ export default { this.stationNumberValue ? stationNumberValue_check = 1 : (stationNumberValue_check = 0, this.stationNumberValue = '') this.orderNumberValue ? orderNumberValue_check = 1 : (orderNumberValue_check = 0, this.orderNumberValue = '') var param = [] - param[0] = ['开始时间', this.dateTime[0]] - param[1] = ['结束时间', this.dateTime[1]] + param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] + param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] + // param[0] = ['开始时间', this.dateTime[0]] + // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['工位号_ischeck', stationNumberValue_check] param[3] = ['工位号', this.stationNumberValue] param[4] = ['订单号_ischeck', orderNumberValue_check] @@ -389,8 +393,10 @@ export default { this.stationNumberValue ? stationNumberValue_check = 1 : (stationNumberValue_check = 0, this.stationNumberValue = '') this.orderNumberValue ? orderNumberValue_check = 1 : (orderNumberValue_check = 0, this.orderNumberValue = '') var param = [] - param[0] = ['开始时间', this.dateTime[0]] - param[1] = ['结束时间', this.dateTime[1]] + param[0] = ['开始时间', this.dateTime[0] + ' ' + '00:00'] + param[1] = ['结束时间', this.dateTime[1] + ' ' + '23:59'] + // param[0] = ['开始时间', this.dateTime[0]] + // param[1] = ['结束时间', this.dateTime[1]] param[2] = ['工位号_ischeck', stationNumberValue_check] param[3] = ['工位号', this.stationNumberValue] param[4] = ['订单号_ischeck', orderNumberValue_check]