From 9f61c92fe6864d536a0e3a6e041cbd788dcec752 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 12 12月 2024 11:02:16 +0800
Subject: [PATCH] 222

---
 LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/orderpiece.vue |   35 ++++++++++++++++++++++++++---------
 1 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/orderpiece.vue b/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/orderpiece.vue
index 343dd8a..81f043e 100644
--- a/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/orderpiece.vue
+++ b/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/orderpiece.vue
@@ -93,6 +93,13 @@
                   </text>
                 </u-col>
               </u-row>
+			  <u-row>
+			    <u-col span="12">
+			      <text class="color_80 padding_left25rpx">
+			        <text class="color_80"> 娆″簭锛歿{ item.shelf }} </text>
+			      </text>
+			    </u-col>
+			  </u-row>
               <u-row>
                 <u-col span="12">
                   <text class="color_80 padding_left25rpx">
@@ -129,13 +136,13 @@
                   </text>
                 </u-col>
               </u-row>
-              <u-row>
-                <u-col span="12">
-                  <text class="color_80 padding_left25rpx">
-                    <text class="color_80"> 娆″簭锛歿{ item.shelf }} </text>
-                  </text>
-                </u-col>
-              </u-row>
+			  <u-row>
+			    <u-col span="12">
+			      <text class="color_80 padding_left25rpx">
+			        鏍囪锛歿{ getUpiFlagEnumName(item.upiFlag) }}
+			      </text>
+			    </u-col>
+			  </u-row>
               <u-row>
                 <u-col span="12">
                   <text class="color_80 padding_left25rpx">
@@ -304,7 +311,7 @@
 import {
   WmsOperationTaskSetNG,
   WmsOperationTaskCancelNG,
-  getBhbMaterialList,
+  querySingleUpiByUpi,
   getenumDataList,
 } from "@/api/putIn/artificial.js";
 
@@ -340,6 +347,7 @@
       kwbhAllowed: false,
       enumList: [],
       areaCodeEnum: [],
+	  upiFlagEnum: [],
     };
   },
   components: {
@@ -357,6 +365,11 @@
     }).then((res) => {
       this.areaCodeEnum = res.result || [];
     });
+	getenumDataList({
+	  EnumName: "UpiFlagEnum",
+	}).then((res) => {
+	  this.upiFlagEnum = res.result || [];
+	});
   },
   onLoad() {
     this.operator = JSON.parse(uni.getStorageSync("userInfo")).name;
@@ -367,6 +380,10 @@
       const name = this.enumList.find((item) => item.value === value);
       return name ? name.name : "";
     },
+	getUpiFlagEnumName(value) {
+	  const name = this.upiFlagEnum.find((item) => item.value === value);
+	  return name ? name.name : "";
+	},
     getAreaCodeEnumName(value) {
       const name = this.areaCodeEnum.find((item) => item.value === value);
       return name ? name.name : "";
@@ -381,7 +398,7 @@
         });
         return;
       }
-      getBhbMaterialList({
+      querySingleUpiByUpi({
         upi: this.warehouse.upi,
       }).then((res) => {
         const result = res.result;

--
Gitblit v1.9.3