#
zjj
2023-09-13 f0e7027e1e27dd3551e56e60a82311f98ccc1b9b
#
2个文件已修改
32 ■■■■■ 已修改文件
pages/mat/matQuery.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/stock/stockCheck.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matQuery.vue
@@ -153,7 +153,7 @@
                    return;
                }
                uni.request({
                    url: that.baseUrl + '/mat/list/pda/page/auth',
                    url: that.baseUrl + '/mat/list/pda/auth',
                    data: {
                        curr:that.curr,
                        limit: 20,
@@ -167,12 +167,12 @@
                        that.tagList = null
                        var res = result.data
                        if (res.code === 200) {
                            if (res.data.records != null && res.data.records.length > 0) {
                                let list = res.data.records
                            if (res.data != null && res.data.length > 0) {
                                let list = res.data
                                that.matList = that.reload ? list : that.matList.concat(list);
                                that.curr = that.curr + 1
                            }
                            if (res.data.records.length == 0) {
                            if (res.data.length == 0) {
                                that.status = 'noMore'
                            }
                            that.baColor = "background-color: #1cbbb4;"
pages/stock/stockCheck.vue
@@ -2,8 +2,8 @@
    <view>
        <view class="code">
            <view class="item">
                <view class="code-decs">托盘码:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus"
                <view class="code-decs">盘点单:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="orderNo" :focus="barcodeFocus"
                    @input="search()">
            </view>
            <view class="item">
@@ -37,8 +37,8 @@
                        <view class="left-item">{{item.maktx}}</view>
                    </view>
                    <view class="list-left-item">
                        <view class="desc">规格:</view>
                        <view class="left-item">{{item.specs}}</view>
                        <view class="desc">库位:</view>
                        <view class="left-item">{{item.locNo}}</view>
                    </view>
                    <view class="list-left-item">
                        <view class="desc">批号:</view>
@@ -75,6 +75,10 @@
                            <input type="text" v-model="matnr" disabled="true"
                                style="background-color: #f7f7f7;padding: 0;color: #d5d5d5;">
                        </view>
                    </view>
                    <view class="popup-item">
                        <view class="popup-item-left">库位:</view>
                        <view class="popup-item-right"><input type="text" v-model="locNo"></view>
                    </view>
                    <view class="popup-item">
                        <view class="popup-item-left">批号:</view>
@@ -143,7 +147,9 @@
                content: '',
                barcodeFocus: true,
                matFocus: false,
                matData: ''
                matData: '',
                orderNo:'',
                locNo:''
            }
        },
@@ -163,11 +169,11 @@
            search() {
                let that = this
                uni.request({
                    url: that.baseUrl + '/mobile/checkDetl/auth2',
                    url: that.baseUrl + '/manlocDetl/orderNo',
                    header: {
                        'token':uni.getStorageSync('token')
                    },
                    data: {barcode: that.barcode},
                    data: {orderNo: that.orderNo},
                    method:'GET',
                    success(res) {
                        console.log(res);
@@ -325,6 +331,7 @@
                this.matnr = this.dataList[i].matnr
                this.count = this.dataList[i].anfme
                this.batch = this.dataList[i].batch
                this.locNo = this.dataList[i].locNo
                this.rowNum = i
                this.eject()
            },
@@ -352,6 +359,7 @@
            reviseConfirm() {
                this.dataList[this.rowNum].anfme = this.count
                this.dataList[this.rowNum].batch = this.batch
                this.dataList[this.rowNum].locNo = this.locNo
                this.messageText = "修改成功"
                this.messageToggle('success')
                this.$refs.revise.close()
@@ -398,7 +406,7 @@
                let that = this
                var combMats = []
                var combParam = {}
                combParam['barcode'] = that.barcode
                combParam['orderNo'] = that.orderNo
                combParam['wrkDetls'] = that.dataList
                uni.request({
                    url: that.baseUrl + '/mobile/adjustNew/auth',