Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override
| | |
| | | const queuePrinter = new QueuePrinter( object,hiprintTemplate,columnsNum,printer) |
| | | queuePrinter.tick |
| | | }else{ |
| | | hiprintTemplate.value.print(object) |
| | | hiprintTemplate.value.print(object) |
| | | } |
| | | |
| | | hiprintTemplate.value.update(restore) |
| | |
| | | import {changeFilterEvent, filterChanged} from "@/hook" |
| | | import {useI18n} from "vue-i18n" |
| | | import request from "@/utils/request" |
| | | import {copyTableCellValue} from "@/hook/copyTableCellValue"; |
| | | const { t } = useI18n() |
| | | const xGrid = ref() |
| | | const gridOptions = reactive({ |
| | |
| | | |
| | | } |
| | | } |
| | | const gridEvents = { |
| | | cellDblclick ({row,column}) { |
| | | copyTableCellValue(row,column) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | ref="xGrid" |
| | | v-bind="gridOptions" |
| | | @keydown="handleKeyDown" |
| | | v-on="gridEvents" |
| | | > |
| | | <template #num1_filter="{ column, $panel }"> |
| | | <div> |
| | |
| | | </template> |
| | | |
| | | <style scoped> |
| | | |
| | | .vxe-grid { |
| | | /* 禁用浏览器默认选中 */ |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | transform: translateZ(0); |
| | | } |
| | | </style> |
| | |
| | | import request from "@/utils/request" |
| | | import footSum from "@/hook/footSum"; |
| | | import {addListener,destroyAreaBox} from "@/hook/mouseMoveHomePage"; |
| | | import {copyTableCellValue, copyTableCellValueShow} from "@/hook/copyTableCellValue"; |
| | | const { t } = useI18n() |
| | | const xGrid = ref() |
| | | const gridOptions = reactive({ |
| | |
| | | let props = defineProps({ |
| | | orderId:null |
| | | }) |
| | | |
| | | const gridEvents = { |
| | | cellDblclick ({row,column}) { |
| | | copyTableCellValue(row,column) |
| | | } |
| | | } |
| | | onMounted(async ()=>{ |
| | | await getColumns() |
| | | await getDetail() |
| | |
| | | ref="xGrid" |
| | | v-bind="gridOptions" |
| | | @keydown="handleKeyDown" |
| | | v-on="gridEvents" |
| | | > |
| | | <template #num1_filter="{ column, $panel }"> |
| | | <div> |
| | |
| | | import {useI18n} from "vue-i18n" |
| | | import request from "@/utils/request" |
| | | import {ElMessage} from "element-plus" |
| | | import {copyTableCellValue} from "@/hook/copyTableCellValue"; |
| | | const { t } = useI18n() |
| | | const xGrid = ref() |
| | | const gridOptions = reactive({ |
| | |
| | | +')' ) |
| | | //return |
| | | } |
| | | |
| | | const gridEvents = { |
| | | cellDblclick ({row,column}) { |
| | | copyTableCellValue(row,column) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | class="mytable-scrollbar" |
| | | ref="xGrid" |
| | | v-bind="gridOptions" |
| | | v-on="gridEvents" |
| | | > |
| | | <template #num1_filter="{ column, $panel }"> |
| | | <div> |
| | |
| | | ::v-deep(.vxe-grid .vxe-body--column.row-green) { |
| | | background-color: #D5EAFF; |
| | | } |
| | | |
| | | .vxe-grid { |
| | | /* 禁用浏览器默认选中 */ |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | transform: translateZ(0); |
| | | } |
| | | </style> |
| | |
| | | public Result saveWorkStorage( @RequestBody Map<String,Object> object){ |
| | | return Result.seccess(reportingWorkService.saveWorkStorage(object)); |
| | | |
| | | }} |
| | | } |
| | | |
| | | @ApiOperation("Mes报工基础数据") |
| | | @PostMapping ("/mesBasicData") |
| | | public Result mesBasicData() { |
| | | return Result.seccess(reportingWorkService.mesBasicDataSv()); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | Integer selectReviewedState(String reportingWorkId); |
| | | |
| | | List<ReportingWork> qualityReviewSearchMp(); |
| | | |
| | | List<BasicDataProduce> mesSelectWorkBasicDeviceMp(); |
| | | |
| | | List<Map<String,String>> mesSelectWorkBasicTeamsMp(); |
| | | } |
| | |
| | | //List<Map<String, Object>> flowCard = reportingWorkMapper.getStorageData(); |
| | | //finishedGoodsInventoryService.addSelectWarehousing(object); |
| | | return null; |
| | | }} |
| | | } |
| | | |
| | | public Map<String, Object> mesBasicDataSv() { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | //工序 |
| | | map.put("process",flowCardMapper.getProcessNameList()); |
| | | //设备下拉框 |
| | | map.put("device", reportingWorkMapper.mesSelectWorkBasicDeviceMp()); |
| | | //班组下拉框 |
| | | map.put("teams", reportingWorkMapper.mesSelectWorkBasicTeamsMp()); |
| | | //次破类型 |
| | | map.put("breakageType", reportingWorkMapper.selectBasicNameByType("breakagetype")); |
| | | //次破原因 |
| | | map.put("breakageReason", reportingWorkMapper.selectBasicNameByType("breakagereason")); |
| | | return map; |
| | | } |
| | | } |
| | |
| | | GROUP BY rw.reporting_work_id |
| | | ORDER BY rw.reporting_work_id desc |
| | | </select> |
| | | |
| | | <select id="mesSelectWorkBasicDeviceMp"> |
| | | SELECT bdp.id,bdp.basic_type,bdp.basic_name, bd.basic_name as basic_category FROM sd.basic_data as bd left join `basic_data_produce` as bdp |
| | | on bd.id=bdp.basic_category |
| | | where bd.basic_category="process" and bdp.basic_type="device" and bd.basic_name = #{process} |
| | | </select> |
| | | |
| | | <select id="mesSelectWorkBasicTeamsMp"> |
| | | select id,login_name,user_name,address from erp_user_info.`user` |
| | | </select> |
| | | </mapper> |