From 210bf50cfb0bfaf9235db6397f3112a91e0a851f Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 24 二月 2025 09:43:44 +0800 Subject: [PATCH] # --- pages/phyz/bcp/bcpDbOrderV2.vue | 2 + pages/phyz/orderOut/orderCheck.vue | 7 ++- pages/home/orderManage.vue | 3 - manifest.json | 4 +- pages/phyz/comOrder/checkOut.vue | 7 ++- pages/phyz/processOrder/orderCheck2.vue | 29 +++++++++++--- pages/phyz/orderOut/orderCheck_2.vue | 8 ++- pages/phyz/processOrder/orderCheck.vue | 7 ++- 8 files changed, 43 insertions(+), 24 deletions(-) diff --git a/manifest.json b/manifest.json index d094a03..09a0d03 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "涓壃WMS", "appid" : "__UNI__DA5854D", "description" : "", - "versionName" : "20250218C", - "versionCode" : 143, + "versionName" : "20250224A", + "versionCode" : 145, "transformPx" : false, /* 5+App鐗规湁鐩稿叧 */ "app-plus" : { diff --git a/pages/home/orderManage.vue b/pages/home/orderManage.vue index acb7dfe..6a8d160 100644 --- a/pages/home/orderManage.vue +++ b/pages/home/orderManage.vue @@ -208,12 +208,9 @@ color: this.colorList[i], cuIcon: this.icon, id: secMenu[i].id, - param: JSON.parse(secMenu[i].param), url: `${secMenu[i].code}` }) } - - } console.log(this.elements); }, diff --git a/pages/phyz/bcp/bcpDbOrderV2.vue b/pages/phyz/bcp/bcpDbOrderV2.vue index bec0ba9..9b78f68 100644 --- a/pages/phyz/bcp/bcpDbOrderV2.vue +++ b/pages/phyz/bcp/bcpDbOrderV2.vue @@ -131,6 +131,8 @@ this.getOrderDetlList(this.searchValue,10); }, onLoad() { + let _this = this + const eventChannel = this.getOpenerEventChannel(); eventChannel.on('param', function(data) { var orderType = data.param.orderType if (orderType != [] || orderType != null) { diff --git a/pages/phyz/comOrder/checkOut.vue b/pages/phyz/comOrder/checkOut.vue index dd4d967..1e1b67e 100644 --- a/pages/phyz/comOrder/checkOut.vue +++ b/pages/phyz/comOrder/checkOut.vue @@ -17,12 +17,13 @@ </view> </view> - <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">鍑哄簱绔欙細 + <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 20px;">鍑哄簱绔欙細 <!-- @click="toggleDropdown(item)" --> <view class="dropdown" > <!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> --> - <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> - <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> + <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 16px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> + <view style="font-size: 10px;">鍙敮鎸佹壂鐮�</view> + <!-- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> --> <!-- <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen"> <view class="dropdown-item" v-for="option in options" @click="selected(option,item)">{{option}}</view> </scroll-view> --> diff --git a/pages/phyz/orderOut/orderCheck.vue b/pages/phyz/orderOut/orderCheck.vue index 9cb2142..c02822c 100644 --- a/pages/phyz/orderOut/orderCheck.vue +++ b/pages/phyz/orderOut/orderCheck.vue @@ -17,12 +17,13 @@ </view> </view> - <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">鍑哄簱绔欙細 + <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 20px;">鍑哄簱绔欙細 <!-- @click="toggleDropdown(item)" --> <view class="dropdown" > <!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> --> - <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> - <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> + <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 16px;" v-model="item.agvStaNo" placeholder=" 璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> + <!-- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> --> + <view style="font-size: 10px;">鍙敮鎸佹壂鐮�</view> <!-- <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen"> <view class="dropdown-item" v-for="option in options" @click="selected(option,item)">{{option}}</view> </scroll-view> --> diff --git a/pages/phyz/orderOut/orderCheck_2.vue b/pages/phyz/orderOut/orderCheck_2.vue index 93b5720..9fa4e84 100644 --- a/pages/phyz/orderOut/orderCheck_2.vue +++ b/pages/phyz/orderOut/orderCheck_2.vue @@ -17,12 +17,14 @@ </view> </view> - <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">鍑哄簱绔欙細 + <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 20px;">鍑哄簱绔欙細 <!-- @click="toggleDropdown(item)" --> <view class="dropdown" > <!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> --> - <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> - <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> + <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 16px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> + <!-- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> --> + + <view style="font-size: 10px;">鍙敮鎸佹壂鐮�</view> <!-- <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen"> <view class="dropdown-item" v-for="option in options" @click="selected(option,item)">{{option}}</view> </scroll-view> --> diff --git a/pages/phyz/processOrder/orderCheck.vue b/pages/phyz/processOrder/orderCheck.vue index 3131174..3addaff 100644 --- a/pages/phyz/processOrder/orderCheck.vue +++ b/pages/phyz/processOrder/orderCheck.vue @@ -17,12 +17,13 @@ </view> </view> - <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">鍑哄簱绔欙細 + <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 20px;">鍑哄簱绔欙細 <!-- @click="toggleDropdown(item)" --> <view class="dropdown" > <!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> --> - <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> - <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> + <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 16px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> + <view style="font-size: 10px;">鍙敮鎸佹壂鐮�</view> + <!-- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> --> <!-- <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen"> <view class="dropdown-item" v-for="option in options" @click="selected(option,item)">{{option}}</view> </scroll-view> --> diff --git a/pages/phyz/processOrder/orderCheck2.vue b/pages/phyz/processOrder/orderCheck2.vue index 89827a4..876c88e 100644 --- a/pages/phyz/processOrder/orderCheck2.vue +++ b/pages/phyz/processOrder/orderCheck2.vue @@ -18,13 +18,16 @@ </view> </view> - <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">鍑哄簱绔欙細 - <view class="dropdown" @click="toggleDropdown(data)"> - <input type="text" style="width: 270rpx;font-size: 20px;" v-model="data.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> - <uni-icons :type="data.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> - <scroll-view scroll-y="ture" class="dropdown-content" v-if="data.isOpen"> - <view class="dropdown-item" v-for="option in data.agvStaNos" @click="selected(option,data)">{{option}}</view> - </scroll-view> + <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 20px;">鍑哄簱绔欙細 + <!-- @click="toggleDropdown(item)" --> + <view class="dropdown" > + <!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> --> + <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 16px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff"> + <view style="font-size: 10px;">鍙敮鎸佹壂鐮�</view> + <!-- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> --> + <!-- <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen"> + <view class="dropdown-item" v-for="option in options" @click="selected(option,item)">{{option}}</view> + </scroll-view> --> </view> </view> </view> @@ -90,6 +93,18 @@ max() { this.data.anfme = this.count }, + staInput(item,items,index) { + var flag = false + for (let k of items) { + if (k == item) flag = true + } + if(!flag) { + uni.showToast({ title: '褰撳墠绔欑偣鏃犳硶浣跨敤锛屽凡澶嶄綅', icon: "error", position: 'top' }) + setTimeout(() => { + this.dataList[index].agvStaNo = '' + }, 100); + } + }, toggleDropdown(item) { item.isOpen = !item.isOpen; }, -- Gitblit v1.9.1