소스 검색

bug 修复

lilei 3 년 전
부모
커밋
c9395148c5
4개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/libs/JGPrint.js
  2. 1 0
      src/views/common/custSatelliteList.vue
  3. 1 0
      src/views/common/productBrand.js
  4. 1 0
      src/views/productManagement/productInfoJg/list.vue

+ 3 - 2
src/libs/JGPrint.js

@@ -24,8 +24,9 @@ export const JGPrint = function (data, type, printerType) {
       return
     }
     LODOP.SET_SHOW_MODE('HIDE_PAPER_BOARD', 1) //  隐藏底图上有模拟走纸板的条纹线
-    LODOP.ADD_PRINT_HTM('0', '0', 'RightMargin:0.1cm', 'BottomMargin:0.1cm', data)
-    LODOP.SET_PRINT_PAGESIZE(3, 2140, '60', '') // 这里3表示纵向打印且纸高“按内容的高度”;2140表示纸宽214.0mm;60表示页底空白6.0mm
+    LODOP.ADD_PRINT_HTM('0', '0', 'RightMargin:0cm', 'BottomMargin:0cm', data)
+    LODOP.SET_PRINT_PAGESIZE(3, 2090, 45, '') // 这里3表示纵向打印且纸高“按内容的高度”;2140表示纸宽214.0mm;60表示页底空白6.0mm
+    // LODOP.SET_PRINT_PAGESIZE(1, 2090, 2090, '')
     if (type == 'preview') {
       LODOP.PREVIEW()
     }

+ 1 - 0
src/views/common/custSatelliteList.vue

@@ -7,6 +7,7 @@
     placeholder="请输入名称搜索"
     style="width: 100%"
     :filter-option="false"
+    :dropdownMatchSelectWidth="false"
     :not-found-content="fetching ? undefined : null"
     @search="fetchUser"
     @change="handleChange"

+ 1 - 0
src/views/common/productBrand.js

@@ -9,6 +9,7 @@ const ProductBrand = {
         :showSearch="true"
         @change="handleChange"
         option-filter-prop="children"
+        :dropdownMatchSelectWidth="false"
         :filter-option="filterOption">
         <a-select-option v-for="item in productBrandList" :key="item.brandSn" :value="item.brandSn">{{ item.brandName }}</a-select-option>
       </a-select>

+ 1 - 0
src/views/productManagement/productInfoJg/list.vue

@@ -29,6 +29,7 @@
                   v-model="queryParam.productBrandSn"
                   :showSearch="true"
                   option-filter-prop="children"
+                  :dropdownMatchSelectWidth="false"
                   :filter-option="filterOption">
                   <a-select-option v-for="item in productBrandList" :key="item.brandSn" :value="item.brandSn">{{ item.brandName }}</a-select-option>
                 </a-select>