From ead7fc3fb1b2ea8a08442f36433e105b733c1d4c Mon Sep 17 00:00:00 2001
From: "0.0" <1092404103.qq.com>
Date: Thu, 24 Aug 2023 19:02:33 +0800
Subject: [PATCH] =?UTF-8?q?1.=E7=94=9F=E6=88=90=E6=89=AB=E6=8F=8F=E8=AE=B0?=
=?UTF-8?q?=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/warehouse/WarehouseStock.js | 50 ++++
src/option/warehouse/warehouseStock.js | 267 ++++++++++++++++++
.../warehouseStock/warehouseStock.vue | 225 +++++++++++++++
.../distributionStockArticle.vue | 10 +
4 files changed, 552 insertions(+)
create mode 100644 src/api/warehouse/WarehouseStock.js
create mode 100644 src/option/warehouse/warehouseStock.js
create mode 100644 src/views/warehouse/warehouseStock/warehouseStock.vue
diff --git a/src/api/warehouse/WarehouseStock.js b/src/api/warehouse/WarehouseStock.js
new file mode 100644
index 00000000..43829cca
--- /dev/null
+++ b/src/api/warehouse/WarehouseStock.js
@@ -0,0 +1,50 @@
+import request from '@/axios';
+
+export const getList = (current, size, params) => {
+ return request({
+ url: '/api/logpm-warehouse/warehouseStock/list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+export const getDetail = (id) => {
+ return request({
+ url: '/api/logpm-warehouse/warehouseStock/detail',
+ method: 'get',
+ params: {
+ id
+ }
+ })
+}
+
+export const remove = (ids) => {
+ return request({
+ url: '/api/logpm-warehouse/warehouseStock/remove',
+ method: 'post',
+ params: {
+ ids,
+ }
+ })
+}
+
+export const add = (row) => {
+ return request({
+ url: '/api/logpm-warehouse/warehouseStock/submit',
+ method: 'post',
+ data: row
+ })
+}
+
+export const update = (row) => {
+ return request({
+ url: '/api/logpm-warehouse/warehouseStock/submit',
+ method: 'post',
+ data: row
+ })
+}
+
diff --git a/src/option/warehouse/warehouseStock.js b/src/option/warehouse/warehouseStock.js
new file mode 100644
index 00000000..fc64643d
--- /dev/null
+++ b/src/option/warehouse/warehouseStock.js
@@ -0,0 +1,267 @@
+export default {
+ height:'auto',
+ calcHeight: 30,
+ tip: false,
+ searchShow: true,
+ searchMenuSpan: 6,
+ border: true,
+ index: true,
+ viewBtn: true,
+ selection: false,
+ dialogClickModal: false,
+ column: [
+ {
+ label: "租户号",
+ prop: "tenantId",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "创建人",
+ prop: "createUser",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "创建时间",
+ prop: "createTime",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "更新人",
+ prop: "updateUser",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "更新时间",
+ prop: "updateTime",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "状态",
+ prop: "status",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "是否已删除",
+ prop: "isDeleted",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "创建部门",
+ prop: "createDept",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "主键",
+ prop: "id",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "reserve1",
+ prop: "reserve1",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "预留2",
+ prop: "reserve2",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "预留3",
+ prop: "reserve3",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ // {
+ // label: "",
+ // prop: "reserve4",
+ // type: "input",
+ // addDisplay: false,
+ // editDisplay: false,
+ // viewDisplay: false,
+ // hide: true,
+ // },
+ {
+ label: "预留5",
+ prop: "reserve5",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "货位信息",
+ prop: "goodsAllocation",
+ type: "input",
+ },
+ {
+ label: "在库订单ID",
+ prop: "stockArticle",
+ type: "input",
+ },
+ {
+ label: "包条码",
+ prop: "coding",
+ type: "input",
+ },
+ {
+ label: " 状态 1 配送 2自提",
+ prop: "conditions",
+ type: "input",
+ },
+ {
+ label: "货物名称",
+ prop: "goodsName",
+ type: "input",
+ },
+ {
+ label: "库存品ID",
+ prop: "stockListId",
+ type: "input",
+ },
+ {
+ label: "拆包数",
+ prop: "unpackingQuantity",
+ type: "input",
+ },
+ {
+ label: "在库包件ID",
+ prop: "parcelListId",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ {
+ label: "单位",
+ prop: "unit",
+ type: "input",
+ hide: true,
+ },
+ {
+ label: "订单自编号",
+ prop: "orderSelfNumbering",
+ type: "input",
+ },
+ {
+ label: "预约id",
+ prop: "reservationId",
+ type: "input",
+ },
+ {
+ label: "预约单号",
+ prop: "reservationCode",
+ type: "input",
+ hide: true,
+ },
+ // {
+ // label: "出库类型 1商 2市 3自",
+ // prop: "outboundType",
+ // type: "input",
+ // },
+ // {
+ // label: "配送ID",
+ // prop: "deliveryListId",
+ // type: "input",
+ // addDisplay: false,
+ // editDisplay: false,
+ // viewDisplay: false,
+ // hide: true,
+ // },
+ {
+ label: "配送编号",
+ prop: "deliveryListCode",
+ type: "input",
+ },
+ {
+ label: "备货区",
+ prop: "stockupArea",
+ type: "input",
+ },
+ // {
+ // label: "自提ID",
+ // prop: "billLadingId",
+ // type: "input",
+ // addDisplay: false,
+ // editDisplay: false,
+ // viewDisplay: false,
+ // hide: true,
+ // },
+ {
+ label: "扫码类型 1包件 2库存品",
+ prop: "type",
+ type: "input",
+ },
+ // {
+ // label: "物料id",
+ // prop: "materialId",
+ // type: "input",
+ // addDisplay: false,
+ // editDisplay: false,
+ // viewDisplay: false,
+ // hide: true,
+ // },
+ // {
+ // label: "商场/客户",
+ // prop: "marketId",
+ // type: "input",
+ // },
+ {
+ label: "备货id",
+ prop: "stockupId",
+ type: "input",
+ addDisplay: false,
+ editDisplay: false,
+ viewDisplay: false,
+ hide: true,
+ },
+ ]
+}
diff --git a/src/views/warehouse/warehouseStock/warehouseStock.vue b/src/views/warehouse/warehouseStock/warehouseStock.vue
new file mode 100644
index 00000000..b1ef5f80
--- /dev/null
+++ b/src/views/warehouse/warehouseStock/warehouseStock.vue
@@ -0,0 +1,225 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue b/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue
index 40cd993c..279eaebd 100644
--- a/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue
+++ b/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue
@@ -446,6 +446,16 @@ export default {
fixed: false,
sortable: true,
},
+ {
+ prop: 'driverName',
+ label: '配送司机',
+ type: 1,
+ values: '',
+ width: '150',
+ checkarr: [],
+ fixed: false,
+ sortable: true,
+ },
{
prop: 'fee',
label: '增值服务',