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
f5ec0c47
Commit
f5ec0c47
authored
May 10, 2022
by
季圣华
Browse files
根据电脑分辨率适配录入框的宽度
parent
0d3b8c07
Changes
4
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/dialog/BillDetail.vue
View file @
f5ec0c47
...
...
@@ -1234,6 +1234,8 @@
}
},
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
this
.
width
=
realScreenWidth
<
1600
?
'
1300px
'
:
'
1600px
'
},
methods
:
{
initSetting
(
record
,
type
,
ds
)
{
...
...
jshERP-web/src/views/bill/mixins/BillModalMixin.js
View file @
f5ec0c47
...
...
@@ -44,6 +44,8 @@ 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
this
.
width
=
realScreenWidth
<
1600
?
'
1300px
'
:
'
1600px
'
},
computed
:
{
readOnly
:
function
()
{
...
...
jshERP-web/src/views/financial/dialog/FinancialDetail.vue
View file @
f5ec0c47
...
...
@@ -473,6 +473,8 @@
}
},
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
*
window
.
devicePixelRatio
this
.
width
=
realScreenWidth
<
1600
?
'
1300px
'
:
'
1600px
'
},
methods
:
{
show
(
record
,
type
)
{
...
...
jshERP-web/src/views/financial/mixins/FinancialModalMixin.js
View file @
f5ec0c47
...
...
@@ -34,6 +34,8 @@ 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
this
.
width
=
realScreenWidth
<
1600
?
'
1300px
'
:
'
1600px
'
},
computed
:
{
readOnly
:
function
()
{
...
...
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