From f5ec0c4767305a3f90aa7520b32da352b98aefc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Tue, 10 May 2022 23:58:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E7=94=B5=E8=84=91=E5=88=86?= =?UTF-8?q?=E8=BE=A8=E7=8E=87=E9=80=82=E9=85=8D=E5=BD=95=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E7=9A=84=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/bill/dialog/BillDetail.vue | 2 ++ jshERP-web/src/views/bill/mixins/BillModalMixin.js | 2 ++ jshERP-web/src/views/financial/dialog/FinancialDetail.vue | 2 ++ jshERP-web/src/views/financial/mixins/FinancialModalMixin.js | 2 ++ 4 files changed, 8 insertions(+) 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() {