From 009a117ddee0ec3e720f7535c210ef9a4a9f4c94 Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期一, 24 三月 2025 17:51:58 +0800 Subject: [PATCH] 总检审核 --- src/views/system/tijian/index.vue | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue index ad39758..ec5fb3a 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 = "1"; - } + } + + 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(); @@ -1727,6 +1730,7 @@ addCustomer(formData).then((response) => { this.responseList = response.data; + this.form.tjType = this.dict.type.dict_team[0].value; this.$modal.msgSuccess("鏂板鎴愬姛"); _this.tcShow = true; _this.isDisabled = true; @@ -1772,7 +1776,7 @@ if (this.form.reservationId != null) { if (this.form.groupingId) { this.form.firmName = this.form.compName; - this.form.tjType = "1"; + this.form.tjType = this.dict.type.dict_team[2].value; this.CompanyList.forEach((item) => { if (item.cnName == this.form.firmName) { this.form.firmId = item.drugManufacturerId; @@ -3261,6 +3265,7 @@ discount: item.discount, parentProId: item.parentProId, cusIdCard: item.cusId, + yhj: item.nowPrice })); // 鍒涘缓鏂扮殑瀵硅薄锛屽寘鍚� discount 鍜� id gaibianzhekou(newArray).then((res) => { this.loadingSubmit = false; -- Gitblit v1.8.0