skyouc
2025-04-18 826f479f01676d53c87dda0228259bca63b7b54a
no message
3个文件已修改
33 ■■■■ 已修改文件
pages/listing/disc.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/labour.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/rece/other.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/disc.vue
@@ -217,8 +217,8 @@
                const newArr = this.list.map(item => {
                    return {
                        ...item,
                        anfme: item.anfme === null ? 0 : +item.anfme
                        // receiptQty: item.receiptQty === null ? 0 : +item.receiptQty
                        anfme: item.anfme === null ? 0 : + item.anfme,
                        receiptQty: item.anfme === null ? 0 : + item.anfme
                    };
                });
pages/listing/labour.vue
@@ -89,13 +89,10 @@
            <view class="title">库位码</view>
            <input placeholder="请扫描库位码" v-model="locCode"></input>
        </view>
        <view class="cu-bar btn-group foot">
            <button class="cu-btn text-blue line-blue shadow" @click="clear">清空</button>
            <button class="cu-btn bg-blue shadow-blur" @click="confirm">上架</button>
        </view>
    </view>
</template>
@@ -135,8 +132,9 @@
                    matnrCode: this.barcode
                })
                if (code === 200) {
                    const find = this.list.find(el => el.id === data.id);
                    !find && this.list.push(data)
                    // const find = this.list.find(el => el.id === data.id);
                    // !find &&
                     this.list.push(data)
                } else {
                    uni.showToast({
                        title: msg,
pages/rece/other.vue
@@ -60,9 +60,6 @@
                            <text class="text-black">实时库存: <text class="text-grey ">{{item.stockQty}}</text></text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">平台行号: <text class="text-grey ">{{item.platformId}}</text></text>
@@ -71,7 +68,6 @@
                            <text class="text-black">质检结果: <text class="text-grey ">{{item.inspect}}</text></text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="text-black">采购单位:<text class="text-grey ">{{item.purUnit}}</text></text>
@@ -80,7 +76,6 @@
                            <text class="text-black">库存单位: <text class="text-grey ">{{item.stockUnit}}</text></text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content">
                            <text class="black">计划收货数量:<text class="text-grey ">{{item.anfme}}</text></text>
@@ -90,9 +85,7 @@
                            <text class="black">已收货数量:<text class="text-grey ">{{item.qty}}</text></text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content" v-if="!isconfirm">
                            <view class="cu-form-group padding-lr-0">
                                <view class="title text-blue"><text
@@ -104,7 +97,6 @@
                            <text class="text-black">收货数量:<text class="text-grey ">{{item.receiptQty}}</text></text>
                        </view>
                    </view>
                    <view class="cu-item">
                        <view class="content" v-if="!isconfirm">
                            <view class="cu-form-group padding-lr-0">
@@ -133,7 +125,6 @@
                            <text class="text-black">生产日期:<text class="text-grey ">{{item.prodTime}}</text></text>
                        </view>
                    </view>
                    <view class="cu-item grid  col-1" v-if="!isconfirm">
                        <view v-for="el in dynamicFields" :key="el.id">
                            <view class="cu-form-group padding-lr-0">
@@ -142,16 +133,12 @@
                            </view>
                        </view>
                    </view>
                    <view class="cu-item grid  col-2" v-if="isconfirm">
                        <view class="item" v-for="el in dynamicFields" :key="el.id">
                            <text class="text-black">{{el.fieldsAlise}}:
                                <text class="text-grey ">{{item[el.fields]}}</text></text>
                        </view>
                    </view>
                </view>
            </block>
        </view>
@@ -165,7 +152,6 @@
            <uni-data-select v-model="whAreaId" :localdata="range" placement="top"
                @change="selChange"></uni-data-select>
        </view>
        <view class="cu-bar btn-group foot" v-show="!isconfirm">
            <button class="cu-btn text-blue line-blue shadow" @click="clear">清空</button>
@@ -263,7 +249,9 @@
            prev() {
                this.isconfirm = false
            },
            selChange(val) {
            selChange(val) {
                console.log('-------->')
                console.log(val)
                uni.setStorageSync('whAreaId', val)
            },
            async complete(id) {
@@ -322,7 +310,6 @@
                            icon: "none",
                        })
                    }
                }
            },
            async getRece() {
@@ -334,7 +321,7 @@
                if (code === 200) {
                    this.range = data.map(item => ({
                        value: item.id,
                        text: item.name
                        text: item.warehouseId$ + "-- " + item.name
                    }));
                }
            },