From 676db89a661ba8af8da04f4503c39b1bc0d2c25e Mon Sep 17 00:00:00 2001 From: xwt <2740516069@qq.com> Date: 星期二, 10 六月 2025 16:11:04 +0800 Subject: [PATCH] bug修改 --- pages/QC/LLJ/detail.vue | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/pages/QC/LLJ/detail.vue b/pages/QC/LLJ/detail.vue index 925e9db..e698a41 100644 --- a/pages/QC/LLJ/detail.vue +++ b/pages/QC/LLJ/detail.vue @@ -101,9 +101,9 @@ <view class="info-label">涓嶈壇鎻忚堪</view> <view class="info-value danger">{{formData.funit}}</view> </view> - <view v-if="formData.meom!=null" class="result-ng"> - <view class="info-label">澶囨敞</view> - <view class="info-value danger">{{formData.meom}}</view> + <view class="result-ng"> + <view class="info-label">澶囨敞</view> + <view class="info-value danger">{{formData.meom}}</view> </view> </view> </view> @@ -230,7 +230,7 @@ </form> </view> </view> - <view v-if="showPopup" class="overlay"> + <view v-if="showMeom" class="overlay"> <view class="popup"> <h3>淇敼妫�楠岀粨鏋�</h3> <form :modelValue="editData"> @@ -239,7 +239,7 @@ <input class="form-input" type="text" v-model="editData.fcheckResu" /> </view> <button type="warn" @click="eidt">淇敼</button> - <button @click="showPopup = !showPopup">鍙栨秷</button> + <button @click="showMeom = !showMeom">鍙栨秷</button> </form> </view> </view> @@ -275,6 +275,7 @@ isBatchInputValid: false, funit:'', meomPopup: false, + showMeom:false, meom: '', } }, @@ -483,6 +484,7 @@ } else { this.isNumber = false; } + }) }, editResult(fcheckResu) { @@ -494,20 +496,23 @@ }, toDetail(item) { this.showPopup = !this.showPopup; + this.showMeom = !this.showMeom; this.editData = item; + }, upMeom() { this.meomPopup = true; - this.meom = this.formData.meom || ''; // 鍒濆鍖栧娉ㄥ�� + }, editMeom() { // 淇濆瓨澶囨敞淇℃伅 - if (this.Meom) { + if (this.meom) { this.$post({ url: "/LLJ/saveRemarksPid", data: { pid: this.formData.id, - remarks: this.meom + meom: this.meom, + } }).then(res => { if (res.data.tbBillList > 0) { @@ -534,7 +539,7 @@ }, editRemarks() { if (this.remarks) { - //saveRemarksGid + this.$post({ url: "/LLJ/saveRemarksPid", data: { @@ -641,7 +646,7 @@ data: { id: this.formID, releaseNo: this.releaseNo, - meom:this.meom + } }).then(res1 => { let tableData = res1.data.tbBillList -- Gitblit v1.9.3