| | |
| | | >订单明细</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="budadzd" |
| | | :disabled="single" |
| | | v-hasPermi="['hosp:order:export']" |
| | | >打印补录单</el-button |
| | | > |
| | | </el-col> |
| | | <right-toolbar |
| | | :showSearch.sync="showSearch" |
| | | @queryTable="getList" |
| | |
| | | </el-dialog> |
| | | |
| | | <!-- 添加或修改体检记录对话框 --> |
| | | <el-dialog :title="title" :visible.sync="open" width="950px" append-to-body :close-on-click-modal="false"> |
| | | <el-dialog |
| | | :title="title" |
| | | :visible.sync="open" |
| | | width="950px" |
| | | append-to-body |
| | | :close-on-click-modal="false" |
| | | > |
| | | <el-tabs v-model="activeName1" type="card"> |
| | | <!-- <el-tab-pane label="订单流水" name="first"> |
| | | <el-table :data="numberList" style="width: 100%"> |
| | |
| | | <el-table :data="huizongList" style="width: 100%" max-height="200"> |
| | | <el-table-column |
| | | align="center" |
| | | type="index" |
| | | type="index" |
| | | label="序号" |
| | | width="50" |
| | | > |
| | |
| | | <!-- <el-button @click="cancel">取 消</el-button> --> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <el-dialog |
| | | :title="title1" |
| | | :visible.sync="budadaozhen" |
| | | width="1100px" |
| | | style="height: 860px" |
| | | append-to-body |
| | | :close-on-click-modal="false" |
| | | > |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | | <el-col :span="13"> |
| | | <div |
| | | style="text-align: center; margin-bottom: 10px; margin-top: 10px" |
| | | > |
| | | 补录列表 |
| | | </div> |
| | | |
| | | <div class="tab3"> |
| | | <el-table |
| | | :data="DataLists" |
| | | border |
| | | style="width: 100%" |
| | | height="400" |
| | | @selection-change="handleProjectssChange" |
| | | > |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <el-table-column |
| | | type="index" |
| | | label="序号" |
| | | align="center" |
| | | width="49px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="blje" |
| | | label="补录金额" |
| | | align="center" |
| | | width="74px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="bldh" |
| | | label="补录单号" |
| | | align="center" |
| | | width="155px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="blsj" |
| | | label="补录时间" |
| | | align="center" |
| | | width="156px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="blrmc" |
| | | label="补录人" |
| | | align="center" |
| | | width="96px" |
| | | > |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <el-col :span="10"> |
| | | <div class="grid-content bg-purple"> |
| | | <div |
| | | style="text-align: center; margin-bottom: 10px; margin-top: 10px" |
| | | > |
| | | 补录项目 |
| | | </div> |
| | | <el-table |
| | | :data="DataListss" |
| | | border |
| | | style="width: 100%" |
| | | height="400" |
| | | :span-method="objectSpanMethod2" |
| | | > |
| | | <el-table-column prop="propinName" label="检查项目"> |
| | | </el-table-column> |
| | | <el-table-column prop="proPrice" label="原价" width="56px"> |
| | | </el-table-column> |
| | | <el-table-column prop="proName" label="明细项目" width="260px"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="dayin">打 印</el-button> |
| | | <!-- <el-button @click="cancel">取 消</el-button> --> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | getProParentIdDxList, |
| | | getProSonDxList, |
| | | } from "@/api/system/tijian"; |
| | | import { createLogger } from "vuex"; |
| | | export default { |
| | | components: { |
| | | ViewPdf, |
| | |
| | | name: "Order", |
| | | data() { |
| | | return { |
| | | bldhid: "", |
| | | budadaozhen: false, |
| | | huizongList: [], |
| | | DataLists: [], |
| | | infoList: [], |
| | |
| | | tjNum: null, |
| | | bgbeginTime: null, |
| | | bgendTime: null, |
| | | xmmc:null, |
| | | xmmc: null, |
| | | }, |
| | | startTime: "", |
| | | startTime1: "", |
| | |
| | | discount: discount, |
| | | }); |
| | | |
| | | console.log(this.bill); |
| | | this.title = "订单流水"; |
| | | }); |
| | | getTransitionInfo(tjNumber).then((res) => { |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | budadzd() { |
| | | this.bldhs =[]; |
| | | getBlproByTjh(this.tjnumbers).then((res) => { |
| | | if (res.data) { |
| | | this.DataLists = res.data; |
| | | this.budadaozhen = true; |
| | | this.title1 = "补打导诊单"; |
| | | } else { |
| | | this.$message({ |
| | | type: "warning ", |
| | | message: "该客户没有补录项目", |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | dayin() { |
| | | console.log(this.bldhs); |
| | | this.bldhid.toString(this.bldhs); |
| | | this.bldhs.forEach((item) => { |
| | | console.log(item, 666); |
| | | this.bldhid += item + ","; |
| | | }); |
| | | // this.bldhid = this.bldhs.toString() |
| | | console.log(this.bldhid); |
| | | const tjNumber = this.tjnumbers; |
| | | const viewNum = "983185234038140928"; |
| | | const jxbz = this.bldhid; |
| | | const params = { viewNum, tjNumber, jxbz }; |
| | | console.log(params); |
| | | hasReport(tjNumber).then((res) => { |
| | | if (res == 1) { |
| | | this.$tab.openPage("导诊单", "/report/budabreDailyReport", params); |
| | | this.budadaozhen = false; |
| | | } else { |
| | | this.$message.error("该用户暂无项目!"); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | handleClick(tab, event) { |
| | | if (this.activeNames == "first") { |
| | |
| | | this.loading = false; |
| | | }); |
| | | } else { |
| | | console.log(111) |
| | | this.TotalPrice1 = 0; |
| | | this.checkedkey =[] |
| | | this.DataList = [] |
| | | this.checkedkey = []; |
| | | this.DataList = []; |
| | | this.getDataList(); |
| | | if (this.marryalls != 0) { |
| | | this.TotalPrice1 += this.marryalls; |
| | |
| | | this.activeNames = "first"; |
| | | /** 查询部门下拉树结构 */ |
| | | this.handleClick(); |
| | | |
| | | |
| | | this.Projectopen = true; |
| | | this.title = "补录项目"; |
| | | }, |
| | |
| | | this.activeNames = "first"; |
| | | /** 查询部门下拉树结构 */ |
| | | this.handleClick(); |
| | | |
| | | |
| | | this.Projectopen1 = true; |
| | | this.title = "补录项目"; |
| | | }, |
| | |
| | | this.TotalPrice1 = item.proPrice + this.TotalPrice1; |
| | | }); |
| | | if (this.marryalls != 0) { |
| | | this.TotalPrice1 += this.marryalls; |
| | | } |
| | | this.TotalPrice1 += this.marryalls; |
| | | } |
| | | } |
| | | }); |
| | | } else if (checked.checkedNodes.length == 0) { |
| | |
| | | this.TotalPrice1 = item1.proPrice + this.TotalPrice1; |
| | | }); |
| | | if (this.marryalls != 0) { |
| | | this.TotalPrice1 += this.marryalls; |
| | | } |
| | | this.TotalPrice1 += this.marryalls; |
| | | } |
| | | } |
| | | }); |
| | | } else if (checked == true) { |
| | |
| | | this.TotalPrice1 = item1.proPrice + this.TotalPrice1; |
| | | }); |
| | | if (this.marryalls != 0) { |
| | | this.TotalPrice1 += this.marryalls; |
| | | } |
| | | this.TotalPrice1 += this.marryalls; |
| | | } |
| | | } |
| | | }); |
| | | }, |