lilei 3 anni fa
parent
commit
cef2ebb300

+ 2 - 2
src/libs/JGPrint.js

@@ -23,8 +23,8 @@ export const JGPrintTag = function (html, width, height, data) {
   LODOP.SET_PRINT_MODE('POS_BASEON_PAPER', true) // 可使输出以纸张边缘为基点
   LODOP.ADD_PRINT_HTM(0, 0, '100%', '100%', html)
   LODOP.ADD_PRINT_BARCODE('36%','65%',90,90,"QRCode",data.qrCodeContent)
-  LODOP.SET_PRINT_STYLEA(0,"QRCodeVersion",5)
-  LODOP.SET_PRINT_STYLEA(0,"QRCodeErrorLevel",'L')
+  // LODOP.SET_PRINT_STYLEA(0,"QRCodeVersion",10)
+  // LODOP.SET_PRINT_STYLEA(0,"QRCodeErrorLevel",'L')
   LODOP.SET_PRINT_COPIES(data.printQty)// 指定份数
   LODOP.SET_PRINT_PAGESIZE(1, width, height)
   LODOP.PRINT()

+ 1 - 1
src/views/numsGoodsShelves/replenishmentManagement/list.vue

@@ -77,7 +77,7 @@
         <!-- 操作 -->
         <template slot="action" slot-scope="text, record">
           <a-button v-if="record.billState=='WAIT_CONFIRM'" size="small" type="link" class="button-primary" @click.stop="handleConfirm(record)">确认</a-button>
-          <a-button v-if="record.billState=='WAIT_OUT_STOCK'" size="small" type="link" class="button-primary" @click.stop="handlePrintSticker(record)">打印贴签</a-button>
+          <a-button size="small" type="link" class="button-primary" @click.stop="handlePrintSticker(record)">打印贴签</a-button>
           <a-button v-if="record.billState=='WAIT_OUT_STOCK'" size="small" type="link" class="button-primary" @click.stop="handleOutWarehousing(record)">出库</a-button>
           <a-button v-if="record.billState=='WAIT_CHECK'" size="small" type="link" class="button-primary" @click.stop="handlePutWarehousing(record)">签收</a-button>
           <a-button v-if="record.billState=='WAIT_CONFIRM' || record.billState=='WAIT_OUT_STOCK'" size="small" type="link" class="button-primary" @click.stop="handleCancelOrder(record)">取消补货单</a-button>