#
whycq
2022-08-24 ccceb635ca6fe2a602f4cef4beb2051d81f90f25
#
4个文件已修改
1个文件已添加
1个文件已删除
609 ■■■■ 已修改文件
manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/notificationFile.vue 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/basics/outPakin.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/checkout.vue 518 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -2,7 +2,7 @@
    "name" : "中扬WMS",
    "appid" : "__UNI__DA5854D",
    "description" : "",
    "versionName" : "20220819A",
    "versionName" : "20220824A",
    "versionCode" : 103,
    "transformPx" : false,
    /* 5+App特有相关 */
pages.json
@@ -108,6 +108,15 @@
                "enablePullDownRefresh": false
                
            }
        },
        {
            "path" : "pages/basics/notificationFile",
            "style" :
            {
                "navigationBarTitleText": "入库通知档",
                "enablePullDownRefresh": false
            }
        }
        
        
pages/basics/notificationFile.vue
New file
@@ -0,0 +1,68 @@
<template>
    <view>
    </view>
</template>
<script>
    export default {
        data() {
            return {
                commonUrl:null,
                listData: [],
            };
        },
        onLoad() {
            const UIP = uni.getStorageSync('UIP');
            this.baseIP = UIP;
            const UPORT = uni.getStorageSync('UPORT');
            this.basePORT = UPORT
            const PROJ = uni.getStorageSync('UPROJ');
            this.baseUrl = PROJ
            this.getUrl()
            this.getList()
        },
        onPullDownRefresh() {
            this.getList()
        },
        onReachBottom() {
        },
        methods: {
            // 获取url
            getUrl() {
                this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
            },
            getList() {
                let that = this
                console.log(that.commonUrl);
                uni.request({
                    url: that.commonUrl + '/waitPakin/list/auth',
                    data:{
                        curr:1,
                        limit:16,
                    },
                    header: {
                        'token':uni.getStorageSync('token')
                    },
                    method:'GET',
                    success: result =>{
                        console.log(result);
                        let res = result.data
                        if (res.code === 200) {
                            if (res.data) {
                                that.listData = this.reload ? list : this.listData.concat(list);
                            }
                        }
                    }
                })
            }
        }
    }
</script>
<style>
</style>
pages/basics/outPakin.vue
@@ -311,6 +311,12 @@
                that.addLog(matCode,userName)
                // that.foucss();
                // return;
                if(that.matList.length > 15) {
                    that.messageToggle('warn');
                    that.messageText = '组托商品数量已超过16件,请完成当前组托';
                    that.foucss();
                    return;
                }
                if (that.matnrId.length > 25){
                    that.messageToggle('warn');
                    that.messageText = '商品编码超长,请重试';
pages/index/checkout.vue
File was deleted
pages/index/index.vue
@@ -36,6 +36,12 @@
                        cuIcon: 'copy'
                    },
                    {
                        title: '入库通过档',
                        name: 'notificationFile',
                        color: 'blue',
                        cuIcon: 'copy'
                    },
                    {
                        title: '出库确认',
                        name: 'checkout',
                        color: 'blue',