schangxiang@126.com
2025-05-15 0bcf02d706053d7ec9e040d8b2caec220d5d5142
21222
已修改3个文件
47 ■■■■■ 文件已修改
PipeLineLems.PDA/pages/bind/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
PipeLineLems.PDA/pages/home/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
PipeLineLems.PDA/pages/pick/index.vue 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
PipeLineLems.PDA/pages/bind/index.vue
@@ -16,7 +16,7 @@
                <EasyPicker :visible.sync="ctVisible" :list="ContainerType" labelField="value" valueField="code"
                    @select="getTypeVal" />
                <scan-input-form-item v-show="Boolean(containerInfo.containerNo)" class="forma-item" label="物料二维码" v-model="form.materialNo" :msg="msg.material"
                <scan-input-form-item class="forma-item" label="物料二维码" v-model="form.materialNo" :msg="msg.material"
                    :msg-type="msgType.material" @search="onSearchMaterial" @clear="onClearMaterial" />
            <!--     <scan-input-form-item v-show="Boolean(containerInfo.containerNo)" placeholder="请选择" :clearable="false" :hasScan="false" :hasSearch="false"
PipeLineLems.PDA/pages/home/index.vue
@@ -111,10 +111,10 @@
            this.blocks = [{
                workShopName: '分拣',
                wmsPdaPowerOutput:[
                        // {icon:'icon-worker',code:'bind',name:'组盘',color:'#1e90ff'},
                         {icon:'icon-worker',code:'bind',name:'组盘',color:'#1e90ff'},
                        {icon:'icon-worker',code:'pick',name:'分拣',color:'#1e90ff'},
                        // {icon:'icon-worker',code:'bindInForLocation',name:'分拣',color:'#1e90ff'},
                        // {icon:'icon-worker',code:'bindWXJ',name:'分拣',color:'#1e90ff'},
                         {icon:'icon-worker',code:'bindInForLocation',name:'组盘2',color:'#1e90ff'},
                         {icon:'icon-worker',code:'bindWXJ',name:'组盘3',color:'#1e90ff'},
                        ]
            },
            {
PipeLineLems.PDA/pages/pick/index.vue
@@ -20,17 +20,6 @@
                    :msg-type="msgType.material"
                    @search="onSearchMaterial"
                    @clear="onClearMaterial"
                />
                <scan-input-form-item
                    placeholder="请选择"
                    :clearable="false"
                    :hasScan="false"
                    :hasSearch="false"
                    @click.native="visible = true"
                    class="forma-item"
                    label="选择库口"
                    v-model="form.site"
                />
                <EasyPicker :visible.sync="visible" :list="placeList.filter(item=>item.placeNo!='ZDCR')" labelField="placeNo" valueField="placeNo" @select="getSiteVal"/>
                <!-- <EasyPicker :visible.sync="visible" :list="placeList" labelField="placeNo" valueField="placeNo" @select="getSiteVal" /> -->
@@ -197,13 +186,29 @@
                return false;
            }
            this.msg.material = '';
            try {
                let { result } = await getContainerInfo({ ContainerNo: this.form.pipeSpecCode });
                if (result.containerNo == this.form.containterCode) {
                    return this.$modal('当前空托与托盘重复');
            debugger
             // 解析管段编码、管段名称和船号
                const parts = this.form.pipeSpecCode.split(',');
                if (parts.length < 2) {
                    this.msg.material = '码格式不正确,请检查输入';
                    return false;
                }
                var isExit = this.contaninerData.some((item) => item.containerNo == result.containerNo);
                isExit ? '' : this.contaninerData.push(result);
                const pipeCode = parts[0];
                const pipeName = parts.length > 1? parts[1] : '';
                const shipNo = parts.length > 2? parts[2] : '';
            try {
                // let { result } = await getContainerInfo({ ContainerNo: this.form.pipeSpecCode });
                // if (result.containerNo == this.form.containterCode) {
                //     return this.$modal('当前空托与托盘重复');
                // }
                // var isExit = this.materialList.some((item) => item.materialNo == pipeCode);
                // if(isExit){
                //     return this.$modal('当前管段编码'+pipeCode+'已经在托盘'+this.form.containerNo+'中');
                // }
                 // 更新提示信息
                        this.msg.material = `管段编码:${pipeCode},管段名称:${pipeName},船号:${shipNo}`;
                        this.form.pipeSpecCode=pipeCode;
            } catch (e) {
                //TODO handle the exception
                console.log(e);