From 2191824072549f0da35d73686a075e59b0196321 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期三, 25 九月 2024 15:02:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/wms-dev' into wms-dev
---
zy-asrs-admin/src/components/task/generateTask/index.vue | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-admin/src/components/task/generateTask/index.vue b/zy-asrs-admin/src/components/task/generateTask/index.vue
index ec5ed84..9d8e406 100644
--- a/zy-asrs-admin/src/components/task/generateTask/index.vue
+++ b/zy-asrs-admin/src/components/task/generateTask/index.vue
@@ -14,6 +14,7 @@
const open = ref(false);
const barcode = ref(null);
+const locTypeHeight = ref(null);
const {
getColumnSearchProps,
@@ -24,7 +25,8 @@
post('/api/rpc/generatePakIn', {
taskType: 1,
barcode: barcode.value,
- originSite: "101"
+ originSite: "101",
+ locTypeHeight: locTypeHeight.value
}).then(resp => {
let result = resp.data;
if (result.code === 200) {
@@ -49,6 +51,21 @@
})
}
+const locTypeHeightQueryList = ref(null);
+locTypeHeightQueryListQuery();
+function locTypeHeightQueryListQuery() {
+ postForm('/api/locType/height/query', {}).then(resp => {
+ let result = resp.data;
+ locTypeHeightQueryList.value = result.data;
+ })
+}
+
+watch(open, (newVal, oldVal) => {
+ if (newVal) {
+ waitPakinQueryListQuery()
+ }
+})
+
defineExpose({
open,
})
@@ -68,6 +85,9 @@
<a-select v-model:value="barcode" :placeholder="formatMessage('common.select', '璇烽�夋嫨')" style="width: 100%"
show-search :options="waitPakinQueryList" optionFilterProp="label" optionLabelProp="label">
</a-select>
+ <a-select v-model:value="locTypeHeight" :placeholder="formatMessage('common.select', '璇烽�夋嫨搴撲綅楂樺害')" style="width: 100%;margin-top: 20px;"
+ show-search :options="locTypeHeightQueryList" optionFilterProp="label" optionLabelProp="label">
+ </a-select>
</a-modal>
</div>
</template>
--
Gitblit v1.9.1