lxf 1 year ago
parent
commit
23772dc306
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/production/schedule/production-work-order/index.vue

+ 1 - 1
src/views/production/schedule/production-work-order/index.vue

@@ -317,7 +317,7 @@ const clickPrint = (list) => {
   nextTick(() => {
     for (let i = 0; i < QRcodeList.value.length; i++) {
       proxy.$refs["print" + i][0].innerHTML = ""; //清除二维码方法一
-      let text = QRcodeList.value[i].skuSpecCode;
+      let text = QRcodeList.value[i].id;
       new QRCode(proxy.$refs["print" + i][0], {
         text: text, //页面地址 ,如果页面需要参数传递请注意哈希模式#
         width: 150,