| | |
| | | <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-button type="primary" @click="jydPrint">打印检验单</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <div style="width: 100%; margin-left: 10px; display: flex"> |
| | | <div style="width: 40%; margin-right: 20px"> |
| | | <el-table id="ta" v-loading="loading1" ref="tb" :data="samplingList" @selection-change="handleSelectionChange" |
| | | border height="520px" :row-class-name="tableRowClassName"> |
| | | @current-change="handleCurrentChangess" border height="520px" :row-class-name="tableRowClassName"> |
| | | <el-table-column type="selection" width="40" align="center" :selectable="selectable" /> |
| | | <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" /> |
| | | <el-table-column label="姓名" align="center" prop="cusName" width="80px" /> |
| | |
| | | } |
| | | this.handleQuery(); // 重新查询 |
| | | }, |
| | | handleCurrentChangess(val) { |
| | | if (val != null) { |
| | | this.$refs.tb.toggleRowSelection(val, true); |
| | | this.handleSelectionChange(val); |
| | | } |
| | | }, |
| | | |
| | | handleSelectionChange(selection) { |
| | | this.piliangList = selection; |