From 7f6ec112b1295e6edd669a1592a596e904c930b5 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期二, 18 三月 2025 18:07:01 +0800 Subject: [PATCH] qx --- src/components/jianceResult/index.vue | 4 + src/views/doctor/check/index.vue | 33 ++++++---------- src/views/system/tijian/index.vue | 17 +++++--- src/views/system/package/index.vue | 2 src/views/hosp/project/index.vue | 8 --- 5 files changed, 28 insertions(+), 36 deletions(-) diff --git a/src/components/jianceResult/index.vue b/src/components/jianceResult/index.vue index 1f2ddb6..14970b8 100644 --- a/src/components/jianceResult/index.vue +++ b/src/components/jianceResult/index.vue @@ -87,7 +87,9 @@ console.log(this.list); }, - getList() { + getList(row,date) { + console.log(row) + this.proId=row.proId this.loading = true; selectZT({ proId: this.proId, diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index e3b9710..c732377 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -1096,17 +1096,24 @@ // 浠ヤ笅涓哄叾浠栨柟娉曪紝鏈仛淇敼锛屼粎淇濈暀蹇呰閮ㄥ垎锛屽叾浣欑渷鐣ヤ互淇濇寔绠�娲� handleFocus(row) { this.autorule = []; - if (!row.resultType || row.resultType == 2) return; - this.curindex = row; - selectZT({ proId: row.proId }).then((res) => { + if (!row.resultType || row.resultType == 2 ) { + return; + } else { + this.curindex = row; + selectZT({ + proId: row.proId, + }).then((res) => { if (res.data.length > 0) { this.$refs.bbb.title = "閫夋嫨妫�娴嬬粨鏋�"; - this.$refs.bbb.open = true; - this.$refs.bbb.getList(this.curindex); + // this.$refs.bbb.proId = row.proId; + this.$refs.bbb.open = true; + this.$refs.bbb.getList(this.curindex); } else { this.$refs.bbb.open = false; } }); + + } }, handleChangesZt(params) { @@ -1303,21 +1310,7 @@ this.inputDoms = inputDoms; }, - keyInputConfirm(event, currentRowIndex) { - event.preventDefault(); - event.stopPropagation(); - const nextRowIndex = currentRowIndex + 1; - if (nextRowIndex < this.proParentList.sons.length) { - this.$nextTick(() => { - const nextInputRef = `input-${nextRowIndex}`; - const nextInput = this.$refs[nextInputRef]; - if (nextInput) { - const target = Array.isArray(nextInput) ? nextInput[0] : nextInput; - target.focus(); - } - }); - } - }, + keyInputConfirm(event,index, currentRowIndex) { diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index 0e6a6a9..04c2fe4 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -692,13 +692,7 @@ } else if (this.treeDate.id) { if(this.treeDate.qf == "0"){ this.form.proParentId = "0" - this.projectOptions.forEach((item) => { - item.children.forEach((item1) => { - if (this.treeDate.id == item1.deptId) { - this.form.deptId = item1.deptId; - } - }); - }); + this.form.deptId=this.treeDate.id }else{ this.form.proParentId = this.treeDate.id; this.projectOptions.forEach((item) => { diff --git a/src/views/system/package/index.vue b/src/views/system/package/index.vue index 2a1edc4..ed18da5 100644 --- a/src/views/system/package/index.vue +++ b/src/views/system/package/index.vue @@ -206,7 +206,7 @@ <el-form-item label="鐜颁环" prop="xianprice"> <el-input v-model="form.xianprice" placeholder="鐜颁环" clearable style="width: 140px" @input="changeXianjia" - @blur="numberChangeXianPrice(youhui, youhui)" type="number" :debounce="3000"/> + @blur="numberChangeXianPrice(youhui, youhui)" type="number" :debounce="3000" min="0"/> </el-form-item> <el-form-item label="鍏抽敭瀛�" prop="keywords"> <el-select multiple v-model="form.keywords" placeholder="璇烽�夋嫨鍏抽敭瀛�" style="width: 160px" @change="sel" filterable diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue index 035f8a4..ba55fa9 100644 --- a/src/views/system/tijian/index.vue +++ b/src/views/system/tijian/index.vue @@ -1225,11 +1225,9 @@ 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; @@ -1239,10 +1237,15 @@ 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(); -- Gitblit v1.8.0