chenlu
2024-11-06 45e0b5f776976faffbc7a22ba106e13d0e57ed21
north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue
@@ -111,12 +111,12 @@
      remove(gridOptions.toolbarConfig.slots)
      const button = {'code': 'printLabel',
        status: 'primary',
        'name': "成品打印2"}
        'name': t('processCard.finishedProductPrinting2')}
      gridOptions.toolbarConfig.buttons.push(button)
      const button2 = {'code': 'detailPrinting',
        status: 'primary',
        'name': "明细打印"}
        'name': t('processCard.detailPrinting')}
      gridOptions.toolbarConfig.buttons.push(button2)
    }
@@ -243,7 +243,7 @@
        }
        case 'printLabel': {
          if(rowClickIndex.value===null){
            ElMessage.warning(t('请选择工程'))
            ElMessage.warning(t('processCard.pleaseSelectProject'))
            return
          }
          labelRow.value.type = '恒鑫'
@@ -256,7 +256,7 @@
        }
        case 'detailPrinting': {
          if(rowClickIndex.value===null){
            ElMessage.warning(t('请选择工程'))
            ElMessage.warning(t('processCard.pleaseSelectProject'))
            return
          }
          router.push({path: '/main/processCard/PrintProjectDetails', query: {projectNo: rowClickIndex.value.project_no}})