zwl
3 天以前 03afa45e6fcab6329025e3492d2665d6632e9be8
多次并板
1个文件已修改
1个文件已添加
138 ■■■■ 已修改文件
.idea/workspace.xml 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/orderListParallelBoard1.vue 118 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.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>
pages/order/orderListParallelBoard1.vue
New file
@@ -0,0 +1,118 @@
<template>
    <view>
        <view class="status_bar">
            <!-- 这里是状态栏 -->
        </view>
        <uni-nav-bar left-icon="left" background-color="#f8f8f8" title="多次拣料" @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>