6个文件已修改
104 ■■■■ 已修改文件
pages.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/AGV/BindAndInTask.vue 60 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/matnrPalletising.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/unPakin.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/rece/other.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -57,7 +57,7 @@
        {
            "path": "pages/listing/matnrPalletising",
            "style": {
                "navigationBarTitleText": "物料组盘"
                "navigationBarTitleText": "单据组托"
            }
        },
        {
pages/AGV/BindAndInTask.vue
@@ -9,7 +9,7 @@
            <view class="cu-form-group ">
                <view class="title">容器码</view>
                <input placeholder="请扫描容器码" v-model="container" ></input>
                <text class='cuIcon-search text-blue' @click="search"></text>
                <text class='cuIcon-search text-blue' @click="getList"></text>
            </view>
            <view class="cu-form-group">
                <view class="title">目标库区</view>
@@ -30,14 +30,20 @@
                            {{index+1}}
                        </view>
                        <view class="text-blue">
                            {{`${item.maktx}`}}
                            编码:
                            {{`${item.matnrCode}`}}
                        </view>
                    </view>
                    <!--     <view class="action" >
                        <text @click="remove(index)" class="cuIcon-close text-red" style="font-size: 24px;"></text>
                    </view> -->
                </view>
                <view class="cu-item">
                    <view class="content">
                        <text class="text-black">名称:</text>
                        <text class="text-grey ">{{item.maktx}}</text>
                    </view>
                </view>
                <view class="cu-item">
                    <view class="content">
                        <text class="text-black">ASN:</text>
@@ -118,14 +124,10 @@
                    code,
                    data,
                    msg
                } = await request('/staBind/list', {
                    sta: this.barcode
                } = await request('/staMsg/select', {
                    sta: this.barcode
                })
                if (code === 200) {
                    if(data.list.length >0){
                        that.container = data.barcode
                        that.list = data.list
                    }
                if (code === 200) {
                    that.range = data.warehouseAreasList.map(item => ({
                        value: item.id,
                        text: item.name
@@ -138,15 +140,37 @@
                    })
                }
            },
            async getList() {
                const {
                    code,
                    data,
                    msg
                } = await request('/asnOrderItem/container', {
                    barcode: this.container,
                    type: 'unbind'
                })
                if (code === 200) {
                    for (var i = 0; i < data.length; i++) {
                        data[i].receiptQty = 0;
                    }
                    this.list = data
                } else {
                    uni.showToast({
                        title: msg,
                        icon: "none",
                        position: 'top'
                    })
                }
            },
            remove(index) {
                this.list.splice(index, 1);
            },
            clear() {
                this.list = []
                this.range = []
                this.container = ''
                this.barcode = ''
                this.whAreaId = ''
            },
            open() {
@@ -179,14 +203,22 @@
                    })
                    return ;
                }
                if(this.container === '' || this.container ===null){
                    uni.showToast({
                        title: "容器码不能为空",
                        icon: "none",
                    })
                    return ;
                }
                this.repeatClick = true
                const {
                    code,
                    data,
                    msg
                } = await request('/AGV/task/start',{
                } = await request('/AGV/bindAndIn/start',{
                        sta: this.barcode,
                        area: this.whAreaId
                        area: this.whAreaId,
                        barcode : this.container
                    }
                )
                if (code === 200) {
pages/home/index.vue
@@ -46,7 +46,7 @@
                <navigator hover-class='none' url="/pages/listing/matnrPalletising" navigateTo>
                    <view class="cuIcon-cardboard text-blue">
                    </view>
                    <text>单据组盘</text>
                    <text>单据组托</text>
                </navigator>
            </view>
pages/listing/matnrPalletising.vue
@@ -46,6 +46,12 @@
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">物料编码:</text>
                            <text class="text-grey ">{{item.maktx}}</text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">ASN:</text>
                        </view>
                        <view class="action">
@@ -60,12 +66,9 @@
                            <text class="text-grey ">{{item.splrBatch}}</text>
                        </view>
                    </view>
                    <view class="cu-item">
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">质检状态:</text>
                        </view>
                        <view class="action">
                            <text class="text-grey ">{{item.isptResult$}}</text>
                            <text class="text-black">质检结果: <text class="text-grey ">{{item.inspect}}</text></text>
                        </view>
                    </view>
                    <!-- <view class="cu-item">
pages/listing/unPakin.vue
@@ -2,9 +2,14 @@
    <view class="has-foot">
        <view>
            <form>
                <view class="cu-form-group margin-top">
                <view class="cu-form-group ">
                    <view class="title">容器号</view>
                    <input placeholder="请扫描容器号" v-model="container" focus></input>
                    <text class='cuIcon-search text-blue' @click="getList"></text>
                </view>
                <view class="cu-form-group">
                    <view class="title">编码</view>
                    <input placeholder="请扫描组托档编码" v-model="pkCode"></input>
                    <text class='cuIcon-search text-blue' @click="getList"></text>
                </view>
            </form>
@@ -33,16 +38,17 @@
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">物料编码:</text>
                            <text class="text-grey ">{{item.maktx}}</text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">ASN:</text>
                            <text class="text-grey ">{{item.asnCode}}</text>
                        </view>                        
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">物料编码:</text>
                            <text class="text-grey ">{{item.matnrCode}}</text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">批次:</text>
@@ -119,6 +125,7 @@
                isconfirm: false,
                matnrCode: '',
                max: 99999999,
                pkCode: '',
            }
        },
        computed: {
@@ -164,6 +171,7 @@
                    msg
                } = await request('/asnOrderItem/container', {
                    barcode: this.container,
                    code: this.pkCode,
                    type: 'unbind'
                })
                if (code === 200) {
pages/rece/other.vue
@@ -3,7 +3,7 @@
        <form>
            <view class="cu-form-group margin-top" v-show="!isconfirm">
                <view class="title">ASN单号</view>
                <input placeholder="请扫描ASN单号" v-model="asncode" @input="search" focus></input>
                <input placeholder="请扫描ASN单号" v-model="asncode" focus></input>
                <text class='cuIcon-close text-gray margin-right-xs' v-show="asncode!==''" @click="clearCode"></text>
                <!-- <text class='cuIcon-search text-blue' @click="search"></text> -->
            </view>
@@ -251,6 +251,9 @@
            clear() {
                this.list = []
                this.barcode = ''
                this.asncode = ''
                this.whAreaId = ''
                this.range = []
            },
            next() {
                if (this.list.length) {