#
LSH
2023-12-14 ca7a65d30d4e620974f851aa34cdcc0003bafbcd
#
3个文件已修改
14 ■■■■■ 已修改文件
pages/mat/matSelected.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/goodsDown.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/goodsUp.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matSelected.vue
@@ -13,6 +13,10 @@
                <view class="form-item-desc"><text>规格</text></view>
                <view class="form-item-content"><text>{{mat.specs}}</text></view>
            </view>
            <!-- <view class="form-item">
                <view class="form-item-desc"><text>批号</text></view>
                <view class="form-item-content"><text>{{mat.batch}}</text></view>
            </view> -->
            <view class="form-item">
                <view class="form-item-desc"><text>产地</text></view>
                <view class="form-item-content"><text>{{mat.origin}}</text></view>
pages/pakin/goodsDown.vue
@@ -255,6 +255,13 @@
                                // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据
                                events: {
                                    matList: function(data) {
                                        if(data.data.batch == "" || data.data.batch == null){
                                            const now = new Date();
                                            const year = now.getFullYear();
                                            const month = now.getMonth() + 1; // 月份从0开始,需要加1
                                            const day = now.getDate();
                                            data.data.batch = (""+year+month+day)
                                        }
                                        that.checkMat(data.data)
                                    },
                                },
pages/pakin/goodsUp.vue
@@ -189,6 +189,7 @@
                    method: 'POST',
                    success(res) {
                        res = res.data
                        console.log(res);
                        for (var i = 0; i < res.data.length; i++) {
                            that.orderNoList.push(res.data[i])
                        }
@@ -476,7 +477,7 @@
                    }
                }
                uni.request({
                    url: that.baseUrl + '/mobile/manDetl/in/origin',
                    url: that.baseUrl + '/mobile/manDetl/in/no/origin',
                    data: JSON.stringify({                        
                        locNo:that.locNo,
                        // code:that.code,