Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
53a61344
Commit
53a61344
authored
Jun 12, 2022
by
季圣华
Browse files
进一步优化单据的宽度屏幕自适应
parent
1aa3d94b
Changes
7
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue
View file @
53a61344
...
...
@@ -238,7 +238,7 @@
},
// 触发屏幕自适应
resetScreenSize
()
{
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
let
realScreenWidth
=
window
.
screen
.
width
this
.
modalWidth
=
realScreenWidth
<
1600
?
'
1200px
'
:
'
1450px
'
let
screenWidth
=
document
.
body
.
clientWidth
;
if
(
screenWidth
<
500
)
{
...
...
jshERP-web/src/views/bill/dialog/BillDetail.vue
View file @
53a61344
...
...
@@ -1297,7 +1297,7 @@
}
},
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1300px
'
:
'
1550px
'
this
.
tableWidth
=
{
'
width
'
:
realScreenWidth
<
1500
?
'
1250px
'
:
'
1500px
'
...
...
jshERP-web/src/views/bill/mixins/BillModalMixin.js
View file @
53a61344
...
...
@@ -54,7 +54,7 @@ export const BillModalMixin = {
created
()
{
let
userInfo
=
Vue
.
ls
.
get
(
USER_INFO
)
this
.
isTenant
=
userInfo
.
id
===
userInfo
.
tenantId
?
true
:
false
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1300px
'
:
'
1550px
'
this
.
minWidth
=
realScreenWidth
<
1500
?
1250
:
1500
},
...
...
jshERP-web/src/views/bill/modules/RetailBackModal.vue
View file @
53a61344
...
...
@@ -266,7 +266,7 @@
}
},
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
let
realScreenWidth
=
window
.
screen
.
width
this
.
minWidth
=
realScreenWidth
<
1500
?
900
:
1100
},
methods
:
{
...
...
jshERP-web/src/views/bill/modules/RetailOutModal.vue
View file @
53a61344
...
...
@@ -277,7 +277,7 @@
},
created
()
{
this
.
initPayTypeList
()
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
let
realScreenWidth
=
window
.
screen
.
width
this
.
minWidth
=
realScreenWidth
<
1500
?
900
:
1100
},
methods
:
{
...
...
jshERP-web/src/views/financial/dialog/FinancialDetail.vue
View file @
53a61344
...
...
@@ -467,7 +467,7 @@
}
},
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1300px
'
:
'
1550px
'
},
methods
:
{
...
...
jshERP-web/src/views/financial/mixins/FinancialModalMixin.js
View file @
53a61344
...
...
@@ -36,7 +36,7 @@ export const FinancialModalMixin = {
created
()
{
let
userInfo
=
Vue
.
ls
.
get
(
USER_INFO
)
this
.
isTenant
=
userInfo
.
id
===
userInfo
.
tenantId
?
true
:
false
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1300px
'
:
'
1550px
'
},
computed
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment