| | |
| | | >订单明细</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-tabs |
| | | type="border-card" |
| | | style="height: 640px; margin: 0 10px; width: 100%" |
| | | style="height: 560px; margin: 0 10px; width: 100%" |
| | | @tab-click="handleClick" |
| | | v-model="activeNames" |
| | | > |
| | |
| | | </el-collapse-item> |
| | | </div> |
| | | </el-collapse> --> |
| | | |
| | | <template> |
| | | <el-form :model="form"> |
| | | <el-form-item label="体检类型" prop="tjType"> |
| | | <el-radio-group v-model="form.tjType"> |
| | | <el-radio :label="1">团队</el-radio> |
| | | <el-radio :label="2">个人</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-form> |
| | | </template> |
| | | |
| | | <div class="outside"> |
| | | <el-form :inline="true" class="outside1"> |
| | | <el-form-item label="原价"> |
| | | <el-input |
| | | placeholder="原价" |
| | | :value="TotalPrice1" |
| | | disabled |
| | | style="width: 90px" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="折扣设定"> |
| | | <el-input |
| | | style="width: 90px" |
| | | type="number" |
| | | v-model="discount" |
| | | :value="discount" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="应付金额"> |
| | | <el-input |
| | | placeholder="应付金额" |
| | | :value="TotalPrice1 * (discount / 10)" |
| | | style="width: 90px" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="付款类型" prop="payType"> |
| | | <el-select |
| | | style="width: 120px" |
| | | v-model="payType" |
| | | placeholder="请选择付款类型" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.dict_pay_type" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | type="primary" |
| | | @click="submitPrice1" |
| | | :disabled="confirm" |
| | | style="margin-top: 34px" |
| | | >提交</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | <div class="heji"> |
| | | <template> |
| | | <el-form :model="form" :inline="true"> |
| | | <el-form-item label="体检类型" prop="tjType"> |
| | | <el-radio-group v-model="form.tjType"> |
| | | <el-radio :label="1">团队</el-radio> |
| | | <el-radio :label="2">个人</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-form> |
| | | </template> |
| | | |
| | | <div class="outsides"> |
| | | <el-form :inline="true" class="outside2" label-width="80px" > |
| | | <el-form-item label="原价" style="display: flex"> |
| | | <el-input |
| | | placeholder="原价" |
| | | :value="TotalPrice1" |
| | | disabled |
| | | style="width: 90px" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="折扣设定" style="display: flex"> |
| | | <el-input |
| | | style="width: 90px" |
| | | type="number" |
| | | v-model="discount" |
| | | :value="discount" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="应付金额" style="display: flex"> |
| | | <el-input |
| | | placeholder="应付金额" |
| | | :value="TotalPrice1 * (discount / 10)" |
| | | style="width: 90px" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="付款类型" prop="payType" style="display: flex"> |
| | | <el-select |
| | | style="width: 120px" |
| | | v-model="payType" |
| | | placeholder="请选择付款类型" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.dict_pay_type" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item style="display: flex"> |
| | | <el-button |
| | | type="primary" |
| | | @click="submitPrice1" |
| | | :disabled="confirm" |
| | | >提交</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </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; |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | |
| | | display: flex; |
| | | margin-top: 8px; |
| | | } |
| | | .outsides { |
| | | width: 500px; |
| | | display: flex; |
| | | // margin-top: 12px; |
| | | } |
| | | |
| | | .tab3 { |
| | | max-height: 500px; |
| | | max-height: 420px; |
| | | overflow-y: auto; |
| | | border: 1px solid #d9d9d9; |
| | | } |
| | |
| | | display: flex; |
| | | margin-top: 8px; |
| | | } |
| | | .outside2 { |
| | | width: 500px; |
| | | display: flex; |
| | | margin-top: 8px; |
| | | } |
| | | .heji { |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: flex-start; |
| | | align-items: center; |
| | | margin-top: 10px; |
| | | } |
| | | </style> |