#
whycq
2024-10-30 efee1449553380540511fc8b4aded6d5a760be9d
#
2个文件已修改
28 ■■■■ 已修改文件
pages/phyz/order/orderCar.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/order/pakinOrderSelect.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/order/orderCar.vue
@@ -6,6 +6,7 @@
                <view>主单号:{{orderDetl.orderNo}}</view>
                <view>编号:{{orderDetl.matnr}}</view>
                <view>名称:{{orderDetl.maktx}}</view>
                <view>批号:{{orderDetl.batch}}</view>
                <view>总数量:{{orderDetl.anfme}}</view>
                <view>入库数量:{{orderDetl.pakinQty}}</view>
            </view>
@@ -26,8 +27,14 @@
                    <!-- 标题 -->
                    <view class="title">入库数量</view>
                    <view class="popup-item">
                        <uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" />
                        <!-- <view class="popup-item-left">入库数量:</view> -->
                        <view class="popup-item-right" style="border: none;"><uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" /></view>
                    </view>
                    <!-- <view class="popup-item">
                        <view class="popup-item-left">批号:</view>
                        <view class="popup-item-right"><input type="text" v-model="batch"></view>
                    </view> -->
                    <view class="btn">
                        <view class="btn-left" @click="remove()">移除物料</view>
                        <view class="btn-right" @click="changeCount()">修改数量</view>
@@ -65,6 +72,7 @@
        data() {
            return {
                orderCarList: [],
                batch: '',
                count: 0,
                index: 0,
                barcode: '',
@@ -88,6 +96,7 @@
            chageDetl(index) {
                this.index = index
                this.count = this.orderCarList[index].pakinQty
                this.batch = this.orderCarList[index].batch
                this.$refs.chageDetl.open()
            },
            // 修改数量
@@ -97,6 +106,7 @@
                    return
                }
                this.orderCarList[this.index].pakinQty = this.count
                this.orderCarList[this.index].batch = this.batch
                this.$forceUpdate() // 强制刷新
                this.$refs.chageDetl.close()
            },
@@ -227,7 +237,7 @@
        justify-content: center;
    }
    .popup-item-left {
        width: 16vw;
        max-width: 20vw;
        padding-right: 20rpx;
        text-align: right;
        color: #606266;
pages/phyz/order/pakinOrderSelect.vue
@@ -18,6 +18,7 @@
                <view>编号:{{orderDetl.matnr}}</view>
                <view>名称:{{orderDetl.maktx}}</view>
                <view>类型:{{orderDetl.brand}}</view>
                <view>批号:{{orderDetl.batch}}</view>
                <view>总数量:{{orderDetl.anfme}}</view>
                <view>已入数量:{{orderDetl.qty}}</view>
            </view>
@@ -46,8 +47,14 @@
                    <!-- 标题 -->
                    <view class="title">入库数量</view>
                    <view class="popup-item">
                        <uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" />
                        <!-- <view class="popup-item-left">入库数量:</view> -->
                        <view class="popup-item-right" style="border: none;"><uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" /></view>
                    </view>
                    <!-- <view class="popup-item">
                        <view class="popup-item-left">批号:</view>
                        <view class="popup-item-right"><input type="text" v-model="batch"></view>
                    </view> -->
                    <view class="btn">
                        <view class="btn-left" @click="addClose">取消</view>
                        <view class="btn-right" @click="addConfirm()">添加</view>
@@ -127,7 +134,8 @@
                },
                index: 0,
                count: 0,
                mask: false
                mask: false,
                batch: ''
                
            }
        },
@@ -376,7 +384,7 @@
        justify-content: center;
    }
    .popup-item-left {
        width: 16vw;
        max-width: 20vw;
        padding-right: 20rpx;
        text-align: right;
        color: #606266;