diff --git a/jshERP-web/src/views/bill/dialog/BillDetail.vue b/jshERP-web/src/views/bill/dialog/BillDetail.vue index 5732a31f..2e407a02 100644 --- a/jshERP-web/src/views/bill/dialog/BillDetail.vue +++ b/jshERP-web/src/views/bill/dialog/BillDetail.vue @@ -1234,6 +1234,8 @@ } }, created () { + let realScreenWidth = window.screen.width * window.devicePixelRatio + this.width = realScreenWidth<1600?'1300px':'1600px' }, methods: { initSetting(record, type, ds) { diff --git a/jshERP-web/src/views/bill/mixins/BillModalMixin.js b/jshERP-web/src/views/bill/mixins/BillModalMixin.js index 38b1ccb9..04e439bc 100644 --- a/jshERP-web/src/views/bill/mixins/BillModalMixin.js +++ b/jshERP-web/src/views/bill/mixins/BillModalMixin.js @@ -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() { diff --git a/jshERP-web/src/views/financial/dialog/FinancialDetail.vue b/jshERP-web/src/views/financial/dialog/FinancialDetail.vue index 8d5c5456..5b78e987 100644 --- a/jshERP-web/src/views/financial/dialog/FinancialDetail.vue +++ b/jshERP-web/src/views/financial/dialog/FinancialDetail.vue @@ -473,6 +473,8 @@ } }, created () { + let realScreenWidth = window.screen.width * window.devicePixelRatio + this.width = realScreenWidth<1600?'1300px':'1600px' }, methods: { show(record, type) { diff --git a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js index 254bc399..0e33a62f 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js @@ -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() {