zjj
2025-05-06 2ad931a09f80d02608101967a63e43212ebfa8f5
#物料组盘
2个文件已修改
22 ■■■■ 已修改文件
pages/listing/disc.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/matnrPalletising.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/disc.vue
@@ -137,7 +137,7 @@
                batch: '',
                repeatClick: false,
                isconfirm: false,
                batch:''
            }
        },
        computed: {
@@ -169,7 +169,7 @@
                    batch: this.batch
                }, "post")
                if (code === 200) {
                    data && this.list.push(data);
                    this.list = data
                } else {
                    uni.showToast({
                        title: msg,
pages/listing/matnrPalletising.vue
@@ -11,6 +11,10 @@
                <input placeholder="请扫描物料编码" v-model="matnrCode"></input>
                <text class='cuIcon-search text-blue' @click="search"></text>
            </view>
            <!-- <view class="cu-form-group">
                <view class="title">批次号</view>
                <input placeholder="请输入物料批次" v-model="batch"></input>
            </view> -->
        </form>
        <view class="flex solid-bottom padding-sm justify-between">
@@ -68,14 +72,14 @@
                            <text class="text-grey ">{{item.batch}}</text>
                        </view>
                    </view>
                    <view class="cu-item">
                    <!-- <view class="cu-item">
                        <view class="content">
                            <text class="text-black">平台行号: <text class="text-grey ">{{item.platformId}}</text></text>
                        </view>
                        <view class="content">
                            <text class="text-black">质检结果: <text class="text-grey ">{{item.inspect}}</text></text>
                        </view>
                    </view>
                    </view> -->
                    <view class="cu-item">
                        <view class="content">
@@ -102,7 +106,7 @@
                                <view class="title text-blue"><text
                                        class="text-red text-xl vertical-middle">*</text>组盘数量:
                                </view>
                                <uni-number-box style="width: 70%;" :max="max" v-model="megreQty"
                                <uni-number-box style="width: 70%;" :max="max" v-model="item.receiptQty"
                                    :step='1'></uni-number-box>
                            </view>
                        </view>
@@ -137,8 +141,7 @@
                range: [],
                batch: '',
                repeatClick: false,
                isconfirm: false,
                batch:'',
                isconfirm: false,
                matnrCode:'',
                max: 99999999,
            }
@@ -165,7 +168,7 @@
                    matnrCode: this.matnrCode
                }, "post")
                if (code === 200) {
                    data && this.list.push(data);
                    this.list = data
                } else {
                    uni.showToast({
                        title: msg,
@@ -224,8 +227,7 @@
                const newArr = this.list.map(item => {
                    return {
                        ...item,
                        anfme: item.anfme === null ? 0 : +item.anfme,
                        receiptQty: this.megreQty,
                        anfme: item.anfme === null ? 0 : +item.anfme,
                    };
                });