From ec4b1771a896858d8b7b383f0b1aba7dfd19251d Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Mon, 29 Jul 2024 10:37:01 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E6=96=99=E7=94=B3=E8=AF=B7=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E4=BC=98=E5=85=88=E7=BA=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/issue/coms/comIssueRequestPopup.vue | 38 ++++++++++++++++++-
.../issue/request/issueRequestCreate.vue | 4 +-
2 files changed, 38 insertions(+), 4 deletions(-)
diff --git a/src/pages/issue/coms/comIssueRequestPopup.vue b/src/pages/issue/coms/comIssueRequestPopup.vue
index 41628e0b..6c5bacd4 100644
--- a/src/pages/issue/coms/comIssueRequestPopup.vue
+++ b/src/pages/issue/coms/comIssueRequestPopup.vue
@@ -23,7 +23,20 @@
@confirm="confirmWareHouse">
-
+
+
+
+ 优先级
+
+
+
+
+
位置:
@@ -67,6 +80,7 @@
+
@@ -136,7 +150,21 @@
maxlength: 10,
stdPackInfo: undefined,
wareHouseList: [],
- showWareHouse: false
+ showWareHouse: false,
+ priorityList: [{
+ value: 0,
+ text: "低"
+ },
+ {
+ value: 1,
+ text: "中"
+ },
+ {
+ value: 2,
+ text: "高"
+ },
+ ],
+ priority:1,//优先级
}
},
props: {
@@ -207,6 +235,7 @@
this.itemCode = "请扫描物料信息";
this.rawLocationCode = ""
this.positionInfo = "请选择位置"
+ this.priority = ''
this.fromWarehouseCode = "请选择仓库代码"
this.workshopCode = "" //车间
this.workShopName = ""
@@ -241,6 +270,10 @@
},
confirm() {
+ if (this.priority === '') {
+ this.showErrorMessage("请输入优先级", "priority")
+ return
+ }
if (this.positionInfo == "请选择位置") {
this.showErrorMessage("请选择位置")
return
@@ -286,6 +319,7 @@
fgLocationCode: this.fgLocationCode,
fromWarehouseCode: this.fromWarehouseCode,
toWarehouseCode: this.fromWarehouseCode,
+ priority : this.priority,
itemCode: this.itemCode,
itemName: this.itemName,
uom: this.uom,
diff --git a/src/pages/issue/request/issueRequestCreate.vue b/src/pages/issue/request/issueRequestCreate.vue
index fe896681..63a82335 100644
--- a/src/pages/issue/request/issueRequestCreate.vue
+++ b/src/pages/issue/request/issueRequestCreate.vue
@@ -107,7 +107,6 @@
//确定需求信息
requestConfirm(action, item) {
-
if (this.detailSource.subList.length == 0) {
this.detailSource = {
workshopCode: item.workshopCode,
@@ -119,6 +118,7 @@
toLocationCode: item.rawLocationCode,
fromWarehouseCode:item.fromWarehouseCode,
useOnTheWay:this.useOnTheWay,
+ priority : item.priority,
totalQty: 0,
subList: []
}
@@ -153,7 +153,7 @@
qty: item.qty,
uom: item.uom
}
-
+ this.detailSource.priority =item.priority
this.detailSource.subList.push(subItem)
} else {