#
whycq
2024-03-13 48ce80144f3c7f7f85fd6f76f455d5dddf032f73
#
2个文件已修改
27 ■■■■ 已修改文件
pages/mat/matSelected.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/pakin.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matSelected.vue
@@ -26,6 +26,14 @@
                </view>
            </view>
            <view class="form-item">
                <view class="form-item-desc"><text>米数</text></view>
                <view class="form-item-content">
                    <view class="form-input">
                        <input type="text" v-model="mat.meter">
                    </view>
                </view>
            </view>
            <view class="form-item">
                <view class="form-item-desc"><text>数量</text></view>
                <view class="form-item-content">
                    <uni-number-box :value="mat.anfme" :max="99999999" :step='1' color="#747474" @change="changeValue" />
@@ -49,6 +57,7 @@
                    specs: null,
                    batch: null,
                    anfme: 0,
                    meter: null
                },
                baseIP:'',
                basePORT:'',
pages/pakin/pakin.vue
@@ -50,6 +50,10 @@
                            <uni-tag :text="item.batch" type="warning"></uni-tag>
                        </view>
                    </view>
                    <view class="list-left-item">
                        <view class="desc">米数:</view>
                        <view class="left-item">{{item.meter ? item.meter : '--'}}</view>
                    </view>
                    <!-- <view class="list-left-item">
                        <view class="desc">重量:</view>
                        <view class="left-item">
@@ -90,10 +94,10 @@
                        <view class="popup-item-left">批号:</view>
                        <view class="popup-item-right"><input type="text" v-model="batch"></view>
                    </view>
                    <!-- <view class="popup-item">
                        <view class="popup-item-left">重量:</view>
                        <view class="popup-item-right"><input type="text" v-model="weight"></view>
                    </view> -->
                    <view class="popup-item">
                        <view class="popup-item-left">米数:</view>
                        <view class="popup-item-right"><input type="text" v-model="meter"></view>
                    </view>
                    <view class="popup-item">
                        <view class="popup-item-left">数量:</view>
                        <view class="popup-item-right" style="border: none;justify-content: center;">
@@ -160,6 +164,7 @@
                matFocus: false,
                matData: '',
                removeNum: 0,
                meter: ''
            }
        },
        onLoad() {
@@ -323,6 +328,7 @@
                this.count = this.dataList[i].anfme
                this.batch = this.dataList[i].batch
                this.weight = this.dataList[i].weight
                this.meter = this.dataList[i].meter
                this.rowNum = i
                this.eject()
            },
@@ -352,6 +358,7 @@
                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].meter = this.meter
                this.matnr = ''
                this.messageText = "修改成功"
                this.messageToggle('success')
@@ -392,6 +399,9 @@
                        return;
                    }
                }
                for (let k of that.dataList) {
                    k.batch = k.batch + '_' + k.meter
                }
                uni.request({
                    url: that.baseUrl + '/mobile/comb/auth',
                    data: JSON.stringify({