From 7cd5d552d48389b70328ab2804fcb5ef3f023ec9 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 11 七月 2023 13:16:00 +0800 Subject: [PATCH] # --- pages/AGV/AGVPakin.vue | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/pages/AGV/AGVPakin.vue b/pages/AGV/AGVPakin.vue index ba29273..7ba522e 100644 --- a/pages/AGV/AGVPakin.vue +++ b/pages/AGV/AGVPakin.vue @@ -27,7 +27,7 @@ <view class="left-item">{{i + 1}}</view> </view> <view class="list-left-item"> - <view class="desc">缂栫爜锛�</view> + <view class="desc">鏂欏彿锛�</view> <view class="left-item"> <uni-tag :text="item.matnr" type="primary"></uni-tag> </view> @@ -46,12 +46,12 @@ <uni-tag :text="item.batch" type="warning"></uni-tag> </view> </view> - <view class="list-left-item"> + <!-- <view class="list-left-item"> <view class="desc">閲嶉噺锛�</view> <view class="left-item"> <uni-tag :text="item.weight" type="warning"></uni-tag> </view> - </view> + </view> --> <view class="list-left-item"> <view class="desc">鏁伴噺锛�</view> <view class="left-item">{{item.anfme}}</view> @@ -76,20 +76,20 @@ <!-- 鏍囬 --> <view class="title">淇敼</view> <view class="popup-item"> - <view class="popup-item-left">缂栫爜:</view> + <view class="popup-item-left">鏂欏彿:</view> <view class="popup-item-right"> <input type="text" v-model="matnr" disabled="true" style="background-color: #f7f7f7;padding: 0;color: #d5d5d5;"> </view> </view> - <!-- <view class="popup-item"> + <view class="popup-item"> <view class="popup-item-left">鎵瑰彿:</view> <view class="popup-item-right"><input type="text" v-model="batch"></view> - </view> --> - <view class="popup-item"> + </view> + <!-- <view class="popup-item"> <view class="popup-item-left">閲嶉噺:</view> <view class="popup-item-right"><input type="text" v-model="weight"></view> - </view> + </view> --> <view class="popup-item"> <view class="popup-item-left">鏁伴噺:</view> <view class="popup-item-right" style="border: none;justify-content: center;"> @@ -207,6 +207,13 @@ // 鎼滅储鐗╂枡 findMat() { let that = this + // 鍒ゆ柇鐗╂枡闀垮害鏄惁涓�1 + if (that.dataList.length >= 1) { + this.messageText = "鍙兘娣诲姞涓�绉嶇墿鏂�" + this.messageToggle('warn') + that.matnr = '' + return + } uni.request({ url: that.baseUrl + '/mat/auth', data: { @@ -451,6 +458,9 @@ <style> @import url('../../static/css/wms.css/wms.css'); + .list:first-child { + margin-top: 360rpx; + } .code { width: 100%; position: fixed; -- Gitblit v1.9.1