添加采购订单生成条码模组 添加小卫电器选单模块 部分模块添加仓库仓位扫码功能
11个文件已修改
1451 ■■■■ 已修改文件
components/BillSelectPopupXiaoWei/BillSelectPopupXiaoWei.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/index.vue 1109 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanbuliao/form.vue 56 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanlingliaoshengdan/form.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanrukushengdan/form.vue 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shouliaotongzhi/table.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/tiaomaguanli/table.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/tiaomaguanli/table_son.vue 183 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshouchuku/form.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/json/BillTypeValueMap.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/BillSelectPopupXiaoWei/BillSelectPopupXiaoWei.vue
@@ -18,7 +18,7 @@
                <view class="buttons">
                    <view style="flex: 1;"></view>
                    <button size="mini" type="primary" @click="clear">重置</button>
                    <button size="mini" type="primary" @click="search">搜索</button>
                    <!-- <button size="mini" type="primary" @click="search">搜索</button> -->
                    <button size="mini" type="primary" @click="exit">退出</button>
                </view>
                <scroll-view id="#BillListPanel" scroll-y="true" style="height: 55vh;">
@@ -26,7 +26,7 @@
                        <uni-card class="option-card" v-for="(bill, index) in HBillList[curPage-1]" :key="index"
                            :title="bill['物料名称']"  @tap="clickCard(bill['HSourceInterID'], bill['单据号'])" >
                            <view class="item">
                                <view class="left">发货通知单号: </view>
                                <view class="left">单据号: </view>
                                <view class="right">{{bill['单据号']}}</view>
                            </view>
                            <view class="item">
@@ -123,6 +123,7 @@
                    this.HMater = ''
                    this.HCustom = ''
                    this.HBillList = []
                    this.HBarCode = ''
                }
            },
            exit() {
@@ -230,6 +231,8 @@
                            this.page = result.length
                        } else {
                            this.HBillList = []
                            this.page = 0
                            uni.showToast({
                                icon: 'none',
                                title: Message
@@ -309,6 +312,7 @@
                    display: flex;
                    flex-direction: row;
                    flex-wrap: wrap;
                    align-items: center;
                    gap: 10rpx;
                    .right {
manifest.json
@@ -2,8 +2,8 @@
    "name" : "智云LMES",
    "appid" : "__UNI__B002F49",
    "description" : "",
    "versionName" : "1.0.91",
    "versionCode" : 191,
    "versionName" : "1.0.93",
    "versionCode" : 193,
    "transformPx" : false,
    /* 5+App特有相关 */
    "app-plus" : {
pages/index/index.vue
@@ -1,216 +1,225 @@
<template>
    <view class="content">
        <view class="header">智云L-MES制造执行系统
            <view class="switch-button">
                <uni-icons type="loop" @click="switchIconsModeHandler"></uni-icons>
            </view>
        </view>
        <view class="mains">
            <view v-if="!canEdit" :hidden="item.hidden" class="box" v-for="(item,index) in itemData" :key="index"
                @tap="toUrl(item)">
                <image :src="item.img" mode=""></image>
                <view class="texts">
                    {{item.text}}
                </view>
            </view>
            <view :enable-hidden="item.hidden" v-if="canEdit" class="box edit" v-for="(item,index) in itemData"
                :key="index" @tap="switchHidden(index)">
                <uni-icons class="edit-mark" color="red" type="closeempty"></uni-icons>
                <image :src="item.img" mode=""></image>
                <view class="texts">
                    {{item.text}}
                </view>
            </view>
        </view>
    <view class="content">
        <view class="header">智云L-MES制造执行系统
            <view class="switch-button">
                <uni-icons type="loop" @click="switchIconsModeHandler"></uni-icons>
            </view>
        </view>
        <view class="mains">
            <view v-if="!canEdit" :hidden="item.hidden" class="box" v-for="(item,index) in itemData" :key="index"
                @tap="toUrl(item)">
                <image :src="item.img" mode=""></image>
                <view class="texts">
                    {{item.text}}
                </view>
            </view>
            <view :enable-hidden="item.hidden" v-if="canEdit" class="box edit" v-for="(item,index) in itemData"
                :key="index" @tap="switchHidden(index)">
                <uni-icons class="edit-mark" color="red" type="closeempty"></uni-icons>
                <image :src="item.img" mode=""></image>
                <view class="texts">
                    {{item.text}}
                </view>
            </view>
        </view>
        <vers></vers>
    </view>
        <vers></vers>
    </view>
</template>
<script>
    import vers from './vers.vue';
    import {
        setMenuList,
        getMenuList
    } from '../../utils/menuListApp';
    import {
        CommonUtils
    } from '../../utils/common';
    import {
        getUserInfo
    } from '../../utils/auth';
    export default {
        components: {
            vers,
        },
        data() {
            return {
                updateCount: 0,
                menuListName: 'index',
                canEdit: false,
                serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
                itemData: [{
                        img: '../../static/icon/icon8.png',
                        text: '条码管理-收料通知单',
                        url: '/pages/tiaomaguanli/table?HBillType=1103',
                        id: 1,
                        hidden: false,
                    },
                    // {
                    //     img: '../../static/icon/icon8.png',
                    //     text: '扫码出库',
                    //     url: '/pages/saomachuku/table',
                    //     id: 1,
                    //     hidden: false,
                    // },
                    {
                        img: '../../static/icon/icon8.png',
                        text: '采购订单标签',
                        url: '/pages/caigoudingdan/caigoudingdan',
                        id: 1,
                        hidden: true,
                    }, {
                        img: '../../static/icon/icon4.png',
                        text: '采购订单子标签',
                        url: '/pages/tiaomadaying/tiaomadaying',
                        id: 2,
                        hidden: true,
                    },
                    {
                        img: '../../static/icon/icon11.png',
                        text: '收料通知单标签',
                        url: '/pages/shouliaotongzhi/table',
                        id: 3,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '采购入库新增',
                        url: '/pages/caigouruku/form?OperationType=1',
                        id: 4,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon20.png',
                        text: '采购退料新增',
                        url: '/pages/caigoutuiliao/form?OperationType=1',
                        id: 5,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon32.png',
                        text: '直接调拨新增',
                        url: '/pages/zhijiediaobo/form?OperationType=1',
                        id: 6,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '生产领料新增',
                        url: '/pages/shengchanlingliaoshengdan/form?OperationType=1',
                        id: 7,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon31.png',
                        text: '生产补料新增',
                        url: '/pages/shengchanbuliao/form?OperationType=1',
                        id: 8,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '生产入库新增',
                        url: '/pages/shengchanrukushengdan/form?OperationType=1',
                        id: 9,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '委外领料新增',
                        url: '/pages/weiwailingliao/form?OperationType=1',
                        id: 10,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '其他入库新增',
                        url: '/pages/qitaruku_v2/form?OperationType=1',
                        id: 11,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '其他出库新增',
                        url: '/pages/qitachuku_v2/form?OperationType=1',
                        id: 12,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '销售出库新增',
                        url: '/pages/xiaoshouchuku/form?OperationType=1',
                        id: 13,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon19.png',
                        text: '销售退货新增',
                        url: '/pages/xiaoshoutuihuo/form?OperationType=1',
                        id: 14,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon19.png',
                        text: '委外入库新增',
                        url: '/pages/weiwairuku/form?OperationType=1',
                        id: 15,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '生产领料检验',
                        url: '/pages/shengchanlingliao/form?OperationType=1',
                        id: 16,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon31.png',
                        text: '生产补料校验',
                        url: '/pages/shengchanbuliaojiaoyan/form?OperationType=1',
                        id: 17,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon32.png',
                        text: '生产调拨校验',
                        url: '/pages/shengchandiaobo/form?OperationType=1',
                        id: 18,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '其他出库校验',
                        url: '/pages/qitachukujiaoyan/detail?OperationType=1',
                        id: 19,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '生产入库校验',
                        url: '/pages/shengchanruku/form?OperationType=1',
                        id: 20,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '销售出库校验',
                        url: '/pages/xiaoshouchukujiaoyan/form?OperationType=1',
                        id: 21,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '委外领料校验',
                        url: '/pages/weiwailingliaojiaoyan/form?OperationType=1',
                        id: 22,
                        hidden: false,
                    },
                    {
                        img: '../../static/icon/icon16.png',
                        text: '采购入库校验',
                        url: '/pages/caigourukujiaoyan/form?OperationType=1',
                        id: 23,
                        hidden: false,
                    },
                    {
                        img: '../../static/icon/icon8.png',
                        text: '检验报告',
                        url: `/pages/InnerHtmlPage/index?src=http://172.16.72.15:8999/index.aspx?name=${getUserInfo()['HICNumber']}&pageTitle=检验报告&pageMode=horizontal`,
                        id: 24,
                        hidden: false,
                    },{
    import vers from './vers.vue';
    import {
        setMenuList,
        getMenuList
    } from '../../utils/menuListApp';
    import {
        CommonUtils
    } from '../../utils/common';
    import {
        getUserInfo
    } from '../../utils/auth';
    export default {
        components: {
            vers,
        },
        data() {
            return {
                updateCount: 0,
                menuListName: 'index',
                canEdit: false,
                serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
                itemData: [{
                        img: '../../static/icon/icon8.png',
                        text: '收料通知单条码打印',
                        url: '/pages/tiaomaguanli/table?HBillType=1103',
                        id: 1,
                        hidden: false,
                    },
                    {
                        img: '../../static/icon/icon8.png',
                        text: '采购订单条码打印',
                        url: '/pages/tiaomaguanli/table?HBillType=1102',
                        id: 2,
                        hidden: false,
                    },
                    // {
                    //     img: '../../static/icon/icon8.png',
                    //     text: '扫码出库',
                    //     url: '/pages/saomachuku/table',
                    //     id: 1,
                    //     hidden: false,
                    // },
                    // {
                    //     img: '../../static/icon/icon8.png',
                    //     text: '采购订单标签',
                    //     url: '/pages/caigoudingdan/caigoudingdan',
                    //     id: 1,
                    //     hidden: true,
                    // },
                    // {
                    //     img: '../../static/icon/icon4.png',
                    //     text: '采购订单子标签',
                    //     url: '/pages/tiaomadaying/tiaomadaying',
                    //     id: 2,
                    //     hidden: true,
                    // },
                    {
                        img: '../../static/icon/icon11.png',
                        text: '收料通知单标签',
                        url: '/pages/shouliaotongzhi/table',
                        id: 3,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '采购入库新增',
                        url: '/pages/caigouruku/form?OperationType=1',
                        id: 4,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon20.png',
                        text: '采购退料新增',
                        url: '/pages/caigoutuiliao/form?OperationType=1',
                        id: 5,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon32.png',
                        text: '直接调拨新增',
                        url: '/pages/zhijiediaobo/form?OperationType=1',
                        id: 6,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '生产领料新增',
                        url: '/pages/shengchanlingliaoshengdan/form?OperationType=1',
                        id: 7,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon31.png',
                        text: '生产补料新增',
                        url: '/pages/shengchanbuliao/form?OperationType=1',
                        id: 8,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '生产入库新增',
                        url: '/pages/shengchanrukushengdan/form?OperationType=1',
                        id: 9,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '委外领料新增',
                        url: '/pages/weiwailingliao/form?OperationType=1',
                        id: 10,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '其他入库新增',
                        url: '/pages/qitaruku_v2/form?OperationType=1',
                        id: 11,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '其他出库新增',
                        url: '/pages/qitachuku_v2/form?OperationType=1',
                        id: 12,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '销售出库新增',
                        url: '/pages/xiaoshouchuku/form?OperationType=1',
                        id: 13,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon19.png',
                        text: '销售退货新增',
                        url: '/pages/xiaoshoutuihuo/form?OperationType=1',
                        id: 14,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon19.png',
                        text: '委外入库新增',
                        url: '/pages/weiwairuku/form?OperationType=1',
                        id: 15,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '生产领料检验',
                        url: '/pages/shengchanlingliao/form?OperationType=1',
                        id: 16,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon31.png',
                        text: '生产补料校验',
                        url: '/pages/shengchanbuliaojiaoyan/form?OperationType=1',
                        id: 17,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon32.png',
                        text: '生产调拨校验',
                        url: '/pages/shengchandiaobo/form?OperationType=1',
                        id: 18,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '其他出库校验',
                        url: '/pages/qitachukujiaoyan/detail?OperationType=1',
                        id: 19,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon17.png',
                        text: '生产入库校验',
                        url: '/pages/shengchanruku/form?OperationType=1',
                        id: 20,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon18.png',
                        text: '销售出库校验',
                        url: '/pages/xiaoshouchukujiaoyan/form?OperationType=1',
                        id: 21,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon30.png',
                        text: '委外领料校验',
                        url: '/pages/weiwailingliaojiaoyan/form?OperationType=1',
                        id: 22,
                        hidden: false,
                    },
                    {
                        img: '../../static/icon/icon16.png',
                        text: '采购入库校验',
                        url: '/pages/caigourukujiaoyan/form?OperationType=1',
                        id: 23,
                        hidden: false,
                    },
                    {
                        img: '../../static/icon/icon8.png',
                        text: '检验报告',
                        url: `/pages/InnerHtmlPage/index?src=http://172.16.72.15:8999/index.aspx?name=${getUserInfo()['HICNumber']}&pageTitle=检验报告&pageMode=horizontal`,
                        id: 24,
                        hidden: false,
                    }, {
                        img: '../../static/icon/icon8.png',
                        text: '组托扫码',
                        url: `/pages/zutuosaoma/form`,
@@ -231,360 +240,360 @@
                        id: 27,
                        hidden: false,
                    }
                    ],
                    // itemData: [{
                    //         img: '../../static/icon/icon1.png',
                    //         text: '设备档案',
                    //         url: '/pages/shebeidangan/table',
                    //         id: 1
                    //     }, {
                    //         img: '../../static/icon/icon8.png',
                    //         text: '设备履历',
                    //         url: '/pages/shebeilvli/table',
                    //         id: 0,
                    //     }, {
                    //         img: '../../static/icon/icon2.png',
                    //         text: '设备保养计划单',
                    //         url: '/pages/baoyangjihua/table',
                    //         id: 2
                    //     }, {
                    //         img: '../../static/icon/icon3.png',
                    //         text: '设备保养记录单',
                    //         url: '/pages/baoyangjilu/table',
                    //         id: 3
                    //     }, {
                    //         img: '../../static/icon/icon4.png',
                    //         text: '设备点检计划单',
                    //         url: '',
                    //         id: 4
                    //     }, {
                    //         img: '../../static/icon/icon5.png',
                    //         text: '设备点检记录单',
                    //         url: '',
                    //         id: 5,
                    //     }, {
                    //         img: '../../static/icon/icon6.png',
                    //         text: '设备故障登记表',
                    //         url: '/pages/guzhangdengji/table',
                    //         id: 6
                    //     }, {
                    //         img: '../../static/icon/icon7.png',
                    //         text: '设备维修记录单',
                    //         url: '/pages/shebeiweixiu/table',
                    //         id: 7,
                    //         // },{
                    //         //  img:'../../static/icon/icon8.png',
                    //         //  text:'设备履历',
                    //         //  url:'/pages/shebeilvli/table',
                    //         //  id:8,
                    //     }, {
                    //         img: '../../static/icon/icon9.png',
                    //         text: '工序进站接收单',
                    //         url: '/pages/gongxuIn/table',
                    //         id: 9,
                    //     }, {
                    //         img: '../../static/icon/icon10.png',
                    //         text: '工序出站汇报单',
                    //         url: '/pages/gongxuOut/table',
                    //         id: 10,
                    //     }, {
                    //         img: '../../static/icon/icon11.png',
                    //         text: '工序委外发出单',
                    //         url: '/pages/weiwaigxIn/table',
                    //         id: 11,
                    //     }, {
                    //         img: '../../static/icon/icon12.png',
                    //         text: '工序委外接收单',
                    //         url: '/pages/weiwaigxOut/table',
                    //         id: 12,
                    //         // }, {
                    //         //     img: '../../static/icon/icon13.png',
                    //         //     text: '设备管理',
                    //         //     url: '/pages/shebeiguanli/table',
                    //         //     id: 13,
                    //     }, {
                    //         img: '../../static/icon/icon14.png',
                    //         text: '报工平台',
                    //         url: '/pages/baogong/table',
                    //         id: 14,
                    //     }, {
                    //         img: '../../static/icon/icon15.png',
                    //         text: '异常反馈单',
                    //         url: '/pages/yichang/table',
                    //         id: 15,
                    //     }, {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '异常反馈处理单',
                    //         url: '/pages/yichang/list',
                    //         id: 16,
                    //     }, {
                    //         img: '../../static/icon/icon17.png',
                    //         text: '采购入库',
                    //         url: '/pages/caigouruku/table',
                    //         id: 17,
                    //     }, {
                    //         img: '../../static/icon/icon18.png',
                    //         text: '采购退料',
                    //         url: '/pages/caigoutuiliao/table',
                    //         id: 18,
                    //     }, {
                    //         img: '../../static/icon/icon19.png',
                    //         text: '销售出库',
                    //         url: '/pages/xiaoshouchuku/table',
                    //         id: 19,
                    //     }, {
                    //         img: '../../static/icon/icon20.png',
                    //         text: '销售退货',
                    //         url: '/pages/xiaoshoutuihuo/table',
                    //         id: 20,
                    //     }, {
                    //         img: '../../static/icon/icon21.png',
                    //         text: '收料通知单',
                    //         url: '/pages/shouliaotongzhi/table',
                    //         id: 21,
                    //     },{
                    //         img: '../../static/icon/icon30.png',
                    //         text: '生产领料校验',
                    //         url: '/pages/shengchanlingliao/table',
                    //         id: 30,
                    //     },{
                    //         img: '../../static/icon/icon31.png',
                    //         text: '生产入库校验',
                    //         url: '/pages/shengchanruku/table',
                    //         id: 31,
                    //     },{
                    //         img: '../../static/icon/icon32.png',
                    //         text: '生产调拨校验',
                    //         url: '/pages/shengchandiaobo/table',
                    //         id: 32,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '标签打印',
                    //         url: '/pages/labelPrinter/index',
                    //         id: 22,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '设备运行状态',
                    //         url: '/pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai',
                    //         id: 23,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '模具运行状态',
                    //         url: '/pages/mujvzhuangtai/mujvzhuangtai',
                    //         id: 24,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '条码拆码',
                    //         url: '/pages/tiaomachaima/tiaomachaima',
                    //         id: 25,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '其他入库',
                    //         url: '/pages/qitaruku/qitaruku',
                    //         id: 26,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '其他出库',
                    //         url: '/pages/qitachuku/qitachuku',
                    //         id: 27,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '来料条码打印',
                    //         url: '/pages/tiaomadaying/tiaomadaying',
                    //         id: 28,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '上模单',
                    //         url: '/pages/MJGL/shangmudan/table',
                    //         id: 29,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '采购订单',
                    //         url: '/pages/caigoudingdan/caigoudingdan',
                    //         id: 30,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '其他出库校验',
                    //         url: '/pages/qitachukujiaoyan/qitachukujiaoyan',
                    //         id: 31,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '生产补料校验',
                    //         url: '/pages/shengchanbuliaojiaoyan/CacheList',
                    //         id: 32,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '销售出库校验',
                    //         url: '/pages/xiaoshouchukujiaoyan/table',
                    //         id: 33,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '委外领料校验',
                    //         url: '/pages/weiwailingliaojiaoyan/table',
                    //         id: 34,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '采购入库校验',
                    //         url: '/pages/caigourukujiaoyan/table',
                    //         id: 35,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '其他入库校验',
                    //         url: '/pages/qitarukujiaoyan/table',
                    //         id: 36,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon16.png',
                    //         text: '委外补料校验',
                    //         url: '/pages/weiwaibuliaojiaoyan/table',
                    //         id: 37,
                    //     },
                    //     {
                    //         img: '../../static/icon/icon17.png',
                    //         text: '生产领料',
                    //         url: '/pages/shengchanlingliaoshengdan/table',
                    //         id: 38,
                    //     },
                    // ]
                }
            },
            onLoad() {
                    this.getHiddenItem()
                },
                methods: {
                    checkCardShow(item) {
                        if (item.HMaker && item.HMaker != getUserInfo()['Czymc'] && item.hidden == true) {
                            return false
                        }
                        return true
                    },
                    async getHiddenItem() {
                        // let itemCache = uni.getStorageSync('HIndexItemData') || ''
                        // console.log('itemCache: ',itemCache);
                        // if(itemCache !== '') {
                        //     this.itemData = itemCache
                        // }
                ],
                // itemData: [{
                //         img: '../../static/icon/icon1.png',
                //         text: '设备档案',
                //         url: '/pages/shebeidangan/table',
                //         id: 1
                //     }, {
                //         img: '../../static/icon/icon8.png',
                //         text: '设备履历',
                //         url: '/pages/shebeilvli/table',
                //         id: 0,
                //     }, {
                //         img: '../../static/icon/icon2.png',
                //         text: '设备保养计划单',
                //         url: '/pages/baoyangjihua/table',
                //         id: 2
                //     }, {
                //         img: '../../static/icon/icon3.png',
                //         text: '设备保养记录单',
                //         url: '/pages/baoyangjilu/table',
                //         id: 3
                //     }, {
                //         img: '../../static/icon/icon4.png',
                //         text: '设备点检计划单',
                //         url: '',
                //         id: 4
                //     }, {
                //         img: '../../static/icon/icon5.png',
                //         text: '设备点检记录单',
                //         url: '',
                //         id: 5,
                //     }, {
                //         img: '../../static/icon/icon6.png',
                //         text: '设备故障登记表',
                //         url: '/pages/guzhangdengji/table',
                //         id: 6
                //     }, {
                //         img: '../../static/icon/icon7.png',
                //         text: '设备维修记录单',
                //         url: '/pages/shebeiweixiu/table',
                //         id: 7,
                //         // },{
                //         //  img:'../../static/icon/icon8.png',
                //         //  text:'设备履历',
                //         //  url:'/pages/shebeilvli/table',
                //         //  id:8,
                //     }, {
                //         img: '../../static/icon/icon9.png',
                //         text: '工序进站接收单',
                //         url: '/pages/gongxuIn/table',
                //         id: 9,
                //     }, {
                //         img: '../../static/icon/icon10.png',
                //         text: '工序出站汇报单',
                //         url: '/pages/gongxuOut/table',
                //         id: 10,
                //     }, {
                //         img: '../../static/icon/icon11.png',
                //         text: '工序委外发出单',
                //         url: '/pages/weiwaigxIn/table',
                //         id: 11,
                //     }, {
                //         img: '../../static/icon/icon12.png',
                //         text: '工序委外接收单',
                //         url: '/pages/weiwaigxOut/table',
                //         id: 12,
                //         // }, {
                //         //     img: '../../static/icon/icon13.png',
                //         //     text: '设备管理',
                //         //     url: '/pages/shebeiguanli/table',
                //         //     id: 13,
                //     }, {
                //         img: '../../static/icon/icon14.png',
                //         text: '报工平台',
                //         url: '/pages/baogong/table',
                //         id: 14,
                //     }, {
                //         img: '../../static/icon/icon15.png',
                //         text: '异常反馈单',
                //         url: '/pages/yichang/table',
                //         id: 15,
                //     }, {
                //         img: '../../static/icon/icon16.png',
                //         text: '异常反馈处理单',
                //         url: '/pages/yichang/list',
                //         id: 16,
                //     }, {
                //         img: '../../static/icon/icon17.png',
                //         text: '采购入库',
                //         url: '/pages/caigouruku/table',
                //         id: 17,
                //     }, {
                //         img: '../../static/icon/icon18.png',
                //         text: '采购退料',
                //         url: '/pages/caigoutuiliao/table',
                //         id: 18,
                //     }, {
                //         img: '../../static/icon/icon19.png',
                //         text: '销售出库',
                //         url: '/pages/xiaoshouchuku/table',
                //         id: 19,
                //     }, {
                //         img: '../../static/icon/icon20.png',
                //         text: '销售退货',
                //         url: '/pages/xiaoshoutuihuo/table',
                //         id: 20,
                //     }, {
                //         img: '../../static/icon/icon21.png',
                //         text: '收料通知单',
                //         url: '/pages/shouliaotongzhi/table',
                //         id: 21,
                //     },{
                //         img: '../../static/icon/icon30.png',
                //         text: '生产领料校验',
                //         url: '/pages/shengchanlingliao/table',
                //         id: 30,
                //     },{
                //         img: '../../static/icon/icon31.png',
                //         text: '生产入库校验',
                //         url: '/pages/shengchanruku/table',
                //         id: 31,
                //     },{
                //         img: '../../static/icon/icon32.png',
                //         text: '生产调拨校验',
                //         url: '/pages/shengchandiaobo/table',
                //         id: 32,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '标签打印',
                //         url: '/pages/labelPrinter/index',
                //         id: 22,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '设备运行状态',
                //         url: '/pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai',
                //         id: 23,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '模具运行状态',
                //         url: '/pages/mujvzhuangtai/mujvzhuangtai',
                //         id: 24,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '条码拆码',
                //         url: '/pages/tiaomachaima/tiaomachaima',
                //         id: 25,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '其他入库',
                //         url: '/pages/qitaruku/qitaruku',
                //         id: 26,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '其他出库',
                //         url: '/pages/qitachuku/qitachuku',
                //         id: 27,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '来料条码打印',
                //         url: '/pages/tiaomadaying/tiaomadaying',
                //         id: 28,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '上模单',
                //         url: '/pages/MJGL/shangmudan/table',
                //         id: 29,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '采购订单',
                //         url: '/pages/caigoudingdan/caigoudingdan',
                //         id: 30,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '其他出库校验',
                //         url: '/pages/qitachukujiaoyan/qitachukujiaoyan',
                //         id: 31,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '生产补料校验',
                //         url: '/pages/shengchanbuliaojiaoyan/CacheList',
                //         id: 32,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '销售出库校验',
                //         url: '/pages/xiaoshouchukujiaoyan/table',
                //         id: 33,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '委外领料校验',
                //         url: '/pages/weiwailingliaojiaoyan/table',
                //         id: 34,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '采购入库校验',
                //         url: '/pages/caigourukujiaoyan/table',
                //         id: 35,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '其他入库校验',
                //         url: '/pages/qitarukujiaoyan/table',
                //         id: 36,
                //     },
                //     {
                //         img: '../../static/icon/icon16.png',
                //         text: '委外补料校验',
                //         url: '/pages/weiwaibuliaojiaoyan/table',
                //         id: 37,
                //     },
                //     {
                //         img: '../../static/icon/icon17.png',
                //         text: '生产领料',
                //         url: '/pages/shengchanlingliaoshengdan/table',
                //         id: 38,
                //     },
                // ]
            }
        },
        onLoad() {
            this.getHiddenItem()
        },
        methods: {
            checkCardShow(item) {
                if (item.HMaker && item.HMaker != getUserInfo()['Czymc'] && item.hidden == true) {
                    return false
                }
                return true
            },
            async getHiddenItem() {
                // let itemCache = uni.getStorageSync('HIndexItemData') || ''
                // console.log('itemCache: ',itemCache);
                // if(itemCache !== '') {
                //     this.itemData = itemCache
                // }
                        let data = await getMenuList({
                            menuName: this.menuListName
                        })
                        Array.from(data).forEach(e => {
                            this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"])
                            this.itemData[e["HIndex"]].HMaker = e["HMaker"]
                        })
                    },
                    switchHidden(index) {
                        this.updateCount++;
                        this.itemData[index].hidden = !this.itemData[index].hidden
                    },
                    switchIconsModeHandler() {
                        this.canEdit = !this.canEdit
                        if (this.canEdit == false && this.updateCount > 0) {
                            this.$nextTick(() => {
                                // uni.setStorageSync("HIndexItemData", this.itemData)
                                setMenuList({
                                    menuName: this.menuListName,
                                    payload: this.itemData
                                })
                let data = await getMenuList({
                    menuName: this.menuListName
                })
                Array.from(data).forEach(e => {
                    this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"])
                    this.itemData[e["HIndex"]].HMaker = e["HMaker"]
                })
            },
            switchHidden(index) {
                this.updateCount++;
                this.itemData[index].hidden = !this.itemData[index].hidden
            },
            switchIconsModeHandler() {
                this.canEdit = !this.canEdit
                if (this.canEdit == false && this.updateCount > 0) {
                    this.$nextTick(() => {
                        // uni.setStorageSync("HIndexItemData", this.itemData)
                        setMenuList({
                            menuName: this.menuListName,
                            payload: this.itemData
                        })
                                this.updateCount = 0
                            })
                        }
                        this.$forceUpdate()
                    },
                    toUrl(item) {
                        if (item.url) {
                            uni.navigateTo({
                                url: item.url
                            })
                        } else {
                            uni.showToast({
                                title: '功能开发中。。。',
                                icon: 'none'
                            })
                        }
                    }
                }
        }
                        this.updateCount = 0
                    })
                }
                this.$forceUpdate()
            },
            toUrl(item) {
                if (item.url) {
                    uni.navigateTo({
                        url: item.url
                    })
                } else {
                    uni.showToast({
                        title: '功能开发中。。。',
                        icon: 'none'
                    })
                }
            }
        }
    }
</script>
<style lang="scss" scoped>
    .header {
        width: 750rpx;
        background: linear-gradient(0deg, #71AFFC 0%, #3A78FF 100%);
        font-size: 47rpx;
        font-weight: bold;
        color: #FFFFFF;
        text-align: center;
        padding: 9vh 0 6vh 0;
        position: relative;
    }
    .header {
        width: 750rpx;
        background: linear-gradient(0deg, #71AFFC 0%, #3A78FF 100%);
        font-size: 47rpx;
        font-weight: bold;
        color: #FFFFFF;
        text-align: center;
        padding: 9vh 0 6vh 0;
        position: relative;
    }
    .switch-button {
        position: absolute;
        right: 10rpx;
        bottom: 0;
    }
    .switch-button {
        position: absolute;
        right: 10rpx;
        bottom: 0;
    }
    .mains {
        width: 720rpx;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        margin-top: 3vh;
        padding-bottom: 5vh;
    .mains {
        width: 720rpx;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        margin-top: 3vh;
        padding-bottom: 5vh;
        .box {
            width: 25%;
            margin-top: 2.5vh;
            text-align: center;
        .box {
            width: 25%;
            margin-top: 2.5vh;
            text-align: center;
            image {
                width: 18vw;
                height: 18vw;
            }
            image {
                width: 18vw;
                height: 18vw;
            }
            .texts {
                width: 120rpx;
                margin: 0 auto;
                font-size: 29rpx;
                font-weight: normal;
                color: #333333;
                margin-top: .2vh;
            }
        }
            .texts {
                width: 120rpx;
                margin: 0 auto;
                font-size: 29rpx;
                font-weight: normal;
                color: #333333;
                margin-top: .2vh;
            }
        }
        .edit {
            position: relative;
        }
        .edit {
            position: relative;
        }
        .edit-mark {
            position: absolute;
            top: 0;
            right: 0;
        }
        .edit-mark {
            position: absolute;
            top: 0;
            right: 0;
        }
        view[enable-hidden] {
            opacity: .4 !important;
        }
        view[enable-hidden] {
            opacity: .4 !important;
        }
        view[hidden] {
            display: none;
        }
    }
        view[hidden] {
            display: none;
        }
    }
</style>
pages/shengchanbuliao/form.vue
@@ -19,22 +19,23 @@
                </view>
            </view>
            <view class="form-item">
                <view class="title">仓库:</view>
                <view class="right">
                    <uni-combox :candidates="arrayHWHName" placeholder="请输入(或扫描)仓库" v-model="hform.HWHName"
                        @input="HWHNameChange"></uni-combox>
                </view>
                <view class="title">仓库:</view>
                <view class="right">
                    <uni-combox :candidates="arrayHWHName" placeholder="请输入(或扫描)仓库" v-model="hform.HWHName"
                        @input="HWHNameChange" @confirm="HWHNameScan"></uni-combox>
                </view>
            </view>
            <view class="form-item">
                <view class="title">仓位:</view>
                <view class="right" v-show="showHStockPlaceName">
                    <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位"
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox>
                </view>
                <view class="righton" v-show="!showHStockPlaceName">
                    <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName " placeholder="不可操作" />
                </view>
                <view class="title">仓位:</view>
                <view class="right" v-show="showHStockPlaceName">
                    <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位"
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange" @confirm='HStockPlaceNameScan'></uni-combox>
                </view>
                <view class="righton" v-show="!showHStockPlaceName">
                    <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName" placeholder="不可操作" />
                </view>
            </view>
            <view class="tabs">
                <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">选择源单</view>
@@ -418,6 +419,33 @@
            uni.$off('BillSelectComplete')
        },
        methods: {
            async HWHNameScan(e) {
                // 扫描仓库码
                console.log('仓库码: ', e);
                let index = this.HWHNameList.findIndex(elem => elem['条码编号'] == e)
                if(index == -1){
                    uni.showToast({
                        icon:'none',
                        title: '扫描仓库条码对应的仓库不存在...'
                    })
                }else {
                    this.HWHNameChange(this.HWHNameList[index]['仓库名称'])
                }
            },
            async HStockPlaceNameScan(e) {
                // 扫描仓位码
                console.log('仓位码: ', e);
                let index = this.HStockPlaceNameList.findIndex(elem => elem['条码编号'] == e)
                console.log('index: ',index);
                if(index == -1){
                    uni.showToast({
                        icon:'none',
                        title: '扫描仓位条码对应的仓位不存在...'
                    })
                }else {
                    this.HStockPlaceNameChange(this.HStockPlaceNameList[index]['仓位名称'])
                }
            },
            async qrCodeDisplay() {
                try {
                    this.$refs.barcodePopup.setCodeInfo(this.hform.HBillNo)
@@ -708,7 +736,7 @@
                for (var i = 0; i < this.HStockPlaceNameList.length; i++) {
                    if (this.HStockPlaceNameList[i].仓位名称 == e) {
                        this.hform.HStockPlaceName = this.HStockPlaceNameList[i].仓位名称
                        this.hform.HStockPlaceID = this.HStockPlaceNameList[i].HItemID
                        this.hform.HStockPlaceID = this.HStockPlaceNameList[i].HMainID
                    }
                }
            },
pages/shengchanlingliaoshengdan/form.vue
@@ -450,8 +450,8 @@
        computed: {
            enableMultiSourceBill: {
                get() {
                    // uni.getStorageSync("Organization").includes("海诚") &&
                    if(this.hform.HMainSourceBillType ==  3720){
                    if(uni.getStorageSync("Organization").includes("海诚") &&  this.hform.HMainSourceBillType ==  3720){
                        return true
                    }
                    return false
@@ -813,6 +813,7 @@
                        this.hform.HStockPlaceID = this.HStockPlaceNameList[i].HMainID
                    }
                }
                console.log('this.hform.HStockPlaceID: ',this.hform.HStockPlaceID);
            },
            //选择源单
            HSourceBillNoChange(e) {
@@ -1433,7 +1434,7 @@
                            this.hform.HDeptID = data.HDeptID
                            this.hform.HDeptName = data.HDeptName
                            this.hform.HSupID = data.HCusID
                            this.hform.HSupName = data.HCusName
                            this.hform.HSupName = data.HCusName || ''
                            this.DisBillEntryList()
                            this.tabs = 2
                        } else {
pages/shengchanrukushengdan/form.vue
@@ -21,14 +21,15 @@
                <view class="title">仓库:</view>
                <view class="right">
                    <uni-combox :candidates="arrayHWHName" placeholder="请输入(或扫描)仓库" v-model="hform.HWHName"
                        @input="HWHNameChange"></uni-combox>
                        @input="HWHNameChange" @confirm="HWHNameScan"></uni-combox>
                </view>
            </view>
            <view class="form-item">
                <view class="title">仓位:</view>
                <view class="right" v-show="showHStockPlaceName">
                    <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位"
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox>
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"
                        @confirm="HStockPlaceNameScan"></uni-combox>
                </view>
                <view class="righton" v-show="!showHStockPlaceName">
                    <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName" placeholder="不可操作" />
@@ -440,6 +441,33 @@
            uni.$off('BillSelectComplete')
        },
        methods: {
            async HWHNameScan(e) {
                // 扫描仓库码
                console.log('仓库码: ', e);
                let index = this.HWHNameList.findIndex(elem => elem['条码编号'] == e)
                if (index == -1) {
                    uni.showToast({
                        icon: 'none',
                        title: '扫描仓库条码对应的仓库不存在...'
                    })
                } else {
                    this.HWHNameChange(this.HWHNameList[index]['仓库名称'])
                }
            },
            async HStockPlaceNameScan(e) {
                // 扫描仓位码
                console.log('仓位码: ', e);
                let index = this.HStockPlaceNameList.findIndex(elem => elem['条码编号'] == e)
                console.log('index: ', index);
                if (index == -1) {
                    uni.showToast({
                        icon: 'none',
                        title: '扫描仓位条码对应的仓位不存在...'
                    })
                } else {
                    this.HStockPlaceNameChange(this.HStockPlaceNameList[index]['仓位名称'])
                }
            },
            async qrCodeDisplay() {
                try {
                    this.$refs.barcodePopup.setCodeInfo(this.hform.HBillNo)
@@ -774,7 +802,7 @@
                for (var i = 0; i < this.HStockPlaceNameList.length; i++) {
                    if (this.HStockPlaceNameList[i].仓位名称 == e) {
                        this.hform.HStockPlaceName = this.HStockPlaceNameList[i].仓位名称
                        this.hform.HStockPlaceID = this.HStockPlaceNameList[i].HItemID
                        this.hform.HStockPlaceID = this.HStockPlaceNameList[i].HMainID
                    }
                }
            },
pages/shouliaotongzhi/table.vue
@@ -36,7 +36,7 @@
        </view>
        <view class="button-groups">
            <view :class="MultiCodePrint ? 'show' : 'hidden'">
                <button @click="execMultiPrint" type="default" class="btn-c">打印</button>
                <button @click="execMultiPrint" :disabled="printButtonDisabled" type="default" class="btn-c">打印</button>
            </view>
            <view>
                <button @click="changePrintMode" type="default" class="btn-c">
@@ -76,6 +76,7 @@
    export default {
        data() {
            return {
                printButtonDisabled: false,
                printInfo: '',
                MultiCodePrint: false,
                HBarCodeFocus: false,
@@ -448,6 +449,7 @@
            },
            async execMultiPrint() {
                this.printButtonDisabled = true
                if (this.$printer.isConnected() === false) {
                    this.$refs.labelPrinter.openPopup()
                    return
@@ -487,6 +489,8 @@
                        this.$refs.labelPrinter.execPrint()
                        this.printableWaitCache = []
                    })
                    this.printButtonDisabled = false
                } catch (e) {
                    console.error('e: ', e);
pages/tiaomaguanli/table.vue
@@ -132,6 +132,7 @@
                        icon: 'none'
                    })
                } else {
                    HBarCode = HBarCode.trim()
                    let [HBarCodeBillNo] = HBarCode.split("@") //第一个参数表示单据号
                    let HBillType = this.baseInfo.HBillType
                    uni.request({
@@ -179,7 +180,7 @@
            toSon(item) {
                uni.navigateTo({
                    url: './table_son?OperationType=1&closeType=1&linterid=' + item.hmainid + '&hsubid=' + item
                        .hsubid
                        .hsubid + '&HBillType=' + this.baseInfo.HBillType
                })
            }
        }
pages/tiaomaguanli/table_son.vue
@@ -2,17 +2,17 @@
    <view class="content">
        <view class="form">
            <view class="form-item">
                <view class="title">收料单号:</view>
                <view class="title">{{ HBillTypeName }}单号:</view>
                <view class="righton">
                    <input v-model="baseInfo.HBillNo" disabled />
                </view>
            </view>
            <view class="form-item">
                <view class="title">采购单号:</view>
                <view class="righton">
                    <input v-model="baseInfo.HInnerBillNo" disabled />
                </view>
            </view>
            <!-- <view class="form-item"> -->
                <!-- <view class="title">采购单号:</view> -->
                <!-- <view class="righton"> -->
                    <!-- <input v-model="baseInfo.HInnerBillNo" disabled /> -->
                <!-- </view> -->
            <!-- </view> -->
            <view class="form-item">
                <view class="title">物料编码:</view>
                <view class="righton">
@@ -211,6 +211,7 @@
            this.OperationType = e.OperationType
            this.linterid = e.linterid
            this.HEntryID = e.hsubid
            this.HBillType = e.HBillType
            this.getData()
            // //#ifdef APP-PLUS
@@ -238,13 +239,43 @@
            // });
            // //#endif
        },
        computed: {
            HBillTypeName: {
                get() {
                    if(this.HBillType == '1102'){
                        return '采购'
                    }
                    if(this.HBillType == '1103'){
                        return '收料'
                    }
                }
            },
            QtyDisabledMode: {
                get() {
                    let compName = this.getCampanyName()
                    // 禁用数量选择 启用箱数选择
                    if(/小卫电器/.test(compName)){
                        return 1
                    }
                    // 启用数量选择 禁用箱数选择
                    if(/兴达/.test(compName)){
                        return 2
                    }
                    // 禁用箱数选择和数量选择
                    return 0
                }
            }
        },
        methods: {
            getData() {
                // 通过单据类型,单据内码和子内码获取对应单据信息
                // '/Cg_POInStockBill/loadCg_POInStockBill_Push'
                uni.request({
                    url: this.serverUrl + '/Cg_POInStockBill/loadCg_POInStockBill_Push',
                    url: this.serverUrl + '/Web/GetBillInfo_GenerateBillCode',
                    data: {
                        HInterID: this.linterid,
                        HSubID: this.HEntryID
                        HEntryID: this.HEntryID,
                        HBillType: this.HBillType
                    },
                    success: (res) => {
                        if (res.data.count == 1) {
@@ -325,6 +356,18 @@
                    })
                }
            },
            getCampanyName() {
                let organ = uni.getStorageSync('Organization')
                // 应用 小卫电器 条码规则
                if(/小卫|智云/.test(organ)){
                    return "小卫电器"
                }
                // 应用 余姚兴达起动器 条码规则
                if(/兴达|条码测试/.test(organ)){
                    return "余姚兴达起动器"
                }
                return 'xxx'
            },
            async getList() {
                let HBarCodeNoStrs = []
                var sMain = []
@@ -334,7 +377,7 @@
                var HOrgType = uni.getStorageSync('Organization');
                //获取选择的工厂代码
                // var CampanyName = uni.getStorageSync('Organization');
                var CampanyName = "兴达条码";
                var CampanyName = this.getCampanyName();
                //获取选择的源单类型
                var HSourceBillType = "收料通知单";
                //获取选择的条码类型
@@ -431,36 +474,38 @@
                    }
                });
            },
            async getBarCodeTemplate() {
                return new Promise((resolve, reject) => {
                    CommonUtils.doRequest2({
                        url: "/Sc_BarCode/Get_BarCodeGenTemplate",
                        data: {
                            HOrginationName: uni.getStorageSync("Organization"),
                            HBillSubType: '1103'
                        },
                        resFunction: (res) => {
                            let {
                                data,
                                count,
                                Message
                            } = res.data
                            if (count == 1) {
                                resolve(JSON.parse(data))
                            } else {
                                uni.showToast({
                                    icon: 'none',
                                    title: Message
                                })
                                reject()
                            }
                        },
                        errFunction: () => {
                            reject()
                        }
                    })
                })
            },
            // #region 已废弃
            // async getBarCodeTemplate() {
            //     return new Promise((resolve, reject) => {
            //         CommonUtils.doRequest2({
            //             url: "/Sc_BarCode/Get_BarCodeGenTemplate",
            //             data: {
            //                 HOrginationName: uni.getStorageSync("Organization"),
            //                 HBillSubType: this.HBillType
            //             },
            //             resFunction: (res) => {
            //                 let {
            //                     data,
            //                     count,
            //                     Message
            //                 } = res.data
            //                 if (count == 1) {
            //                     resolve(JSON.parse(data))
            //                 } else {
            //                     uni.showToast({
            //                         icon: 'none',
            //                         title: Message
            //                     })
            //                     reject()
            //                 }
            //             },
            //             errFunction: () => {
            //                 reject()
            //             }
            //         })
            //     })
            // },
            // #endregion
            async checkPermission() { // 授权
                try {
                    let checkResult = await permission.androidPermissionCheck("bluetooth");
@@ -497,52 +542,6 @@
                    uni.showLoading()
                    console.log('this.listData: ', this.listData);
                    for (let listOne of this.listData) {
                        //                         let pcsInfo = this.baseInfo.HPcsName ? '(' + this.baseInfo.HPcsName + ')' : ''
                        //                         let HFurnaceNO = this.baseInfo.HFurnaceNO.split('.')
                        //                         printContent.push(`! 0 200 200 400 1
                        // PAGE-WIDTH 608
                        // SETQRVER 3
                        // B QR 475 15 Q 0 U 3
                        // LA,${listOne.HBarCodeNo}
                        // ENDQR
                        // T 24 0 0 30 供应商: ${listOne.HSupNameShort}
                        // T 55 0 0 55 (Supplier)
                        // T 24 0 200 30 客户编号: ${listOne.HFactory || ''}
                        // T 55 0 200 55 (Consumer No.)
                        // T 24 0 0 75 物料编码: ${listOne.HMaterNumber}
                        // T 55 0 0 100 (Material Number)
                        // T 24 0 0 120 物料名称: ${listOne.HMaterName}
                        // T 55 0 0 145 (Material Code)
                        // T 24 0 0 165 款号: ${listOne.HCoilNO || ''}
                        // T 55 0 0 190 (Style No.)
                        // T 24 0 300 165 供应商料号: ${listOne.HSupMaterNumber}
                        // T 55 0 300 190 (Supplier Sku No.)
                        // T 24 0 0 210 分组: ${HFurnaceNO[1] || HFurnaceNO[0] || ''}
                        // T 55 0 0 235 (Group)
                        // T 24 0 300 210 规格: ${listOne.HMaterModel}
                        // T 55 0 300 235 (SKU NO.)
                        // T 24 0 0 255 数量: ${ parseFloat(listOne.HQty || 0).toFixed(0) } ${pcsInfo}
                        // T 55 0 0 280 (Quantity)
                        // T 24 0 300 255 日期: ${listOne.HDate || ''}
                        // T 55 0 300 280 (Date)
                        // T 24 0 0 300 检验员:
                        // L 80 325 250 325 3
                        // T 55 0 0 325 (QC)
                        // T 24 0 300 300 采购单号: ${listOne.HInnerBillNo || ''}
                        // T 55 0 300 325 (Purchase Order No.)
                        // T 24 0 0 345 检验结果:
                        // T 55 0 0 370 (Inspection status)
                        // BOX 240 345 260 365 4
                        // T 24 0 270 345 合格
                        // T 55 0 250 370 (Pass)
                        // BOX 340 345 360 365 4
                        // T 24 0 370 345 不合格
                        // T 55 0 370 370 (Fail)
                        // BOX 460 345 480 365 4
                        // T 24 0 490 345 特采
                        // T 55 0 440 370 (Spec. accepted)
                        // FORM
                        // PRINT`)
                        let Message = await this.getPrintTemplate(listOne.HInterID, listOne.HItemID)
                        printContent.push(Message)
                        count++;
@@ -563,22 +562,28 @@
                }
            },
            async getPrintTemplate(HInterID,HItemID) {
                console.log('data: ', {
                    HOrginationName: uni.getStorageSync("Organization"),
                    HBillSubType: this.HBillType,
                    HInterID: HInterID,
                    HItemID: HItemID,
                })
                return new Promise((resolve, reject) => {
                    CommonUtils.doRequest2({
                        url: "/Sc_BarCode/Get_BarCodePrintCode_CPCL",
                        data: {
                            HOrginationName: uni.getStorageSync("Organization"),
                            HViewName: 'h_v_IF_POInStockBillList',
                            HBillSubType: '1103',
                            HBillSubType: this.HBillType,
                            HInterID: HInterID,
                            HItemID: HItemID,
                        },
                        },
                        resFunction: (res) => {
                            let {
                                Message,
                                count
                            } = res.data
                            if (count == 1) {
                                console.log('Message: ',Message);
                                resolve(Message)
                            } else {
                                uni.showToast({
pages/xiaoshouchuku/form.vue
@@ -21,17 +21,18 @@
                <view class="title">仓库:</view>
                <view class="right">
                    <uni-combox :candidates="arrayHWHName" placeholder="请输入(或扫描)仓库" v-model="hform.HWHName"
                        @input="HWHNameChange"></uni-combox>
                        @input="HWHNameChange" @confirm="HWHNameScan"></uni-combox>
                </view>
            </view>
            <view class="form-item">
                <view class="title">仓位:</view>
                <view class="right" v-show="showHStockPlaceName">
                    <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位"
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox>
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"
                        @confirm="HStockPlaceNameScan"></uni-combox>
                </view>
                <view class="righton" v-show="!showHStockPlaceName">
                    <input v-model="hform.HStockPlaceName" disabled placeholder="不可操作" />
                    <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName" placeholder="不可操作" />
                </view>
            </view>
@@ -408,7 +409,7 @@
            enableModule: {
                get() {
                    if (this.hform.HMainSourceBillType == 1402 && 
                      /兴达|条码测试|智云/.test(uni.getStorageSync('Organization'))
                      /兴达|条码测试/.test(uni.getStorageSync('Organization'))
                    ) {
                        
                        return 1
@@ -449,6 +450,33 @@
            uni.$off('BillSelectComplete')
        },
        methods: {
            async HWHNameScan(e) {
                // 扫描仓库码
                console.log('仓库码: ', e);
                let index = this.HWHNameList.findIndex(elem => elem['条码编号'] == e)
                if (index == -1) {
                    uni.showToast({
                        icon: 'none',
                        title: '扫描仓库条码对应的仓库不存在...'
                    })
                } else {
                    this.HWHNameChange(this.HWHNameList[index]['仓库名称'])
                }
            },
            async HStockPlaceNameScan(e) {
                // 扫描仓位码
                console.log('仓位码: ', e);
                let index = this.HStockPlaceNameList.findIndex(elem => elem['条码编号'] == e)
                console.log('index: ', index);
                if (index == -1) {
                    uni.showToast({
                        icon: 'none',
                        title: '扫描仓位条码对应的仓位不存在...'
                    })
                } else {
                    this.HStockPlaceNameChange(this.HStockPlaceNameList[index]['仓位名称'])
                }
            },
            async qrCodeDisplay() {
                try {
                    this.$refs.barcodePopup.setCodeInfo(this.hform.HBillNo)
@@ -765,7 +793,7 @@
                for (var i = 0; i < this.HStockPlaceNameList.length; i++) {
                    if (this.HStockPlaceNameList[i].仓位名称 == e) {
                        this.hform.HStockPlaceName = this.HStockPlaceNameList[i].仓位名称
                        this.hform.HStockPlaceID = this.HStockPlaceNameList[i].HItemID
                        this.hform.HStockPlaceID = this.HStockPlaceNameList[i].HMainID
                    }
                }
            },
static/json/BillTypeValueMap.json
@@ -1,4 +1,5 @@
{
    "0" : "条码管理",
    "1103" : "收料通知单"
    "1103" : "收料通知单",
    "1102": "采购订单"
}