#
whycq
2024-05-07 b10f549bf55bbf9e4e4ee996ecc065d400eff91e
#
1个文件已修改
47 ■■■■ 已修改文件
pages/phyz/bcp/bcpDbList.vue 47 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/bcp/bcpDbList.vue
@@ -1,15 +1,19 @@
<template>
    <view>
        <view class="station" :class="station.style" v-if="station">
        <view class="station station-wrk" v-if="station">
            <view class="mt-flex">
                <view class="station-title" style="flex: 1;">{{station.devNo}}</view>
                <view class="station-title" style="flex: 1;">{{station.threeCode}}</view>
            </view>
            <view>站点类型:{{station.locType1$}}区</view>
            <view>货架前两位:{{station.locType2$}}</view>
            <view>站点状态:{{station.locSts$}}</view>
            <view class="mt-flex">
                <view class="station-barcode" style="flex: 1">货架码:<text>{{station.barcode ? station.barcode : '--'}}</text></view>
                <view v-if="station.barcode && station.locSts == 'F'"><button size="mini" type="warn" @click="unbind()">解除绑定</button></view>
            <view>调拨单号:{{station.orderNo}}</view>
            <view>物料编号:{{station.matnr}}</view>
            <view style="width: 100%;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">物料名称:{{station.maktx}}</view>
            <view style="display: flex;">
                <view style="flex: 2;">调拨数量:{{station.anfme}}</view>
                <view style="flex: 3;">库存数量:{{station.stock}}</view>
            </view>
            <view style="display: flex;">
                <view style="flex: 2;">已调拨数量:{{station.qty}}</view>
                <view style="flex: 3;">当前选择调拨数量:{{station.count ? station.count : 0}}</view>
            </view>
        </view>
        <view class="list list-font-color" :class="orderDetl.color" v-for="(orderDetl,index) in dataList" :key="index">
@@ -59,7 +63,8 @@
                isOpen: true,
                option: '',
                selects: [],
                orderId: ''
                orderId: '',
                station: ''
            }
        },
        onShow() {
@@ -71,6 +76,7 @@
            // 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
            eventChannel.on('item', function(data) {
                console.log(data.item);
                _this.station = data.item
                _this.orderId = data.item.id
                _this.getLocDetl(data.item.orderNo,data.item.threeCode,data.item.matnr,data.item.id)
            })
@@ -170,6 +176,29 @@
<style>
    @import url('../../../static/css/common/order.css');
    .station {
        font-size: 18px;
        padding: 24rpx;
    }
    .station-title {
        font-size: 32px;
        font-weight: bold;
        padding: 2rpx 0;
    }
    .station-barcode {
        font-size: 24px;
        font-weight: bold;
        padding: 24rpx 0;
    }
    .station-wrk {
        background-color: #ff7356;
        color: #fff;
    }
    .station-nowrk {
        background-color: #3eb689;
        color: #fff;
    }
    .list-font-color {
        color: #fff;
        /* background-color: #33bb44; */