From 5a15fa73d5f6a39917013871a65eb11a8c013391 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 05 十一月 2025 17:30:56 +0800
Subject: [PATCH] 1
---
项目代码/PDA/pages/task/Inbound.vue | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/Inbound.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/Inbound.vue"
index 8d1b418..4d59dd8 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/Inbound.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/task/Inbound.vue"
@@ -6,18 +6,18 @@
<view style="padding: 5%;">
<uni-forms label-width="120">
<uni-forms-item label="鎵樼洏缂栫爜">
- <uni-easyinput type="text" :focus="!istrue" v-model="PalletCode1" placeholder="璇疯緭鍏ユ墭鐩樼紪鐮�"
- ref='midInput' />
+ <uni-easyinput type="text" :focus="barcodeFocus" v-model="PalletCode1" placeholder="璇疯緭鍏ユ墭鐩樼紪鐮�"
+ ref='midInput' @input="Changebarcode()"/>
</uni-forms-item>
<uni-forms-item label="鍏ュ簱璧风偣">
- <uni-easyinput type="text" :focus="istrue" v-model="SourceAddress" placeholder="璇疯緭鍏ュ叆搴撹捣鐐�"
+ <uni-easyinput type="text" :focus="addressFocus" v-model="SourceAddress" placeholder="璇疯緭鍏ュ叆搴撹捣鐐�"
ref='midInput' />
</uni-forms-item>
<!-- <uni-forms-item label="鍏ュ簱缁堢偣">
<uni-easyinput type="text" :focus="istrue" v-model="TargetAddress" placeholder="璇疯緭鍏ュ叆搴撶粓鐐�"
ref='midInput' />
</uni-forms-item> -->
- <uni-forms-item label="缁� 鐐� 鍖� 鍩�">
+ <uni-forms-item label="缁堢偣鍖哄煙">
<uni-data-select :focus="!istrue" v-model="AreaId" :localdata="range"
placeholder="璇疯緭閫夋嫨鍏ュ簱缁堢偣鍖哄煙"></uni-data-select>
</uni-forms-item>
@@ -87,8 +87,10 @@
export default {
data() {
return {
+ barcodeFocus:true,
focus: false,
istrue: false,
+ addressFocus:false,
barcodefocus: false,
range: [],
group: [],
@@ -191,7 +193,7 @@
var param = {
"PalletCode": this.PalletCode3,
}
- this.$u.post('/api/StockInfo/DeleteGroupPlateAsync', param).then(res => {
+ this.$u.post('/api/BoxingInfo/DeleteGroupPlateAsync', param).then(res => {
if (res.status) {
this.$refs.luToast.show({
title: res.message,
@@ -251,6 +253,14 @@
})
},
+ Changebarcode() {
+ this.barcodeFocus = false;
+ this.$nextTick(function(x) {
+ if (this.PalletCode1 != '') {
+ this.addressFocus = true;
+ }
+ })
+ },
inputChangebarcode() {
this.$nextTick(() => {
this.$u.post('/api/BoxingInfo/GetPalletCodeInfo?palletCode=' + this.PalletCode2, "").then(
--
Gitblit v1.9.3