From 5d70956fa4306e2f2a673ea3068dec87cb531bd2 Mon Sep 17 00:00:00 2001 From: kilo Date: Mon, 4 Sep 2023 11:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=93=81=E6=9D=A1=E7=A0=81?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=A1=A8=E3=80=81=E5=BA=93=E5=AD=98=E5=93=81?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/distribution/disStockListDetail.js | 50 +++ src/api/distribution/disStockOrdercodeReco.js | 50 +++ src/option/distribution/disStockListDetail.js | 122 +++++++ .../distribution/disStockOrdercodeReco.js | 94 ++++++ .../distributionDeliveryListedt.vue | 2 +- .../disStockListDetail/disStockListDetail.vue | 318 ++++++++++++++++++ .../disStockOrdercodeReco.vue | 297 ++++++++++++++++ .../turndelivery/deliveryMarket.vue | 12 +- 8 files changed, 943 insertions(+), 2 deletions(-) create mode 100644 src/api/distribution/disStockListDetail.js create mode 100644 src/api/distribution/disStockOrdercodeReco.js create mode 100644 src/option/distribution/disStockListDetail.js create mode 100644 src/option/distribution/disStockOrdercodeReco.js create mode 100644 src/views/distribution/disStockListDetail/disStockListDetail.vue create mode 100644 src/views/distribution/disStockOrdercodeReco/disStockOrdercodeReco.vue diff --git a/src/api/distribution/disStockListDetail.js b/src/api/distribution/disStockListDetail.js new file mode 100644 index 00000000..a2d7ac7b --- /dev/null +++ b/src/api/distribution/disStockListDetail.js @@ -0,0 +1,50 @@ +import request from '@/axios'; + +export const getList = (current, size, params) => { + return request({ + url: '/disStockOrdercodeReco/disStockListDetail/list', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const getDetail = (id) => { + return request({ + url: '/disStockOrdercodeReco/disStockListDetail/detail', + method: 'get', + params: { + id + } + }) +} + +export const remove = (ids) => { + return request({ + url: '/disStockOrdercodeReco/disStockListDetail/remove', + method: 'post', + params: { + ids, + } + }) +} + +export const add = (row) => { + return request({ + url: '/disStockOrdercodeReco/disStockListDetail/submit', + method: 'post', + data: row + }) +} + +export const update = (row) => { + return request({ + url: '/disStockOrdercodeReco/disStockListDetail/submit', + method: 'post', + data: row + }) +} + diff --git a/src/api/distribution/disStockOrdercodeReco.js b/src/api/distribution/disStockOrdercodeReco.js new file mode 100644 index 00000000..b754d8cd --- /dev/null +++ b/src/api/distribution/disStockOrdercodeReco.js @@ -0,0 +1,50 @@ +import request from '@/axios'; + +export const getList = (current, size, params) => { + return request({ + url: '/disStockOrdercodeReco/disStockOrdercodeReco/list', + method: 'get', + params: { + ...params, + current, + size, + } + }) +} + +export const getDetail = (id) => { + return request({ + url: '/disStockOrdercodeReco/disStockOrdercodeReco/detail', + method: 'get', + params: { + id + } + }) +} + +export const remove = (ids) => { + return request({ + url: '/disStockOrdercodeReco/disStockOrdercodeReco/remove', + method: 'post', + params: { + ids, + } + }) +} + +export const add = (row) => { + return request({ + url: '/disStockOrdercodeReco/disStockOrdercodeReco/submit', + method: 'post', + data: row + }) +} + +export const update = (row) => { + return request({ + url: '/disStockOrdercodeReco/disStockOrdercodeReco/submit', + method: 'post', + data: row + }) +} + diff --git a/src/option/distribution/disStockListDetail.js b/src/option/distribution/disStockListDetail.js new file mode 100644 index 00000000..155d5d66 --- /dev/null +++ b/src/option/distribution/disStockListDetail.js @@ -0,0 +1,122 @@ +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: "createDept", + display: false, + hide: true, + }, + { + label: "是否删除", + prop: "isDeleted", + display: false, + hide: true, + }, + { + label: "主键", + prop: "id", + display: false, + hide: true, + }, + { + label: "关联库存品ID", + prop: "stockListId", + }, + { + label: "SKU", + prop: "sku", + }, + { + label: "库存品包件编码", + prop: "stockPackageCode", + }, + { + label: "类型 1 扫码 2 手动", + prop: "stockType", + }, + { + label: "装车状态 10 未装车 20 已装车", + prop: "stockLockingStatus", + }, + { + label: "状态 10 待绑定 20 已绑定", + prop: "stockStatus", + }, + { + label: "签收状态 10 待签收 20 已签收", + prop: "stockSignfoStatus", + }, + { + label: "仓库id", + prop: "warehouseId", + }, + { + label: "仓库名称", + prop: "warehouseName", + }, + { + label: "数量", + prop: "num", + }, + { + label: "状态", + prop: "status", + display: false, + hide: true, + }, + { + label: "预留1", + prop: "reserve1", + }, + { + label: "预留2", + prop: "reserve2", + }, + { + label: "预留3", + prop: "reserve3", + }, + { + label: "预留4", + prop: "reserve4", + }, + { + label: "预留5", + prop: "reserve5", + }, + ] +} diff --git a/src/option/distribution/disStockOrdercodeReco.js b/src/option/distribution/disStockOrdercodeReco.js new file mode 100644 index 00000000..05b76e5b --- /dev/null +++ b/src/option/distribution/disStockOrdercodeReco.js @@ -0,0 +1,94 @@ +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: "createDept", + display: false, + hide: true, + }, + { + label: "是否删除", + prop: "isDeleted", + display: false, + hide: true, + }, + { + label: "主键", + prop: "id", + display: false, + hide: true, + }, + { + label: "状态 1 启动 0禁用", + prop: "codeStatus", + }, + { + label: "码值", + prop: "code", + }, + { + label: "码值类型 1 库存品明细", + prop: "codeType", + }, + { + label: "状态", + prop: "status", + display: false, + hide: true, + }, + { + label: "预留1", + prop: "reserve1", + }, + { + label: "预留2", + prop: "reserve2", + }, + { + label: "预留3", + prop: "reserve3", + }, + { + label: "预留4", + prop: "reserve4", + }, + { + label: "预留5", + prop: "reserve5", + }, + ] +} diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue index a47996ee..cf1d0c5a 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue @@ -121,7 +121,7 @@ - + + +
+ + + + + + 搜 索 + 清 空 + + + + +
+ +
+ 新 增 + 删 除 +
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + diff --git a/src/views/distribution/disStockOrdercodeReco/disStockOrdercodeReco.vue b/src/views/distribution/disStockOrdercodeReco/disStockOrdercodeReco.vue new file mode 100644 index 00000000..aa285edc --- /dev/null +++ b/src/views/distribution/disStockOrdercodeReco/disStockOrdercodeReco.vue @@ -0,0 +1,297 @@ + + + diff --git a/src/views/distribution/turndelivery/deliveryMarket.vue b/src/views/distribution/turndelivery/deliveryMarket.vue index 85d2d7e8..68554c1c 100644 --- a/src/views/distribution/turndelivery/deliveryMarket.vue +++ b/src/views/distribution/turndelivery/deliveryMarket.vue @@ -347,7 +347,7 @@ v-model="dialogVisible" width="30%" > - 是否进行配送计划取消!? +

是否进行配送计划取消!?

取 消 确 定 @@ -574,6 +574,16 @@ fixed: false, sortable: true, }, + { + prop: '', + label: '操作', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: 'right', + hide: true, + }, ], height: 0, loading: false,