优化单据的宽度屏幕自适应

This commit is contained in:
季圣华
2022-06-08 00:11:18 +08:00
parent ab715fa84f
commit d791191adb
11 changed files with 22 additions and 21 deletions

View File

@@ -468,7 +468,7 @@
},
created () {
let realScreenWidth = window.screen.width * window.devicePixelRatio
this.width = realScreenWidth<1600?'1300px':'1600px'
this.width = realScreenWidth<1500?'1300px':'1550px'
},
methods: {
show(record, type) {

View File

@@ -37,7 +37,7 @@ export const FinancialModalMixin = {
let userInfo = Vue.ls.get(USER_INFO)
this.isTenant = userInfo.id === userInfo.tenantId? true:false
let realScreenWidth = window.screen.width * window.devicePixelRatio
this.width = realScreenWidth<1600?'1300px':'1600px'
this.width = realScreenWidth<1500?'1300px':'1550px'
},
computed: {
readOnly: function() {