From 03afa45e6fcab6329025e3492d2665d6632e9be8 Mon Sep 17 00:00:00 2001 From: zwl <1051256694@qq.com> Date: 星期一, 01 九月 2025 14:48:21 +0800 Subject: [PATCH] 多次并板 --- pages/order/orderListParallelBoard1.vue | 118 +++++++++++++++++++++++++++++++++++++++ .idea/workspace.xml | 20 ------ 2 files changed, 120 insertions(+), 18 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 267fed2..c018b99 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,23 +5,7 @@ </component> <component name="ChangeListManager"> <list default="true" id="ac5e0bc2-a4ad-4c6e-9ad6-80e4dd8ec177" name="Changes" comment="淇骞舵澘鍔熻兘"> - <change beforePath="$PROJECT_DIR$/manifest.json" beforeDir="false" afterPath="$PROJECT_DIR$/manifest.json" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/pages/pakin/WarehousePickOutParallelBoard.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/pakin/WarehousePickOutParallelBoard.vue" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/apk/__UNI__DA5854D_cm.apk" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/apk/__UNI__DA5854D_cm.apk" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/apk/apkurl" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/apk/apkurl" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/apk/cmManifestCache.json" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/apk/cmManifestCache.json" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/certdata" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/certdata" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/__uniappquill.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/__uniappquill.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/app-config-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/app-config-service.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/app-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/app-service.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/app-view.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/app-view.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/view.umd.min.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__DA5854D/view.umd.min.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/__uniappquill.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/__uniappquill.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-config-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-config-service.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-service.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-view.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-view.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/view.umd.min.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/view.umd.min.js" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/unpackage/release/apk/__UNI__DA5854D__20240910082202.apk" beforeDir="false" /> + <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> <option name="HIGHLIGHT_CONFLICTS" value="true" /> @@ -138,7 +122,7 @@ <entry key="branch"> <value> <list> - <option value="nbncPda" /> + <option value="origin/nbncPda" /> </list> </value> </entry> diff --git a/pages/order/orderListParallelBoard1.vue b/pages/order/orderListParallelBoard1.vue new file mode 100644 index 0000000..b6e7265 --- /dev/null +++ b/pages/order/orderListParallelBoard1.vue @@ -0,0 +1,118 @@ +<template> + <view> + <view class="status_bar"> + <!-- 杩欓噷鏄姸鎬佹爮 --> + </view> + <uni-nav-bar left-icon="left" background-color="#f8f8f8" title="澶氭鎷f枡" @clickLeft="back" :fixed="true" + :border="false" rightWidth="160rpx" leftWidth="160rpx" + > + <block slot="right"> + <view class="city"> + <view> + <text class="uni-nav-bar-text">{{store}}</text> + </view> + </view> + </block> + </uni-nav-bar> + <!-- 鎼滅储妗� --> + <view class="search-bar"> + <uni-search-bar v-model="wrkNo" placeholder=" 杈撳叆鎵樼洏鐮�" bgColor="#EEEEEE" @input="search" /> + </view> + <view class="card" v-for="item in menuList" @click="chose(item.sourceLocNo)"> + <view class="item">宸ヤ綔鍙凤細{{item.wrkNo}}</view> + <view class="item">鎵樼洏鐮侊細{{item.barcode}}</view> + <view class="item">搴撲綅鍙凤細{{item.sourceLocNo}}</view> + </view> + </view> +</template> +<script> + export default { + data() { + return { + baseUrl: '', + token: '', + storeId: 0, + store: '', + wrkNo: '', + menuList: [] + } + }, + onShow() { + this.baseUrl = uni.getStorageSync('baseUrl'); + this.token = uni.getStorageSync('token'); + this.storeId = uni.getStorageSync('store') + if (this.storeId == 1) { + this.store = '瀹佹尝浠�' + } + if (this.storeId == 2) { + this.store = '鏂版槍浠�' + } + this.getOrderNoList() + }, + methods: { + back() { + uni.navigateBack({}) + }, + getOrderNoList() { + let that = this + uni.request({ + url: this.baseUrl + '/mobile/barcode/list/pick', + data: "", + header: { + 'token': uni.getStorageSync('token') + }, + method: 'POST', + success(res) { + res = res.data + that.menuList = res.data + } + }) + }, + search() { + let that = this + uni.request({ + url: this.baseUrl + '/mobile/barcode/list/pick', + data: that.wrkNo, + header: { + 'token': uni.getStorageSync('token') + }, + method: 'POST', + success(res) { + res = res.data + that.menuList = res.data + } + }) + }, + chose(item) { + let that = this + uni.navigateTo({ + url: "./orderDetlListLoc", + success: function(res) { + // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹� 鍚戝彟澶栦竴涓〉闈紶閫掑�肩殑 + res.eventChannel.emit('locNo', { + locNo: item + }) + }, + events: { + // 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹� 鍙﹀涓�涓〉闈紶杩囨潵鐨� + acceptDataFromOpenedPage: function(data) { + // that.matnr = data.data + that.input(that.matnr) + }, + }, + }); + } + } + } +</script> + +<style> + @import url('../../static/css/wms.css/wms.css'); + .card { + margin: 20rpx; + padding: 30rpx; + background-color: #157ec1; + border-radius: 20rpx; + color: #FFF; + } +</style> -- Gitblit v1.9.1