pjb
2 天以前 61101b4e0eafc6e670d0ef7b45d0ff2d143f34bd
组托和订单组托功能完善,新增领料出库功能
2个文件已修改
19 ■■■■ 已修改文件
pages/mat/matSelected.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/pakin.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matSelected.vue
@@ -27,7 +27,7 @@
                        <text>商品工单</text>
                    </view>
                    <view class="info-value">
                        <text class="tag tag-info">{{mat.standby1 || '-'}}</text>
                        <input class="batch-input" type="text" v-model="mat.standby1" placeholder="选填" placeholder-class="placeholder-style">
                    </view>
                </view>
                
pages/pakin/pakin.vue
@@ -144,6 +144,13 @@
                        </view>
                    </view>
                    <view class="popup-item">
                        <view class="popup-item-left">工单号:</view>
                        <view class="popup-item-right">
                            <input type="text" v-model="standby1" class="popup-input" placeholder="请输入工单号">
                        </view>
                    </view>
                    <view class="popup-item">
                        <view class="popup-item-left">批号:</view>
                        <view class="popup-item-right">
                            <input type="text" v-model="batch" class="popup-input" placeholder="请输入批号">
@@ -199,6 +206,7 @@
                matInfo: '',
                baseUrl: '',
                token: '',
                standby1: '',
                storeId: 0,
                store: '',
                barcode: '',
@@ -354,7 +362,8 @@
                                });
                            }, 1000);
                        } else {
                            uni.showToast({ title: result.msg, icon: "none", position: 'top' })
                            that.resetConfirm()
                            uni.showToast({ title: `${that.matnr}商品档案未同步`, icon: "none", position: 'top' })
                        }
                    }
@@ -420,6 +429,7 @@
                this.matnr = this.dataList[i].matnr
                this.count = this.dataList[i].anfme
                this.batch = this.dataList[i].batch
                this.standby1 = this.dataList[i].standby1 || ''
                this.weight = this.dataList[i].weight
                this.rowNum = i
                this.eject()
@@ -449,8 +459,9 @@
                this.dataList[this.rowNum].anfme = this.count
                this.dataList[this.rowNum].batch = this.batch
                this.dataList[this.rowNum].weight = this.weight
                this.dataList[this.rowNum].standby1 = this.standby1
                this.matnr = ''
                uni.showToast({ title: '移除成功', icon: "success", position: 'top' });
                uni.showToast({ title: '修改成功', icon: "success", position: 'top' });
                this.$refs.revise.close()
            },
            reviseClose() {
@@ -531,6 +542,7 @@
            },
            // 确认重置
            resetConfirm() {
                this.matInfo = ''
                this.dataList = []
                this.messageText = "重置完成"
                this.messageToggle('success')
@@ -541,6 +553,7 @@
            },
            // 清空
            resst() {
                this.matInfo = ''
                this.dataList = []
                this.barcode = ''
                this.barcodeFocuss()