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

This commit is contained in:
季圣华
2022-06-08 01:15:50 +08:00
parent d791191adb
commit 1aa3d94bb7
16 changed files with 41 additions and 17 deletions

View File

@@ -26,6 +26,7 @@ export const BillModalMixin = {
scanBarCode: '',
scanStatus: true,
billStatus: '0',
minWidth: 1100,
isCanCheck: true,
isTenant: false,
validatorRules:{
@@ -55,6 +56,7 @@ export const BillModalMixin = {
this.isTenant = userInfo.id === userInfo.tenantId? true:false
let realScreenWidth = window.screen.width * window.devicePixelRatio
this.width = realScreenWidth<1500?'1300px':'1550px'
this.minWidth = realScreenWidth<1500?1250:1500
},
computed: {
readOnly: function() {