qx
qx
2025-05-26 b6b6a0fd01cb3fa1055407a0600902c770fe380e
src/views/sampling/sampling/index.vue
@@ -69,11 +69,13 @@
        <el-button type="primary" :disabled="!disabled" @click="Cancellation">撤销合并</el-button>
        <el-button type="primary" @click="Confirmreceipt" :disabled="!selectList.length">采样打码</el-button>
        <el-button type="primary" @click="piliangPrint" :disabled="!isAllSelected">批量打印</el-button>
      </el-col>
      <el-col :span="12" style="margin: 10px 15px" v-show="samplingList.length > 0 && tjStatus == 0">
        <el-button type="primary" :disabled="!selectList.length" @click="buda">补打条码</el-button>
        <!-- @click="Collection" -->
        <el-button type="primary" :disabled="!disabled" @click="Cancellation">撤销合并</el-button>
         <el-button type="primary" @click="jydPrint">打印检验单</el-button>
      </el-col>
    </el-row>
@@ -451,6 +453,14 @@
        loadingInstance.close();
      }
    },
    jydPrint() {
      const tjnumber = this.piliangList[0].tjNumber;
      const viewNum = "1086792376946569216";
      const params = { viewNum, tjnumber };
      this.$tab.openPage("检验科导检单", "/report/clinical", params);
    },
    getTruncatedName(proName) {
      // 去掉所有空格
      const trimmedProName = proName.replace(/\s+/g, "");