diff --git a/jshERP-web/src/components/jeecgbiz/JSelectList.vue b/jshERP-web/src/components/jeecgbiz/JSelectList.vue index b825baa9..d5ea04e9 100644 --- a/jshERP-web/src/components/jeecgbiz/JSelectList.vue +++ b/jshERP-web/src/components/jeecgbiz/JSelectList.vue @@ -2,9 +2,9 @@
- - - + + +
@@ -20,11 +20,6 @@ name: 'JSelectList', components: {JSelectMaterialModal, JSelectBatchModal, JSelectSnModal}, props: { - modalWidth: { - type: Number, - default: 1450, - required: false - }, value: { type: String, required: false diff --git a/jshERP-web/src/components/jeecgbiz/JSelectMaterial.vue b/jshERP-web/src/components/jeecgbiz/JSelectMaterial.vue deleted file mode 100644 index f618d33f..00000000 --- a/jshERP-web/src/components/jeecgbiz/JSelectMaterial.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jshERP-web/src/components/jeecgbiz/JSelectSerialMaterial.vue b/jshERP-web/src/components/jeecgbiz/JSelectSerialMaterial.vue deleted file mode 100644 index 396124f1..00000000 --- a/jshERP-web/src/components/jeecgbiz/JSelectSerialMaterial.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jshERP-web/src/components/jeecgbiz/modal/JSelectBatchModal.vue b/jshERP-web/src/components/jeecgbiz/modal/JSelectBatchModal.vue index 1432ae66..de15ee80 100644 --- a/jshERP-web/src/components/jeecgbiz/modal/JSelectBatchModal.vue +++ b/jshERP-web/src/components/jeecgbiz/modal/JSelectBatchModal.vue @@ -55,9 +55,10 @@ name: 'JSelectBatchModal', mixins:[JeecgListMixin], components: {}, - props: ['modalWidth', 'rows', 'multi', 'barCode'], + props: ['rows', 'multi', 'barCode'], data() { return { + modalWidth: 1000, queryParam: { name: "", depotId: '', diff --git a/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue b/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue index f898098b..fbd26457 100644 --- a/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue +++ b/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue @@ -84,9 +84,10 @@ name: 'JSelectMaterialModal', mixins:[JeecgListMixin], components: {}, - props: ['modalWidth', 'rows', 'multi', 'barCode'], + props: ['rows', 'multi', 'barCode'], data() { return { + modalWidth: 1450, queryParam: { q: '', depotId: '' @@ -212,6 +213,8 @@ }, // 触发屏幕自适应 resetScreenSize() { + let realScreenWidth = window.screen.width * window.devicePixelRatio + this.modalWidth = realScreenWidth<1600?'1200px':'1450px' let screenWidth = document.body.clientWidth; if (screenWidth < 500) { this.scrollTrigger = {x: 800}; diff --git a/jshERP-web/src/components/jeecgbiz/modal/JSelectSerialMaterialModal.vue b/jshERP-web/src/components/jeecgbiz/modal/JSelectSerialMaterialModal.vue deleted file mode 100644 index 6583bc15..00000000 --- a/jshERP-web/src/components/jeecgbiz/modal/JSelectSerialMaterialModal.vue +++ /dev/null @@ -1,262 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jshERP-web/src/components/jeecgbiz/modal/JSelectSnModal.vue b/jshERP-web/src/components/jeecgbiz/modal/JSelectSnModal.vue index 2a4d3c1b..f3a3fe46 100644 --- a/jshERP-web/src/components/jeecgbiz/modal/JSelectSnModal.vue +++ b/jshERP-web/src/components/jeecgbiz/modal/JSelectSnModal.vue @@ -57,9 +57,10 @@ name: 'JSelectSnModal', mixins:[JeecgListMixin], components: {}, - props: ['modalWidth', 'rows', 'multi', 'barCode'], + props: ['rows', 'multi', 'barCode'], data() { return { + modalWidth: 800, queryParam: { name: "", depotId: '', diff --git a/jshERP-web/src/views/bill/modules/SaleOutModal.vue b/jshERP-web/src/views/bill/modules/SaleOutModal.vue index 73dfd379..8b1879cf 100644 --- a/jshERP-web/src/views/bill/modules/SaleOutModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleOutModal.vue @@ -259,7 +259,7 @@ { title: '单位', key: 'unit', width: '4%', type: FormTypes.normal }, { title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true }, { title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.popupJsh, kind: 'batch', multi: false }, - { title: '有效期', key: 'expirationDate',width: '5%', type: FormTypes.normal }, + { title: '有效期', key: 'expirationDate',width: '6%', type: FormTypes.normal }, { title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal }, { title: '原数量', key: 'preNumber', width: '4%', type: FormTypes.normal }, { title: '已入库', key: 'finishNumber', width: '4%', type: FormTypes.normal },