diff --git a/dist.zip b/dist.zip new file mode 100644 index 00000000..8044facb Binary files /dev/null and b/dist.zip differ diff --git a/src/api/MarketingCenter/CreateProject.js b/src/api/MarketingCenter/CreateProject.js index 33408fec..d8ddfc41 100644 --- a/src/api/MarketingCenter/CreateProject.js +++ b/src/api/MarketingCenter/CreateProject.js @@ -10,14 +10,14 @@ export function initProject() { } }) } -export function searchTable1(pageCurrent, pageSize, num1, num3, num5, num6, num7, num8, num9, num10) { +export function searchTable1(pageCurrent, pageSize, num1, num3, num5, num6, num7, num8, num9, num10, num11, num12) { return request({ url: '', method: 'post', data: { type: '1', - name: '合同信息管理_合同信息_制造部_查询', - param: '合同ID=' + num1 + '=int&项目流水号_check=' + num3 + '=int&开始日期_check=' + num5 + '=int&结束日期_check=' + num6 + '=int&开始日期=' + num7 + '=date&结束日期=' + num8 + '=date&机床型号_check=' + num9 + '=int&机床型号=' + num10 + '=string', + name: '合同信息管理_合同信息_制造部_查询_新', + param: '合同ID=' + num1 + '=int&项目流水号_check=' + num3 + '=int&开始日期_check=' + num5 + '=int&结束日期_check=' + num6 + '=int&开始日期=' + num7 + '=date&结束日期=' + num8 + '=date&机床型号_check=' + num9 + '=int&机床型号=' + num10 + '=string&合同编号_check=' + num11 + '=int&合同编号=' + num12 + '=string', Pagination: pageCurrent + '&' + pageSize } }) diff --git a/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue b/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue index a3d40405..3336ea87 100644 --- a/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue +++ b/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue @@ -7,7 +7,7 @@ v-model="entryNameValue" :remote-method="remoteMethod" placeholder="项目名称" - style="margin-right: 10px" + style="margin-right: 10px; width: 150px" size="small" clearable filterable @@ -21,14 +21,14 @@ :value="item.value"/> 机床图号: - + - 查询 + 查询 @@ -38,7 +38,6 @@ style="width: 100%;max-height: 400px;" stripe size="mini" - height="300" highlight-current-row border @row-click="searchSpareParts"> @@ -68,137 +67,143 @@ - - - - - - - 组号: - - - - 零件图号: - - 查询 - - - - - - - {{ scope.row.组号 }} - - - - - {{ scope.row.零件图号 }} - - - - - {{ scope.row.零件名称 }} - - - - - {{ scope.row.投产数量 }} - - - - - {{ scope.row.停产时间 }} - - - - - {{ scope.row.停产原因 }} - - - - - {{ scope.row.加工工时 }} - - - - - - - - - - - - {{ scope.row.工序顺序 }} - - - - - {{ scope.row.工艺名称 }} - - - - - {{ scope.row.工艺要求 }} - - - - - {{ scope.row.单件定额工时 }} - - - - - {{ scope.row.准结定额工时 }} - - - - - {{ scope.row.工序状态 }} - - - - - {{ scope.row.工序工时 }} - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.组号 }} + + + + + {{ scope.row.零件图号 }} + + + + + {{ scope.row.零件名称 }} + + + + + {{ scope.row.投产数量 }} + + + + + {{ scope.row.停产时间 }} + + + + + {{ scope.row.停产原因 }} + + + + + {{ scope.row.加工工时 }} + + + + + + + + + + + + + + {{ scope.row.工序顺序 }} + + + + + {{ scope.row.工艺名称 }} + + + + + {{ scope.row.工艺要求 }} + + + + + {{ scope.row.单件定额工时 }} + + + + + {{ scope.row.准结定额工时 }} + + + + + {{ scope.row.工序状态 }} + + + + + {{ scope.row.工序工时 }} + + + + + + @@ -211,7 +216,7 @@ export default { pageSize: 10, total: 0, pageCurrent1: 1, - pageSize1: 10, + pageSize1: 1000000, total1: 0, list: [], check3: '', diff --git a/src/views/ManufacturingCenter/InventoryQuery/index.vue b/src/views/ManufacturingCenter/InventoryQuery/index.vue index 41579e2f..404f9fa7 100644 --- a/src/views/ManufacturingCenter/InventoryQuery/index.vue +++ b/src/views/ManufacturingCenter/InventoryQuery/index.vue @@ -3,9 +3,9 @@ - - - + + + - 查询 + 查询 - + {{ scope.row.物料名称 }} - + {{ scope.row.物料型号 }} @@ -55,7 +55,7 @@ {{ scope.row.货位名称 }} - + @@ -186,7 +186,7 @@ export default { locateName: [], tableData1: [], pageCurrent: 1, - pageSize: 20, + pageSize: 30, total: 0, dialogVisible: false, tableData01: [], diff --git a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue index 11a4aa3e..7d2a2e7b 100644 --- a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue +++ b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue @@ -3,8 +3,7 @@ - 机床号: - + {{ item.value2 }} - 分组: - + - 零件图号: - + 查询 查询 是否扫描查询 + + 零件计划变更 + + + + 导出Excel - 开始日期: - - 结束日期: - - - 零件计划变更 - - 导出Excel - 项目名称: - + - 机床型号: - - - - 开始日期: - - 结束日期: - + + + + + + + + + + + + + + + + + + + + + 查询 新增 - - - - - - - - {{ scope.row.机床图号 }} + + + + + + + + {{ scope.row.合同编号 }} - - - - {{ scope.row.机床名称 }} - - - - - {{ scope.row.机床数量 }} - - - - + + + + + {{ scope.row.项目名称 }} + + + + + {{ scope.row.合同签订日期 }} + + + + + {{ scope.row.合同信息备注 }} + + + + + 编辑 - 删除 - - - - - - - - - {{ scope.row.合同编号 }} - - - - - - {{ scope.row.项目名称 }} - - - - - {{ scope.row.合同签订日期 }} - - - - - {{ scope.row.合同信息备注 }} - - - - - - 机床 - - 编辑 - 删除 - - - - - - - + type="warning" + plain + icon="el-icon-plus" + @click.stop="addMachine(scope.row);flag = 1">机床 + + + + + + + + + + + + + + + + + {{ scope.row.机床图号 }} + + + + + {{ scope.row.机床名称 }} + + + + + {{ scope.row.机床数量 }} + + + + + 编辑 + 删除 + + + + + + @@ -212,6 +214,8 @@ export default { }, data() { return { + contractNumber_check: '', + contractNumber: '', // 合同编号 entryName: [], entryNameValue: '', machine: '', @@ -278,12 +282,13 @@ export default { this.fetchTableData1() }, fetchTableData1() { + if (this.contractNumber === '' || this.contractNumber === null) { this.contractNumber_check = 0 } else { this.contractNumber_check = 1 } if (this.entryNameValue === '' || this.entryNameValue === null) { this.entryNameValue_check = 0 } else { this.entryNameValue_check = 1 } if (this.startTime === '' || this.startTime === null) { this.startTime_check = 0 } else { this.startTime_check = 1 } if (this.endTime === '' || this.endTime === null) { this.endTime_check = 0 } else { this.endTime_check = 1 } if (this.machine === '' || this.machine === null) { this.machine_check = 0 } else { this.machine_check = 1 } this.listLoading = true - this.getTable(searchTable1, [this.PageCurrent, this.PageSize, this.entryNameValue, this.entryNameValue_check, this.startTime_check, this.endTime_check, this.startTime, this.endTime, this.machine_check, this.machine], ['tableData1', 'total', 'listLoading']) + this.getTable(searchTable1, [this.PageCurrent, this.PageSize, this.entryNameValue, this.entryNameValue_check, this.startTime_check, this.endTime_check, this.startTime, this.endTime, this.machine_check, this.machine, this.contractNumber_check, this.contractNumber], ['tableData1', 'total', 'listLoading']) }, selectMachine(row) { this.projectNum = row.项目流水号