From 6083fb0f86004b9a1fd2e78d860afd32912ce658 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080@qq.com> Date: Thu, 28 Sep 2023 10:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98=E5=93=81?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/distribution/distributionSignPrint.js | 50 +++ src/api/distribution/distributionStockList.js | 12 + .../distribution/distributionSignPrint.js | 98 ++++++ .../inventory/distributionSignPrint.vue | 300 ++++++++++++++++++ .../inventory/distributionStockList.vue | 24 +- .../distributionStockListDetails.vue | 15 +- .../distributionStockListDiscuss.vue | 24 +- .../inventory/distributionStockListMarket.vue | 24 +- .../inventory/distributionStockListSelf.vue | 24 +- .../warehouseWarehousingEntry.vue | 4 + 10 files changed, 520 insertions(+), 55 deletions(-) create mode 100644 src/api/distribution/distributionSignPrint.js create mode 100644 src/option/distribution/distributionSignPrint.js create mode 100644 src/views/distribution/inventory/distributionSignPrint.vue diff --git a/src/api/distribution/distributionSignPrint.js b/src/api/distribution/distributionSignPrint.js new file mode 100644 index 00000000..0f2e3090 --- /dev/null +++ b/src/api/distribution/distributionSignPrint.js @@ -0,0 +1,50 @@ +import request from '@/axios'; + +export const getList = (current, size, params) => { + return request({ + url: '/api/logpm-distribution/distributionSignPrint/list', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const getDetail = (id) => { + return request({ + url: '/api/logpm-distribution/distributionSignPrint/detail', + method: 'get', + params: { + id + } + }) +} + +export const remove = (ids) => { + return request({ + url: '/api/logpm-distribution/distributionSignPrint/remove', + method: 'post', + params: { + ids, + } + }) +} + +export const add = (row) => { + return request({ + url: '/api/logpm-distribution/distributionSignPrint/submit', + method: 'post', + data: row + }) +} + +export const update = (row) => { + return request({ + url: '/api/logpm-distribution/distributionSignPrint/submit', + method: 'post', + data: row + }) +} + diff --git a/src/api/distribution/distributionStockList.js b/src/api/distribution/distributionStockList.js index 99ba2998..7df11aee 100644 --- a/src/api/distribution/distributionStockList.js +++ b/src/api/distribution/distributionStockList.js @@ -12,6 +12,18 @@ export const getList = (current, size, params) => { }) } +export const getListAllocation = (current, size, params) => { + return request({ + url: '/api/logpm-distribution/distributionStockList/listAllocation', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + export const getStockListOwn = (current, size, params) => { return request({ url: '/api/logpm-distribution/distributionStockList/listOwn', diff --git a/src/option/distribution/distributionSignPrint.js b/src/option/distribution/distributionSignPrint.js new file mode 100644 index 00000000..9e3c60e8 --- /dev/null +++ b/src/option/distribution/distributionSignPrint.js @@ -0,0 +1,98 @@ +export default { + expand: false, + index: true, + border: true, + selection: true, + column: [ + { + label: "租户号", + prop: "tenantId", + display: false, + hide: true, + }, + { + label: "创建人", + prop: "createUser", + display: false, + hide: true, + }, + { + label: "创建时间", + prop: "createTime", + display: false, + hide: true, + }, + { + label: "更新人", + prop: "updateUser", + display: false, + hide: true, + }, + { + label: "更新时间", + prop: "updateTime", + display: false, + hide: true, + }, + { + label: "状态", + prop: "status", + display: false, + hide: true, + }, + { + label: "是否已删除", + prop: "isDeleted", + display: false, + hide: true, + }, + { + label: "创建部门", + prop: "createDept", + display: false, + hide: true, + }, + { + label: "主键", + prop: "id", + display: false, + hide: true, + }, + { + label: "预留1", + prop: "reserve1", + }, + { + label: "预留2", + prop: "reserve2", + }, + { + label: "预留3", + prop: "reserve3", + }, + { + label: "预留4", + prop: "reserve4", + }, + { + label: "预留5", + prop: "reserve5", + }, + { + label: "类型", + prop: "type", + }, + { + label: "名称", + prop: "name", + }, + { + label: "路径", + prop: "urlRoute", + }, + { + label: "预约id", + prop: "reservationId", + }, + ] +} diff --git a/src/views/distribution/inventory/distributionSignPrint.vue b/src/views/distribution/inventory/distributionSignPrint.vue new file mode 100644 index 00000000..a1fb36dd --- /dev/null +++ b/src/views/distribution/inventory/distributionSignPrint.vue @@ -0,0 +1,300 @@ + + + + + + + + + 搜 索 + 清 空 + + + + + + + + 新 增 + 删 除 + + + + + + + + + + + + + + + + + + + + + + + + 查看 + 编辑 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 提 交 + 取 消 + + + + + + + + diff --git a/src/views/distribution/inventory/distributionStockList.vue b/src/views/distribution/inventory/distributionStockList.vue index fbbceb76..e41bf920 100644 --- a/src/views/distribution/inventory/distributionStockList.vue +++ b/src/views/distribution/inventory/distributionStockList.vue @@ -379,8 +379,8 @@ export default { sortable: true, }, // { - // prop: 'warehouse', - // label: '入库时间', + // prop: 'despatch', + // label: '物流车次', // type: 2, // values: '', // width: '130', @@ -388,16 +388,6 @@ export default { // fixed: false, // sortable: true, // }, - { - prop: 'despatch', - label: '物流车次', - type: 2, - values: '', - width: '130', - checkarr: [], - fixed: false, - sortable: true, - }, { prop: 'incomingBatch', label: '入库批次', @@ -538,6 +528,16 @@ export default { fixed: false, sortable: true, }, + { + prop: 'packageNum', + label: '包装数量', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, { prop: 'unpackingQuantity', label: '拆包数量', diff --git a/src/views/distribution/inventory/distributionStockListDetails.vue b/src/views/distribution/inventory/distributionStockListDetails.vue index f896f64c..952bd7ff 100644 --- a/src/views/distribution/inventory/distributionStockListDetails.vue +++ b/src/views/distribution/inventory/distributionStockListDetails.vue @@ -217,7 +217,7 @@