From 6b8533d9670ec181c09e0864ab0f1a2ea2621354 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周日, 15 12月 2024 13:38:36 +0800
Subject: [PATCH] 22
---
LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue | 35 ++++++++++++++++++++++++++---------
1 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue b/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue
index 42f2329..3c526fe 100644
--- a/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue
+++ b/LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.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">
@@ -301,7 +308,7 @@
import ButtonModal from "../../components/buttonModal.vue";
import ModalCode from "../../components/ModalCode.vue";
import {
- getBhbMaterialList,
+ querySingleUpiByUpi,
getenumDataList,
} from "../../api/putIn/artificial.js";
export default {
@@ -336,6 +343,7 @@
kwbhAllowed: false,
enumList: [],
areaCodeEnum: [],
+ upiFlagEnum: [],
};
},
components: {
@@ -353,6 +361,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;
@@ -368,6 +381,10 @@
const name = this.areaCodeEnum.find((item) => item.value === value);
return name ? name.name : "";
},
+ getUpiFlagEnumName(value) {
+ const name = this.upiFlagEnum.find((item) => item.value === value);
+ return name ? name.name : "";
+ },
// 濡傛灉鎵撳紑涓�涓殑鏃跺�欙紝涓嶉渶瑕佸叧闂叾浠栵紝鍒欐棤闇�瀹炵幇鏈柟娉�
open(index) {
// 鍏堝皢姝e湪琚搷浣滅殑swipeAction鏍囪涓烘墦寮�鐘舵�侊紝鍚﹀垯鐢变簬props鐨勭壒鎬ч檺鍒讹紝
@@ -401,7 +418,7 @@
});
return;
}
- getBhbMaterialList({
+ querySingleUpiByUpi({
packageCode: this.warehouse.packageCode,
upi: this.warehouse.upi,
}).then((res) => {
--
Gitblit v1.9.3