From a740f637587beae1664e6ae26c494f3636ee6cad Mon Sep 17 00:00:00 2001
From: "Mr.sun" <2290907227@qq.com>
Date: Tue, 9 Apr 2024 14:12:11 +0800
Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=B7=BB=E5=8A=A0=E5=B1=9E?=
=?UTF-8?q?=E6=80=A7=20=20=20=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../busFunctions/reportForms/lockInStock.js | 3 +-
.../inventory/InventoryEntry.vue | 186 +++++++++--------
src/views/libraryManage/inventory/config.js | 189 +++++++++---------
.../libraryManage/inventory/inventory.vue | 5 +-
.../libraryManage/lockOutStore/index.vue | 64 ++----
5 files changed, 214 insertions(+), 233 deletions(-)
diff --git a/src/api/wms/busFunctions/reportForms/lockInStock.js b/src/api/wms/busFunctions/reportForms/lockInStock.js
index 3c2e535..f7f0c8c 100644
--- a/src/api/wms/busFunctions/reportForms/lockInStock.js
+++ b/src/api/wms/busFunctions/reportForms/lockInStock.js
@@ -52,7 +52,8 @@ export function unLockStockQty(data) {
//锁定库存出库列表
export function getLockstockOutList(data) {
return request({
- url: '/wms/lock/getLockstockOutList',
+ // url: '/wms/lock/getLockstockOutList',
+ url: 'wms/stock/lock/getLockstockOutList',
method: 'get',
params: data
})
diff --git a/src/views/libraryManage/inventory/InventoryEntry.vue b/src/views/libraryManage/inventory/InventoryEntry.vue
index 6f181ad..2c5fa30 100644
--- a/src/views/libraryManage/inventory/InventoryEntry.vue
+++ b/src/views/libraryManage/inventory/InventoryEntry.vue
@@ -2,7 +2,10 @@
-
+
+
+
+
+
+
+
- 搜索
+ 搜索
重置
@@ -25,16 +45,14 @@
type="primary"
@click="calce"
:disabled="!handleSelect.length != 0"
- >取消盘点
+ >取消盘点
保存
+ >执行
@@ -101,21 +119,16 @@
diff --git a/src/views/libraryManage/inventory/config.js b/src/views/libraryManage/inventory/config.js
index eb20315..a377b47 100644
--- a/src/views/libraryManage/inventory/config.js
+++ b/src/views/libraryManage/inventory/config.js
@@ -66,6 +66,11 @@ export function tableConfig() {
prop: "specifications",
istrue: true,
},
+ {
+ label: "库存数量",
+ prop: "quantity",
+ istrue: true,
+ },
{
label: "单位",
prop: "unit",
@@ -84,26 +89,26 @@ export function tableConfig() {
type: "index",
istrue: true,
},
- {
- label: "业主编号",
- prop: "consignorCode",
- istrue: true,
- },
- {
- label: "业主名称",
- prop: "consignorName",
- istrue: true,
- },
+ // {
+ // label: "业主编号",
+ // prop: "consignorCode",
+ // istrue: true,
+ // },
+ // {
+ // label: "业主名称",
+ // prop: "consignorName",
+ // istrue: true,
+ // },
{
label: "单据编号",
prop: "invOrderNo",
istrue: true,
},
- {
- label: "日期",
- prop: "productionDate",
- istrue: true,
- },
+ // {
+ // label: "日期",
+ // prop: "productionDate",
+ // istrue: true,
+ // },
{
label: "盘点类型",
prop: "invType",
@@ -122,31 +127,31 @@ export function tableConfig() {
prop: "storageName",
istrue: true,
},
- {
- label: "区域编号",
- prop: "areaCode",
- istrue: true,
- },
- {
- label: "产品编号",
- prop: "goodNo",
- istrue: true,
- },
- {
- label: "产品名称",
- prop: "goodName",
- istrue: true,
- },
- {
- label: "批号",
- prop: "batchNo",
- istrue: true,
- },
- {
- label: "产品规格",
- prop: "specifications",
- istrue: true,
- },
+ // {
+ // label: "区域编号",
+ // prop: "areaCode",
+ // istrue: true,
+ // },
+ // {
+ // label: "产品编号",
+ // prop: "goodNo",
+ // istrue: true,
+ // },
+ // {
+ // label: "产品名称",
+ // prop: "goodName",
+ // istrue: true,
+ // },
+ // {
+ // label: "批号",
+ // prop: "batchNo",
+ // istrue: true,
+ // },
+ // {
+ // label: "产品规格",
+ // prop: "specifications",
+ // istrue: true,
+ // },
{
label: "包装单位",
prop: "unit",
@@ -155,21 +160,21 @@ export function tableConfig() {
// return getDictLabel(value, _that.dict.type.goods_unit);
// },
},
- {
- label: "包装数量",
- prop: "packageQty",
- istrue: true,
- },
- {
- label: "生产厂家",
- prop: "factory",
- istrue: true,
- },
- {
- label: "产地",
- prop: "waster",
- istrue: true,
- },
+ // {
+ // label: "包装数量",
+ // prop: "packageQty",
+ // istrue: true,
+ // },
+ // {
+ // label: "生产厂家",
+ // prop: "factory",
+ // istrue: true,
+ // },
+ // {
+ // label: "产地",
+ // prop: "waster",
+ // istrue: true,
+ // },
{
label: "件数",
prop: "caseQty",
@@ -185,28 +190,28 @@ export function tableConfig() {
// prop: "qty",
// istrue: true,
// },
- {
- label: "实盘件数",
- prop: "invCase",
- istrue: true,
- type: "slot",
- slotName: "invCase",
- },
- {
- label: "实盘零散数",
- prop: "invPiece",
- istrue: true,
- type: "slot",
- slotName: "invPiece",
- "min-width": 120,
- },
- {
- label: "实盘数量",
- prop: "invQty",
- istrue: true,
- type: "slot",
- slotName: "invQty",
- },
+ // {
+ // label: "实盘件数",
+ // prop: "invCase",
+ // istrue: true,
+ // type: "slot",
+ // slotName: "invCase",
+ // },
+ // {
+ // label: "实盘零散数",
+ // prop: "invPiece",
+ // istrue: true,
+ // type: "slot",
+ // slotName: "invPiece",
+ // "min-width": 120,
+ // },
+ // {
+ // label: "实盘数量",
+ // prop: "invQty",
+ // istrue: true,
+ // type: "slot",
+ // slotName: "invQty",
+ // },
],
rulesEntry: {
invCase: [
@@ -232,21 +237,21 @@ export function tableConfig() {
prop: "consignorCode",
istrue: true,
},
- {
- label: "业主名称",
- prop: "consignorName",
- istrue: true,
- },
- {
- label: "单据编号",
- prop: "invOrderNo",
- istrue: true,
- },
- {
- label: "日期",
- prop: "productionDate",
- istrue: true,
- },
+ // {
+ // label: "业主名称",
+ // prop: "consignorName",
+ // istrue: true,
+ // },
+ // {
+ // label: "单据编号",
+ // prop: "invOrderNo",
+ // istrue: true,
+ // },
+ // {
+ // label: "日期",
+ // prop: "productionDate",
+ // istrue: true,
+ // },
{
label: "盘点类型",
prop: "invType",
diff --git a/src/views/libraryManage/inventory/inventory.vue b/src/views/libraryManage/inventory/inventory.vue
index 335df7f..5b18c5a 100644
--- a/src/views/libraryManage/inventory/inventory.vue
+++ b/src/views/libraryManage/inventory/inventory.vue
@@ -161,7 +161,7 @@ export default {
storageId: '',
areaId: '',
locationCode: '',
- invWay: 'close',
+ invWay: '',
invType: ''
},
options: [],
@@ -236,6 +236,7 @@ export default {
// 表格复选框选中
handleselection(val) {
this.handleSelect = val.map((ele) => ele.id)
+ // this.ids = val.map((ele) => ele.stockId)
this.ids = val.map((ele) => ele.stockId)
},
// 重置
@@ -245,7 +246,7 @@ export default {
// 表格的数据
queryTable() {
// if (!this.enterForm.consignorId) return this.$message('业主名称必填!')
- if (!this.enterForm.invWay) return this.$message('盘点方式必选!')
+ // if (!this.enterForm.invWay) return this.$message('盘点方式必选!')
// if (!this.enterForm.invType) return this.$message('盘点类型必选!')
this.loading = true
queryGoods({
diff --git a/src/views/libraryManage/lockOutStore/index.vue b/src/views/libraryManage/lockOutStore/index.vue
index 67e3587..4839a4c 100644
--- a/src/views/libraryManage/lockOutStore/index.vue
+++ b/src/views/libraryManage/lockOutStore/index.vue
@@ -7,28 +7,6 @@
label-width="68px"
>
-
-
-
-
-
-
-
-
@@ -233,49 +212,48 @@ export default {
istrue: true
},
{
- label: '锁定批次',
- prop: 'batch',
+ label: '锁定批号',
+ prop: 'batchNo',
istrue: true
},
{
- label: '机种',
- prop: 'ptBreakCat',
- width: '120px',
- istrue: true
- },
- {
- label: '物料号',
- prop: 'ptPart',
+ label: '商品编号',
+ prop: 'goodNo',
istrue: true,
width: '200px'
},
{
- label: '物料名称',
- prop: 'ptName',
+ label: '深位',
+ prop: 'isDeep',
+ istrue: true
+ },
+ {
+ label: '商品名称',
+ prop: 'goodName',
istrue: true,
width: '200px'
},
{
- label: '锁定车数',
- prop: 'containers',
+ label: '商品规格',
+ prop: 'specifications',
istrue: true
},
{
- label: '锁定数量',
- prop: 'qty',
+ label: '单位',
+ prop: 'unit',
istrue: true,
width: '160px'
},
{
- label: '已出库车数',
- prop: 'outContainers',
+ label: '出库货位',
+ prop: 'locationName',
istrue: true,
width: '160px'
},
{
label: '已出库数量',
- prop: 'outqty',
+ prop: 'outQty',
istrue: true,
width: '160px'
},
@@ -321,7 +299,7 @@ export default {
//导出属性
jsonFields: {},
// 遮罩层
- loading: true,
+ loading: false,
//日期范围
dateRange: '',
// 显示搜索条件
@@ -403,7 +381,7 @@ export default {
},
/** 查询区域列表 */
getList() {
- this.loading = true
+ // this.loading = true
getLockstockOutList(this.queryParams).then((response) => {
this.waitForLockList = response.rows
this.paging.total = response.total