陈婷婷
2 天以前 2e2b0700a25ce13c7a3eb113c577375da87bc0f3
src/views/logistics/transportGPS/WL_YayBill.vue
@@ -517,10 +517,30 @@
            this.handleQuery()
        },
        //#endregion
        //#region 权限判断
        async set_ModCheck(ModRightNameCheck)
        {
            var Permission = false;
            const res=await axios.get(this.$baseUrl + '/LMES/getReportByModRightNameCheck', {
                params: {
                    "ModRightNameCheck": ModRightNameCheck,
                    "user": sessionStorage["HUserName"],
                },
            }).then(result=>{
                if (result.data.count != 1) {
                   Permission = true;
                   this.sWhere=this.sWhere+"and 承运商ID ="+sessionStorage["HSupID"]
                }
            }).catch(error => {
                this.$modal.msgError("接口请求失败!");
            });
        },
        //#endregion
        //#region 快速过滤
        handleQuery() {
        async handleQuery() {
            this.sWhere = ''
            await this.set_ModCheck("WLYayBill_SUPQuery")
            if (this.queryParams.ColName && this.queryParams.Comparator) {
                var com = "";
                switch (this.queryParams.Comparator) {
@@ -595,6 +615,7 @@
            // if (this.queryParams.HOrgID) {
            //     this.sWhere += " and HOrgID = '" + this.queryParams.HOrgID + "'";
            // }
            console.log("swhere",this.sWhere)
            this.clearData()
            this.getList()
        },
@@ -608,7 +629,7 @@
            }
            this.tableShow = false
            this.loading = true
           console.log("swhere",this.sWhere)
            // 列表查询
            axios.get(this.$baseUrl + '/WLYayBillController/GetListPage', {
                params: {