| | |
| | | <span slot="label" style="display: inline-block; border-bottom: 2px solid blue" @click="openname"> |
| | | 姓名 |
| | | </span> |
| | | <el-input v-model="form.cusName" placeholder="请输入姓名" :disabled="isDisabled" @input="form.cusName = $event.replace(/\s/g, '')" /> |
| | | <el-input v-model="form.cusName" placeholder="请输入姓名" :disabled="isDisabled" |
| | | @input="form.cusName = $event.replace(/\s/g, '')" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="证件类型" prop="idType"> |
| | |
| | | <span slot="label" style="display: inline-block; border-bottom: 2px solid blue" @click="handleQuery"> |
| | | 证件号码 |
| | | </span> |
| | | <el-input :disabled="isDisabled" v-model="form.cusIdcard" placeholder="请输入身份证号" @input="handleIdCardInput"/> |
| | | <el-input :disabled="isDisabled" v-model="form.cusIdcard" placeholder="请输入身份证号" |
| | | @input="handleIdCardInput" /> |
| | | <!-- <i style=" |
| | | font-size: 1rem; |
| | | position: absolute; |
| | |
| | | trigger: 'blur', |
| | | }, |
| | | ]"> |
| | | <el-input v-model="form.cusPhone" placeholder="请输入联系电话" :disabled="isDisabled" @input="form.cusPhone = $event.replace(/\s/g, '')"/> |
| | | <el-input v-model="form.cusPhone" placeholder="请输入联系电话" :disabled="isDisabled" |
| | | @input="form.cusPhone = $event.replace(/\s/g, '')" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="出生日期" prop="cusBrithday"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="nowPrice" label="实收金额"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.nowPrice.toFixed(2) }} |
| | | </template> |
| | | |
| | | </el-table-column> |
| | | <el-table-column prop="proCheckMethod" label="是否空腹"> |
| | | <template slot-scope="scope"> |
| | |
| | | this.open1 = true; |
| | | this.title = "添加体检单位信息维护"; |
| | | }, |
| | | idFn1(value) { |
| | | if (value) { |
| | | // console.log(value); |
| | | idFn1() { |
| | | if (this.form.firmName) { |
| | | const originalCompId = this.form.firmId; |
| | | this.form.firmName = value; |
| | | this.CompanyList.forEach((item) => { |
| | | if (item.cnName == this.form.firmName) { |
| | | this.form.firmId = item.drugManufacturerId; |
| | |
| | | if (this.form.firmId === originalCompId) { |
| | | this.form.firmId = ""; |
| | | } |
| | | if (this.form.firmId) { |
| | | this.form.tjType = this.dict.type.dict_team[2].value; |
| | | |
| | | } |
| | | |
| | | if (this.form.firmName) { |
| | | this.form.tjType = this.dict.type.dict_team[1].value; |
| | | }else{ |
| | | this.form.tjType = this.dict.type.dict_team[0].value; |
| | | } |
| | | |
| | | }, |
| | | getCurrentDateTime() { |
| | | const currentDate = new Date(); |
| | |
| | | this.TotalPrice1 = 0; |
| | | if (this.tableData1) { |
| | | this.tableData1.forEach((item) => { |
| | | // parseFloat(item.nowPrice.toFixed(2)) |
| | | |
| | | this.TotalPrice1 += item.ordPrice; |
| | | this.TotalPrice += item.nowPrice; |
| | | if (item.pacName === null) { |
| | |
| | | if (this.form.reservationId != null) { |
| | | if (this.form.groupingId) { |
| | | this.form.firmName = this.form.compName; |
| | | this.form.tjType = this.dict.type.dict_team[2].value; |
| | | this.form.tjType = this.dict.type.dict_team[1].value; |
| | | this.CompanyList.forEach((item) => { |
| | | if (item.cnName == this.form.firmName) { |
| | | this.form.firmId = item.drugManufacturerId; |
| | |
| | | processOrderItems(cusId) { |
| | | getTransitionList1(cusId).then((response) => { |
| | | this.tableData1 = response.data; |
| | | let Price = 0; |
| | | if (this.tableData1) { |
| | | this.tableData1.forEach((item) => { |
| | | if (item.tjCategory != null) { |
| | |
| | | }); |
| | | } |
| | | this.TotalPrice1 += item.ordPrice || 0; // 累加应收金额 |
| | | this.TotalPrice += item.nowPrice || 0; // 累加实收金额 |
| | | Price += item.nowPrice || 0; // 累加实收金额 |
| | | this.TotalPrice = Price.toFixed(2) |
| | | }); |
| | | console.log(this.TotalPrice1, this.TotalPrice) |
| | | // 计算折扣 |
| | | this.discount = this.TotalPrice1 > 0 ? |
| | | (Math.floor((this.TotalPrice / this.TotalPrice1) * 100) / 100) * 10 : 0; |
| | |
| | | } |
| | | |
| | | .filter-tree { |
| | | overflow-y: auto; /* 保留纵向滚动条 */ |
| | | overflow-x: hidden; /* 隐藏横向滚动条 */ |
| | | overflow-y: auto; |
| | | /* 保留纵向滚动条 */ |
| | | overflow-x: hidden; |
| | | /* 隐藏横向滚动条 */ |
| | | height: 350px; |
| | | } |
| | | |
| | |
| | | width: 100%; |
| | | display: flex; |
| | | } |
| | | |
| | | /* .tab3 { |
| | | overflow-y: auto; |
| | | } |