| | |
| | | </div> |
| | | <div style="font-weight: bold;display: flex;align-items: center;"> |
| | | <span class="full-title">样品状态</span>: |
| | | <el-radio-group v-model="item.labelStatus" style="margin-top: 7px;margin-left: 4px;" v-removeAriaHidden> |
| | | <el-radio-group v-model="item.labelStatus" style="margin-top: 7px;margin-left: 4px;"> |
| | | <el-radio label="0" style="font-weight: bold;margin-right: 7px;">待检</el-radio> |
| | | <el-radio label="1" style="font-weight: bold;margin-right: 7px;">在检</el-radio> |
| | | <el-radio label="2" style="font-weight: bold;margin-right: 7px;">已检</el-radio> |
| | |
| | | |
| | | <script> |
| | | import PrintJS from "print-js"; |
| | | import {printLabel} from "@/api/business/rawMaterialOrder"; |
| | | |
| | | export default { |
| | | name: "printDialog", |
| | |
| | | selection.map(m=> { |
| | | ids.push(m.id) |
| | | }) |
| | | this.$axios.post(this.$api.materialInspection.printLabel,{ |
| | | ids: ids |
| | | },{ |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | | }, |
| | | noQs:true |
| | | }).then(res => { |
| | | printLabel({ids: ids}).then(res => { |
| | | if (res.code === 200 && res.data.length > 0) { |
| | | res.data.forEach(item => { |
| | | console.log('item---', item) |