diff --git a/src/api/kateWork.js b/src/api/kateWork.js index 66440d1..8586d6e 100644 --- a/src/api/kateWork.js +++ b/src/api/kateWork.js @@ -96,6 +96,13 @@ const updateWorkFlows = (params) => { }) } +const getWorkSummary = (params) => { + return request({ + url: '/kateWork/getWorkSummary', + method: 'post', + data: params + }) +} export { getDbs, @@ -109,5 +116,6 @@ export { updateStationConfigs, getClcKanbanRequirement, getWorkFlows, - updateWorkFlows + updateWorkFlows, + getWorkSummary } \ No newline at end of file diff --git a/src/layout/goodsInQR.vue b/src/layout/goodsInQR.vue new file mode 100644 index 0000000..36342b7 --- /dev/null +++ b/src/layout/goodsInQR.vue @@ -0,0 +1,473 @@ + + + + + + + 工作台 + + + 物料入库(二维码) + + + 工作站: + + + {{ standId }} + + + + + 物料入库 + + + + + + + + 箱号 + + + + + + + + 二维码 + + + + + + + + 料号 + + + + + + + + 数量 + + + + + + + PC + + + + + + + + + 绑定完成 + + + + + + + + 已绑定物料 + + + + + + + 取消绑定 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/layout/stock.vue b/src/layout/stock.vue index 323af48..b816f89 100644 --- a/src/layout/stock.vue +++ b/src/layout/stock.vue @@ -28,18 +28,18 @@ + :header-cell-style="{ 'text-align': 'center' }" :cell-style="{ 'text-align': 'center' }" @sort-change="handleSortChange"> - + + sortable="custom" show-overflow-tooltip /> @@ -48,9 +48,9 @@ - - @@ -182,6 +182,7 @@ import { getAllStocks, updateStockInfo } from '@/api/stock.js' import { getGoodsInfoByGoodsId } from '@/api/goods.js' import { downloadStockExcel } from '@/api/excel.js' import { dateFormatter, locationFormatter, timeFormatter, yesOrNoFormatter } from '@/utils/formatter.js' +import { toUnderScoreCase } from '@/utils/stringUtils.js' import zhCn from 'element-plus/dist/locale/zh-cn.mjs' import { Search } from '@element-plus/icons-vue' import { ref, reactive } from 'vue' @@ -201,6 +202,8 @@ export default { currentPage: 1, pageSize: 10, total: 0, + sortBy: '', + isAsc: true, goodsIdQuery: '', vehicleIdQuery: '', locationIdQuery: '', @@ -357,11 +360,18 @@ export default { return { "color": "yellow" } } }, + handleSortChange(data) { + this.sortBy = toUnderScoreCase(data.prop) + this.isAsc = data.order == 'ascending' + this.search() + }, search() { this.loading = true const request = { pageNo: this.currentPage, pageSize: this.pageSize, + sortBy: this.sortBy, + isAsc: this.isAsc, goodsId: this.goodsIdQuery.trim(), vehicleId: this.vehicleIdQuery.trim(), locationId: this.locationIdQuery.trim(), diff --git a/src/layout/workFlow.vue b/src/layout/workFlow.vue index 61d1d0e..3439016 100644 --- a/src/layout/workFlow.vue +++ b/src/layout/workFlow.vue @@ -33,8 +33,7 @@ - + + controls-position="right" :min="0" :max="workFlowFormEntity.needNum" + clearable /> @@ -274,10 +274,10 @@ export default { } }, reset() { - this.standIdQuery = '', - this.workOrderQuery = '', - this.workCenterQuery = '', - this.goodsIdQuery = '', + this.standIdQuery = '' + this.workOrderQuery = '' + this.workCenterQuery = '' + this.goodsIdQuery = '' this.search() }, editCurrentRow(row) { diff --git a/src/layout/workSummary.vue b/src/layout/workSummary.vue index 331c99b..8efe902 100644 --- a/src/layout/workSummary.vue +++ b/src/layout/workSummary.vue @@ -3,89 +3,61 @@ - - + + + + 搜索 重置 - + - + - - - - - + + + + + + + + + - - - 编辑 - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 取消 - - 确定 - - - -