#
whycq
2024-07-08 c69b2a0ccd8ed4fe8f11b7bad34bc00b0aa2aaf7
#
10个文件已修改
259 ■■■■■ 已修改文件
pages.json 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.vue 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/orderComb.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/orderList.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/orderPickConfirm.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/zlOrderPakin.vue 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/WarehouseIn.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/pakin.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/putOn.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/css/wms.css/wms.css 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -9,7 +9,8 @@
        {
            "path": "pages/home/home",
            "style": {
                "navigationBarTitleText": "主 页"
                // "navigationBarTitleText": "主 页"
                "navigationStyle": "custom"
            }
        },
        {
@@ -33,7 +34,8 @@
        {
            "path": "pages/pakin/pakin",
            "style": {
                "navigationBarTitleText": "组 托"
                // "navigationBarTitleText": "组 托"
                "navigationStyle": "custom"
            }
        },
        {
@@ -141,7 +143,8 @@
        {
            "path": "pages/pakin/putOn",
            "style": {
                "navigationBarTitleText": "组托上架"
                // "navigationBarTitleText": "组托上架"
                "navigationStyle": "custom"
            }
        },
        {
@@ -196,8 +199,9 @@
            "path" : "pages/pakin/WarehouseIn",
            "style" : 
            {
                "navigationBarTitleText" : "平库上架",
                "enablePullDownRefresh" : false
                // "navigationBarTitleText" : "平库上架",
                // "enablePullDownRefresh" : false
                "navigationStyle": "custom"
            }
        },
        {
@@ -212,24 +216,27 @@
            "path" : "pages/order/orderComb",
            "style" : 
            {
                "navigationBarTitleText" : "订单组托",
                "enablePullDownRefresh" : false
                // "navigationBarTitleText" : "订单组托",
                // "enablePullDownRefresh" : false
                "navigationStyle": "custom"
            }
        },
        {
            "path" : "pages/order/orderPickConfirm",
            "style" : 
            {
                "navigationBarTitleText" : "并板入库",
                "enablePullDownRefresh" : false
                // "navigationBarTitleText" : "并板入库",
                // "enablePullDownRefresh" : false
                "navigationStyle": "custom"
            }
        },
        {
            "path" : "pages/order/orderList",
            "style" : 
            {
                "navigationBarTitleText" : "平库下架",
                "enablePullDownRefresh" : false
                // "navigationBarTitleText" : "平库下架",
                // "enablePullDownRefresh" : false
                "navigationStyle": "custom"
            }
        },
        {
@@ -244,7 +251,8 @@
            "path" : "pages/order/zlOrderPakin",
            "style" : 
            {
                "navigationBarTitleText" : "制令入库"
                // "navigationBarTitleText" : "制令入库"
                "navigationStyle": "custom"
            }
        }
    ],
pages/home/home.vue
@@ -1,5 +1,19 @@
<template>
    <view>
        <view class="status_bar">
            <!-- 这里是状态栏 -->
        </view>
        <uni-nav-bar 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>
        <scroll-view scroll-y class="page">
            <view class="nav-list">
                <navigator hover-class='none' :url="'/pages' + item.url" class="nav-li" navigateTo
@@ -22,6 +36,9 @@
                baseUrl: '',
                token: '',
                icon: '',
                username: '',
                storeId: 0,
                store: '',
                elements: [],
                elements2: [
                    {
@@ -40,10 +57,10 @@
                    },
                    {
                        title: '平库上架',
                        name: 'print',
                        name: 'WarehouseIn',
                        color: 'purple',
                        cuIcon: 'text',
                        url: '/print/print'
                        url: '/pakin/WarehouseIn'
                    },
                    {
                        title: '平库下架',
@@ -130,9 +147,17 @@
        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.getAuth()
        },
        methods: {
            back() { uni.navigateBack({}) },
            getAuth() {
                let that = this
                uni.request({
@@ -210,6 +235,13 @@
</script>
<style>
    ::v-deep .uni-nav-bar-text{
            font-size: 16px;
            font-weight: 600;
    }
    .uni-nav-bar-text {
        font-size: 12px;
    }
    .page {
        height: 100vh;
    }
pages/order/orderComb.vue
@@ -1,5 +1,19 @@
<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="code">
            <view class="item">
                <view class="code-decs">托盘码:</view>
@@ -153,6 +167,8 @@
            return {
                baseUrl: '',
                token: '',
                storeId: 0,
                store: '',
                order: '',
                barcode: '',
                barcodeFocus: '',
@@ -178,11 +194,19 @@
            }
        },
        onShow() {
                    this.baseUrl = uni.getStorageSync('baseUrl');
                    this.token = uni.getStorageSync('token');
                    this.getOrderNoList()
                },
            this.baseUrl = uni.getStorageSync('baseUrl');
            this.token = uni.getStorageSync('token');
            this.getOrderNoList()
            this.storeId = uni.getStorageSync('store')
            if (this.storeId == 1) {
                this.store = '宁波仓'
            }
            if (this.storeId == 2) {
                this.store = '新昌仓'
            }
        },
        methods: {
            back() { uni.navigateBack({}) },
            set(e) {
                var ck = this.dataList[e].checked
                this.dataList[e].checked = ck ? false:true
pages/order/orderList.vue
@@ -1,5 +1,19 @@
<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="card" v-for="item in menuList" @click="chose(item)">
            {{item}}
        </view>
@@ -12,15 +26,25 @@
            return {
                baseUrl: '',
                token: '',
                storeId: 0,
                store: '',
                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({
@@ -61,6 +85,7 @@
</script>
<style>
    @import url('../../static/css/wms.css/wms.css');
    .card {
        margin: 20rpx;
        padding: 30rpx;
pages/order/orderPickConfirm.vue
@@ -1,5 +1,19 @@
<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="code">
            <view class="item">
                <view class="code-decs">库位号:</view>
@@ -152,6 +166,8 @@
            return {
                baseUrl: '',
                token: '',
                storeId: 0,
                store: '',
                locNo: '',
                locNoList: [],
                sta: '',
@@ -182,8 +198,16 @@
            this.token = uni.getStorageSync('token');
            this.getPickStaList()
            this.getMatList()
            this.storeId = uni.getStorageSync('store')
            if (this.storeId == 1) {
                this.store = '宁波仓'
            }
            if (this.storeId == 2) {
                this.store = '新昌仓'
            }
        },
        methods: {
            back() { uni.navigateBack({}) },
            set(e) {
                var ck = this.dataList[e].checked
                this.dataList[e].checked = ck ? false : true
pages/order/zlOrderPakin.vue
@@ -1,5 +1,19 @@
<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="code">
            <view class="item">
                <view class="code-decs">制令号:</view>
@@ -160,6 +174,8 @@
            return {
                baseUrl: '',
                token: '',
                storeId: 0,
                store: '',
                barcode: '',
                dataList: [],
                count: 0,
@@ -179,8 +195,8 @@
                bomCode: '',
                bomCodeFocus: true,
                maxAn: 0,
                ck1: true,
                ck2: false,
                ck1: false,
                ck2: true,
                fullPlt: 'N',
                decrees_a: {
                    locNo: '',
@@ -196,11 +212,16 @@
        onShow() {
            this.baseUrl = uni.getStorageSync('baseUrl');
            this.token = uni.getStorageSync('token');
            // setTimeout(()=>{
            //     this.$refs.decrees.open('center')
            // },300)
            this.storeId = uni.getStorageSync('store')
            if (this.storeId == 1) {
                this.store = '宁波仓'
            }
            if (this.storeId == 2) {
                this.store = '新昌仓'
            }
        },
        methods: {
            back() { uni.navigateBack({}) },
            // 是否满板
            isFullPlt() {
                var temp = this.ck1
pages/pakin/WarehouseIn.vue
@@ -1,5 +1,19 @@
<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="code">
            <view class="item">
                <view class="code-decs">托盘码:</view>
@@ -134,6 +148,8 @@
            return {
                baseUrl: '',
                token: '',
                storeId: 0,
                store: '',
                barcode: '',
                dataList: [],
                count: 0,
@@ -159,8 +175,16 @@
        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 = '新昌仓'
            }
        },
        methods: {
            back() { uni.navigateBack({}) },
            messageToggle(type) {
                this.msgType1 = type
                this.$refs.message.open()
pages/pakin/pakin.vue
@@ -1,5 +1,19 @@
<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="code">
            <view class="item">
                <view class="code-decs">托盘码:</view>
@@ -140,6 +154,8 @@
            return {
                baseUrl: '',
                token: '',
                storeId: 0,
                store: '',
                barcode: '',
                dataList: [],
                count: 0,
@@ -164,8 +180,16 @@
        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 = '新昌仓'
            }
        },
        methods: {
            back() { uni.navigateBack({}) },
            messageToggle(type) {
                this.msgType1 = type
                this.$refs.message.open()
pages/pakin/putOn.vue
@@ -1,5 +1,19 @@
<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="code">
            <view class="item">
                <view class="code-decs">库位号:</view>
@@ -150,6 +164,8 @@
            return {
                baseUrl: '',
                token: '',
                storeId: 0,
                store: '',
                order: '',
                locno: '',
                barcode: '',
@@ -175,8 +191,16 @@
        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 = '新昌仓'
            }
        },
        methods: {
            back() { uni.navigateBack({}) },
            messageToggle(type) {
                this.msgType1 = type
                this.$refs.message.open()
static/css/wms.css/wms.css
@@ -1,3 +1,10 @@
::v-deep .uni-nav-bar-text{
    font-size: 16px;
    font-weight: 600;
}
.uni-nav-bar-text {
    font-size: 12px;
}
.list {
    display: flex;
    min-height: 80rpx;