chenlu
2025-02-12 33ef2b3bd1e97e392605ff4ca9a1b01f931cf447
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabelSemi1.vue
@@ -36,8 +36,14 @@
const printType=route.query.printType
onMounted(() => {
  if (localStorage.getItem('hasRefreshed')=="false") {
    localStorage.setItem('hasRefreshed', 'true');
    location.reload();
  }else{
    localStorage.setItem('hasRefreshed', 'false');
  }
  if (printType == 1) {
    request.post(`/processCard/getSelectPrintCustomLabel/${type}/1`, data.value).then((res) => {
    request.post(`/processCard/getSelectPrintCustomLabel2/${type}/1`, data.value).then((res) => {
      if (res.code == 200) {
        produceList.value = deepClone(res.data.title)
        list.value = deepClone(res.data.data)
@@ -235,7 +241,7 @@
  }
  @page {
    size: auto;  /* auto is the initial value */
    margin: 2mm 2mm 2mm 2mm;  /* this affects the margin in the printer settings */
    margin: 2mm 2mm 2mm 2mm !important;  /* this affects the margin in the printer settings */
  }
}