| | |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="chexiao" |
| | | >撤销报告</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <div id="main111"> |
| | | <el-input style="width: 920px" v-model="form.name"></el-input> |
| | | </div> |
| | |
| | | hasPrintCode, |
| | | getOrderListOO, |
| | | getNewDateList, |
| | | getChexiao |
| | | } from "@/api/hosp/order"; |
| | | import moment from "moment"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | |
| | | open: false, |
| | | // 日期范围 |
| | | datetimerange: [], |
| | | seleList:[], |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | |
| | | }, |
| | | baogaoyulan() { |
| | | const tjNumber = this.report[0]; |
| | | console.log(tjNumber,5555); |
| | | |
| | | isPdfOrJimu(tjNumber).then((response) => { |
| | | if (response.data.flag == "0") { |
| | | const flag = true; |
| | |
| | | ); |
| | | } |
| | | }); |
| | | }, |
| | | // 撤销打印 |
| | | chexiao(){ |
| | | const tjNUms = this.seleList.map((item) => item.tjNumber); |
| | | getChexiao(tjNUms).then((res)=>{ |
| | | console.log(res,6666); |
| | | if(res.code === 200){ |
| | | this.$modal.msgSuccess('撤销成功!') |
| | | this.getList() |
| | | }else{ |
| | | this.$modal.msgError('撤销失败!') |
| | | } |
| | | }) |
| | | }, |
| | | //打印小票 |
| | | printHandle() { |
| | |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map((item) => item.orderId); |
| | | this.seleList = selection; |
| | | console.log(this.seleList,222333); |
| | | |
| | | this.DataList1 = this.$refs.multipleTable.selection; |
| | | this.DataList1.forEach((item) => { |
| | | this.barcode = item.tjNumber; |