chenhaozhe
2025-07-21 396f6abb986cb97b99c5f7c069280d514eff3f3f
修改页面退出逻辑
10个文件已修改
124 ■■■■ 已修改文件
pages/caigourukujiaoyan/form.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/caigourukujiaoyan/table.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitarukujiaoyan/form.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitarukujiaoyan/table.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanbuliaojiaoyan/CacheList.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanbuliaojiaoyan/form.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwaibuliaojiaoyan/form.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwailingliaojiaoyan/form.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwailingliaojiaoyan/table.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshouchukujiaoyan/form.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/caigourukujiaoyan/form.vue
@@ -84,10 +84,10 @@
                    <uni-card :title="item.物料名称" :extra="'数量:'+item.数量" style="margin: 10px;" @tap="delMater(item)">
                        <view class="card-detail">
                            <view class="detail">
                                <text>单据号:</text>{{item.单据号}}
                                <text>物料代码:</text>{{item.物料代码}}
                            </view>
                            <view class="detail">
                                <text>物料代码:</text>{{item.物料代码}}
                                <text>单据数量:</text>{{item.单据数量}}
                            </view>
                            <view class="detail" v-if="item.规格型号">
                                <text>规格型号:</text>{{item.规格型号}}
@@ -98,10 +98,13 @@
                            <view class="detail" v-if="item.辅助属性">
                                <text>辅助属性:</text>{{item.辅助属性}}
                            </view>
                            <view class="detail" v-if="item.单据数量">
                                <text>单据数量:</text>{{item.单据数量}}
                            <view class="detail" v-if="item.仓库">
                                <text>仓库:</text>{{item.仓库}}
                            </view>
                            <view class="detail" v-if="item.条码个数">
                            <view class="detail" v-if="item.仓位">
                                <text>仓位:</text>{{item.仓位}}
                            </view>
                            <view class="detail" >
                                <text>条码个数:</text>{{item.条码个数}}
                            </view>
                        </view>
@@ -777,8 +780,8 @@
                    success: (res) => {
                        if (res.confirm) {
                            console.log('用户点击确定');
                            uni.redirectTo({
                                url: '/pages/qitachukujiaoyan/qitachukujiaoyan'
                            uni.navigateBack({
                                url: '/pages/caigourukujiaoyan/table'
                            })
                        } else if (res.cancel) {
                            console.log('用户点击取消');
pages/caigourukujiaoyan/table.vue
@@ -133,6 +133,12 @@
            }
        },
        onLoad() {
            // //用户模块权限判断
            // this.CheckModRight()
            // this.changeTab(0)
            // console.log(this.userInfo, uni.getStorageSync('HUserName'))
        },
        onShow() {
            //用户模块权限判断
            this.CheckModRight()
            this.changeTab(0)
pages/qitarukujiaoyan/form.vue
@@ -25,7 +25,7 @@
            </view>
            <view class="form-item">
                <view class="title">仓位:</view>
                <view class="right" >
                <view class="right">
                    <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位"
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox>
                </view>
@@ -76,7 +76,7 @@
                    </view>
                </view>
                <label class="checkbox" style="float: right;">
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对
                    <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc" />条码核对
                </label>
            </view>
            <view v-if="tabs == 2">
@@ -86,6 +86,9 @@
                            <view class="detail">
                                <text>物料代码:</text>{{item.物料代码}}
                            </view>
                            <view class="detail">
                                <text>单据数量:</text>{{item.单据数量}}
                            </view>
                            <view class="detail" v-if="item.规格型号">
                                <text>规格型号:</text>{{item.规格型号}}
                            </view>
@@ -94,6 +97,15 @@
                            </view>
                            <view class="detail" v-if="item.辅助属性">
                                <text>辅助属性:</text>{{item.辅助属性}}
                            </view>
                            <view class="detail" v-if="item.仓库">
                                <text>仓库:</text>{{item.仓库}}
                            </view>
                            <view class="detail" v-if="item.仓位">
                                <text>仓位:</text>{{item.仓位}}
                            </view>
                            <view class="detail" >
                                <text>条码个数:</text>{{item.条码个数}}
                            </view>
                        </view>
                    </uni-card>
@@ -181,7 +193,7 @@
                HModName: 'Kf_OtherInBill_CheckList_PDA',
                ModRightName: 'CE_OtherInCheck',
                OperationType: 1,
                showHBillNo: true,
                tabs: 1,
                linterid: '',
@@ -265,7 +277,7 @@
                        // }else{
                        //     this.hform.HBarCode = res.result
                        // }
                        this.hform.HBillNo = res.result
                        this.GetMeesageByBillNo(this.hform.HBillNo)
                    }
@@ -855,8 +867,8 @@
            padding: 8rpx 20rpx;
            font-size: 30rpx;
        }
        textarea {
            width: 98%;
@@ -943,7 +955,8 @@
                text-align: center;
            }
        }
        .checkbox{
        .checkbox {
            color: #888;
            font-size: 28rpx;
            margin-top: 30rpx;
pages/qitarukujiaoyan/table.vue
@@ -128,12 +128,12 @@
                page:1,
            }
        },
        onLoad() {
            //用户模块权限判断
            this.CheckModRight()
            this.changeTab(0)
            console.log(this.userInfo,uni.getStorageSync('HUserName'))
        },
        // onLoad() {
        //     //用户模块权限判断
        //     this.CheckModRight()
        //     this.changeTab(0)
        //     console.log(this.userInfo,uni.getStorageSync('HUserName'))
        // },
        onShow() {
            this.CheckModRight()
            this.changeTab(0)
pages/shengchanbuliaojiaoyan/CacheList.vue
@@ -128,7 +128,13 @@
                page:1,
            }
        },
        onLoad() {
        // onLoad() {
        //     //用户模块权限判断
        //     this.CheckModRight()
        //     this.changeTab(0)
        //     console.log(this.userInfo,uni.getStorageSync('HUserName'))
        // },
        onShow() {
            //用户模块权限判断
            this.CheckModRight()
            this.changeTab(0)
pages/shengchanbuliaojiaoyan/form.vue
@@ -22,7 +22,7 @@
            </view>
            <view class="form-item">
                <view class="title">仓位:</view>
                <view class="right" >
                <view class="right">
                    <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位" v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox>
                </view>
                <!-- <view class="righton" v-show="!showHStockPlaceName"><input v-model="hform.HStockPlaceName" placeholder="不可操作"/></view> -->
@@ -240,6 +240,18 @@
            
            
            this.getHBaseList()
        },onLoad(e) {
            console.log(e, this.userInfo)
            this.OperationType = e.OperationType
            if (e.HBillNo) {
                this.hform.HBillNo = e.HBillNo
                this.GetMeesageByBillNo(e.HBillNo)
            } else {
                // this.getNewData()
            }
            this.getHBaseList()
        },
        methods: {
            //条码号扫码
pages/weiwaibuliaojiaoyan/form.vue
@@ -86,6 +86,9 @@
                            <view class="detail">
                                <text>物料代码:</text>{{item.物料代码}}
                            </view>
                            <view class="detail">
                                <text>单据数量:</text>{{item.单据数量}}
                            </view>
                            <view class="detail" v-if="item.规格型号">
                                <text>规格型号:</text>{{item.规格型号}}
                            </view>
@@ -95,6 +98,9 @@
                            <view class="detail" v-if="item.辅助属性">
                                <text>辅助属性:</text>{{item.辅助属性}}
                            </view>
                            <view class="detail">
                                <text>条码个数:</text>{{item.条码个数}}
                            </view>
                        </view>
                    </uni-card>
                </view>
pages/weiwailingliaojiaoyan/form.vue
@@ -87,6 +87,9 @@
                            <view class="detail">
                                <text>物料代码:</text>{{item.物料代码}}
                            </view>
                            <view class="detail">
                                <text>单据数量:</text>{{item.单据数量}}
                            </view>
                            <view class="detail" v-if="item.规格型号">
                                <text>规格型号:</text>{{item.规格型号}}
                            </view>
@@ -96,6 +99,15 @@
                            <view class="detail" v-if="item.辅助属性">
                                <text>辅助属性:</text>{{item.辅助属性}}
                            </view>
                            <view class="detail" v-if="item.仓库">
                                <text>仓库:</text>{{item.仓库}}
                            </view>
                            <view class="detail" v-if="item.仓位">
                                <text>仓位:</text>{{item.仓位}}
                            </view>
                            <view class="detail" >
                                <text>条码个数:</text>{{item.条码个数}}
                            </view>
                        </view>
                    </uni-card>
                </view>
pages/weiwailingliaojiaoyan/table.vue
@@ -133,6 +133,12 @@
            }
        },
        onLoad() {
            // //用户模块权限判断
            // this.CheckModRight()
            // this.changeTab(0)
            // console.log(this.userInfo, uni.getStorageSync('HUserName'))
        },
        onShow() {
            //用户模块权限判断
            this.CheckModRight()
            this.changeTab(0)
pages/xiaoshouchukujiaoyan/form.vue
@@ -86,6 +86,9 @@
                            <view class="detail">
                                <text>物料代码:</text>{{item.物料代码}}
                            </view>
                            <view class="detail">
                                <text>单据数量:</text>{{item.单据数量}}
                            </view>
                            <view class="detail" v-if="item.规格型号">
                                <text>规格型号:</text>{{item.规格型号}}
                            </view>
@@ -94,6 +97,15 @@
                            </view>
                            <view class="detail" v-if="item.辅助属性">
                                <text>辅助属性:</text>{{item.辅助属性}}
                            </view>
                            <view class="detail" v-if="item.仓库">
                                <text>仓库:</text>{{item.仓库}}
                            </view>
                            <view class="detail" v-if="item.仓位">
                                <text>仓位:</text>{{item.仓位}}
                            </view>
                            <view class="detail" >
                                <text>条码个数:</text>{{item.条码个数}}
                            </view>
                        </view>
                    </uni-card>
@@ -768,8 +780,8 @@
                    success: (res) => {
                        if (res.confirm) {
                            console.log('用户点击确定');
                            uni.redirectTo({
                                url: '/pages/qitachukujiaoyan/qitachukujiaoyan'
                            uni.navigateBack({
                                url: '/pages/xiaoshouchukujiaoyan/table'
                            })
                        } else if (res.cancel) {
                            console.log('用户点击取消');