pjb
2 天以前 3058f9fa14cd958ff4ac61cad4bd74f8526988e8
组托和订单组托功能完善,新增领料出库功能
2个文件已修改
25 ■■■■ 已修改文件
pages/mat/matSelected.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/pakin.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matSelected.vue
@@ -1,10 +1,5 @@
<template>
    <view class="container">
        <!-- 标题栏 -->
        <view class="status_bar"></view>
        <uni-nav-bar background-color="#ffffff" title="物料详情" @clickLeft="back" :fixed="true"
            :border="false" left-icon="left" :shadow="true">
        </uni-nav-bar>
        
        <!-- 物料信息卡片 -->
        <view class="info-card">
@@ -33,16 +28,6 @@
                    </view>
                    <view class="info-value">
                        <text class="tag tag-info">{{mat.standby1 || '-'}}</text>
                    </view>
                </view>
                <view class="info-row">
                    <view class="info-label">
                        <uni-icons type="folder" size="16" color="#909399"></uni-icons>
                        <text>商品组织</text>
                    </view>
                    <view class="info-value">
                        <text>{{mat.matOrigin || '-'}}</text>
                    </view>
                </view>
                
@@ -104,7 +89,6 @@
            return {
                mat: {
                    standby1: null,
                    matOrigin: null,
                    matnr: null,
                    maktx: null,
                    specs: null,
@@ -134,6 +118,9 @@
                if (data.standby1) {
                    that.mat.standby1 = data.standby1
                }
                if (data.batch) {
                    that.mat.batch = data.batch
                }
            })
        },
        methods: {
pages/pakin/pakin.vue
@@ -301,11 +301,11 @@
                // 方法2:遍历每一段
                arr.forEach((item, index) => {
                  switch(index){
                      case 0: that.matOrigin = item
                            break;
                        case 1: that.matOrder = item
                            break;
                        case 2: that.matnr = item
                            break;
                        case 3: that.batch = item
                            break;
                        default:
                            break;
@@ -332,7 +332,7 @@
                                success: function(res) { 
                                    res.eventChannel.emit('mat', {
                                        data: result.data,
                                        matOrigin: that.matOrigin,
                                        batch: that.batch,
                                        standby1: that.matOrder
                                    })
                                },